Losses Bug

Started by Juska, October 03, 2010, 07:52:59 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Juska

Ok, so somewhere there is a bug in the losses on attacks code.

I started with 29,448,270 skiffs, the attack said I lost 1,924,111 and I ended with 26,058,024.

But 29,448,270 - 1,924,111 = 27,524,059


My starting troops:



Uploaded with ImageShack.us

The attack:



Uploaded with ImageShack.us

After the attack:



Uploaded with ImageShack.us
Current Empires:

RtR: Juskabally #19

Shadow

#1
I worked out a while ago that you lose double what you should. I think that in the new attack system, losses get calculated and applied twice, but where in the code is up to Shael or Windy to find.

You didn't lose exactly double though, so I am not sure about that anymore.
<=holbs-.. ..-holbs=> <=holbs-..

Juska

Losses could be getting calculated separately twice, because they are a little random, which could account for the extra.
Current Empires:

RtR: Juskabally #19

Shadow

What attack tyope were you using? (drive, sack, capture, whatever?)
<=holbs-.. ..-holbs=> <=holbs-..

Juska

Drive I'm pretty sure.
Current Empires:

RtR: Juskabally #19