Minetest logo

IRC log for #minetest, 2017-06-11

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

All times shown according to UTC.

Time Nick Message
00:43 Megaf joined #minetest
00:44 swift110 joined #minetest
01:03 bigfoot547 joined #minetest
01:06 sallyy1999 joined #minetest
01:17 lumidify_ joined #minetest
01:19 MinetestBot [git] numberZero -> minetest/minetest: Plantlike meshoptions: Fix inverted random vertical offset 7bfd53b https://git.io/vHy39 (2017-06-11T01:12:33Z)
01:19 MinetestBot [git] paramat -> minetest/minetest: (Re)spawn players within 'mapgen_limit' 842acbf https://git.io/vHy3H (2017-06-11T01:11:08Z)
01:35 swift110 hey all
01:47 ThomasMonroe joined #minetest
01:47 ThomasMonroe joined #minetest
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:07 imr joined #minetest
02:09 imr joined #minetest
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:24 CalebDavis joined #minetest
02:32 LazyJ joined #minetest
02:49 swift110 ok cool ThomasMonroe
02:50 bigfoot547 Well, g'night!
02:50 Natechip bye!
02:52 bigfoot547 left #minetest
03:03 slemonide joined #minetest
03:27 slemonide joined #minetest
03:31 imr joined #minetest
03:50 nalkri joined #minetest
03:52 nalkri joined #minetest
04:20 MarioBranco joined #minetest
04:24 GreenDimond joined #minetest
04:34 imr joined #minetest
04:37 Pie-jacker875 joined #minetest
05:13 Alcyone2 joined #minetest
05:30 Pie-jacker875 joined #minetest
05:36 kimitux joined #minetest
05:40 AlexYst joined #minetest
06:08 xerox123 joined #minetest
06:23 CWz joined #minetest
06:24 AntumDeluge joined #minetest
06:38 Pixalou joined #minetest
06:48 nac joined #minetest
07:01 DS-minetest joined #minetest
07:06 nac joined #minetest
07:10 kimitux joined #minetest
07:23 redblade7 joined #minetest
07:44 MinetestBot [git] red-001 -> minetest/minetest: Improve the path select GUI (#5852) 26e2eb0 https://git.io/vHyl6 (2017-06-11T07:43:31Z)
07:44 MinetestBot [git] ShadowNinja -> minetest/minetest: Remove threads.h and replace its definitions with their C++11 equival… 6c5e5e2 https://git.io/vHyli (2017-06-11T07:43:05Z)
08:39 Gundul joined #minetest
08:40 QwertyDragon joined #minetest
08:47 Telesight joined #minetest
09:03 kimitux joined #minetest
09:16 Krock joined #minetest
09:55 xerox123_ joined #minetest
10:16 jin_xi joined #minetest
10:38 Raven262 joined #minetest
10:48 YuGiOhJCJ joined #minetest
10:51 MinetestBot [git] nerzhul -> minetest/minetest: Remove minetestmapper from this repository (#5901) 03ff53e https://git.io/vHyE8 (2017-06-11T10:49:30Z)
11:02 kimitux joined #minetest
11:12 DS-minetest joined #minetest
11:14 Jordach joined #minetest
11:23 ThomasMonroe joined #minetest
11:30 slemonide joined #minetest
11:47 xerox123 joined #minetest
11:53 cx384 joined #minetest
11:54 Taose joined #minetest
11:55 Fixer joined #minetest
11:58 MinetestBot [git] Rui-Minetest -> minetest/minetest: Sound: Add pitch option (#5960) ff73c7a https://git.io/vHyzx (2017-06-11T11:58:26Z)
12:01 MinetestBot [git] nerzhul -> minetest/minetest: Use thread_local instead from some static settings (#5955) 65819f3 https://git.io/vHygL (2017-06-11T11:58:43Z)
12:59 ThomasJaguar1212 joined #minetest
13:34 catninja joined #minetest
13:51 imr joined #minetest
13:58 imr joined #minetest
13:59 imr joined #minetest
14:18 nowhere_man joined #minetest
14:20 fireglow joined #minetest
14:27 nowhereman_ joined #minetest
14:39 Gundul joined #minetest
14:48 Pie-jacker875 joined #minetest
14:49 MarioBranco joined #minetest
15:18 james joined #minetest
15:18 Megaf joined #minetest
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
15:30 Megaf joined #minetest
16:00 YuGiOhJCJ joined #minetest
16:00 Alcyone2 joined #minetest
16:01 AlexYst joined #minetest
16:04 Megaf_ joined #minetest
16:16 bulldozer joined #minetest
16:29 Natechip joined #minetest
16:31 DS-minetest joined #minetest
16:33 bigfoot547 joined #minetest
16:38 fengshaun joined #minetest
16:51 bulldozer joined #minetest
16:51 bulldozer548 left #minetest
16:58 Brackston joined #minetest
17:02 xerox123_ joined #minetest
17:12 bulldozer \o/
17:55 IhrFussel joined #minetest
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 Tmanyo joined #minetest
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 Hawk777 joined #minetest
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:03 jcjordyn120 joined #minetest
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:13 behalebabo joined #minetest
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:20 Alcyone2 joined #minetest
18:21 Fritigern joined #minetest
18:27 Krock dstream sounds like debugstream
18:28 agaran joined #minetest
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:43 glorfindel joined #minetest
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
18:54 redblade7 joined #minetest
18:55 est31 joined #minetest
19:08 slemonide joined #minetest
19:09 Player_2 joined #minetest
19:11 troller joined #minetest
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 CalebDavis joined #minetest
19:20 IhrFussel tuser is the name of the current player in the loop
19:20 IhrFussel Hello there agaran
19:23 MinetestBot [git] Rui-Minetest -> minetest/minetest: Fix the serialization error by ff73c7a (#5964) 683ab3a https://git.io/vHy5d (2017-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:31 YuGiOhJCJ joined #minetest
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
19:50 ThomasMonroe joined #minetest
19:50 ThomasMonroe joined #minetest
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:16 jcjordyn120 joined #minetest
20:32 Darcidride joined #minetest
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 swift110 joined #minetest
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:47 redblade7 joined #minetest
20:59 jcjordyn120 thanks Calinou
20:59 Calinou no problem
21:01 jsgrant_ joined #minetest
21:11 swift110 joined #minetest
21:34 AntumDeluge joined #minetest
21:41 agaran left #minetest
21:42 swift110 joined #minetest
21:43 Guest_5285 joined #minetest
21:47 DMackey joined #minetest
21:49 ThomasMonroe bye everyone
21:50 bigfoot547 Bye
22:14 Natechip joined #minetest
22:50 cyberarm joined #minetest
23:04 swift110 joined #minetest
23:15 zarcade_droid joined #minetest
23:23 kaeza joined #minetest

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