[Rseding91] [0.16.2] Desync instantly on joining (contains heavy-mode)

Bugs that we were not able to reproduce, and/or are waiting for more detailed info.
I_IBlackI_I
Long Handed Inserter
Long Handed Inserter
Posts: 73
Joined: Wed Feb 20, 2013 6:57 pm
Contact:

[Rseding91] [0.16.2] Desync instantly on joining (contains heavy-mode)

Post by I_IBlackI_I »

When connecting to the server anyone instantly desyncs.
Save-file(s), log(s) and heavy-mode(about 4gb but containing multiple ticks and join attempts) dumps can be found here (soon(tm)):
https://blackstonei.stackstorage.com/s/KUWPssxQx3EL7mm

Restarting the server did resolve the issue.
Rseding91
Factorio Staff
Factorio Staff
Posts: 14269
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [Rseding91] [0.16.2] Desync instantly on joining (contains heavy-mode)

Post by Rseding91 »

Thanks for the report. The desync files you provided are identical and the only difference is in the active entities count heuristic which means something went active on the server side, incremented the count, then went inactive and didn't decremented it.

Was the save on the server a 0.15 map loaded directly in 0.16? Have you been able to reproduce it since restarting the server?
If you want to get ahold of me I'm almost always on Discord.
I_IBlackI_I
Long Handed Inserter
Long Handed Inserter
Posts: 73
Joined: Wed Feb 20, 2013 6:57 pm
Contact:

Re: [Rseding91] [0.16.2] Desync instantly on joining (contains heavy-mode)

Post by I_IBlackI_I »

When restarting the server the issue did not occur again yet.
The map was a fresh 0.16 map with our (very dumbed down) scenario.

I was not around when the problem started occuring, but others have suggested it may be because commands were run from console while there were no players online.
Rseding91
Factorio Staff
Factorio Staff
Posts: 14269
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [Rseding91] [0.16.2] Desync instantly on joining (contains heavy-mode)

Post by Rseding91 »

Do you know if your scenario sets active=true/false on any entities?
If you want to get ahold of me I'm almost always on Discord.
I_IBlackI_I
Long Handed Inserter
Long Handed Inserter
Posts: 73
Joined: Wed Feb 20, 2013 6:57 pm
Contact:

Re: [Rseding91] [0.16.2] Desync instantly on joining (contains heavy-mode)

Post by I_IBlackI_I »

Our scenario does not set an entity active true/false directly. But it does create a ghost on an other force when a player mines an entity. Could that affect it?
Rseding91
Factorio Staff
Factorio Staff
Posts: 14269
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [Rseding91] [0.16.2] Desync instantly on joining (contains heavy-mode)

Post by Rseding91 »

I_IBlackI_I wrote:Our scenario does not set an entity active true/false directly. But it does create a ghost on an other force when a player mines an entity. Could that affect it?
Maybe, if you can identify what triggers it that would help a ton in fixing it :D (doing half my job).
If you want to get ahold of me I'm almost always on Discord.
I_IBlackI_I
Long Handed Inserter
Long Handed Inserter
Posts: 73
Joined: Wed Feb 20, 2013 6:57 pm
Contact:

Re: [Rseding91] [0.16.2] Desync instantly on joining (contains heavy-mode)

Post by I_IBlackI_I »

Yeah no problem, we always try and supply you with as much information as we can. Will update if same issue occurs.
I_IBlackI_I
Long Handed Inserter
Long Handed Inserter
Posts: 73
Joined: Wed Feb 20, 2013 6:57 pm
Contact:

[0.16.5] Desync instantly on joining

Post by I_IBlackI_I »

Sadly I again was not there when (a similar) issue occurred.
It instantly desynced on join.

Here is the folder with all the new data. (Currently uploading but should be complete in 40 minutes)
https://blackstonei.stackstorage.com/s/FkdyERyeWkI9Vq8
Rseding91
Factorio Staff
Factorio Staff
Posts: 14269
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [Rseding91] [0.16.2] Desync instantly on joining (contains heavy-mode)

Post by Rseding91 »

Does this still desync in the latest version of 0.16?
If you want to get ahold of me I'm almost always on Discord.
I_IBlackI_I
Long Handed Inserter
Long Handed Inserter
Posts: 73
Joined: Wed Feb 20, 2013 6:57 pm
Contact:

Re: [Rseding91] [0.16.2] Desync instantly on joining (contains heavy-mode)

Post by I_IBlackI_I »

This specific occurrence has not been recreated, however there are still quite a few desyncs which only occur when we got the part of our code which creates a ghost on another force when a player destroys(mines) active. We have been investigating the desync reports as much as we can but we have not been able to find a relation between them. (especially keeping the part of the code which we think causes it in mind)
Post Reply

Return to “Pending”