TravianZ
TravianZ copied to clipboard
[bug] 400 million troop & rats re-issue.
Hello.. friends. My English is realy no good. ^^ However, i will be efforts .
I some found problem the 400 million troop & rats.. This appears to solve some.
Negative values are entered in the DB, This database is 400 million. This must be resolved.
I think When the input to the battle, and DB, So we should make sure this does not produce a negative value.
Combat-related sources of attacker and defender Where is this?
Because of this headache. Usually happens a lot when reinforcements & attack arrive. Please fix me please
Same like this https://github.com/yi12345/TravianZ/issues/346
Just have 1 gold. But, (1 gold) - (plus account 7gold) = - 6 gold so, Gold is have to infinity. (4291029381 gold)
interesting theory, maybe it´s the same who happen with troops
But how to do this ?
Problem comes from function sendreinfunitscomplete and sendunitscomplete