Page 1 of 1

Losses screen

Posted: Fri Feb 21, 2020 5:46 pm
by tyronec
Still incorrect under latest patch.
HvH game playing Axis.
Enemy combats for the last enemy turn show 2 ground and 0 air losses only.
This is Axis T2.
It is showing total losses for Axis and Allied turns from T1

Image

RE: Losses screen

Posted: Fri Feb 21, 2020 6:53 pm
by PanzerMike
The problems with the losses screen seem to be very... persistent.

RE: Losses screen

Posted: Fri Feb 21, 2020 7:34 pm
by AlvaroSousa
That is right.

turn 1 - Axis go losses, Allies go losses
turn 2 - Axis go and see losses from turn 1 Allies and turn 2 Axis
turn 2 - Allies go and see losses from turn 2 both sides
turn 3 - Axis go and see losses from turn 2 Allies and turn 3 Axis

RE: Losses screen

Posted: Sat Feb 22, 2020 4:29 am
by tyronec
This is turn 2 Axis.
I see losses from Turn 1 Axis plus Turn 1 Allies.

RE: Losses screen

Posted: Sat Feb 22, 2020 6:06 am
by tyronec
Same on T3, it is reporting Axis losses from T2.

RE: Losses screen

Posted: Sat Feb 22, 2020 2:56 pm
by ago1000
Quick Question Everyone.
When you look at your calculations, did you take into account SHATTERED units that are reforming in the production queue? I don't think those show up as losses????? Not sure though but the calculations seem to hint at that. Hoping the pic explains what I mean.



Image

RE: Losses screen

Posted: Sat Feb 22, 2020 4:35 pm
by AlvaroSousa
I will address this later. I am off today.

RE: Losses screen

Posted: Sat Feb 22, 2020 10:10 pm
by Windfire
I will address this later. I am off today.

Good for you, I have always found that downtime is essential to avoid burnout.

RE: Losses screen

Posted: Sun Feb 23, 2020 4:28 am
by tyronec
Looks like you need a test bed for HvH. Once worked for AllState, I had a team of 10 guys writing automated scripts to verify mods to the system before they went live.

RE: Losses screen

Posted: Mon Feb 24, 2020 2:30 pm
by AlvaroSousa
I'm looking at the code and it is right.

Start game.
Axis go. They mount up losses.... it shows.
Allies go. It shows losses from the Axis 1st turn move
Turn 2.
Axis go. It removes Axis turn 1 losses, keeps Allies turn 1 losses. Axis attack. It adds
Allies go. It removes Allies turn 1 looses, keeps Axis turn 2 losses.

It always captures the previous side that moved and the current turn losses from your moving side.
It shifts the losses at the end of a player's turn. So the player that just moved gets his losses shifted 1 turn. The next player going is accumulating losses on their turn. When he ends previous losses are gone, his losses are previous, and the next side is now the current losses. In the reports it shows current + previous.

The only way it can be wrong is if some combat function is not updating game losses because the code to do it isn't there. But I just checked all of them.

If there is something off you need to be very specific in case I missed something. This function doesn't change for PBEM, hotseat, or A.I.

RE: Losses screen

Posted: Mon Feb 24, 2020 3:20 pm
by tyronec
I started a hotseat game.
Axis did one attack on T1, losing 1 point.
End turn.

Allies end turn.

Start Axis T2 and it still shows 1 loss.

Image