Page 1 of 1
UNTRAINED merc bug - NO MORE BUG - FIXED
Posted: Thu Nov 08, 2007 10:17 pm
by Killy
Ok, this is true only for UNTRAINED mercs. I can buy attack / defense ones without problem.
As I am kinda collecting untrained mercs - i have 2,147,483,647 of them but i should have them more since i don't pay much attention when pressing button to buy 5mill at turn.. Why?
Well i tested few times now with different amounts and the problem is when i enter the number i want to buy - i lose naq as i would buy it and the requested amount dissapear from the market but my number of untrained mercs always stays same = 2,147,483,647 mercs!
So i must bought few times mercs already - payed for it and did not get single one of it!
It's not kinda critical bug as we all know use of untrained but it costed me naq (probably few dozent bil) add it spoils the fun to collect them.
For easy error searching - i think something went wrong with last update (new limits for armies and so) that caused that bug.
Hope this will be looked into..
Best regards!
Re: UNTRAINED merc bug
Posted: Thu Nov 08, 2007 10:25 pm
by Milenko
Why are you collecting UM

Re: UNTRAINED merc bug
Posted: Thu Nov 08, 2007 11:40 pm
by Sphinx42
Google/Wikipedia are your friends

Basic search will get you here:
Wikipedia article on integral data typesWhile I'm no expert in programming, I think this is it, no more mercs for you... I doubt the game code will be changed just to allow people to collect more...
Just waiting for Goodie or some other computer geek to confirm/explain this
And Milenko, it's a hobby... some people collect stamps, others collect coins...

Re: UNTRAINED merc bug
Posted: Thu Nov 08, 2007 11:50 pm
by Killy
Well this is interesting..
32 word, doubleword, longword Signed: −2,147,483,648 to +2,147,483,647
Unsigned: 0 to +4,294,967,295
.. waiting to see what admin can do about it. 
Re: UNTRAINED merc bug
Posted: Fri Nov 09, 2007 3:15 am
by goodie
o.o'
Wow, im gaining a reputation for this sorta stuff?
And it will be untrained mercs being defined as 32bit ints in the database.
32 word, doubleword, longword Signed: −2,147,483,648 to +2,147,483,647
Unsigned: 0 to +4,294,967,295
Those are 32bit ints. most computers these days are 32 bits. (also notice, 2 x 2 32 times == 4,294,967,295, 31 times == 2,147,483,647 with one place to say if its negative or positive)
Shouldnt be to hard, just ask admin to change it (to a "bigint", a 64bit int, think), probably best to do so in the admin meetings.
-Goodie
Re: UNTRAINED merc bug
Posted: Fri Nov 09, 2007 3:20 am
by Sphinx42
goodie wrote:Shouldnt be to hard, just ask admin to change it (to a "bigint", a 64bit int, think), probably best to do so in the admin meetings.
-Goodie
See, told you he'd help

Re: UNTRAINED merc bug
Posted: Fri Nov 09, 2007 8:10 am
by Killy
Thanks, will be reported to admin..
There is hope for untrained.. 
Re: UNTRAINED merc bug
Posted: Fri Nov 09, 2007 8:41 am
by Rich™
Lucky Starr wrote:Google/Wikipedia are your friends

Basic search will get you here:
Wikipedia article on integral data typesWhile I'm no expert in programming, I think this is it, no more mercs for you... I doubt the game code will be changed just to allow people to collect more...
Just waiting for Goodie or some other computer geek to confirm/explain this
And Milenko, it's a hobby... some people collect stamps, others collect coins...

correct, and i collect kills in ascension.