-
assigned issue to
Crash server
I have this problem from time to time 2022-07-02 16:30:48: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod 'x_bows' in callback item_OnUse(): Invalid float vector dimension range 'x' (expected -2.14748e+06 < x < 2.14748e+06 got -1.07219e+07). 2022-07-02 16:30:48: ERROR[Main]: stack traceback: 2022-07-02 16:30:48: ERROR[Main]: [C]: in function 'set_velocity' 2022-07-02 16:30:48: ERROR[Main]: ...e/.minetest/games/test/mods/x_bows/init.lua:214: in function <...e/.minetest/games/test/mods/x_bows/init.lua:157>
I don't know why "x" gets so big
Comments (7)
-
-
This is hard to know unless I can reproduce it. What mods is your game using?
-
- changed status to on hold
-
- changed status to open
-
more info from https://forum.minetest.net/viewtopic.php?p=409459#p409459
This happens when you load an arrow, keep the bow loaded, then stop the server, restart the server and then immediately fire the arrow.
-
I could not reproduce the issue after trying multiple recommended steps. Nevertheless is seem to be related to the
load_time
meta data. Therefore I have added new feature where the bow will discharge after changing hotbar selection, logging in to the game or dropping charged arrow. This way the meta data will be cleared from the item and hopefully prevent anyInvalid float vector dimension range
errors. -
- changed status to resolved
- Log in to comment