Page 1 of 1
10001 - 1 = 9999 ????
Posted: Tue May 22, 2007 11:58 am
by Ortega
well I have: Untrained Jaffa 10,001
If I make 1 mine slave I have: Untrained Jaffa 9999
If I then Reassign 1 MineSlave I have: Untrained Jaffa 10,001
Bug or not ?
Posted: Tue May 22, 2007 12:18 pm
by Cole
I already saw that...the extra one troop...no idea what it is though, sorry

Posted: Tue May 22, 2007 12:27 pm
by Juliette
Don't you know?
10000 is an evil number.

Posted: Tue May 22, 2007 12:36 pm
by Tivadar
it has something to do with the .xx or sumthing, for example: 10,000.5 ; it shows up as 10,001 but if you train one then it shwos up only 9999 ..... anyone with a better english can explain it? also... this belongs to bug section or already closed ? :p
Posted: Tue May 22, 2007 1:05 pm
by Lord Apollo
im guessing its because of UP. if you had, for instance, a 5624 UP/day that doesnt split nicely into 48 equal sections (117.16666...) so after 1 turn you would actually have 117(.16) and after 2 you would have 234(.33) etc etc. even though the 0.3 wont show up as a unit(for obvious reasons) you still *have* it in your army and obviously, when you train 1 unit the rounding goes funny

Posted: Tue May 22, 2007 5:51 pm
by Setesh
I think its cute

I occasionally think of my Soldiers on the battlefield fighting against a pair of legs or a top torso.
Posted: Tue May 22, 2007 7:22 pm
by Mystake
Setesh wrote:I occasionally think of my Soldiers on the battlefield fighting against a pair of legs or a top torso.
LOL
to the sig that quote goes
Posted: Thu May 24, 2007 1:54 pm
by Setesh
[AK]Mystake wrote:Setesh wrote:I occasionally think of my Soldiers on the battlefield fighting against a pair of legs or a top torso.
LOL
to the sig that quote goes
Flattered <3
Posted: Thu May 24, 2007 7:38 pm
by Thelen
its because there is no effective way of making things into large integers in PHP, the language the game is coded in. the database will be storing it as some large value, which includes .xxxx. So sometimes it will be yyy0, other times yyy1, depending on what it gets rounded to.