Time Nick Message 01:19 MinetestBot 02[git] 04numberZero -> 03minetest/minetest: Plantlike meshoptions: Fix inverted random vertical offset 137bfd53b https://git.io/vHy39 (152017-06-11T01:12:33Z) 01:19 MinetestBot 02[git] 04paramat -> 03minetest/minetest: (Re)spawn players within 'mapgen_limit' 13842acbf https://git.io/vHy3H (152017-06-11T01:11:08Z) 01:35 swift110 hey all 01:53 bigfoot547 Hi swift110 01:53 ThomasMonroe hey swift110 02:06 swift110 hey bigfoot547 and ThomasMonroe 02:06 swift110 how are you guys 02:06 ThomasMonroe im fine 02:06 bigfoot547 Well... I woke up this morning ;) 02:06 ThomasMonroe that too 02:11 swift110 good bigfoot547 and ThomasMonroe that is a start indeed 02:12 ThomasMonroe celebrated my Grandma's 86th 02:19 bigfoot547 Good 02:49 swift110 ok cool ThomasMonroe 02:50 bigfoot547 Well, g'night! 02:50 Natechip bye! 07:44 MinetestBot 02[git] 04red-001 -> 03minetest/minetest: Improve the path select GUI (#5852) 1326e2eb0 https://git.io/vHyl6 (152017-06-11T07:43:31Z) 07:44 MinetestBot 02[git] 04ShadowNinja -> 03minetest/minetest: Remove threads.h and replace its definitions with their C++11 equival… 136c5e5e2 https://git.io/vHyli (152017-06-11T07:43:05Z) 10:51 MinetestBot 02[git] 04nerzhul -> 03minetest/minetest: Remove minetestmapper from this repository (#5901) 1303ff53e https://git.io/vHyE8 (152017-06-11T10:49:30Z) 11:58 MinetestBot 02[git] 04Rui-Minetest -> 03minetest/minetest: Sound: Add pitch option (#5960) 13ff73c7a https://git.io/vHyzx (152017-06-11T11:58:26Z) 12:01 MinetestBot 02[git] 04nerzhul -> 03minetest/minetest: Use thread_local instead from some static settings (#5955) 1365819f3 https://git.io/vHygL (152017-06-11T11:58:43Z) 15:19 Guest32804 trying to install RaspberryJamMod for python on Fedora 25 here, using this URL: http://linkis.com/serveur2jeu.info/5BSwE 15:19 Guest32804 but it shows this URL from the above does not exist: https://github.com/arpruss/raspberryjammod-minetest/archive/0.20.tar.gz 15:19 Guest32804 what's the alternative? 15:22 jcalve cloning the repo in the mods folder? 15:24 Guest32804 jcalve: under socket folder, there's only dll files. Would those work in Linux? 15:24 jcalve no that's a windows thing 17:12 bulldozer \o/ 17:56 IhrFussel WAIT...my server just crashed cause the code tried to lookup player information for a player who left WHILE the minetest_get_connected_players() loop was running 17:56 IhrFussel Are you serious? That will crash the server? 17:57 Natechip IhrFussel: Someone trying to get passwords and ips? 17:57 Natechip IhrFussel: Did you use whois? 17:58 IhrFussel Natechip, this line crashed the server in a for loop "if minetest.get_player_information(tuser).protocol_version < 27 then" 17:58 IhrFussel cause tuser was nil 17:59 sfan5 tuser was probably not nil 17:59 IhrFussel for _,pnow in ipairs(minetest.get_connected_players()) do local tuser = pnow:get_player_name() 17:59 sfan5 minetest.get_player_information() probably returned nil 18:00 IhrFussel sfan5, maybe this error message helps "ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod '' in callback on_chat_message(): ...inetest/worlds/oldserver/worldmods/own_commands/init.lua:215: attempt to index a nil value" 18:01 sfan5 it confirms my assumption that it wasn't tuser == nil but minetest.get_player_information(tuser) == nil 18:02 IhrFussel So I HAVE TO check for < 27 and ~= nil? ... meaning someone with an EXTREMELY old client played on my server? 18:02 red-001 no 18:03 red-001 well I don't think so 18:03 red-001 it should be 0 18:03 sfan5 you need to check that the player didn't leave in the meantime 18:03 IhrFussel Or how can minetest.get_player_information() return nil? 18:03 red-001 oh that must be it 18:03 sfan5 it can return nil if the player does not exist 18:04 jcjordyn120 is account creation locked on dev.minetest.net? 18:04 IhrFussel So I have to add yet another check before checking the protocol version? 18:04 red-001 looks like it 18:05 rubenwardy jcjordyn120, ask Calinou 18:05 rubenwardy for an account 18:06 jcjordyn120 rubenwardy, thanks. 18:08 Calinou jcjordyn120: hi, PM me your email and desired username, so I can create an account for you 18:11 IhrFussel red-001, is Lua THAT slow with loops that it's possible to lose the player while iterating over it? 18:11 rubenwardy no 18:11 rubenwardy Lua runs on the server thread 18:11 rubenwardy so everything else is blocked whilst Lua is running 18:11 rubenwardy (apart from the mapgen threads) 18:12 red-001 isn't network in another thread? 18:12 rubenwardy Not sure 18:12 rubenwardy doesn't it send events though to the server thread? 18:12 rubenwardy in which case nothing should change for the server thread 18:13 rubenwardy ie: a client wouldn't just disappear 18:15 rubenwardy what's dstream? 18:15 rubenwardy https://github.com/minetest/minetest/blob/723ab1a14a4a61486d31db022eb62794626cdf2a/src/script/lua_api/l_server.cpp#L142-L267 18:15 rubenwardy that's the get_player_information function 18:15 rubenwardy what does your code look like? 18:27 Krock dstream sounds like debugstream 18:28 agaran Hello 18:28 red-001 pretty sure dstream is raw console output 18:29 Krock not directly. it's handled like each other lod output 18:29 Krock *log 18:29 Krock it just has the highest priority (LL_NONE) and can't be disabled 18:30 Krock the raw console output is called rawstream or simply std::cout 18:30 Krock perhaps there's also an ingame notification if it's written into rawstream 18:50 IhrFussel rubenwardy, but FACT is the player was suddenly lost in the MIDDLE of the iteration 18:54 rubenwardy would help to see relevant code 19:18 IhrFussel rubenwardy, it just crashed again if minetest.get_player_by_name(tuser) ~= nil then if minetest.get_player_information(tuser).protocol_version < 27 then 19:19 agaran hi IhrFussel 19:20 IhrFussel tuser is the name of the current player in the loop 19:20 IhrFussel Hello there agaran 19:23 MinetestBot 02[git] 04Rui-Minetest -> 03minetest/minetest: Fix the serialization error by ff73c7a (#5964) 13683ab3a https://git.io/vHy5d (152017-06-11T19:20:50Z) 19:28 GNU[BDC] some players get teleported outside map border. Anyone has this bug? 19:29 GNU[BDC] server 0.4.16 stable 19:29 IhrFussel GNU[BDC], was fixed after release 19:29 GNU[BDC] border is at 4500 they get at 24000 19:29 GNU[BDC] IhrFussel: so i need dev build to fix stable bug? 19:29 GNU[BDC] IhrFussel: thanks 19:29 sfan5 IhrFussel: don't call get_player_information twice 19:30 IhrFussel Correct 19:33 IhrFussel sfan5, my code calls it for each player in the loop...is that wrong? 19:33 sfan5 no that's not what i meant 19:34 sfan5 do local x = minetest.get_player_by_name(tuser) and then if x ~= nil then if x.protocol_version < 27 then ... 19:35 IhrFussel local protv = minetest.get_player_information(tuser).protocol_version if protv < 27 and protv ~= nil then << that's what I have now...will see if it still crashes 19:35 sfan5 that doesn't work 19:35 sfan5 you need to check for nil first 19:36 sfan5 if you blindly do .protocol_version it is guaranteed to crash 19:38 IhrFussel sfan5, this should work now "if protv ~= nil then if protv < 27 then bcmsg = minetest.strip_colors(bcmsg) end end" 19:39 sfan5 no 19:39 sfan5 the problem is not that protocol_version is nil 19:39 sfan5 the problem is that the table that contains protocol_version is nil 19:39 red-001 ^ 19:39 red-001 you can't index an non-table vaule 19:40 IhrFussel But I already check for if minetest.get_player_by_name(tuser) ~= nil then before that code 20:00 sfan5 IhrFussel: you need to save the value and then check it 20:01 sfan5 in theory the first call can return a table and the second one can return nil 20:01 Natechip IhrFussel: Your still working on this? 20:13 IhrFussel sfan5, how much time passes between the calls? They are literally neighbors 20:36 nac Minetest 0.4.15 on Debian 8.8. Where i put the /mod folder? Can i configure a own mod_path in my minetest.conf? 20:36 CalebDavis you put it in ./.minetest 20:38 agaran in technic, cable plates are just for make ones that look like mounting? 20:38 nac k thx 20:39 calcul0n nac, just in case, it's mods, not mod 20:40 nac ouh thx! 20:42 CalebDavis XD yep i didnt notice that 20:43 nac a manual path to "mods" in the minetest.conf do not work? 20:47 sfan5 IhrFussel: it's unlikely yes, but instead of arguing you could just make sure a race condition does not happen and move on 20:59 jcjordyn120 thanks Calinou 20:59 Calinou no problem 21:49 ThomasMonroe bye everyone 21:50 bigfoot547 Bye