Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

An Anomaly?

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> War in the Pacific: Admiral's Edition >> An Anomaly? Page: [1]
Login
Message << Older Topic   Newer Topic >>
An Anomaly? - 4/27/2021 11:29:49 PM   
Honus

 

Posts: 49
Joined: 11/25/2011
Status: offline
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?
Post #: 1
RE: An Anomaly? - 4/27/2021 11:37:38 PM   
Admiral DadMan


Posts: 3627
Joined: 2/22/2002
From: A Lion uses all its might to catch a Rabbit
Status: offline

quote:

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:

(in reply to Honus)
Post #: 2
RE: An Anomaly? - 4/27/2021 11:43:21 PM   
Honus

 

Posts: 49
Joined: 11/25/2011
Status: offline
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.

< Message edited by Honus -- 4/27/2021 11:47:31 PM >

(in reply to Admiral DadMan)
Post #: 3
RE: An Anomaly? - 4/28/2021 12:01:06 AM   
alimentary

 

Posts: 142
Joined: 3/22/2010
Status: offline
quote:

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.

(in reply to Admiral DadMan)
Post #: 4
RE: An Anomaly? - 4/28/2021 12:01:58 AM   
btd64


Posts: 9973
Joined: 1/23/2010
From: Mass. USA. now in Lancaster, OHIO
Status: offline
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 i7 4.3GHz 10th Gen,16GB Ram,Nvidia GeForce MX330

AKA General Patton

WPO,WITP,WITPAE-Mod Designer/Tester
DWU-Beta Tester
TOAW4-Alpha/Beta Tester

"Do everything you ask of those you command"....Gen. George S. Patton

(in reply to Honus)
Post #: 5
RE: An Anomaly? - 4/28/2021 12:15:31 AM   
Honus

 

Posts: 49
Joined: 11/25/2011
Status: offline
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?

(in reply to btd64)
Post #: 6
RE: An Anomaly? - 4/28/2021 12:17:30 AM   
RangerJoe


Posts: 13450
Joined: 11/16/2015
From: My Mother, although my Father had some small part.
Status: offline

quote:

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


(in reply to Honus)
Post #: 7
RE: An Anomaly? - 4/28/2021 12:18:44 AM   
Nomad


Posts: 5905
Joined: 9/5/2001
From: West Yellowstone, Montana
Status: offline
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.

_____________________________


(in reply to Honus)
Post #: 8
RE: An Anomaly? - 4/28/2021 12:43:14 AM   
Honus

 

Posts: 49
Joined: 11/25/2011
Status: offline
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).

(in reply to Nomad)
Post #: 9
RE: An Anomaly? - 4/28/2021 12:53:05 AM   
Nomad


Posts: 5905
Joined: 9/5/2001
From: West Yellowstone, Montana
Status: offline
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.

_____________________________


(in reply to Honus)
Post #: 10
RE: An Anomaly? - 4/28/2021 12:58:00 AM   
Honus

 

Posts: 49
Joined: 11/25/2011
Status: offline
Well golly, never saw (noticed) that before. Crazy.

(in reply to Nomad)
Post #: 11
RE: An Anomaly? - 4/28/2021 1:41:30 AM   
Nomad


Posts: 5905
Joined: 9/5/2001
From: West Yellowstone, Montana
Status: offline
michaelm added in one of the patches a long time ago.

_____________________________


(in reply to Honus)
Post #: 12
RE: An Anomaly? - 4/28/2021 3:01:41 AM   
BBfanboy


Posts: 18046
Joined: 8/4/2010
From: Winnipeg, MB
Status: offline
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

(in reply to Honus)
Post #: 13
RE: An Anomaly? - 4/28/2021 6:10:14 PM   
Sardaukar


Posts: 9847
Joined: 11/28/2001
From: Finland/Israel
Status: offline
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-


(in reply to BBfanboy)
Post #: 14
RE: An Anomaly? - 4/28/2021 6:18:28 PM   
Nomad


Posts: 5905
Joined: 9/5/2001
From: West Yellowstone, Montana
Status: offline

quote:

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.

_____________________________


(in reply to Sardaukar)
Post #: 15
RE: An Anomaly? - 5/3/2021 3:00:33 PM   
Honus

 

Posts: 49
Joined: 11/25/2011
Status: offline
Is pressing "Done" equivalent to "Escape" in this context?

(in reply to Nomad)
Post #: 16
RE: An Anomaly? - 5/3/2021 3:42:11 PM   
BBfanboy


Posts: 18046
Joined: 8/4/2010
From: Winnipeg, MB
Status: offline

quote:

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

(in reply to Honus)
Post #: 17
RE: An Anomaly? - 5/3/2021 7:24:23 PM   
Honus

 

Posts: 49
Joined: 11/25/2011
Status: offline
Good to know, thanks.

(in reply to BBfanboy)
Post #: 18
RE: An Anomaly? - 5/3/2021 7:40:44 PM   
Honus

 

Posts: 49
Joined: 11/25/2011
Status: offline
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?

< Message edited by Honus -- 5/3/2021 10:24:41 PM >

(in reply to Honus)
Post #: 19
RE: An Anomaly? - 5/3/2021 11:09:48 PM   
BBfanboy


Posts: 18046
Joined: 8/4/2010
From: Winnipeg, MB
Status: offline

quote:

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

(in reply to Honus)
Post #: 20
RE: An Anomaly? - 5/4/2021 1:24:49 AM   
Honus

 

Posts: 49
Joined: 11/25/2011
Status: offline
The humanity. Thanks for the response.

(in reply to BBfanboy)
Post #: 21
RE: An Anomaly? - 5/4/2021 3:11:08 AM   
Nomad


Posts: 5905
Joined: 9/5/2001
From: West Yellowstone, Montana
Status: offline
I have noticed that the sync bug seems to start somewhere after the start of the replay. This does suggest that the error might
be caused by the Allied player since the first part of the replay is right so the random number seed seems to be good, but
that something happens during the replay that causes the bug.

_____________________________


(in reply to Honus)
Post #: 22
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> War in the Pacific: Admiral's Edition >> An Anomaly? Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

1.766