Astro Galaxy - a realistic space exploration game

Feedback Terminal => "Bugs" and Problems => Topic started by: raphael on June 28, 2015, 06:27:57 AM



Title: Total Ship Power Capped
Post by: raphael on June 28, 2015, 06:27:57 AM
Hi SirEmi, can you please increase total ship power? Make it 10 billion or so.  :D


Title: Re: Total Ship Power Capped
Post by: Madden on June 28, 2015, 08:20:56 AM
Eh? I had no idea that there is a maximum value for ship power.... :21:


Title: Re: Total Ship Power Capped
Post by: JimGalaxy on June 28, 2015, 06:52:27 PM
Eh? I had no idea that there is a maximum value for ship power.... :21:

Looks to me like the max possible value for a 32-bit integer has been reached: 2,147,483,647. Same thing that YouTube ran up against, when Psy temporarily 'broke' its counter last year. Almost unforeseeable a few years ago, lol. But we're there ... or, at least, a couple of our demi-gods are ...  :))

The variable will simply have to be increased. YouTube chose to implement a 64-bit integer, which is good 'til about 9 quintillion. Should take Mata at least another year to top that.   :19:


Title: Re: Total Ship Power Capped
Post by: Matamaure001 on June 28, 2015, 07:11:00 PM
What Ralph said is true, I have passed a few big ships to sargas and my score did not changed. Yesterday I added plenty of modules, my score did not changeg.....


Title: Re: Total Ship Power Capped
Post by: raphael on June 28, 2015, 07:46:24 PM
Eh? I had no idea that there is a maximum value for ship power.... :21:

Individual ship power is not affected, but the total power displayed in the top ranking is capped. :)


Title: Re: Total Ship Power Capped
Post by: sargas on June 28, 2015, 10:12:57 PM
So we will eventually have a leader-board with 20 (or more) people tied for first.


Title: Re: Total Ship Power Capped
Post by: Madden on June 29, 2015, 04:28:45 AM

Looks to me like the max possible value for a 32-bit integer has been reached: 2,147,483,647. Same thing that YouTube ran up against, when Psy temporarily 'broke' its counter last year. Almost unforeseeable a few years ago, lol. But we're there ... or, at least, a couple of our demi-gods are ...  :))

The variable will simply have to be increased. YouTube chose to implement a 64-bit integer, which is good 'til about 9 quintillion. Should take Mata at least another year to top that.   :19:

Well...now I feel like a frog in the bottom of a well. I had no idea Psy and his Gangnam Style broke the Youtube maximum views cap. xD


Title: Re: Total Ship Power Capped
Post by: Raptor on June 29, 2015, 10:00:18 AM
So, now all your additional power needs to come from stations. Vulnerable stations, one might add.

Well, ok, perhaps not at your levels :D


Title: Re: Total Ship Power Capped
Post by: SirEmi on June 29, 2015, 11:14:05 AM
Hey thanks. Increased it to BIGINT as it should be  :) The limit for that is 9223372036854775807, as Jim said 9 quintillion  :))

Scores should update automatically.


Title: Re: Total Ship Power Capped
Post by: Raptor on June 29, 2015, 03:15:05 PM
Ok... Mata, Raph... gentlemen, start your engines!


Title: Re: Total Ship Power Capped
Post by: raphael on June 30, 2015, 01:48:10 AM
Hey thanks. Increased it to BIGINT as it should be  :) The limit for that is 9223372036854775807, as Jim said 9 quintillion  :))

Scores should update automatically.

Thanks SirEmi!

Ok... Mata, Raph... gentlemen, start your engines!

Current power is my limit. Will take me a few weeks to reach 3 billion. :)