My server keeps desyncing after long periods without players
My server keeps desyncing after long periods without players
This is a long shot but I'm gonna ask it anyway.
I'm running a 0.17.79 headless server on linux. The server is run from Docker factoriotools/factorio and is heavily modded (we're talking 63 mods with PyCoal Touched by an Angel).
Whenever my server experiences long periods with no players, any player joining will experience a desync. All players, no exceptions, will continuously desync every time they join until I manually restart the server. Effectively this means I have to run a command every time someone wants to play.
There can be a boatload of reasons for this. Probably it's all the mods doing something unexpected, possibly the docker image, maybe but not likely 0.17.79 multiplayer code.
In any case, I thought I'd ask if anyone else has experienced this?
I'm running a 0.17.79 headless server on linux. The server is run from Docker factoriotools/factorio and is heavily modded (we're talking 63 mods with PyCoal Touched by an Angel).
Whenever my server experiences long periods with no players, any player joining will experience a desync. All players, no exceptions, will continuously desync every time they join until I manually restart the server. Effectively this means I have to run a command every time someone wants to play.
There can be a boatload of reasons for this. Probably it's all the mods doing something unexpected, possibly the docker image, maybe but not likely 0.17.79 multiplayer code.
In any case, I thought I'd ask if anyone else has experienced this?
Re: My server keeps desyncing after long periods without players
It would help if you could post/link any of desync reports.
From what you are describing I'd guess one of mods you are using is not fully save/load safe so it breaks when game is saved and sent to clients for loading.
From what you are describing I'd guess one of mods you are using is not fully save/load safe so it breaks when game is saved and sent to clients for loading.
Re: My server keeps desyncing after long periods without players
Absolutely.
I tried joining the server twice today, and was twice disconnected. The first desync happened before I entered the game, the second happened a few moments after I entered the game.
First desync client log
First desync server log
Second desync client log
Second desync server log
Re: My server keeps desyncing after long periods without players
Those are desync logs.
Do you have a desync report?
That should be a zip file thats saved after desync occurs.
Do you have a desync report?
That should be a zip file thats saved after desync occurs.
Re: My server keeps desyncing after long periods without players
What do you have around position 1000, 2000?
There are a lot of desynced inserters there that think they are dropping stuff in different locations on client and server.
Try decunstruting stuff in that area and see if it will stop desyncing.
Also fluid boxes are desynced somewhere - might be related to above or not.
There are a lot of desynced inserters there that think they are dropping stuff in different locations on client and server.
Try decunstruting stuff in that area and see if it will stop desyncing.
Also fluid boxes are desynced somewhere - might be related to above or not.
Re: My server keeps desyncing after long periods without players
orzelek wrote: ↑Wed Mar 25, 2020 9:20 pm What do you have around position 1000, 2000?
There are a lot of desynced inserters there that think they are dropping stuff in different locations on client and server.
Try decunstruting stuff in that area and see if it will stop desyncing.
Also fluid boxes are desynced somewhere - might be related to above or not.
The picture above is from 1000, 2000. As you can see there are a few different types of inserters configured with Bob's Adjustable Inserters. The yellow inserters are vanilla, the red inserters are from Bob's Logistics. The white assembling machine in the middle is steam powered, from Bob's Assembling Machines.
If any of these elements are the cause of the desyncs then my server is in big trouble because they exist everywhere.
What are fluid boxes? Are they pipes and tanks?
Re: My server keeps desyncing after long periods without players
They're basically what stores the fluid in something, so every pipe, pump, tank, steam engine, steam powered assembly machine, etc. has one.
There are 10 types of people: those who get this joke and those who don't.
Re: My server keeps desyncing after long periods without players
It turns out it was the Steam Powered Assembling Machines that caused the desyncs. No idea why.
Re: My server keeps desyncing after long periods without players
They are modded but I think it's base game funcitonality to allow them to be steam powered.
Might be worth reporting a desync in bugs.
Might be worth reporting a desync in bugs.
Re: My server keeps desyncing after long periods without players
Is this reproducible in the latest version of the game?