stijnwop / manureSystem

Manure System modification for Farming Simulator 2022
GNU General Public License v3.0
96 stars 58 forks source link

game not closing issue is back (dedicated server) #90

Closed dehjvg closed 4 years ago

dehjvg commented 4 years ago

since yesterday i got the game not closing issue back on my dedicated server.

i am not sure wat is causing the problem or why it came back but i know we buyed a few more hoses and we buyed the manure lagoon

client log when closing:

2020-04-29 10:14 LUA call stack: 2020-04-29 10:14 =C:/Users/hj/Documents/My Games/FarmingSimulator2019/mods/FS19_manureSystem/src/hose/Hose.lua (931) : setTranslation 2020-04-29 10:14 =C:/Users/hj/Documents/My Games/FarmingSimulator2019/mods/FS19_manureSystem/src/hose/Hose.lua (815) : disconnectGrabNode 2020-04-29 10:14 =C:/Users/hj/Documents/My Games/FarmingSimulator2019/mods/FS19_manureSystem/src/hose/Hose.lua (955) : detach 2020-04-29 10:14 =C:/Users/hj/Documents/My Games/FarmingSimulator2019/mods/FS19_manureSystem/src/hose/Hose.lua (153) : removeHoseConnections 2020-04-29 10:14 dataS/scripts/vehicles/SpecializationUtil.lua (30) 2020-04-29 10:14 dataS/scripts/vehicles/Vehicle.lua (818) : raiseEvent 2020-04-29 10:14 dataS/scripts/network/NetworkNode.lua (68) : delete 2020-04-29 10:14 dataS/scripts/network/Client.lua (50) : delete 2020-04-29 10:14 dataS/scripts/BaseMission.lua (253) : delete 2020-04-29 10:14 dataS/scripts/FSBaseMission.lua (332) : delete 2020-04-29 10:14 dataS/scripts/utils/Utils.lua (381) : oldFunc 2020-04-29 10:14 dataS/scripts/utils/Utils.lua (381) : oldFunc 2020-04-29 10:14 dataS/scripts/utils/Utils.lua (381) : oldFunc 2020-04-29 10:14 dataS/scripts/missions/mission00.lua (69) : delete 2020-04-29 10:14 dataS/scripts/events.lua (145) : delete 2020-04-29 10:14 dataS/scripts/gui/InGameMenu.lua (389) : OnInGameMenuMenu 2020-04-29 10:14 dataS/scripts/gui/InGameMenu.lua (494) : leaveCurrentGame 2020-04-29 10:14 dataS/scripts/gui/elements/ButtonElement.lua (412) : raiseCallback 2020-04-29 10:14 dataS/scripts/gui/elements/GuiElement.lua (616) : mouseEvent 2020-04-29 10:14 dataS/scripts/gui/elements/GuiElement.lua (616) : mouseEvent 2020-04-29 10:14 dataS/scripts/gui/base/Gui.lua (561) : mouseEvent 2020-04-29 10:14 dataS/scripts/main.lua (1767) : mouseEvent 2020-04-29 10:14 Warning (script): Unknown entity id 216887 in method 'localToLocal'. 2020-04-29 10:14 LUA call stack: 2020-04-29 10:14 =C:/Users/hj/Documents/My Games/FarmingSimulator2019/mods/FS19_manureSystem/src/hose/Hose.lua (699) : localToLocal 2020-04-29 10:14 =C:/Users/hj/Documents/My Games/FarmingSimulator2019/mods/FS19_manureSystem/src/hose/Hose.lua (933) : computeCatmullSpline 2020-04-29 10:14 =C:/Users/hj/Documents/My Games/FarmingSimulator2019/mods/FS19_manureSystem/src/hose/Hose.lua (815) : disconnectGrabNode 2020-04-29 10:14 =C:/Users/hj/Documents/My Games/FarmingSimulator2019/mods/FS19_manureSystem/src/hose/Hose.lua (955) : detach 2020-04-29 10:14 =C:/Users/hj/Documents/My Games/FarmingSimulator2019/mods/FS19_manureSystem/src/hose/Hose.lua (153) : removeHoseConnections 2020-04-29 10:14 dataS/scripts/vehicles/SpecializationUtil.lua (30) 2020-04-29 10:14 dataS/scripts/vehicles/Vehicle.lua (818) : raiseEvent 2020-04-29 10:14 dataS/scripts/network/NetworkNode.lua (68) : delete 2020-04-29 10:14 dataS/scripts/network/Client.lua (50) : delete 2020-04-29 10:14 dataS/scripts/BaseMission.lua (253) : delete 2020-04-29 10:14 dataS/scripts/FSBaseMission.lua (332) : delete 2020-04-29 10:14 dataS/scripts/utils/Utils.lua (381) : oldFunc 2020-04-29 10:14 dataS/scripts/utils/Utils.lua (381) : oldFunc 2020-04-29 10:14 dataS/scripts/utils/Utils.lua (381) : oldFunc 2020-04-29 10:14 dataS/scripts/missions/mission00.lua (69) : delete 2020-04-29 10:14 dataS/scripts/events.lua (145) : delete 2020-04-29 10:14 dataS/scripts/gui/InGameMenu.lua (389) : OnInGameMenuMenu 2020-04-29 10:14 dataS/scripts/gui/InGameMenu.lua (494) : leaveCurrentGame 2020-04-29 10:14 dataS/scripts/gui/elements/ButtonElement.lua (412) : raiseCallback 2020-04-29 10:14 dataS/scripts/gui/elements/GuiElement.lua (616) : mouseEvent 2020-04-29 10:14 dataS/scripts/gui/elements/GuiElement.lua (616) : mouseEvent 2020-04-29 10:14 dataS/scripts/gui/base/Gui.lua (561) : mouseEvent 2020-04-29 10:14 dataS/scripts/main.lua (1767) : mouseEvent 2020-04-29 10:14 Warning (script): Unknown entity id 216887 in method 'localToLocal'. 2020-04-29 10:14 LUA call stack: 2020-04-29 10:14 =C:/Users/hj/Documents/My Games/FarmingSimulator2019/mods/FS19_manureSystem/src/hose/Hose.lua (702) : localToLocal 2020-04-29 10:14 =C:/Users/hj/Documents/My Games/FarmingSimulator2019/mods/FS19_manureSystem/src/hose/Hose.lua (933) : computeCatmullSpline 2020-04-29 10:14 =C:/Users/hj/Documents/My Games/FarmingSimulator2019/mods/FS19_manureSystem/src/hose/Hose.lua (815) : disconnectGrabNode 2020-04-29 10:14 =C:/Users/hj/Documents/My Games/FarmingSimulator2019/mods/FS19_manureSystem/src/hose/Hose.lua (955) : detach 2020-04-29 10:14 =C:/Users/hj/Documents/My Games/FarmingSimulator2019/mods/FS19_manureSystem/src/hose/Hose.lua (153) : removeHoseConnections 2020-04-29 10:14 dataS/scripts/vehicles/SpecializationUtil.lua (30) 2020-04-29 10:14 dataS/scripts/vehicles/Vehicle.lua (818) : raiseEvent 2020-04-29 10:14 dataS/scripts/network/NetworkNode.lua (68) : delete 2020-04-29 10:14 dataS/scripts/network/Client.lua (50) : delete 2020-04-29 10:14 dataS/scripts/BaseMission.lua (253) : delete 2020-04-29 10:14 dataS/scripts/FSBaseMission.lua (332) : delete 2020-04-29 10:14 dataS/scripts/utils/Utils.lua (381) : oldFunc 2020-04-29 10:14 dataS/scripts/utils/Utils.lua (381) : oldFunc 2020-04-29 10:14 dataS/scripts/utils/Utils.lua (381) : oldFunc 2020-04-29 10:14 dataS/scripts/missions/mission00.lua (69) : delete 2020-04-29 10:14 dataS/scripts/events.lua (145) : delete 2020-04-29 10:14 dataS/scripts/gui/InGameMenu.lua (389) : OnInGameMenuMenu 2020-04-29 10:14 dataS/scripts/gui/InGameMenu.lua (494) : leaveCurrentGame 2020-04-29 10:14 dataS/scripts/gui/elements/ButtonElement.lua (412) : raiseCallback 2020-04-29 10:14 dataS/scripts/gui/elements/GuiElement.lua (616) : mouseEvent 2020-04-29 10:14 dataS/scripts/gui/elements/GuiElement.lua (616) : mouseEvent 2020-04-29 10:14 dataS/scripts/gui/base/Gui.lua (561) : mouseEvent 2020-04-29 10:14 dataS/scripts/main.lua (1767) : mouseEvent 2020-04-29 10:14 Error: Running LUA method 'mouseEvent'. 2020-04-29 10:14 C:/Users/hj/Documents/My Games/FarmingSimulator2019/mods/FS19_manureSystem/src/hose/Hose.lua:713: attempt to perform arithmetic on local 'p2x' (a nil value) 2020-04-29 10:14 Application exit request forced. 2020-04-29 10:14 Application exit request forced.

only way to close the game is alt +f4

did downloaded the letest beta few minutes ago but that did not help to fix the issue

stijnwop commented 4 years ago

The thing is, I need a reproduceable case in order to fix the issue. And this seem to be a really random thing with most likely a lot of factors causing it.

Just added another safety check for it in the meantime.

dehjvg commented 4 years ago

the game shuts down normal now again with the latest changes.

but the stallkamp pomp is not working anymore the R (activate) button is missing totaly in the f1 menu but when you press it when 1 of the things is wrong it gives a message but when all is fine it does not activate

made a little move of it https://youtu.be/AB2JYSMSGxI

stijnwop commented 4 years ago

Fixed the pump issue #91

Should be related to what you had. @dehjvg Also I am not able to reproduce the issue you guys having.. had some reports from others with the same callstack (when leaving the game on the dedi) but I am not able to get it.

So it seems to be fixed or I am missing something.

dehjvg commented 4 years ago

@stijnwop tested it and pump is working good again and the game exit issue we dont have it any more since the update 2 days back

so yea both fixed

stijnwop commented 4 years ago

Alright if you happen to walk into the issue again just open a new ticket :)