Noodlemire / VoxelDungeon

This is a recreation and adaptation of an Android rogue-like game, Pixel Dungeon by Watabou, using Minetest's engine.
GNU General Public License v3.0
14 stars 5 forks source link

Doesn't run. An error occurred in Lua script #5

Open belkka opened 2 months ago

belkka commented 2 months ago

ModError: Failed to load and run script from /home/user/.minetest/games/voxeldungeon/mods/doors/init.lua: /usr/share/minetest/builtin/game/register.lua:200: bad argument #5 to 'register_item_raw' (table expected, got string) stack traceback: [C]: in function 'register_item_raw' /usr/share/minetest/builtin/game/register.lua:200: in function 'register_item' /usr/share/minetest/builtin/game/register.lua:226: in function 'register_node' /home/user/.minetest/games/voxeldungeon/mods/doors/init.lua:796: in function 'register_fencegate' /home/user/.minetest/games/voxeldungeon/mods/doors/init.lua:808: in main chunk

Techognito commented 1 month ago

I tried replacing the doors mod with a fork: https://codeberg.org/tenplus1/doors/src/branch/master

And this fixes the error you are seeing, but it just loads a generic world. So it seems whatever mapgen mod isn't working properly

Techognito commented 1 month ago

So I ended up updating a lot more, however my Lua knowledge is not yet good enough to fix the voxeldungeon mod.

There are some issues with it still.

  1. For some reason I have yet to figure out. the playerhandler script seems to not set a value for for the playerdata and tempdata. Resulting in a NIL value error ref #6 (could be related to wearing armor?)

  2. The times I actually get into a world, it is not inside a dungeon. Just a "normal" minetest generated world.