An Anomaly?
Moderators: wdolson, MOD_War-in-the-Pacific-Admirals-Edition
An Anomaly?
I am playing a pbem game as the Americans and was watching the combat replay. The replay showed an American CVL which took three torpedoes and had the air-groups redirected. When I looked at the saved game file, not only was the CVL unscathed, but the Airgroups were still on the ship. Was this just FoW?
- Admiral DadMan
- Posts: 3407
- Joined: Fri Feb 22, 2002 10:00 am
- Location: A Lion uses all its might to catch a Rabbit
RE: An Anomaly?
ORIGINAL: Honus
I am playing a pbem game as the Americans and was watching the combat replay. The replay showed an American CVL which took three torpedoes and had the air-groups redirected. When I looked at the saved game file, not only was the CVL unscathed, but the Airgroups were still on the ship. Was this just FoW?
You are bitten by the sync bug. I forget what causes it, and I'm not sure there's a fix. You may want to try searching that term.
RE: An Anomaly?
I thought that might be the case, but it didn't match the descriptions i read in my searching. One thread mentioned replaying the file and getting different results, which was not the case here (maybe that refers only to the Japanese player). Apparently one cause is escaping through combat animations.
-
- Posts: 142
- Joined: Mon Mar 22, 2010 6:56 pm
RE: An Anomaly?
In broad strokes, the idea is that given the starting state of the turn, the orders from both sides and a fixed random number seed, both player's computers can run the identical calculations and present identical combat replays to the respective players. The replay is not something that exists in the game data that is exchanged -- it is something that is computed separately for the players as the turn is viewed.ORIGINAL: Admiral DadMan
You are bitten by the sync bug. I forget what causes it, and I'm not sure there's a fix.
If one side or the other generates one random number too many or one random number too few, the random number seed can get out of synch and the resulting computations can diverge. Various cases where this had happened were squashed by the developers. The case(s) that remain have proved elusive.
Since no development or maintenance of the engine is ongoing, that situation is likely to remain indefinitely.
RE: An Anomaly?
The big cause is not having the same version of the game as your partner. Check that first. I think there is something about comparing the combat replays or something. Someone will chime in on that....GP
Intel Ultra 7 16 cores, 32 gb ram, Nvidia GeForce RTX 2050
AKA General Patton
DW2-Alpha/Beta Tester
WIS Manual Team Lead & Beta Support Team
"Do everything you ask of those you command"....Gen. George S. Patton
AKA General Patton
DW2-Alpha/Beta Tester
WIS Manual Team Lead & Beta Support Team
"Do everything you ask of those you command"....Gen. George S. Patton
RE: An Anomaly?
So what is ground truth proceeding to subsequent turns? What one sees in the Game save file? Will it be the same for both players?
RE: An Anomaly?
ORIGINAL: Honus
So what is ground truth proceeding to subsequent turns? What one sees in the Game save file? Will it be the same for both players?
I am sure that if you searched the forum, you will have the answer provided by players who have suffered through these things.
Seek peace but keep your gun handy.
I'm not a complete idiot, some parts are missing!
“Illegitemus non carborundum est (“Don’t let the bastards grind you down”).”
; Julia Child

I'm not a complete idiot, some parts are missing!

“Illegitemus non carborundum est (“Don’t let the bastards grind you down”).”


RE: An Anomaly?
Yes, the game save file will be the same for both. As the Allies, when you load the turn file, the correct combat report will be written into the save directory. You can use that to see where the error crept in, and to see the correct combat. Not as good as seeing the combat replay, but it is better than nothing.
RE: An Anomaly?
Well that does not appear to be the case, as far as the reports are concerned: The combat report and combat events files show the CVL taking three torpedoes, but the saved game file shows the CVL in fine shape. If we accept the results of this turn as displayed in the Game Save file that the Allies are looking at can we proceed accepting the fact that the CVL is unscathed, ignoring the anomalous Combat Save and generated results files?
I think from the second half of your post, that the answer is yes.
thanks to all who've responded, synch bug virgin here (at least never noticed it before).
I think from the second half of your post, that the answer is yes.
thanks to all who've responded, synch bug virgin here (at least never noticed it before).
RE: An Anomaly?
I guarantee you that it does update the combat report text file. Run the combat replay, open the save directory of you game, note the time on the combatreport.txt file.
Load the turn file and then look again at the time stamp on the combatreport.txt file, it will update. The combat report in the archive subfolder will not be updated.
Load the turn file and then look again at the time stamp on the combatreport.txt file, it will update. The combat report in the archive subfolder will not be updated.
RE: An Anomaly?
Well golly, never saw (noticed) that before. Crazy.
RE: An Anomaly?
michaelm added in one of the patches a long time ago.
RE: An Anomaly?
As to reasons the sync bug occurs, one developer suggested that over-use of the Esc key could cause it. In games against the AI I have noted that if I use the Esc key to back up too far such that there is no hex on the map selected, some of the subsequent play can have strange effects - like animations not showing the ships or aircraft involved.
The only solution to clear that kind of hiccup is to save the game, exit and restart it.
The only solution to clear that kind of hiccup is to save the game, exit and restart it.
No matter how bad a situation is, you can always make it worse. - Chris Hadfield : An Astronaut's Guide To Life On Earth
RE: An Anomaly?
Isn't it that Japanese player's combat report is always correct?
"To meaningless French Idealism, Liberty, Fraternity and Equality...we answer with German Realism, Infantry, Cavalry and Artillery" -Prince von Bülov, 1870-


RE: An Anomaly?
ORIGINAL: Sardaukar
Isn't it that Japanese player's combat report is always correct?
Yes it is, and that is why the turn file is always correct.
RE: An Anomaly?
Is pressing "Done" equivalent to "Escape" in this context?
RE: An Anomaly?
No - pressing "Done" is always safe because it does not deselect your location on the map. Esc was never intended to be used as a back up step because the game provides buttons and hypertext to do those sorts of things.ORIGINAL: Honus
Is pressing "Done" equivalent to "Escape" in this context?
No matter how bad a situation is, you can always make it worse. - Chris Hadfield : An Astronaut's Guide To Life On Earth
RE: An Anomaly?
I just spoke to my opponent who assures me that he does not ever use the escape key, only the Done button, so Apparently it is equivalent.
Perhaps I am misunderstanding how this bug works. I got the impression from my reading that it was caused by the Japanese player using the escape key to jump through the animations. Is that incorrect?
Perhaps I am misunderstanding how this bug works. I got the impression from my reading that it was caused by the Japanese player using the escape key to jump through the animations. Is that incorrect?
RE: An Anomaly?
The question is whether you are the one who may have used the Esc key - it is your replay that got messed up because the random number seed did not match the Japanese one. The Japanese one is the one taken as gospel in all cases.ORIGINAL: Honus
I just spoke to my opponent who assures me that he does not ever use the escape key, only the Done button, so Apparently it is equivalent.
Perhaps I am misunderstanding how this bug works. I got the impression from my reading that it was caused by the Japanese player using the escape key to jump through the animations. Is that incorrect?
Keep in mind that the developer's thought about the Esc key was a suggestion. There was no official effort to fix anything that may have been triggered by the Esc key (there were fixes to other issues that caused Sync Bugs though).
So we don't know for sure what the issue was - could have been a hiccup during the transmission of files for all I know. The experience of others is that it will happen occasionally and all you can do is ensure you get the full turn file before you run the animations (if I understand the process correctly). If does happen, just save the game and restart it to clear whatever bugs might be stuck in the execution path.
No matter how bad a situation is, you can always make it worse. - Chris Hadfield : An Astronaut's Guide To Life On Earth