Losses screen

Warplan is a World War 2 simulation engine. It is a balance of realism and playability incorporating the best from 50 years of World War 2 board wargaming.

Moderator: AlvaroSousa

Post Reply
User avatar
tyronec
Posts: 5485
Joined: Fri Aug 07, 2015 5:11 am
Location: Portaferry, N. Ireland

Losses screen

Post 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
Attachments
X01.jpg
X01.jpg (14.42 KiB) Viewed 543 times
The lark, signing its chirping hymn,
Soars high above the clouds;
Meanwhile, the nightingale intones
With sweet, mellifluous sounds.
Enough of Stalin, Freedom for the Ukraine !
User avatar
PanzerMike
Posts: 1218
Joined: Sun Apr 30, 2006 8:40 am

RE: Losses screen

Post by PanzerMike »

The problems with the losses screen seem to be very... persistent.
User avatar
AlvaroSousa
Posts: 12108
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

RE: Losses screen

Post 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
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
User avatar
tyronec
Posts: 5485
Joined: Fri Aug 07, 2015 5:11 am
Location: Portaferry, N. Ireland

RE: Losses screen

Post by tyronec »

This is turn 2 Axis.
I see losses from Turn 1 Axis plus Turn 1 Allies.
The lark, signing its chirping hymn,
Soars high above the clouds;
Meanwhile, the nightingale intones
With sweet, mellifluous sounds.
Enough of Stalin, Freedom for the Ukraine !
User avatar
tyronec
Posts: 5485
Joined: Fri Aug 07, 2015 5:11 am
Location: Portaferry, N. Ireland

RE: Losses screen

Post by tyronec »

Same on T3, it is reporting Axis losses from T2.
The lark, signing its chirping hymn,
Soars high above the clouds;
Meanwhile, the nightingale intones
With sweet, mellifluous sounds.
Enough of Stalin, Freedom for the Ukraine !
User avatar
ago1000
Posts: 901
Joined: Fri Aug 06, 2004 7:12 am
Location: Canada

RE: Losses screen

Post 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
Attachments
LossCalculations.jpg
LossCalculations.jpg (126.29 KiB) Viewed 543 times
User avatar
AlvaroSousa
Posts: 12108
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

RE: Losses screen

Post by AlvaroSousa »

I will address this later. I am off today.
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
User avatar
Windfire
Posts: 134
Joined: Fri Oct 24, 2003 6:24 am
Location: Colorado Springs, CO

RE: Losses screen

Post 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.
User avatar
tyronec
Posts: 5485
Joined: Fri Aug 07, 2015 5:11 am
Location: Portaferry, N. Ireland

RE: Losses screen

Post 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.
The lark, signing its chirping hymn,
Soars high above the clouds;
Meanwhile, the nightingale intones
With sweet, mellifluous sounds.
Enough of Stalin, Freedom for the Ukraine !
User avatar
AlvaroSousa
Posts: 12108
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

RE: Losses screen

Post 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.
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
User avatar
tyronec
Posts: 5485
Joined: Fri Aug 07, 2015 5:11 am
Location: Portaferry, N. Ireland

RE: Losses screen

Post 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
Attachments
X01.jpg
X01.jpg (26.91 KiB) Viewed 542 times
The lark, signing its chirping hymn,
Soars high above the clouds;
Meanwhile, the nightingale intones
With sweet, mellifluous sounds.
Enough of Stalin, Freedom for the Ukraine !
Post Reply

Return to “WarPlan”