TheTermos / mobkit

Entity API for Minetest
MIT License
27 stars 12 forks source link

Server Crash #36

Open ghost opened 3 years ago

ghost commented 3 years ago

Minetest Version: 5.4.1

Mobkit update at commit: ddea141b081e087900a6acc5a2a90e8d4e564295

Crash: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod '??' in callback luaentity_Step(): /home/minetest/minetest/bin/../mods/mob_core/hq_lq.lua:177: attempt to index a nil value ERROR[Main]: stack traceback: ERROR[Main]: /home/minetest/minetest/bin/../mods/mob_core/hq_lq.lua:177: in function 'sensor_floor' ERROR[Main]: /home/minetest/minetest/bin/../mods/mob_core/hq_lq.lua:428: in function 'func' ERROR[Main]: /home/minetest/minetest/bin/../mods/mobkit/init.lua:621: in function 'execute_queues' ERROR[Main]: /home/minetest/minetest/bin/../mods/mobkit/init.lua:848: in function 'stepfunc' ERROR[Main]: /home/minetest/minetest/bin/../mods/mob_core/api.lua:1147: in function 'on_step' ERROR[Main]: /home/minetest/minetest/bin/../mods/draconis/api/api.lua:978: in function </home/minetest/minetest/bin/../mods/draconis/api/api.lua:977>

TheTermos commented 3 years ago

Do you think it has to do with the mentioned commit? It affects only on_activate, and the error clearly happens in on_step.

ghost commented 3 years ago

It was a mob_core mod crash I think, but Im not sure

TheTermos commented 3 years ago

You should probably start with reporting the issue to mob_core author, he'll be able to say if the problem is with his code or it's traceable back to mobkit.