Data Type

Locked
User avatar
The Iron Duke
Forum Intermediate
Posts: 906
Joined: Fri Mar 23, 2007 8:00 pm
Alliance: Nemesis Novus
ID: 1915260
Location: New Zealand

Data Type

The data type used for intelligence and sabotage type missions on the ascended server is Integer (I'm presuming) so when entering values even if you put 9,999,999,999 etc, the highest the system will register is 2,147,483,647 as that is the highest value an integer can go due to the 32bit system...

Seeing as the numbers in ascended are stupidly big, you may want to consider changing the data type, if someone has 6 billion assassin planets trained and you want to run over the top of them with more - Well you cant because the highest number registering is 2,147,483,647...
Image
Destroyer of Worlds, Defender of Noobs, Dan Dan the Dustbin Man!
Image
'
Spoiler
Image
Image
Dubby_CompGamerGeek2
Forum Addict
Posts: 3152
Joined: Sun Sep 23, 2007 12:55 am
Alliance: TÅTS / TÅF
Race: Magnificent
ID: 83588
Alternate name(s): >> Skype: IrishHighlanders <<
Dublin Warrior, Dubby, Dubs, DW, CGG, DCGG2.
Paul, Paulie Boy!, Paulie, PAULIE!!!, PAULIE BOY!!!, Paul James, etc.
Location: USA
Contact:

Re: Data Type

:-k

indeed.

=D>
stuff of legends
Forum Expert
Posts: 1217
Joined: Sat May 23, 2009 1:50 am
Alliance: The Legion
Location: China Beijing

Re: Data Type

use a long, or a double, long should suffice though.
Image
Image
User avatar
Angelis~
Forum Irregular
Posts: 486
Joined: Fri Sep 30, 2005 9:55 am
Alliance: The Legion
ID: 6225

Re: Data Type

The Iron Duke wrote:The data type used for intelligence and sabotage type missions on the ascended server is Integer (I'm presuming) so when entering values even if you put 9,999,999,999 etc, the highest the system will register is 2,147,483,647 as that is the highest value an integer can go due to the 32bit system...

Seeing as the numbers in ascended are stupidly big, you may want to consider changing the data type, if someone has 6 billion assassin planets trained and you want to run over the top of them with more - Well you cant because the highest number registering is 2,147,483,647...


Yes you can ;) it may say its only sending in 2.1 bil but its actually sending in the amount you typed in.

[spoiler]First I sent in 3 bil and got the failed message.

Second I sent in 3.5 bil and it went through:

Forgotten Unknown Shadow planet fleets on mission: 2147483647
Your assult strength on the enemy Intelligence planets and fleets: 1337700000000000
Enemy estimated Shadow defensive strength: 1147500000000000
After crushing through their Shadow defences, estimated strength left for military planet and fleet eradication: 190,200,000,000,000
Enemy Conqueror planets eliminated: 0
Enemy Interlinked Conqueror planets eliminated: 31538765
Enemy Defender planets eliminated: 0
Enemy Interlinked Defender planets eliminated: 34999999


Own Shadow planet decimated to worthless rock and destroyed by the enemy Shadow planet fleets during the mission: 140000000[/spoiler]

But I do agree that it needs to be raised.
Image

Image

Image Image Image
User avatar
[BoT] Jason
Forum History
Posts: 10120
Joined: Mon Sep 29, 2008 12:37 am
Alliance: TA
Race: DIEDAYDIEDAY
ID: 13003152
Alternate name(s): Pimp,Slenderman
Location: Right behind you

Re: Data Type

Ascended server needs to lose 2 or 3 zeros to save admin and our eyes
Pimping

Feb 06, 06:16 Field Marshall Attack defended 15 88,977,968 0 x,x62,635,278,400 900,114 details

| | Hero of the Year | |

Winner: BMMJ13
Locked

Return to “Ascended Bugs Archive”