minetest-mods / i3

:rocket: A next-generation inventory for Minetest 5.6+
Other
41 stars 26 forks source link

Internal Server Error on Player Die #79

Closed welchste closed 1 year ago

welchste commented 1 year ago

Describe the bug Any time any character dies, the server crashes and restarts. Booting all players out of the game.

To Reproduce Any player dies.

Screenshots Minetest log message

2022-10-29 21:31:29: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'i3' in callback on_dieplayer(): (load):383: attempt to perform arithmetic on local 'ppos' (a table value)

Additional context

kilbith commented 1 year ago

Can't reproduce. Please complete the issue template and tell me about the server + clients version.

@appgurueu 5.6 does support __add in Vector metatables, right?

appgurueu commented 1 year ago

@appgurueu 5.6 does support __add in Vector metatables, right?

5.5 even

kilbith commented 1 year ago

Yes, so <5.6 clients should not even be able to play the game. Unless you have forked the mod.

EDIT: actually, it's your server that seems to be <5.6.

kilbith commented 1 year ago

Upgrade your server.