Patch 06 - Public Beta - Build 1108r9 updated 21 January 2012 (2nd part)

Post bug reports and ask for help with other issues here.

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

User avatar
michaelm75au
Posts: 12457
Joined: Sat May 05, 2001 8:00 am
Location: Melbourne, Australia

RE: Patch 06 - Public Beta - Build 1108p5 updated 24 July (2nd part)

Post by michaelm75au »

ORIGINAL: Itdepends

Looks like it is something like that- the second and third replay appear to be the same.
After 3 hours of replaying this turns again and again, I beleive I have found it.
There is one global variable that is not getting set for sub attacks under some conditions - it starts out as 0 when game is first started.
As save is played the value gets updated.
But the next loaded save is using the last value stored in that global variable. That variable is then changing the order randoms are being used between the two runs.

I have set the global value when sub attack first starts so it will be set no matter where it is to be used in the function.
And this seems to make the turns play out the same.

Michael
User avatar
Sardaukar
Posts: 12592
Joined: Wed Nov 28, 2001 10:00 am
Location: Finland/Israel

RE: Patch 06 - Public Beta - Build 1108p5 updated 24 July (2nd part)

Post by Sardaukar »

"After 3 hours of replaying this turns again and again".....

[X(][X(][X(]

Words cannot comprehend....

[&o][&o][&o]
"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
PaxMondo
Posts: 10644
Joined: Fri Jun 06, 2008 3:23 pm

RE: Patch 06 - Public Beta - Build 1108p5 updated 24 July (2nd part)

Post by PaxMondo »

ORIGINAL: michaelm

ORIGINAL: Itdepends

Looks like it is something like that- the second and third replay appear to be the same.
After 3 hours of replaying this turns again and again, I beleive I have found it.
There is one global variable that is not getting set for sub attacks under some conditions - it starts out as 0 when game is first started.
As save is played the value gets updated.
But the next loaded save is using the last value stored in that global variable. That variable is then changing the order randoms are being used between the two runs.

I have set the global value when sub attack first starts so it will be set no matter where it is to be used in the function.
And this seems to make the turns play out the same.

Superlative support!!! THANK YOU!!

[&o][&o][&o]
Pax
User avatar
PaxMondo
Posts: 10644
Joined: Fri Jun 06, 2008 3:23 pm

RE: Patch 06 - Public Beta - Build 1108p5 updated 24 July (2nd part)

Post by PaxMondo »

ORIGINAL: Sardaukar

"After 3 hours of replaying this turns again and again".....

[X(][X(][X(]

Words cannot comprehend....

[&o][&o][&o]
+1

[&o][&o][&o]
Pax
User avatar
seydlitz_slith
Posts: 2036
Joined: Sun Jun 16, 2002 6:13 am
Location: Danville, IL

RE: Patch 06 - Public Beta - Build 1108p5 updated 24 July (2nd part)

Post by seydlitz_slith »

I will get you one saturday.

Thanks for taking a look.
User avatar
Kitakami
Posts: 1316
Joined: Thu May 02, 2002 11:08 pm
Location: The bridge of the DNTK Kitakami

RE: Patch 06 - Public Beta - Build 1108p5 updated 24 July (2nd part)

Post by Kitakami »

3 hours... that is dedication... I should be like that in my job...

MANY, MANY THANKS!
Tenno Heika Banzai!
Itdepends
Posts: 937
Joined: Mon Dec 12, 2005 9:59 am

RE: Patch 06 - Public Beta - Build 1108p5 updated 24 July (2nd part)

Post by Itdepends »

Thanks Michael- even though it's a sub variable- does it also make the air attacks line up as well? (which were different between the two replays).
 
Cheers,
 
Daniel
User avatar
michaelm75au
Posts: 12457
Joined: Sat May 05, 2001 8:00 am
Location: Melbourne, Australia

RE: Patch 06 - Public Beta - Build 1108p5 updated 24 July (2nd part)

Post by michaelm75au »

ORIGINAL: Itdepends

Thanks Michael- even though it's a sub variable- does it also make the air attacks line up as well? (which were different between the two replays).

Cheers,

Daniel
A replay needs to get the same order of random numbers as the original turn (, and subsequent replays of the replay). There was something like 200K randoms involved in that turn.
Because of the sub error, a random number was taken out of turn - the 86,189th one[:D]. This then put all subsequent random calls out of order, and thus affected everything after it.
Michael
CV 2
Posts: 376
Joined: Sun Feb 20, 2011 11:56 pm

RE: Patch 06 - Public Beta - Build 1108p5 updated 24 July (2nd part)

Post by CV 2 »

ORIGINAL: michaelm

ORIGINAL: Itdepends

Looks like it is something like that- the second and third replay appear to be the same.
After 3 hours of replaying this turns again and again, I beleive I have found it.
There is one global variable that is not getting set for sub attacks under some conditions - it starts out as 0 when game is first started.
As save is played the value gets updated.
But the next loaded save is using the last value stored in that global variable. That variable is then changing the order randoms are being used between the two runs.

I have set the global value when sub attack first starts so it will be set no matter where it is to be used in the function.
And this seems to make the turns play out the same.


So if I read this right, you have probably just killed the "replay bug"? That would be the best 3 hours ever spent then (other than maybe the time when me and the wife were still in high school and we went to the drive inn and.... never mind). Hats off.
User avatar
inqistor
Posts: 1813
Joined: Wed May 12, 2010 1:19 pm

RE: Patch 06 - Public Beta - Build 1108p5 updated 24 July (2nd part)

Post by inqistor »

New land combat seems to work. Support is now rarely targetted. We will see how it influence land situation in long term...

Two small bugs:
1) When you "request veteran" for air unit, you can choose specific specialisation, but when I click one of them (like fighter) it seems everything is sorted right, but ALL of categories turn yellow, instead only the one clicked (upper picture).

2) Cost of bringing back destroyed LCU seems to increase everytime you just check this unit, for the ones costing more than, err... 30? Take a look at 2 lowest pictures below. I have checked 11th Indian Div, and then clicked exit on the screen. Initially this unit costed 70, but when I exit "Destroyed LCU" screen, and return to it, the unit I just checked seems to cost 10 points more. It happens everytime (in this case I have checked, exited, and returned to screen twice, and unit cost now 90 points)

Image
Attachments
01Jul.2807.42.jpg
01Jul.2807.42.jpg (385.9 KiB) Viewed 255 times
User avatar
inqistor
Posts: 1813
Joined: Wed May 12, 2010 1:19 pm

RE: Patch 06 - Public Beta - Build 1108p5 updated 24 July (2nd part)

Post by inqistor »

Oh, one more thing.

Can we get back report about destroyed planes, when base with airgoups falls? Everytime I see only "no flights", and "No Allied losses", but planes, and its units are lost.
User avatar
michaelm75au
Posts: 12457
Joined: Sat May 05, 2001 8:00 am
Location: Melbourne, Australia

RE: Patch 06 - Public Beta - Build 1108p5 updated 24 July (2nd part)

Post by michaelm75au »

ORIGINAL: inqistor

New land combat seems to work. Support is now rarely targetted. We will see how it influence land situation in long term...

Two small bugs:
1) When you "request veteran" for air unit, you can choose specific specialisation, but when I click one of them (like fighter) it seems everything is sorted right, but ALL of categories turn yellow, instead only the one clicked (upper picture).

2) Cost of bringing back destroyed LCU seems to increase everytime you just check this unit, for the ones costing more than, err... 30? Take a look at 2 lowest pictures below. I have checked 11th Indian Div, and then clicked exit on the screen. Initially this unit costed 70, but when I exit "Destroyed LCU" screen, and return to it, the unit I just checked seems to cost 10 points more. It happens everytime (in this case I have checked, exited, and returned to screen twice, and unit cost now 90 points)

Image
1. Fixed
2. Fixed
Michael
User avatar
michaelm75au
Posts: 12457
Joined: Sat May 05, 2001 8:00 am
Location: Melbourne, Australia

RE: Patch 06 - Public Beta - Build 1108p5 updated 24 July (2nd part)

Post by michaelm75au »

ORIGINAL: inqistor

Oh, one more thing.

Can we get back report about destroyed planes, when base with airgoups falls? Everytime I see only "no flights", and "No Allied losses", but planes, and its units are lost.
I don't see where this was ever reported in combat report.

[edit]
But it can be done.
Michael
User avatar
seydlitz_slith
Posts: 2036
Joined: Sun Jun 16, 2002 6:13 am
Location: Danville, IL

RE: Patch 06 - Public Beta - Build 1108p5 updated 24 July (2nd part)

Post by seydlitz_slith »

Michael,
Here are some screenies illustrating that mines are not loading onto ships or subs.
Save game file in next post.

Image
Attachments
minesnotloading.jpg
minesnotloading.jpg (1.11 MiB) Viewed 255 times
User avatar
seydlitz_slith
Posts: 2036
Joined: Sun Jun 16, 2002 6:13 am
Location: Danville, IL

RE: Patch 06 - Public Beta - Build 1108p5 updated 24 July (2nd part)

Post by seydlitz_slith »

Save game file. Extension changed to jpg to allow upload. File is really .pws for slot 11
Attachments
wpae011.jpg
wpae011.jpg (2.58 MiB) Viewed 262 times
User avatar
drw61
Posts: 842
Joined: Wed Jun 30, 2004 12:58 pm
Location: South Carolina

RE: Patch 06 - Public Beta - Build 1108p5 updated 24 July (2nd part)

Post by drw61 »

Michaelm,

On the LCU screen could you add the days till the TOE can be updated?  As of right now it is  This unit is composed of.*  As an example change this to This unit is composed of.* (12) and This unit is composed of.* (Now)  to show that I have 12 days till upgrade or can upgrade now.  As of now I have to go into each unit click Show unit TOE and then view the upgrade TOE to see when to change it to rest/training.
User avatar
michaelm75au
Posts: 12457
Joined: Sat May 05, 2001 8:00 am
Location: Melbourne, Australia

RE: Patch 06 - Public Beta - Build 1108p5 updated 24 July (2nd part)

Post by michaelm75au »

ORIGINAL: seydlitz

Save game file. Extension changed to jpg to allow upload. File is really .pws for slot 11
Could you save it as ZIP?
Explorer is trying to open it as a JPG file.
Michael
User avatar
michaelm75au
Posts: 12457
Joined: Sat May 05, 2001 8:00 am
Location: Melbourne, Australia

RE: Patch 06 - Public Beta - Build 1108p5 updated 24 July (2nd part)

Post by michaelm75au »

ORIGINAL: seydlitz

Michael,
Here are some screenies illustrating that mines are not loading onto ships or subs.
Save game file in next post.

Image
I just noticed that you are stockpiling the mines. That probably means that it wont use any.
Try taking off the stockpile on the type 88 and it should use them.
Michael
Itdepends
Posts: 937
Joined: Mon Dec 12, 2005 9:59 am

RE: Patch 06 - Public Beta - Build 1108p5 updated 24 July (2nd part)

Post by Itdepends »

Can't you just rename it to have a .pws extension?
User avatar
michaelm75au
Posts: 12457
Joined: Sat May 05, 2001 8:00 am
Location: Melbourne, Australia

RE: Patch 06 - Public Beta - Build 1108p5 updated 24 July (2nd part)

Post by michaelm75au »

ORIGINAL: Itdepends

Can't you just rename it to have a .pws extension?
No. When I click on it, my explorer wants to load it as an image.
I once could save it as a link and it would download the file. That does not seem to be the case anymore.

ZIP is a valid extentsion for this forum though.
Michael
Post Reply

Return to “Tech Support”