UNTRAINED merc bug - NO MORE BUG - FIXED
- Killy
- Forum Grunt
- Posts: 56
- Joined: Mon Jan 09, 2006 12:35 pm
UNTRAINED merc bug - NO MORE BUG - FIXED
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!
Last edited by Killy on Fri Nov 16, 2007 2:14 am, edited 1 time in total.
- Milenko
- Forum Expert
- Posts: 1336
- Joined: Sun May 06, 2007 4:04 am
- Alliance: DoC
- Race: Ancient
- ID: 1911875
- Location: Under The Southern Cross
- Contact:
Re: UNTRAINED merc bug
Why are you collecting UM 
Never argue with idiots. They bring you down to their level and beat you with years of experience!

Trade Feedback

Trade Feedback
-
Sphinx42
- Goa'uld
- Posts: 1480
- Joined: Fri Sep 08, 2006 7:02 am
- ID: 0
Re: UNTRAINED merc bug
Google/Wikipedia are your friends
Basic search will get you here: Wikipedia article on integral data types
While 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...
While 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...
Gone, left, no longer here.
- Killy
- Forum Grunt
- Posts: 56
- Joined: Mon Jan 09, 2006 12:35 pm
Re: UNTRAINED merc bug
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.
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.
-
goodie
- Forum Expert
- Posts: 1186
- Joined: Sat Oct 15, 2005 5:51 pm
- ID: 0
- Location: were flightless birds go through the stargate
Re: UNTRAINED merc bug
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.
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
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



-
Sphinx42
- Goa'uld
- Posts: 1480
- Joined: Fri Sep 08, 2006 7:02 am
- ID: 0
Re: UNTRAINED merc bug
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

Gone, left, no longer here.
- Killy
- Forum Grunt
- Posts: 56
- Joined: Mon Jan 09, 2006 12:35 pm
Re: UNTRAINED merc bug
Thanks, will be reported to admin..
There is hope for untrained..
There is hope for untrained..
-
Rich™
- Forum Regular
- Posts: 631
- Joined: Sat Apr 07, 2007 3:58 am
- Alliance: Alpha Allegiance
- Race: System Lord
- ID: 1908612
- Location: Portsmouth, UK
Re: UNTRAINED merc bug
Lucky Starr wrote:Google/Wikipedia are your friendsBasic search will get you here: Wikipedia article on integral data types
While 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.
