Codesound wrote:Hi,
I inform you that with the latest develop (Minetest 0.5.n), this mod crashes Minetest...
just to warn...
Thanks again
R
Thanks, Codesound. I have only had time to test this on 0.4.16. I'll have to debug this. Also, 0.5.0 is still being developed so maybe it isn't my fault. Most likely not though.
EDIT:
Code: Select all
2017-12-11 15:21:59: ERROR[Main]: GUIEngine: execution of menu script failed: Failed to load and run script from /home/user/Downloads/minetest/bin/../builtin/init.lua:
2017-12-11 15:21:59: ERROR[Main]: cannot open /home/user/Downloads/minetest/bin/../builtin/mainmenu/store.lua: No such file or directory
2017-12-11 15:21:59: ERROR[Main]: stack traceback:
2017-12-11 15:21:59: ERROR[Main]: [C]: in function 'dofile'
2017-12-11 15:21:59: ERROR[Main]: .../Downloads/minetest/bin/../builtin/mainmenu/init.lua:39: in main chunk
2017-12-11 15:21:59: ERROR[Main]: [C]: in function 'dofile'
2017-12-11 15:21:59: ERROR[Main]: ...ome/user/Downloads/minetest/bin/../builtin/init.lua:45: in main chunk
2017-12-11 15:21:59: ERROR[Main]: No future without main menu!
Aborted (core dumped)
I think the difference is that they added stuff to the main menu init.lua file and the file me and you were using were the files from 0.4.16.
EDIT2: I was right, the init.lua file has changed since 0.4.16. I'll include two init.lua files in the mod, one for 0.4.16 and one for 0.5.0. If you want to make it work for now, then just paste this line into the init.lua (in the "builtin/mainmenu") that comes with 0.5.0:
Code: Select all
tabs.mapgen = dofile(minetest.get_modpath("bettermapgensettings") .. "/bettermapgensettings/mapgen_init.lua")
. I pasted that line on line number 55 in the file.
BUT You'll also need to paste this line:
at line number 142 for the tab to show up.
Anyone reading this that might be scared of how hard it sounds to install this, don't be, I'm only putting this stuff here since I expect that file to change more before 0.5.0 is released. 0.4.16 works fine right now.