Page 1 of 1

Server keeps stuck at synchronizing

Posted: Fri Nov 30, 2018 4:48 pm
by Plankveld
Hello
i have a dedicated server.
and since yesterday me and my friends are unable to get into our dedicated server
the servers stops with loading when it says : synchronizing data with other players... 26%, while there is nobody online, and i am also the only on trying to get in to the server
Can someone help me ? or now someone who would be able to help me ?

kind regards

Re: Server keeps stuck at synchronizing

Posted: Mon Dec 31, 2018 10:05 pm
by Norm__
we had the same problem. first thing to do is to look at you game log for anything that sticks out like errors etc.... then get rid of the most recent mods youve added, its possible there could be a conflict that is preventing the server from starting. if that doesnt solve the problem the load the most recent save game file.

removing most recent mods, and getting rid of others that were showing errors or we weren't using. loading the most recent save game worked for us.

good luck!!

Re: Server keeps stuck at synchronizing

Posted: Thu Jun 20, 2019 9:18 am
by bzacon
Having the same issue, the terminal shows that I'm already logged in from my playing account immediately when I launch the server? Loads and syncs to 29% and sits. When I give up and hit ESC. instead of leaving it spawns me under the map looking up at foliage and I have to Alt+F4

Sample of log below (didn't copy all because it just repeats) Tried removing mods, may try disabling all...really not sure what the matter is.

Code: Select all

2019-06-20 01:56 LUA call stack:
2019-06-20 01:56   =C:/Users/Owner/Documents/My Games/FarmingSimulator2019/mods/ZZZ_FS19_ExcavatorsTracksPosition/ExcavatorsTracksPosition.lua (338) : streamWriteFloat32
2019-06-20 01:56   dataS/scripts/vehicles/SpecializationUtil.lua (30)
2019-06-20 01:56   dataS/scripts/vehicles/Vehicle.lua (1094) : raiseEvent
2019-06-20 01:56   dataS/scripts/network/Server.lua (608) : writeStream
2019-06-20 01:56   dataS/scripts/utils/Utils.lua (393) : oldFunc
2019-06-20 01:56   dataS/scripts/FSBaseMission.lua (938) : sendObjects
2019-06-20 01:56   dataS/scripts/events/BaseMissionFinishedLoadingEvent.lua (38) : onConnectionFinishedLoading
2019-06-20 01:56   dataS/scripts/events/BaseMissionFinishedLoadingEvent.lua (27) : run
2019-06-20 01:56   dataS/scripts/network/Server.lua (440) : readStream
2019-06-20 01:56   dataS/scripts/network/ConnectionManager.lua (28) : func
2019-06-20 01:56 Warning (script): 'streamWriteFloat32': Argument 1 has wrong type. Expected: Float. Actual: Bool 
2019-06-20 01:56   ..\..\..\src\base\scripting\lua\LuaScriptSystem.cpp (787): expectedType == Value::VoidType || expectedType == Value::BoolType
2019-06-20 01:56 LUA call stack:
2019-06-20 01:56   =C:/Users/Owner/Documents/My Games/FarmingSimulator2019/mods/ZZZ_FS19_ExcavatorsTracksPosition/ExcavatorsTracksPosition.lua (338) : streamWriteFloat32
2019-06-20 01:56   dataS/scripts/vehicles/SpecializationUtil.lua (30)
2019-06-20 01:56   dataS/scripts/vehicles/Vehicle.lua (1094) : raiseEvent
2019-06-20 01:56   dataS/scripts/network/Server.lua (608) : writeStream
2019-06-20 01:56   dataS/scripts/utils/Utils.lua (393) : oldFunc
2019-06-20 01:56   dataS/scripts/FSBaseMission.lua (938) : sendObjects
2019-06-20 01:56   dataS/scripts/events/BaseMissionFinishedLoadingEvent.lua (38) : onConnectionFinishedLoading
2019-06-20 01:56   dataS/scripts/events/BaseMissionFinishedLoadingEvent.lua (27) : run
2019-06-20 01:56   dataS/scripts/network/Server.lua (440) : readStream
2019-06-20 01:56   dataS/scripts/network/ConnectionManager.lua (28) : func
2019-06-20 01:56 ShaderId envmap_blending.cg:1
2019-06-20 01:56 ShaderId envmap_blending.cg:2
2019-06-20 01:56 ShaderId envmap_blending.cg:4
2019-06-20 01:56 ShaderId envmap_blending.cg:8
2019-06-20 01:56 ShaderId envmap_blending.cg:16
2019-06-20 01:56 ShaderId envmap_blending.cg:32
2019-06-20 02:02 dataS2/character/crow/crow.i3d (110.47 ms)
2019-06-20 02:03 bzacon (1) left the game
2019-06-20 02:03 DediSave: Player bzacon (1) leave - current Player: 1
2019-06-20 02:03 DediSave: last Player leave, save current Game
2019-06-20 02:03 Game saved successfully.
2019-06-20 02:04 bzacon (1) joined the game
2019-06-20 02:04 DediSave: Player bzacon (1) joined - current Player: 2
2019-06-20 02:04 Warning (script): 'streamWriteFloat32': Argument 1 has wrong type. Expected: Float. Actual: Bool 
2019-06-20 02:04   ..\..\..\src\base\scripting\lua\LuaScriptSystem.cpp (787): expectedType == Value::VoidType || expectedType == Value::BoolType
2019-06-20 02:04 LUA call stack:
2019-06-20 02:04   =C:/Users/Owner/Documents/My Games/FarmingSimulator2019/mods/ZZZ_FS19_ExcavatorsTracksPosition/ExcavatorsTracksPosition.lua (338) : streamWriteFloat32
2019-06-20 02:04   dataS/scripts/vehicles/SpecializationUtil.lua (30)
2019-06-20 02:04   dataS/scripts/vehicles/Vehicle.lua (1094) : raiseEvent
2019-06-20 02:04   dataS/scripts/network/Server.lua (608) : writeStream
2019-06-20 02:04   dataS/scripts/utils/Utils.lua (393) : oldFunc
2019-06-20 02:04   dataS/scripts/FSBaseMission.lua (938) : sendObjects
2019-06-20 02:04   dataS/scripts/events/BaseMissionFinishedLoadingEvent.lua (38) : onConnectionFinishedLoading
2019-06-20 02:04   dataS/scripts/events/BaseMissionFinishedLoadingEvent.lua (27) : run
2019-06-20 02:04   dataS/scripts/network/Server.lua (440) : readStream
2019-06-20 02:04   dataS/scripts/network/ConnectionManager.lua (28) : func
2019-06-20 02:04 Warning (script): 'streamWriteFloat32': Argument 1 has wrong type. Expected: Float. Actual: Bool 
2019-06-20 02:04   ..\..\..\src\base\scripting\lua\LuaScriptSystem.cpp (787): expectedType == Value::VoidType || expectedType == Value::BoolType
2019-06-20 02:04 LUA call stack:
2019-06-20 02:04   =C:/Users/Owner/Documents/My Games/FarmingSimulator2019/mods/ZZZ_FS19_ExcavatorsTracksPosition/ExcavatorsTracksPosition.lua (338) : streamWriteFloat32
2019-06-20 02:04   dataS/scripts/vehicles/SpecializationUtil.lua (30)
2019-06-20 02:04   dataS/scripts/vehicles/Vehicle.lua (1094) : raiseEvent
2019-06-20 02:04   dataS/scripts/network/Server.lua (608) : writeStream
2019-06-20 02:04   dataS/scripts/utils/Utils.lua (393) : oldFunc

Re: Server keeps stuck at synchronizing

Posted: Thu Jun 20, 2019 9:21 am
by Stegei
There is something wrong with the "ZZZ_FS19_ExcavatorsTracksPosition". It probably is not working correctly with Patch 1.4 anymore.

Re: Server keeps stuck at synchronizing

Posted: Thu Jun 20, 2019 9:24 am
by bzacon
Oh wow, that was quick. Thank you. I'll give it a try. The game loads fine with all mods disabled, I'll try putting some back and deleting that one.

Re: Server keeps stuck at synchronizing

Posted: Thu Jun 20, 2019 9:33 am
by bzacon
You are amazing, it works. If it's not too much to ask, what tipped you off?

Re: Server keeps stuck at synchronizing

Posted: Thu Jun 20, 2019 12:51 pm
by don_apple
It should be obvious from the log snippet you posted:

Code: Select all

2019-06-20 01:56 LUA call stack:
2019-06-20 01:56   =C:/Users/Owner/Documents/My Games/FarmingSimulator2019/mods/ZZZ_FS19_ExcavatorsTracksPosition/ExcavatorsTracksPosition.lua (338) : streamWriteFloat32
This means that the ZZZ_FS19_ExcavatorsTracksPosition is causing a LUA Call-Stack, which is actually the worst kind of error you can get.