An Anomaly?

This new stand alone release based on the legendary War in the Pacific from 2 by 3 Games adds significant improvements and changes to enhance game play, improve realism, and increase historical accuracy. With dozens of new features, new art, and engine improvements, War in the Pacific: Admiral's Edition brings you the most realistic and immersive WWII Pacific Theater wargame ever!

Moderators: wdolson, MOD_War-in-the-Pacific-Admirals-Edition

Honus
Posts: 67
Joined: Fri Nov 25, 2011 6:10 pm

An Anomaly?

Post by 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?
User avatar
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?

Post by Admiral DadMan »

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.
Scenario 127: "Scraps of Paper"
(\../)
(O.o)
(> <)

CVB Langley:
Image
Honus
Posts: 67
Joined: Fri Nov 25, 2011 6:10 pm

RE: An Anomaly?

Post by Honus »

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.
alimentary
Posts: 142
Joined: Mon Mar 22, 2010 6:56 pm

RE: An Anomaly?

Post by alimentary »

ORIGINAL: Admiral DadMan
You are bitten by the sync bug. I forget what causes it, and I'm not sure there's a fix.
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.

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.
User avatar
btd64
Posts: 14373
Joined: Sat Jan 23, 2010 12:48 am
Location: Lancaster, OHIO

RE: An Anomaly?

Post by btd64 »

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
Honus
Posts: 67
Joined: Fri Nov 25, 2011 6:10 pm

RE: An Anomaly?

Post by 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?
User avatar
RangerJoe
Posts: 18294
Joined: Mon Nov 16, 2015 2:39 pm
Location: Who knows?

RE: An Anomaly?

Post by RangerJoe »

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! :o

“Illegitemus non carborundum est (“Don’t let the bastards grind you down”).”
:twisted: ; Julia Child
Image
User avatar
Nomad
Posts: 7273
Joined: Wed Sep 05, 2001 8:00 am
Location: West Yellowstone, Montana

RE: An Anomaly?

Post by Nomad »

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.
Honus
Posts: 67
Joined: Fri Nov 25, 2011 6:10 pm

RE: An Anomaly?

Post by Honus »

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).
User avatar
Nomad
Posts: 7273
Joined: Wed Sep 05, 2001 8:00 am
Location: West Yellowstone, Montana

RE: An Anomaly?

Post by Nomad »

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.
Honus
Posts: 67
Joined: Fri Nov 25, 2011 6:10 pm

RE: An Anomaly?

Post by Honus »

Well golly, never saw (noticed) that before. Crazy.
User avatar
Nomad
Posts: 7273
Joined: Wed Sep 05, 2001 8:00 am
Location: West Yellowstone, Montana

RE: An Anomaly?

Post by Nomad »

michaelm added in one of the patches a long time ago.
User avatar
BBfanboy
Posts: 20421
Joined: Wed Aug 04, 2010 5:36 pm
Location: Winnipeg, MB
Contact:

RE: An Anomaly?

Post by BBfanboy »

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.

No matter how bad a situation is, you can always make it worse. - Chris Hadfield : An Astronaut's Guide To Life On Earth
User avatar
Sardaukar
Posts: 12605
Joined: Wed Nov 28, 2001 10:00 am
Location: Finland/Israel

RE: An Anomaly?

Post by Sardaukar »

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-

Image
User avatar
Nomad
Posts: 7273
Joined: Wed Sep 05, 2001 8:00 am
Location: West Yellowstone, Montana

RE: An Anomaly?

Post by Nomad »

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.
Honus
Posts: 67
Joined: Fri Nov 25, 2011 6:10 pm

RE: An Anomaly?

Post by Honus »

Is pressing "Done" equivalent to "Escape" in this context?
User avatar
BBfanboy
Posts: 20421
Joined: Wed Aug 04, 2010 5:36 pm
Location: Winnipeg, MB
Contact:

RE: An Anomaly?

Post by BBfanboy »

ORIGINAL: Honus

Is pressing "Done" equivalent to "Escape" in this context?
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.
No matter how bad a situation is, you can always make it worse. - Chris Hadfield : An Astronaut's Guide To Life On Earth
Honus
Posts: 67
Joined: Fri Nov 25, 2011 6:10 pm

RE: An Anomaly?

Post by Honus »

Good to know, thanks.
Honus
Posts: 67
Joined: Fri Nov 25, 2011 6:10 pm

RE: An Anomaly?

Post by 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?
User avatar
BBfanboy
Posts: 20421
Joined: Wed Aug 04, 2010 5:36 pm
Location: Winnipeg, MB
Contact:

RE: An Anomaly?

Post by BBfanboy »

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?
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.

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
Post Reply

Return to “War in the Pacific: Admiral's Edition”