.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

Reply
 
Thread Tools Display Modes
  #1  
Old September 24th, 2003, 05:00 AM

Narrew Narrew is offline
Sergeant
 
Join Date: Feb 2003
Location: Tacoma, WA
Posts: 356
Thanks: 3
Thanked 5 Times in 3 Posts
Narrew is on a distinguished road
Default 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).
Reply With Quote
  #2  
Old September 24th, 2003, 05:33 AM
narf poit chez BOOM's Avatar

narf poit chez BOOM narf poit chez BOOM is offline
Shrapnel Fanatic
 
Join Date: Mar 2003
Location: CHEESE!
Posts: 10,009
Thanks: 0
Thanked 7 Times in 1 Post
narf poit chez BOOM is on a distinguished road
Default 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.
Reply With Quote
  #3  
Old September 24th, 2003, 07:07 AM

Taera Taera is offline
Colonel
 
Join Date: Jul 2001
Location: Calgary, AB, Canada
Posts: 1,743
Thanks: 0
Thanked 0 Times in 0 Posts
Taera is on a distinguished road
Default Re: about planet storage

whats 2^32? i mean, where the number comes from?
__________________
Let the game begin!
Green bug from outa space!
Reply With Quote
  #4  
Old September 24th, 2003, 07:22 AM
narf poit chez BOOM's Avatar

narf poit chez BOOM narf poit chez BOOM is offline
Shrapnel Fanatic
 
Join Date: Mar 2003
Location: CHEESE!
Posts: 10,009
Thanks: 0
Thanked 7 Times in 1 Post
narf poit chez BOOM is on a distinguished road
Default 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.
Reply With Quote
  #5  
Old September 24th, 2003, 09:18 AM
Jack Simth's Avatar

Jack Simth Jack Simth is offline
Major General
 
Join Date: Oct 2002
Posts: 2,174
Thanks: 0
Thanked 0 Times in 0 Posts
Jack Simth is on a distinguished road
Default 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.
Reply With Quote
  #6  
Old September 24th, 2003, 11:04 AM
Q's Avatar

Q Q is offline
Colonel
 
Join Date: Jan 2001
Posts: 1,661
Thanks: 0
Thanked 0 Times in 0 Posts
Q is on a distinguished road
Default 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
Reply With Quote
  #7  
Old September 24th, 2003, 11:57 AM
Karibu's Avatar

Karibu Karibu is offline
Sergeant
 
Join Date: Feb 2003
Location: Finland
Posts: 392
Thanks: 0
Thanked 0 Times in 0 Posts
Karibu is on a distinguished road
Default 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
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 02:38 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.