Just noticed this, but in the war.zip, the damages are being rounded down regardless if the closest whole number is higher.
So for example, this war:
http://www.cybernations.net/war_information.asp?ID=782509
You can see that Iron Helix lost 47.91% and dealt 52.09% damage.
But in the war.zip, this comes out as 47 & 52. Evidently the closest whole number is 48, this makes the individual damage calculations turn up inaccurate as we're only dealing with 99% of the damage rather than the full 100%