Time Nick Message 06:36 MTDiscord Hi guys! Please, what it might be, MT throws me this error: ERROR[Main]: [vector_extras] vector.cross already exists. 06:37 VanessaE maybe that mod's simply not needed anymore? 06:38 VanessaE `vector.cross()` is in the Minetest API 06:38 VanessaE https://github.com/minetest/minetest/blob/master/doc/lua_api.txt#L3178 06:38 MTDiscord risenpilz mod require it 06:39 MTDiscord riesenpilz 06:39 VanessaE one or both need updated then 06:39 MTDiscord ok 06:39 MTDiscord thx 06:39 VanessaE either riesenpilz should no longer need vector_extras, or vector_extras needs to drop `vector.cross()` from its API. 06:40 MTDiscord I see 06:50 MTDiscord I've removed the dependency and so far so good. TY VanessaE 06:51 VanessaE good luck :) 06:54 VanessaE be sure you file an issue against reisenpilz to let the maintainer know 10:23 MTDiscord Guys, I have an issue with minetes 5.4.0 / mods, idk, because it behaves strangely 10:26 MTDiscord I'm on W10, I've selected some mods and created a world. It is working fine. Then I moved it to my other PC (W10) and when I start it, it throws "ERROR[Main]: Connection timed out" and MT quits... 10:29 MTDiscord I struggle with it for couple days. PC has CPU Pentium G3420 @ 3,2GHz 2C/2T, RAM 8GB. Integrated VGA Intel. 10:30 MTDiscord When I use it to connect to other online MT servers, it is working fine. 10:30 MTDiscord I have allowed MT in firewall. 10:30 MTDiscord I have performed memtest and everything is fine. 10:31 sfan5 this is a known "bug" so to say 10:32 MTDiscord And is there any solution to this "bug", please? 10:32 sfan5 the client has a 10s timeout for waiting for the server to start up 10:32 sfan5 (not new in 5.4.0 however) 10:33 MTDiscord ah, k. CPU is rather slow, I have it in my HTPC 10:33 sfan5 you have several options 10:33 sfan5 1) uncheck the "Host Server" box in the main menu 10:33 sfan5 2) run the world from the command line using minetest.exe --server --worldname "" 10:34 sfan5 3) figure out which mod is taking so long and somehow fix that 10:34 MTDiscord 2nd option is my choice 10:35 MTDiscord I was trying GUI only to test it if it works and I've spent hours to fight it... 10:35 MTDiscord thank you sfan5 10:36 sfan5 if you don't mind try figuring out which mod takes so long and tell me 10:36 MTDiscord how? 10:38 sfan5 if you run with --verbose you have mod load times (and a whole lot of other stuff, you'll have to search the log in a text editor) 10:42 MTDiscord k, I'll try 10:48 MTDiscord should I run --verbose with command line or run gui with verbose? 10:54 MTDiscord verbose 10:54 MTDiscord https://cdn.discordapp.com/attachments/749727888659447960/828583248212000788/message.txt 10:55 sfan5 that doesn't look like a verbose log 10:56 MTDiscord i've created batch file with command: "minetest.exe --server --worldname testovaci --verbose" 10:57 MTDiscord then I've copied the content of debug.txt 10:57 MTDiscord should I copy content of concole window? It shows no times either... 10:58 MTDiscord almost, no times... 10:58 sfan5 does it show anything with VERBOSE[Main]? 10:58 MTDiscord C:\minetestserver5.4.0\bin>minetest.exe --server --worldname testovaci --verbose - Found whitespace, leaving param - Found whitespace, leaving param 11:00 VanessaE sfan5: not to interrupt, but since I'm bored, and you wanted one: https://imgur.com/XcjlCwG.png 11:00 sfan5 :D 11:02 MTDiscord no VERBOSE[Main] 11:02 MTDiscord VanessaE lol ? 11:03 sfan5 hm that's weird, thanks for trying anyway 11:06 MTDiscord sfan5, and what about debug_log_level = 4 in config file? ? I'll try 11:06 sfan5 does that take numbers? I'd think it should be "debug_log_level = verbose" 11:07 sfan5 sure please try that 11:08 MTDiscord It takes numbers 11:08 MTDiscord debug.txt verbose 11:09 MTDiscord https://cdn.discordapp.com/attachments/749727888659447960/828587015633109012/message.txt 11:10 MTDiscord ah sorry, it was still loading, there is another bigger version 11:10 MTDiscord hopefully full debug.txt 11:10 MTDiscord https://cdn.discordapp.com/attachments/749727888659447960/828587427618095134/message.txt 11:12 MTDiscord I have found it here: https://wiki.minetest.net/MinetestEDU/Informations_about_%27%27minetest.conf%27%27 11:13 sfan5 the times sum to ~5s, top three: 11:13 sfan5 2021-04-05 13:07:17: INFO[Main]: Mod "technic_chests" loaded after 736 ms 11:13 sfan5 2021-04-05 13:07:15: INFO[Main]: Mod "moreblocks" loaded after 1042 ms 11:13 sfan5 2021-04-05 13:07:16: INFO[Main]: Mod "coloredwood" loaded after 1214 ms 11:17 MTDiscord i see it 11:19 MTDiscord thank you for your help 11:37 MTDiscord how to shutdown a server running from command line poperly? Is it enough to Ctrl+C? 11:38 sfan5 yes 11:38 MTDiscord thx 11:38 sfan5 obviously don't spam it, just once and it'll shut down normally 11:39 VanessaE or kill -INT 11:40 MinetestBot 02[git] 04SmallJoker -> 03minetest/minetest: Game: Scale damage flash to max HP 13c11208c https://git.io/JYHze (152021-04-05T11:38:50Z) 11:40 MinetestBot 02[git] 04sfan5 -> 03minetest/minetest: Reserve vectors before pushing and other code quality changes (#11161) 13f0bad0e https://git.io/JYHzv (152021-04-05T11:38:31Z) 11:40 MinetestBot 02[git] 04Wuzzy2 -> 03minetest/minetest: Devtest: Remove testnodes_show_fallback_image 133e1904f https://git.io/JYHzf (152021-04-05T11:37:58Z) 13:32 MinetestBot 02[git] 04sfan5 -> 03minetest/minetest: Don't apply connection timeout limit to locally hosted servers 1319c2835 https://git.io/JYHHH (152021-04-05T13:21:43Z) 13:57 MinetestBot 02[git] 04yw05 -> 03minetest/minetest: Make edit boxes respond to string input (IME) (#11156) 1385163b5 https://git.io/JYHFN (152021-04-05T13:56:29Z) 13:57 MinetestBot 02[git] 04Desour -> 03minetest/minetest: Add vector.to_string and vector.from_string (#10323) 132332527 https://git.io/JYHFA (152021-04-05T13:55:56Z) 14:34 MTDiscord minetest crashes with "WARNING[Main]: Irrlicht: Locale not supported. Falling back to non-i18n input." on the main menu when starting minetest. I am using current latest git (for both minetest and irrlicht) 14:35 sfan5 gdb backtrace would be appreciated 14:42 MTDiscord does seem to give much more info using the debug build 14:42 MTDiscord *doesn't 14:42 MTDiscord gonna try rebooting 14:42 sfan5 uh 14:43 sfan5 so by "crashes" you mean "exits"? 14:45 celeron55 on windows if it crashes there should be the application crash dialog, right? 14:45 celeron55 if it shuts down by itself there should be something in the log explaining it 14:45 celeron55 oh wait, nobody said it was windows this time 14:49 MTDiscord Crash still occurs. 14:50 sfan5 define "crash" 14:51 MTDiscord I start the application, It's says hi... bye and closes. 14:51 MTDiscord end with this: Segmentation fault (core dumped) 14:51 sfan5 okay then it's definitely a crash 14:52 sfan5 a debug build + gdb should give your more info 14:52 sfan5 make sure to rebuild irrlicht as debug too 14:53 MTDiscord what's gdb? 14:54 sfan5 a debugger 14:56 sfan5 basically you run this: gdb -ex r -ex 'bt full' ./bin/minetest 14:56 sfan5 and when it crashes, it print more information that'll be useful to determine the cause 15:05 MTDiscord https://pastebin.com/62BgkcSp 15:11 sfan5 pull irrlicht and compile, should be fixed 18:02 delta23 hello 18:02 delta23 when i try building the latest git of irrlichtMT and minetest 18:02 delta23 minetest segfaults on start 18:03 sfan5 does it print anything before that? 18:03 delta23 no 18:04 delta23 crashes before even displaying debug text 18:04 delta23 $ ./minetest 18:04 delta23 Segmentation fault (core dumped) 18:05 sfan5 try running it under gdb and see what it says 18:05 delta23 should i rebuild it as a debug build ? 18:05 sfan5 might be useful 18:09 Krock also check whether minetest and irrlichtmt are up to date 18:09 delta23 https://pastebin.com/DSD7Kj7r 18:09 delta23 Krock: i updated them just now to make sure 18:09 delta23 latest git for both 18:09 delta23 debug build also segfaults and gdb gives error about joystick 18:09 delta23 which i don't have joystick plugins so 18:09 Krock how the heck 18:10 Krock this=0x0 18:10 Krock looks like it registers JoystickController anyway to irrlicht 18:12 Krock https://github.com/minetest/minetest/blob/master/src/gui/guiFormSpecMenu.cpp#L4059 18:13 Krock why do you receive a joystick event? 18:13 Krock this is nonsense behaviour 18:13 Krock anyway, changing this line to bool handled = m_joystick && m_joystick->handleEvent(event.JoystickEvent); should fix your issue 18:13 sfan5 you can get a backtrace using "bt full" 18:13 sfan5 please post that 18:14 delta23 alright 18:14 Krock there's another call in MyEventReceiver::OnEvent too 18:18 delta23 bt full dumps a whole lot of stuff - exceeds pastebin's 512kb limit 18:19 sfan5 truncate it 18:20 delta23 how ? 18:20 delta23 the debug output? 18:21 sfan5 save it in a file and run head -c512000 on it 18:24 delta23 https://pastebin.com/gw0uwBmP 18:25 delta23 oh wait it 404d 18:26 delta23 pastebin is deleting my pastes after it pastes them.. 18:26 sfan5 you could also use another site such as https://uguu.se/ 18:27 Krock or https://paste.debian.net/ if it's not down at random times 18:27 delta23 https://a.uguu.se/WiKgQadZ.txt 18:27 Krock MyEventReceiver::OnEvent 18:31 sfan5 delta23: recompile minetest, there is no bug 18:31 delta23 recompiling after rm cmakecache and make clean 18:31 sfan5 on the 2nd an event was added to irrlicht, the shift in the enum can cause a log event to be mistaken for a joystick event 18:32 sfan5 "can cause" if you've not recompiled that is 18:32 delta23 i've recompiled it already 18:32 delta23 this will be 3rd try 18:32 sfan5 then the libIrrlichtMt being loaded is not the one you compiled 18:32 sfan5 or it's compiled with outdated headers 18:32 sfan5 or something else 18:33 delta23 it's loading the correct library at least 18:33 delta23 i specified the irrlicht header and library directories in cmake 18:34 delta23 still segfaults 18:34 delta23 after rebuild 18:34 sfan5 check ldd ./minetest 18:35 delta23 libIrrlichtMt.so.1.9 => /usr/local/lib/libIrrlichtMt.so.1.9 it's the correct version 18:35 Krock so you installed it after compiling? 18:35 delta23 yes 18:35 delta23 should i retry with local ? 18:36 sfan5 compare the md5sum of /usr/local/lib/libIrrlichtMt.so.1.9 and the lib/Linux/libIrrlichtMt.so in your local folder 18:36 Krock if /usr/local/lib/libIrrlichtMt.so.1.9 is already up-to-date there's no point in it 18:36 delta23 sfan5: they're the same md5 18:36 sfan5 also check if grep STRING /usr/local/include/IEventReceiver.h returns something 18:38 delta23 $ grep STRING /usr/local/include/irrlichtmt/IEventReceiver.h 18:38 delta23 EET_STRING_INPUT_EVENT, 18:38 sfan5 okay that looks good 18:40 sfan5 hm 18:43 delta23 strange, when i rebuild it in a new git directory it works fine 18:43 delta23 but git status doesn't show anything different 18:43 delta23 (irrlichtMT i mean) 18:45 MTDiscord delta23: I think I wrote about it before. The string input event was introduced a few days ago in a way that is incompatitable with verions of MT linked with older versions of IrrlichtMt 18:46 delta23 it's the latest version of irrlichtmt... but from what i see 18:46 MTDiscord (assuming that MT is dynamically linked) 18:46 delta23 -DBUILD_SHARED_LIBS=ON for the irrlichtMT library reproduces this error 18:46 delta23 no, i meant 18:46 delta23 -DBUILD_SHARED_LIBS=OFF for the irrlichtMT library reproduces this error 18:47 sfan5 you have a mismatch of library, headers and/or what MT is built with somewhere 18:47 MTDiscord Wait, so how did you end up with libIrrlichtMt.so.1.9 when you built a static library? 18:48 delta23 i did originally 18:48 delta23 i think it's cmakecache 18:48 delta23 causing this 18:49 MTDiscord make clean && make 18:50 delta23 yes, that's what i did before that the error kept happening 18:50 delta23 rm CMakeCache.txt then the above 18:50 delta23 fixes the error 18:50 delta23 oh cmake before that a/w 18:51 celeron55 cmake's worst mistake is not implementing "cmake clean" 18:51 celeron55 everyone is lost at first trying to reset it 18:51 MTDiscord Since it's a breaking change you need to recompile libIrrlichtMt and Minetest (and yes, in that order) 18:51 delta23 it's fixed now, just need to reset cmake's cache files 18:51 delta23 *needed 18:58 Hawk777 git clean -dxf ← my preferred Very Big Cleaning Hammer