APercy / automobiles_pck

automobiles mod for minetest
MIT License
15 stars 8 forks source link

EDIT: trying to ride a motorcycle crashes the server #32

Closed PiTTl closed 5 days ago

PiTTl commented 6 days ago

Hello, since the today's update, driving no longer works with all vehicles, except the karts. With the two-wheelers, getting off is no longer possible, you have to leave the game to be able to walk again. But then you are in the game as a ghost, see picture (two "real" players in the middle). The same thing in single player, only the automobile pack installed, nothing else. screenshot_20241117_192749

PiTTl commented 6 days ago

Edit: edit: all cars drive like before, but now the server crashes if you want to drive a motorcycle or a Vespa. btw the Beetle convertible is beautiful :-)

2024-11-18 00:53:25: ACTION[Server]: PiTTi right-clicks object 1277: LuaEntitySAO "automobiles_motorcycle:motorcycle" at (1559,11,1020)
2024-11-18 00:53:30: ACTION[Main]: Server: Shutting down
2024-11-18 00:53:30: WARNING[Server]: set_animation called on offline player
2024-11-18 00:53:30: ACTION[Server]: PiTTi leaves game. List of players:
2024-11-18 00:53:32: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod 'automobiles_motorcycle' in callback luaentity_Step(): ...est\bin\..\mods\automobiles_pck\automobiles_lib\init.lua:572: attempt to perform arithmetic on field '_transmission_state' (a nil value)
2024-11-18 00:53:32: ERROR[Main]: stack traceback:
2024-11-18 00:53:32: ERROR[Main]: ...est\bin\..\mods\automobiles_pck\automobiles_lib\init.lua:572: in function 'engineSoundPlay'
2024-11-18 00:53:32: ERROR[Main]: ...est\bin\..\mods\automobiles_pck\automobiles_lib\init.lua:559: in function 'engine_set_sound_and_animation'
2024-11-18 00:53:32: ERROR[Main]: ...bin\..\mods\automobiles_pck\automobiles_lib\entities.lua:664: in function 'on_step'
2024-11-18 00:53:32: ERROR[Main]: ...biles_pck\automobiles_motorcycle\motorcycle_entities.lua:218: in function 'func'
2024-11-18 00:53:32: ERROR[Main]: ...\minetest\bin\..\builtin\profiler\instrumentation.lua:124: in function <...\minetest\bin\..\builtin\profiler\instrumentation.lua:117> 
APercy commented 6 days ago

Thank you very much! The crash was fixed now! Now I'm trying to reproduce the ghost behaviour

PiTTl commented 6 days ago

Thank you very much, that was quick. Everything is working again, and the ghost behavior seems to be gone...