advocaite / Travianx

A clone of popular Game travian http://dafedteam.com

Home Page:http://dafedteam.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Multiple attacks on same village causes unit paradox

Ansem opened this issue · comments

If you have multiple attacks on a village, this will completely f*ck up, to say the least.
I tested it with two seperate attacks.
One with 100 sword fighters and two rams, second attack was 215 phalanx and 15 druidriders.
Now the attack is coming back as one whole unit = BUG 1
Secondly, the battle reports shows that in the first attack I suffered losses of phalanx and druidriders and the second attack shows losses of sword fighters.

25769802755 per hour
[13:23:44] Robin: Troops:
Phalanx 225 Phalanx
Swordsman 4294967295 Swordsman
Pathfinder 15 Pathfinder
Theutates Thunder 4294967295 Theutates Thunder
Druidrider 12 Druidrider
Ram 4294967295 Ram
Rat 1 Rat

Is what I got when they came back.... doesn't seem right.