mt-mods / pipeworks

Pipeworks is a mod for Minetest allowing the crafting and usage of pipes and tubes
Other
15 stars 20 forks source link

Crash in MineClonia because luaentites #140

Open nonfreegithub opened 1 month ago

nonfreegithub commented 1 month ago

Minetest version: 5.8.1

MineClonia version: (latest) git main branch commit 9f77361a499afc58f2acbeb5b9b2258c4f4335f8

Pipeworks version: git master branch commit 7079fff85f571e0d22e4a6c7164054926e5a8a96

Crash when a luaentity spawns (ie witches splash potions)

...minetest/bin/../mods/pipeworks/luaentity.lua:386: attempt to call method '_add_loaded' (a nil value)
stack traceback:
    [C]: in function '_add_loaded'
    ...minetest/bin/../mods/pipeworks/luaentity.lua:386: in function 'move_entities_globalstep_part2'
    ...minetest/bin/../mods/pipeworks/luaentity.lua:418: in function <...minetest/bin/../mods/pipeworks/luaentity.lua:402>
    ...minetest/bin/../builtin/common/register.lua:26: in function <...minetest/bin/../builtin/common/register.lua:12>
SwissalpS commented 1 month ago

This crash only happens when injecting potions into tubes? If so, would you mind posting a link to the potions code, thanks.

nonfreegithub commented 1 month ago

It happend when tubes detect a throwed (for example by a witch) potion near of tubes

SwissalpS commented 1 month ago

It happend when tubes detect a throwed (for example by a witch) potion near of tubes

So by dropping items near sand-tubes or adjustabe sand-tubes I should be able to reproduce this?

SwissalpS commented 1 month ago

I'm having trouble reproducing this. Would you please drop a link to the mod that provides the witches.

I've tried with mineclonia and VoxelLibre (both from CDB) and in neither have I been able to make the game crash nor have the sand-tubes picked up any items.