ronoaldo / mercurio

Mercurio Minetest Server open source repository.
https://github.com/users/ronoaldo/projects/3
Apache License 2.0
7 stars 1 forks source link

PA28 velocity crash #124

Closed farribeiro closed 1 year ago

farribeiro commented 1 year ago

The pa28 is crashing velocity with user kyro on mercurio server, i recommend wait upstream apply this PR https://github.com/APercy/pa28/pull/6 and fix the crash

Logs:

2022-11-02 22:45:41: WARNING[Main]: ServerEnv: Trying to store id = 0 statically but block (-17,3,120) already contains 256 objects.
2022-11-02 22:45:41: WARNING[Main]: ServerEnv: Trying to store id = 0 statically but block (-17,3,120) already contains 256 objects.
2022-11-02 22:45:41: WARNING[Main]: ServerEnv: Trying to store id = 0 statically but block (-17,3,120) already contains 256 objects.
2022-11-02 22:45:41: WARNING[Main]: ServerEnv: Trying to store id = 0 statically but block (-17,3,120) already contains 256 objects.
2022-11-02 22:45:43: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod 'pa28' in callback luaentity_Step(): Invalid float value for 'x' (NaN or infinity)
2022-11-02 22:45:43: ERROR[Main]: stack traceback:
2022-11-02 22:45:43: ERROR[Main]:     [C]: in function 'set_velocity'
2022-11-02 22:45:43: ERROR[Main]:     /usr/share/minetest/mods/pa28/custom_physics.lua:106: in function 'physics'
2022-11-02 22:45:43: ERROR[Main]:     /usr/share/minetest/mods/pa28/entities.lua:316: in function 'func'
2022-11-02 22:45:43: ERROR[Main]:     /usr/share/minetest/builtin/profiler/instrumentation.lua:107: in function </usr/share/minetest/builtin/profiler/instrumentation.lua:100>

PS: I think is same bug for hidroplane

farribeiro commented 1 year ago

Please update the PA28 mod due the hotfix was applied on upstream