ElCeejo / draconis

Adds Dragons and related resources and equipment to Minetest Game
MIT License
18 stars 23 forks source link

Server Crash on move_tail #12

Closed z0rti closed 2 years ago

z0rti commented 2 years ago

Server crashes when i join and there are dragons

2021-09-09 16:39:13: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod '??' in callback luaentity_Activate(): /home/minetest/.minetest/mods/draconis/api/api.lua:1978: attempt to perform arithmetic on local 'tyaw' (a nil value)
2021-09-09 16:39:13: ERROR[Main]: stack traceback:
2021-09-09 16:39:13: ERROR[Main]:       /home/minetest/.minetest/mods/draconis/api/api.lua:1978: in function 'move_tail'
2021-09-09 16:39:13: ERROR[Main]:       /home/minetest/.minetest/mods/draconis/api/api.lua:1054: in function </home/minetest/.minetest/mods/draconis/api/api.lua:968>
z0rti commented 2 years ago

I guess it just happens after updating the mod. When i load draconis on a fresh world, it does work. But when i just replace the old 'stable' draconis and use it with our old existing world (where we already got dragons) the server crashes after i join and a dragon is in sight. (MT 5.4.1, linux)

z0rti commented 2 years ago

Got it! It was due to an old mob_core Sorry. Closed.