|
|
|
|
September 24th, 2003, 05:00 AM
|
Sergeant
|
|
Join Date: Feb 2003
Location: Tacoma, WA
Posts: 356
Thanks: 3
Thanked 5 Times in 3 Posts
|
|
about planet storage
is there a max amount that your empire can store min/org/rad? I am getting alot, and am still building storage facilities but wondered if there is a MAX (code max).
|
September 24th, 2003, 05:33 AM
|
|
Shrapnel Fanatic
|
|
Join Date: Mar 2003
Location: CHEESE!
Posts: 10,009
Thanks: 0
Thanked 7 Times in 1 Post
|
|
Re: about planet storage
probably 2^32, but i don't really know.
__________________
If I only could remember half the things I'd forgot, that would be a lot of stuff, I think - I don't know; I forgot!
A* E* Se! Gd! $-- C-^- Ai** M-- S? Ss---- RA Pw? Fq Bb++@ Tcp? L++++
Some of my webcomics. I've got 400+ webcomics at Last count, some dead.
Sig updated to remove non-working links.
|
September 24th, 2003, 07:07 AM
|
Colonel
|
|
Join Date: Jul 2001
Location: Calgary, AB, Canada
Posts: 1,743
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: about planet storage
whats 2^32? i mean, where the number comes from?
__________________
Let the game begin!
Green bug from outa space!
|
September 24th, 2003, 07:22 AM
|
|
Shrapnel Fanatic
|
|
Join Date: Mar 2003
Location: CHEESE!
Posts: 10,009
Thanks: 0
Thanked 7 Times in 1 Post
|
|
Re: about planet storage
2x2x2x2x2x2x2x2x2x2x2x2x2x2x2x2x2x2x2x2x2x2x2x2x2x 2x2x2x2x2x2
i might be off by a x2 or x2x2. gives you 4294967296
__________________
If I only could remember half the things I'd forgot, that would be a lot of stuff, I think - I don't know; I forgot!
A* E* Se! Gd! $-- C-^- Ai** M-- S? Ss---- RA Pw? Fq Bb++@ Tcp? L++++
Some of my webcomics. I've got 400+ webcomics at Last count, some dead.
Sig updated to remove non-working links.
|
September 24th, 2003, 09:18 AM
|
|
Major General
|
|
Join Date: Oct 2002
Posts: 2,174
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: about planet storage
Quote:
Originally posted by Taera:
whats 2^32? i mean, where the number comes from?
|
It is the number of values a 32 bit integer (the type most computers use) can take on; for an unsigned integer, the minimum value is 0, the maximum value is (2^32) - 1 = 4294967295; for a signed integer, the minimum value is -2147483648 (-(2^31)), and the maximum value is 2147483647 ((2^31) - 1).
__________________
Of course, by the time I finish this post, it will already be obsolete. C'est la vie.
|
September 24th, 2003, 11:04 AM
|
|
Colonel
|
|
Join Date: Jan 2001
Posts: 1,661
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: about planet storage
All I know is that in the current game I just passed 100'000'000kT storage of minerals without complaints from my computer
|
September 24th, 2003, 11:57 AM
|
|
Sergeant
|
|
Join Date: Feb 2003
Location: Finland
Posts: 392
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: about planet storage
For those who wan to know why integer length is exactly 32 bit, not 91782 bit:
The 32 bit limit for integer comes from current CPU 32 bit architecture. It means that registers (tiny memory slots) in CPU core are 32 bits length and programming Languages are made to use those registers as effectively as possible so 32 bit is limit for normal integer and it can fit into one registry. There are limited amount of registeries in core, so if it takes more than one registry to storage the number in runtime, it slows code running tiny bit (but 8463 such variable in a program would have noticeable effect).
Of course, this will change in few years when CPu's based on 64 bit architecture comes into market. AMD just published it's first 64 bit processor. If SEV or SEVI is done based on that architecture, I believe there will be no crashes when having combats of 10000+ ships in PBW server...
__________________
If you give a man a fish, he will eat a day;
But if you teach a man to fish, he will buy an ugly hat;
And if you talk about a fish to a starving man, then you're a consultant
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|