2025-06-14 04:52 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0005592Spring engineGeneralpublic2017-06-19 20:48
ReporterGoogle_Frog 
Assigned ToKloot 
PrioritynormalSeveritymajorReproducibilityrandom
StatusresolvedResolutionfixed 
Product Version103.0 +git 
Target VersionFixed in Version103.0 +git 
Summary0005592: 103.0.1-980 Very early desync
DescriptionHere is a desync that occurs at 2:10 when barely anything has happened. I think we can safely say that desyncs are occurring more often recently.

Logs:
 * https://github.com/ZeroK-RTS/CrashReports/issues/1238
 * https://github.com/ZeroK-RTS/CrashReports/issues/1237
 * https://github.com/ZeroK-RTS/CrashReports/issues/1239 - Same player as the previous log, this is a rejoin attempt.

Battle: http://zero-k.info/Battles/Detail/458755
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
related to 0005582resolvedKloot 103.0.1-980 sync error 
related to 0005583closedKloot 103.0.1-980 chicken sync error 
+Relationships

-Notes

~0017764

Kloot (developer)

demo does not desync against itself, same local checksums (d3dc9bf9 at frame 240, etc) each run.

it's a small dataset, but chickens also seems disproportionately represented given that ZK regularly sees smaller and larger desync-free team games.

~0017765

Google_Frog (reporter)

I don't think chickens is disproportionately represented. Most ZK games are two or three friends playing coop against chickens or an AI. These games are just quietly occurring in the background.

The chicken gadget is just a gadget, it doesn't do anything special apart from creating some unique unit types (possibly increasing the likelyhood of a resource-based desync). Besides, this game desyncs before any chickens spawn. The only spawn is a few roosts.

I'll ask around and try to get some testers to run the replay and compare checksums. Perhaps they will differ depending on hardware.

~0017771

abma (administrator)

why is

[f=0000000] game_message: Giving all units of MagieMarcus to Dzon due to lag/AFK

present in 1238 but not in 1237?

~0017772

Kloot (developer)

MagieMarcus looks to have been caught in a timeout:

[f=0001862] <MagieMarcus> Allies: I choose: Strike Trainer! (from 1237)

~0017773

Google_Frog (reporter)

Comment when develop is in a usefully testable state. I see a commit about desync but no comments on related tickets so I assume that there are more related changes in the near future.

Also, I don't see any harm in increasing the path estimator version number.

~0017774

Kloot (developer)

what makes you think it isn't in a usefully testable state? desyncs that aren't reproducable (such as this one so far) won't go away except by accident, you could be waiting for a long time.

right now the PE version doesn't need to be bumped, upstream uses a slightly different cache-file naming scheme so it will regenerate them automatically.

~0017775

Google_Frog (reporter)

The change may have been the start of a batch of changes. In that case it wouldn't be worth applying it only to apply a slightly newer one now.

~0017780

Kloot (developer)

Last edited: 2017-06-04 21:59

View 2 revisions

it would be nice to have a batch of desync fixes lined up, but the commit you referred to (and one other) is still reasonably serious. luckily they're included in 1019.

~0017849

Kloot (developer)

may have been 0005573 in disguise.
+Notes

-Issue History
Date Modified Username Field Change
2017-06-01 15:30 Google_Frog New Issue
2017-06-01 15:30 Google_Frog File Added: 20170601_131805_FrozenFortress_v2_103.0.1-980-g522bf60 develop.sdfz
2017-06-01 15:42 Kloot Relationship added related to 0005582
2017-06-02 01:22 Kloot Relationship added related to 0005583
2017-06-02 01:23 Kloot Note Added: 0017764
2017-06-02 07:00 Google_Frog Note Added: 0017765
2017-06-03 10:37 abma Note Added: 0017771
2017-06-03 10:54 Kloot Note Added: 0017772
2017-06-03 16:21 Google_Frog Note Added: 0017773
2017-06-03 16:59 Kloot Note Added: 0017774
2017-06-04 03:42 Google_Frog Note Added: 0017775
2017-06-04 21:58 Kloot Note Added: 0017780
2017-06-04 21:59 Kloot Note Edited: 0017780 View Revisions
2017-06-19 20:48 Kloot Assigned To => Kloot
2017-06-19 20:48 Kloot Status new => resolved
2017-06-19 20:48 Kloot Resolution open => fixed
2017-06-19 20:48 Kloot Fixed in Version => 103.0 +git
2017-06-19 20:48 Kloot Note Added: 0017849
+Issue History