Are the battle statistics incorrect?!?

Post Reply
TheBastion83
Private First Class - Opel Blitz
Private First Class - Opel Blitz
Posts: 2
Joined: Sat Dec 25, 2021 6:34 pm

Are the battle statistics incorrect?!?

Post by TheBastion83 »

Hello all,
obviously the battle statistics seem to be incorrect.
For example, the infantry and cavellery losses added up in the respective rows relatively often do not add up to what the computer has calculated and displayed under "Total".

Is this a known error, or am I the only one with this issue? Or do I miss something here?

It is also very unclear to me how the victory conditions are calculated. I mean, how can I see where the percentage comes from. It doesn't seem to match the values in the loss statistics.

Could someone please explain these inconsistencies to me? That would make me very happy, because apart from those two points, I think the game is just great. So thank you in advance.

Best regards,
TheBastion83
rbodleyscott
Field of Glory 2
Field of Glory 2
Posts: 28393
Joined: Sun Dec 04, 2005 6:25 pm

Re: Are the battle statistics incorrect?!?

Post by rbodleyscott »

Here is one of mine, which all appears correct. The system rounds down the % losses to a whole number (it does not round up values above 0.5):

Screen_00000026.jpg
Screen_00000026.jpg (250.99 KiB) Viewed 571 times

The victory conditions depend on the rout percentages as displayed during the game. These are based on units routing, not on casualties, so will not be the same as the percentages in the final report.

The final report reports losses in men, after taking into account additional losses during the pursuit. The final report is constructed after the victory conditions (which are based on units routing) are resolved, and then the losses in men have been adjusted, taking into account which side has won or lost the battle. The victor gets some of his wounded back, the loser suffers additional losses in the pursuit (including men captured or deserted).

If the above does not explain the apparent anomalies, please could you post a screenshot of an incorrect report.

(In order to attach the screenshot to a post, you need to load it into a free paint program such as paint.net, and save it at less than 100% fidelity so that is comes down to about 250K in size)
Richard Bodley Scott

Image
TheBastion83
Private First Class - Opel Blitz
Private First Class - Opel Blitz
Posts: 2
Joined: Sat Dec 25, 2021 6:34 pm

Re: Are the battle statistics incorrect?!?

Post by TheBastion83 »

Hi Richard,
thank you very much for the reply. I find your information very useful and interesting. :)
Below is one of my battle results. As you can see, there are two calculation errors. I suspect that this is due to the fact that the calculation is done with floating point values, but the individual values are displayed as integer values after the calculation. Perhaps it would make more sense to first convert the values to intergers and then add them. ;)
Screenshot 2022-01-13 12.20.55.jpg
Screenshot 2022-01-13 12.20.55.jpg (216.36 KiB) Viewed 518 times
Also, I found that if the player loses elephants, the elephants are listed under their own row, but the value still matters in the calculation under "killed", "wounded", and "captured/deserted" in the list above. For example, if 10 elephants were killed, then the sum of the infantry and cavelliers killed is exactly 10 greater than the values would actually add up to. Is this really the way it should be, or wouldn't it be better if elephants had their own column instead of their own row, so that they are listed next to the cavalry in the table?

Best regards,
TheBastion83
rbodleyscott
Field of Glory 2
Field of Glory 2
Posts: 28393
Joined: Sun Dec 04, 2005 6:25 pm

Re: Are the battle statistics incorrect?!?

Post by rbodleyscott »

TheBastion83 wrote: Thu Jan 13, 2022 8:45 pm Hi Richard,
thank you very much for the reply. I find your information very useful and interesting. :)
Below is one of my battle results. As you can see, there are two calculation errors. I suspect that this is due to the fact that the calculation is done with floating point values, but the individual values are displayed as integer values after the calculation. Perhaps it would make more sense to first convert the values to intergers and then add them. ;)
Yes, those are rounding errors. The engine does not allow scripts to perform any floating point arthmetic. It is possible to work round it, as you say, but we did not deem it necessary because what Ancient general ever got a casualty report accurate to the last man?
Also, I found that if the player loses elephants, the elephants are listed under their own row, but the value still matters in the calculation under "killed", "wounded", and "captured/deserted" in the list above. For example, if 10 elephants were killed, then the sum of the infantry and cavelliers killed is exactly 10 greater than the values would actually add up to. Is this really the way it should be, or wouldn't it be better if elephants had their own column instead of their own row, so that they are listed next to the cavalry in the table?
Perhaps.
Richard Bodley Scott

Image
Post Reply

Return to “Field of Glory II: Tech Support”