Page 1 of 1

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

Posted: Thu Dec 26, 2019 4:48 am
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

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

Posted: Thu Dec 26, 2019 9:59 am
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

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

Posted: Fri Dec 27, 2019 7:03 pm
by neersighted
Thanks for the look! We'll try removing the mod and go from there.

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

Posted: Sat Dec 28, 2019 6:53 am
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

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

Posted: Sat Dec 28, 2019 9:30 am
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

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

Posted: Sat Dec 28, 2019 11:09 am
by danielbrauer
Thanks for the heads up! Just looking now.

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

Posted: Sun Dec 29, 2019 11:36 am
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.

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

Posted: Sun Dec 29, 2019 9:53 pm
by danielbrauer
This should be fixed in Disco Science 0.16. Thanks for the help!