Minetest logo

IRC log for #minetest, 2017-08-30

| Channels | #minetest index | Today | | Google Search | Plaintext

All times shown according to UTC.

Time Nick Message
00:00 KaadmY_ joined #minetest
00:07 est31 left #minetest
00:22 rdococ yay
00:27 bigfoot547 yay
00:35 Tmanyo joined #minetest
00:53 Errante Ive made it, but requests arent being successful every time
00:58 Errante https://pastebin.com/Sj5924TF
00:58 kaeza joined #minetest
01:07 Miner_48er joined #minetest
01:07 Errante local httpResponse = http.fetch_async_get(http.fetch_async())
01:08 Errante is that wrong?
01:08 bigfoot547 Dunno
01:08 bigfoot547 never yused it
01:15 Errante cool
01:17 EvergreenTree joined #minetest
01:18 Errante brb
01:19 bigfoot547 mkay
01:25 Errante joined #minetest
01:26 Errante so, should I rewrite using callbacks?
01:27 KaadmY joined #minetest
01:27 KaadmY joined #minetest
01:30 wilkgr joined #minetest
01:39 EvergreenTree joined #minetest
02:01 Hawk777 joined #minetest
02:12 Siva_Androirc joined #minetest
02:23 Errante 80%
02:38 AntumDeluge Is it possible to queue a function for after all server mods are loaded?
02:39 Lone-Star Sokomine: you around?
02:40 Errante AntumDeluge: http://dev.minetest.net/depends
02:43 AntumDeluge Errante, yes, but I don't want to add every installed mod to my 'depends.txt'.
02:44 Errante maybe through ~/.minetest/worlds/<world_name>/world.mt
02:45 Errante sont think so
02:45 AntumDeluge I need to be able to do it in my Lua script.
02:45 Errante I dont know, wait for someone else to answer
02:45 Errante sorry
02:45 AntumDeluge :)
03:00 Taose joined #minetest
03:11 wilkgr AntumDeluge, if I may ask, what do you need it for?
03:11 Siva_Machina joined #minetest
03:13 AntumDeluge I have a mod that overrides items using a file located in world path. Server owners can list items in this file. However, items will not be overridden if the mod that creates them is not loaded before my overriding mod.
03:14 AntumDeluge So, rather than causing server owners to modify my 'depends.txt' file, it would be easier to run a function after all other mods have been loaded.
03:16 AntumDeluge I suppose I could use 'core.register_on_joinplayer', but I'd rather not depend on a player joining the game to run the overriding function.
03:22 wilkgr ah, I see. That makes sense
03:23 wilkgr You could make a script to automatically populate the depends.txt file using the file w/ the list of items, since you can split by newline and by colon.
03:23 wilkgr Alternatively, you could check if the item is in the registered items array
03:24 wilkgr and then run the function for the ones that are in the array.
03:24 wilkgr AntumDeluge ^
03:24 Errante how should I access parent mods functions?
03:25 AntumDeluge I don't think the first option would be completely accurate as item names don't always reflect the mod that created them.
03:25 wilkgr but the strings are in the format modname:itemname
03:25 wilkgr the itemstrings
03:26 AntumDeluge Yes, but "modname:itemname" can be overridden with a prefixed colon: ":altname:itemname"
03:26 wilkgr Indeed, but that is for redefining items that were already created
03:27 AntumDeluge No, that works for creating new items as well.
03:27 wilkgr huh.
03:27 wilkgr Ok then
03:28 AntumDeluge I don't think populating the 'depends.txt' file after the mod is loaded will help anyway. That file is checked only before the mod is initialized.
03:28 AntumDeluge And checking the registered items array leaves me with the same problem. Server owners will still need to add dependencies manually.
03:29 AntumDeluge Otherwise items registered after the override mod is initialized will not get overridden.
03:29 Errante Ive made a RPC mod which implement RPC using minetest's own methods. now I want to use its functions within another mod
03:30 AntumDeluge Errante, if I understand your question, as long as the parent mods have made those functions global they can be accessed just by calling them.
03:31 AntumDeluge As long as the parent mod has already been initialized. Make sure to add it to the 'depends.txt' file of the child mod.
03:34 wilkgr AntumDeluge, I meant continually checking the registered items array until you have overridden all items on your list
03:36 AntumDeluge That could work. Or maybe just by using globalstep?
03:44 Errante AntumDeluge: thx
03:45 AlexYst joined #minetest
04:01 slemonide joined #minetest
04:03 Sokomine Lone-Star: how can i help you?
04:04 Sokomine Lone-Star: it's best to state your question and not ask if i'm there. that way i can answer when i see it :-)
04:16 Menche joined #minetest
04:37 habeangur any alternative for minetesthosting.com?
04:41 AlexYst joined #minetest
04:42 wilkgr habeangur, if you host w/ a VPS, yes, but that is more complicated.
04:42 wilkgr Do note that no one knows who actually hosts minetesthosting.
04:45 habeangur wilkgr: someone named Mark on forum said I do
04:46 wilkgr Hm. Interesting.
04:58 habeangur wilkgr: by "do" I meant hosting minetesthosting
05:09 wrcwpk[m] I have a mod that emulates the minecraft grasspath block, everything works, but when you right click with the rake it tries to place a rake block and then fails and sets the block to grasspath here is a video of what I mean: https://my.mixtape.moe/mssykm.webm and the relevant code: https://paste.ubuntu.com/25430162/
05:17 AlexYst joined #minetest
05:17 est31 joined #minetest
05:20 jas_ i'm trying to add item wear to a node.  this node is a meshnode and looks fine while wielded, but won't show a wear bar.  if i make the thing a tool, it may show a wear bar, but, it appears one cannot use meshnodes for tools?  i haven't quite fiddled enough, but wanted to ask.
05:21 jas_ wrcwpk[m]: is grasspaths:grasspath defines? or is that the unknown node i keep seeing pop up?
05:21 jas_ you got item wear on that there node?!
05:23 jas_ wrcwpk[m]: there's no on_rightclick, you're using on_use which is a left click
05:24 jas_ there is, however, on_rightclick(pos, node, clicker, itemstack, pointed_thing)
05:25 wrcwpk[m] Yeah grasspath is defined at the top of the file. Do I need to register rake as a tool? If so is there an equivalent on_place method?
05:25 jas_ also, you don't have any item wear showing up for that rake in that video.  but i see you have add_wear().  i haven't ever used item wear, so am unfamiliar.  but that rake is a node, as in register_node
05:25 jas_ perhaps u meant register_tool?
05:26 jas_ i dunno, might be worth a try.  still trying to wrap my head around tools, nodes, craftitems
05:26 jas_ afaik those are the three item types
05:27 wrcwpk[m] Oh wow yeah can't believe I missed that sure enough I meant register_tool thanks for the catch
05:28 jas_ your welcome, i see your mod is shaping up ; D
05:28 jas_ you're*
05:29 jas_ it's a lot of fun, hope you enjoy it.  make sure you keep lua_api.txt open at all times heheh
05:30 wrcwpk[m] yeah I need to, quite liking lua this is my first time using
05:46 jas_ i'm looking forward to leanring new features, like client side modding, and player attributes and colors oh my
05:50 AlexYst joined #minetest
05:50 wrcwpk[m] Yeah client modding would be cool. How new are you? What mods have you done thus far?
05:51 jas_ i wonder if a server can sent a client-side mod to a connecting client for them to automatically use, or if they have to procure it on their own.  i dunno anything about csm yet heh, i should open client_lua_api.md...
05:52 jas_ "Transfering client-sided mods form the server to the client is planned, but not implemented yet." oh, :'( heheh
05:52 jas_ i've been on hiatus for a few months, but i been around for a couple years off and on
05:54 jas_ i made uhhh.... i made some small mods
05:55 jas_ i prefer to work on sub-games, tho, i think
05:56 jas_ https://forum.minetest.net/viewtopic.php?f=50&amp;t=18163
06:01 jas_ anthem: https://www.youtube.com/watch?v=pyCkhPTU13w
06:01 jas_ so hard to alt-tab in gnome, heh
06:01 georgeowell joined #minetest
06:03 wrcwpk[m] I highly reccomend using a tiling WM they're a bit tricky to get used to but after you do everything else is unusabely slow
06:03 jas_ i like xmonad
06:04 jas_ i like openbox, and xfce.  this laptop is gnome.  all debian 9
06:04 tverrbjelke joined #minetest
06:04 jas_ those tiling window managers really are amazing
06:07 bwarden joined #minetest
06:07 jas_ i just wish more window managers did both.  i tried e17, which had a tiling mode, but it was not pleasant imo.
06:07 jas_ i know the tiling ones do both, generally
06:07 wrcwpk[m] XFCE is my preferred Floating WM by far. Debian is best OS too
06:07 jas_ i dunno, guess it doesn't matter.  window managers are awesome in general.  i think my favorite, my guilty pleasure, is windowmaker
06:09 jas_ my first was e16
06:09 jas_ on a first gen blueberry ibook
06:09 jas_ i was absolutely blown away when the desktop slid to the side to reveal the next workspace
06:11 MinetestBot [git] nerzhul -> minetest/minetest: Remove DSTACK support (#6346) bd6b903 https://git.io/v5chJ (2017-08-30T06:09:41Z)
06:18 CWz joined #minetest
06:24 * jas_ wonders what DSTACK even is
06:24 slemonide joined #minetest
06:24 jas_ oh debug stacks, that would explain why i never used it
06:25 jas_ that reminds me i have to learn how to mod profile, and maybe figure out this debug build business for minetest
06:28 basicer joined #minetest
06:33 Tirifto joined #minetest
06:34 jas_ !server dcbl
06:34 MinetestBot jas_: dcbl | dcbl.duckdns.org | Clients: 0/20, 0/0 | Version: 0.5.0-dev / dcbl | Ping: 119ms
06:34 jas_ oh i just joined, i should waited a minute. : )
06:37 Siva_Machina left #minetest
07:26 erstazi joined #minetest
08:24 bas080 joined #minetest
08:35 Megaf joined #minetest
09:04 juhdanad joined #minetest
10:26 wilkgr joined #minetest
10:27 CWz joined #minetest
10:55 Tux[Qyou] joined #minetest
11:01 juhdanad joined #minetest
11:17 grumble joined #minetest
11:24 EvergreenTree joined #minetest
11:32 Fixer joined #minetest
11:35 ThomasMonroe joined #minetest
11:41 CalebDavis joined #minetest
11:43 Wuzzy joined #minetest
12:07 lumidify_ joined #minetest
12:07 DusXMT joined #minetest
12:07 grumble joined #minetest
12:08 rafalcpp joined #minetest
12:09 stiell joined #minetest
12:11 fengshaun joined #minetest
12:12 rtjure joined #minetest
12:13 troller joined #minetest
12:18 red-001 joined #minetest
12:22 twoelk joined #minetest
12:33 troller joined #minetest
13:02 nowhere_man joined #minetest
13:21 est31 left #minetest
13:32 dharkael joined #minetest
13:36 RobbieF joined #minetest
13:53 troller joined #minetest
13:59 Siva_Machina joined #minetest
14:02 IhrFussel joined #minetest
14:03 IhrFussel AntumDeluge, minetest.after() is GUARANTEED to only run X secs after all mods loaded
14:08 ensonic joined #minetest
14:12 Megaf joined #minetest
14:21 YuGiOhJCJ joined #minetest
14:26 Brackston joined #minetest
14:26 CalebDavis hi Brackston
14:26 Brackston Hi CalebDavis
14:54 iwB joined #minetest
15:00 ivanhercaz joined #minetest
15:00 ivanhercaz Hi everyone!
15:00 ivanhercaz I am new with Minetest
15:01 troller joined #minetest
15:01 ivanhercaz And I am trying to install the Areas mod
15:02 ivanhercaz But when I activate the mod in a test worl, I can not init because it fails.
15:03 ivanhercaz Failed to load and run script from...
15:06 Siva_Machina joined #minetest
15:16 AndDT joined #minetest
15:17 cx384 joined #minetest
15:25 slemonide joined #minetest
15:27 EvergreenTree joined #minetest
15:31 Darcidride joined #minetest
15:36 Tirifto joined #minetest
15:42 srifqi joined #minetest
15:48 DS-minetest joined #minetest
15:53 proller joined #minetest
15:55 EvergreenTree joined #minetest
15:58 juhdanad joined #minetest
15:58 IhrFussel ivanhercaz, use pastebin.com and paste the full error message there
15:59 ivanhercaz Hi IhrFussel :) Okay, give me a second
15:59 IhrFussel You can find it in the debug.txt
16:01 ivanhercaz stupid question, where is the debug.txt?
16:01 juhdanad Where the minetest executable is.
16:01 ivanhercaz Thank you juhdanad :)
16:02 juhdanad !next
16:02 MinetestBot Another satisfied customer. Next!
16:02 IhrFussel Nah not quite...his actual problem is a mod error
16:02 juhdanad Oh, sorry, I just joined.
16:03 Alcyone2 joined #minetest
16:03 antims joined #minetest
16:04 IhrFussel ivanhercaz, you only need the last few lines of the debug.txt not the full file
16:04 ivanhercaz IhrFussel, https://pastebin.com/GXUjQQis
16:04 ivanhercaz Yes IhrFussel, I copy the exact lines
16:05 IhrFussel ivanhercaz, what's your MT version?
16:14 ivanhercaz Excuse me IhrFussel, I was awake of the keyboard some minutes
16:14 ivanhercaz 0.4.15
16:15 IhrFussel ivanhercaz, where did you download the mod? Can you show me the exact line? (areas/setting.lua line 11)
16:15 IhrFussel settings*
16:18 ivanhercaz_ joined #minetest
16:18 Krock joined #minetest
16:19 Megaf joined #minetest
16:24 ivanhercaz_ I download the mod from the Github of ShadowNinja https://github.com/ShadowNinja/areas
16:24 ivanhercaz_ I don't know why I have been disconnected and connected with my alternative nickname... Strange.
16:25 ivanhercaz_ Give me a second IhrFussel and I share here the line
16:25 ivanhercaz_ 10: elseif tp == "string" then
16:26 ivanhercaz_ 11: value = minetest.settings:get(full_name)
16:26 IhrFussel ivanhercaz_, I think I already know what the problem is...you need 0.4.16 for this version of the mod
16:26 IhrFussel 0.4.16 introduced a new way to get game settings which is "minetest.settings:get()"
16:32 Worldblender joined #minetest
16:32 IhrFussel ivanhercaz_, are you on Windows or Linux?
16:34 ivanhercaz_ I am in Linux (Debian 9)
16:34 IhrFussel Do you know how to use PPA?
16:35 ivanhercaz_ More or less because I do not usually use it.
16:35 Krock s/in/on/
16:35 ivanhercaz_ But what you recommend me is to make the upgrade of Minetest via ppa, no?
16:36 Krock best is always self-compiled binaries
16:36 Krock but easiest is to get the (daily) PPA
16:37 IhrFussel If you know how to compile then compile 0.4.16 stable ... if you don't know how to compile then install "software-properties-common" then run "sudo apt-add-repository ppa:minetestdevs/stable"
16:37 IhrFussel Krock, you shouldn't recommend people to use the daily version in this breakage era
16:38 ivanhercaz_ well, another solutions is wait to the upgrade of the package in Debian, I have check that is unstable (for Debian 9) yet https://piuparts.debian.org/stretch/source/m/minetest.html https://tracker.debian.org/pkg/minetest
16:38 ivanhercaz_ Yes, I know how to compile IhrFussel
16:38 Krock IhrFussel, indeed, that's why I added the parentheses
16:39 IhrFussel Well then get 0.4.16 stable on your machine...in any way because many mods don't support 0.4.15 anymore
16:41 ivanhercaz_ Well, another way is to wait for the upgrade of the Debian package. I can enjoy the game without this mods, because I am beginning to play hehe!
16:41 ivanhercaz_ Bit by bit
16:41 FreeFull joined #minetest
16:42 ivanhercaz_ I am testing everything first and I do not play in servers with many users, I only play with my couple
16:44 IhrFussel ivanhercaz_, alright then, the areas mod really only makes sense in multiplayer on servers cause it prevents griefing
16:47 ivanhercaz_ I will be watching the update :P
16:47 Player_2 joined #minetest
16:47 ivanhercaz_ Thank you IhrFussel and Krock :)
16:47 ivanhercaz_ Nice to meet you.
16:47 Krock !next
16:47 MinetestBot Another satisfied customer. Next!
16:54 Billre joined #minetest
16:57 juhdanad !seen kilbith
16:57 MinetestBot juhdanad: kilbith was last seen at 2017-08-13 00:09:55 UTC on #minetest-fr
17:11 Telesight joined #minetest
17:13 AntumDeluge Thank you IhrFussel, that is exactly what I need.
17:18 kimitux joined #minetest
17:32 proller joined #minetest
17:50 calcul0n joined #minetest
17:55 AlexYst joined #minetest
18:00 Megaf joined #minetest
18:00 Taose joined #minetest
18:09 Siva_Machina joined #minetest
18:10 red-001 ~seen kilbith
18:10 ShadowBot red-001: I saw kilbith in #minetest 12 weeks, 0 days, 23 hours, 8 minutes, and 24 seconds ago saying "I'm looking to hire a PHP developer, if you're interested, please /msg me"
18:11 red-001 ~seen #minetest-dev kilbith
18:11 ShadowBot red-001: I saw kilbith in #minetest-dev 6 weeks, 3 days, 3 hours, 57 minutes, and 8 seconds ago saying "I'm gonna decline and thus stop contributing as of now"
18:11 rubenwardy he's been reacting on Github, so he's still around
18:11 red-001 ah that's why everyone is checking
18:11 Krock everyone's checking? must do too.
18:11 red-001 whats the context of that quote?
18:11 Krock !seen #minetest kilbith
18:11 MinetestBot Krock: Sorry, I haven't seen #minetest around.
18:12 Beginer joined #minetest
18:13 Krock red-001, kind of "monkey see, monkey imitate"
18:14 red-001 well it's not surprising that MT-bot didn't see anyone called #minetest
18:14 red-001 pretty sure channel names are invalid nicks
18:14 Krock yes.
18:16 red-001 ~seen #minetest-hub kilbith
18:16 ShadowBot red-001: I saw kilbith in #minetest-hub 13 weeks, 2 days, 22 hours, 6 minutes, and 36 seconds ago saying "Fixer, I hope he won't live that old"
18:17 red-001 and yes I know I could query the bot
18:20 Beginer Hello folks, could you help me? I want to install mt on Debian 8 (dedicated server) using apt-get. What i get is mt 0.4.10 which is old :( i want at least 0.4.15
18:20 rubenwardy there's a ppa
18:21 rubenwardy one sec
18:21 rubenwardy sudo add-apt-repository ppa:minetestdevs/stable && sudo apt-get update
18:21 red-001 or follow the wiki page on building from source
18:21 red-001 that might be a bad idea right now through
18:21 Beginer -bash: add-apt-repository: command not found
18:21 rubenwardy damn
18:22 red-001 current master is breaking backwards compatibility
18:22 rubenwardy Does apt/apt-get exist?
18:22 rubenwardy you may need to install a package if so
18:22 Beginer "apt-get" yes, "apt" not sure
18:22 rubenwardy sudo apt-get install software-properties-common
18:23 rubenwardy (found here https://tecadmin.net/add-apt-repository-command-not-found-debain-ubuntu/ )
18:24 Beginer ok, thanks, now add-apt-repository works, hm  but what now
18:24 rubenwardy sudo apt install minetest
18:24 rubenwardy or apt upgrade
18:25 Beginer ohh Setting up minetest (0.4.10+repack-1)  <-- 0.4.10 again :(
18:26 rubenwardy huh
18:26 rubenwardy did apt update work successfully?
18:28 Beginer yes, still 0.4.10
18:28 Beginer or not? 2 packages were not found
18:30 rubenwardy weird
18:36 Beginer heh, i bet these 2 packages were important, rubenwardy thanks anyway
18:43 MinetestBot [git] Rui-Minetest -> minetest/minetest: Remove nodeupdate and nodeupdate_single b8f06ad https://git.io/v5WET (2017-08-30T18:39:10Z)
18:43 MinetestBot [git] paramat -> minetest/minetest: Zoom: Move enabling zoom to a new player object property 561a01c https://git.io/v5WEk (2017-08-30T18:39:05Z)
18:44 RobbieF left #minetest
18:58 AntumDeluge joined #minetest
18:59 cx384 joined #minetest
19:03 Beginer rubenwardy, *.AppImage (0.4.16) works fine ( /viewtopic.php?f=42&t=15802 ), i will use that ppa thing for 0.5, thank you
19:03 ivanhercaz_ joined #minetest
19:04 Beginer left #minetest
19:05 bigfoot547 joined #minetest
19:10 CalebDavis joined #minetest
19:17 dvere joined #minetest
19:17 fwhcat joined #minetest
19:18 Alcyone2 joined #minetest
19:22 proller joined #minetest
19:23 ensonic joined #minetest
19:33 nyuszika7h joined #minetest
20:05 Lukc joined #minetest
20:14 swift110 joined #minetest
20:16 Lukc left #minetest
20:17 Fixer joined #minetest
20:19 proller joined #minetest
20:25 Lunatrius joined #minetest
20:29 nowhere_man joined #minetest
20:43 rubenwardy joined #minetest
21:14 Siva_Machina joined #minetest
21:19 juhdanad joined #minetest
21:27 Jordach joined #minetest
21:29 Siva_Machina joined #minetest
21:53 troller joined #minetest
21:58 Darkstalker_ joined #minetest
22:01 fwhcat joined #minetest
22:04 EvergreenTree joined #minetest
22:08 CrimsonFall joined #minetest
22:08 CrimsonFall Hello?
22:09 rubenwardy just ask, no need to check if there's anyone here, CrimsonFall
22:10 rubenwardy oh, and hi
22:19 CrimsonFall is there a mod from Red Cat I can talk to
22:25 swift110 sup folks
22:26 red-NaN hi swift110
22:29 swift110 how are you red
22:29 Billre left #minetest
22:30 NullRed I'm good
22:51 soloojos joined #minetest
23:03 swift110 joined #minetest
23:12 swift110 back
23:13 swift110 good NullRed what are you up to
23:25 proller joined #minetest
23:25 Natechip joined #minetest
23:26 Natechip joined #minetest
23:34 rdococ yae
23:34 * rdococ hugs swift110
23:51 twoelk left #minetest
23:59 YuGiOhJCJ joined #minetest

| Channels | #minetest index | Today | | Google Search | Plaintext