[Fixed] Intermitted desync (AutoDeconstruct, Mining Drones, Disco Science)

Desyncs in modded game will be ignored most of the time, until it is clearly proven that the desync is not caused by scripting.
Post Reply
neersighted
Manual Inserter
Manual Inserter
Posts: 3
Joined: Thu Dec 26, 2019 4:22 am
Contact:

[Fixed] Intermitted desync (AutoDeconstruct, Mining Drones, Disco Science)

Post by neersighted »

Hi,

My friend and I have been having desyncs for the last week or so -- not sure quite when they started, but they've gotten worse over time. 60% of the time the game desyncs on join. If we are able to play after that, we usually desync again in a few hours. Once the later desync happens, we desync on join again, until the server is restarted.

Desync Report: https://www.dropbox.com/s/6neb3qug65wwp ... 8.zip?dl=0
Mods: https://www.dropbox.com/s/ndh71afrasvjtbn/mods.7z?dl=0

User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 2227
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: Intermitted desync (some on join, some later)

Post by boskid »

Save file is quite large so i cannot compare diffs easily.

After loading reference level and running it with heavy mode i found there are diffs around targeters to electric-mining-drills.

Issue is because of mod AutoDeconstruct 0.1.12

Code: Select all

mod AutoDeconstruct unsafe object ref _G.drill_entities.4575
mod AutoDeconstruct unsafe object ref _G.drill_entities.4576
mod AutoDeconstruct unsafe object ref _G.drill_entities.4577
mod AutoDeconstruct unsafe object ref _G.drill_entities.4578
mod AutoDeconstruct unsafe object ref _G.drill_entities.4579
mod AutoDeconstruct unsafe object ref _G.drill_entities.4580

neersighted
Manual Inserter
Manual Inserter
Posts: 3
Joined: Thu Dec 26, 2019 4:22 am
Contact:

Re: Intermitted desync (some on join, some later)

Post by neersighted »

Thanks for the look! We'll try removing the mod and go from there.

neersighted
Manual Inserter
Manual Inserter
Posts: 3
Joined: Thu Dec 26, 2019 4:22 am
Contact:

Re: Intermitted desync (some on join, some later)

Post by neersighted »

Hi,

I attempted to remove the mod, but we're still encountering desyncs almost immediately on join (10 seconds or so). Any additional insight would be great -- we really appreciate the help.

Desync report (same mods, less one): https://www.dropbox.com/s/o4z7ecwv8xurn ... 1.zip?dl=0

User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 2227
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: Intermitted desync (some on join, some later)

Post by boskid »

Desync itself is most likely because of "Mining Drones" mod (i let Klonan know)

When running with heavy-mode (6 minutes for 1 tick....) there are diffs after-scenario-update related to Labs and script rendered lights: colors in reference and desynced are different. I suspect it may be because of "Disco Science" mod

danielbrauer
Long Handed Inserter
Long Handed Inserter
Posts: 93
Joined: Thu May 18, 2017 2:22 pm
Contact:

Re: Intermitted desync (some on join, some later)

Post by danielbrauer »

Thanks for the heads up! Just looking now.

mindmix
Inserter
Inserter
Posts: 25
Joined: Wed Nov 04, 2015 9:06 pm
Contact:

Re: Intermitted desync (some on join, some later)

Post by mindmix »

boskid wrote:
Thu Dec 26, 2019 9:59 am
Save file is quite large so i cannot compare diffs easily.

After loading reference level and running it with heavy mode i found there are diffs around targeters to electric-mining-drills.

Issue is because of mod AutoDeconstruct 0.1.12

Code: Select all

mod AutoDeconstruct unsafe object ref _G.drill_entities.4575
mod AutoDeconstruct unsafe object ref _G.drill_entities.4576
mod AutoDeconstruct unsafe object ref _G.drill_entities.4577
mod AutoDeconstruct unsafe object ref _G.drill_entities.4578
mod AutoDeconstruct unsafe object ref _G.drill_entities.4579
mod AutoDeconstruct unsafe object ref _G.drill_entities.4580
Thank you for the report, an update has been released that should fix this desync.

danielbrauer
Long Handed Inserter
Long Handed Inserter
Posts: 93
Joined: Thu May 18, 2017 2:22 pm
Contact:

Re: Intermitted desync (some on join, some later)

Post by danielbrauer »

This should be fixed in Disco Science 0.16. Thanks for the help!

Post Reply

Return to “Desyncs with mods”