Page 1 of 1

Storage Question

Posted: Thu Jan 10, 2008 7:00 am
by Guest
Noobish question! Is there unlimited storage space for resources? I know you're limited to how many different products you can store, but can you have as much as you want of each? Thanks in advance!

Posted: Thu Jan 10, 2008 5:21 pm
by Guest
Thats acutaly a good question, i'd like to know that too :P

Posted: Thu Jan 10, 2008 7:02 pm
by Guest
No such limit has been spotted, you can sure store more than 1.000.000.000 of a single item.

Posted: Thu Jan 10, 2008 7:35 pm
by Guest
There is a limit. I was curious, so I searched in the German forum of kapiland.de. There some people wrote that the max. number of one ware is 9.223.372.036.854.775.807
I´m not sure if it is the same for kapi-regnum, but I think it is.
If someone has reached that limit, please contact me and I will send him a small sack of pepper as a present. :lol:

Regards.

Elwood

Posted: Thu Jan 10, 2008 11:35 pm
by Guest
With some understanding of computer programming, that makes sense actually. The maximum value of a stat is always based on how many bytes are used to store the data. The exact formula is 2 ^ (# of bytes) -1. For example, that's why in a lot of games stats are capped at 255: 2 ^ 8 is 256, minus 1 is 255. The number you gave is (2 ^ 63)-1, so it's very plausible. Thanks!

Posted: Fri Jan 11, 2008 12:22 am
by Guest
So then i guess that is the goal once you've expanded and researched to the max and gotten every status symbol. Fill your storage with 9.2 quintillion units of 100 different items? That could keep one going for years :P

Posted: Fri Jan 11, 2008 10:18 pm
by Guest
Psymon wrote:With some understanding of computer programming, that makes sense actually. The maximum value of a stat is always based on how many bytes are used to store the data. The exact formula is 2 ^ (# of bytes) -1. For example, that's why in a lot of games stats are capped at 255: 2 ^ 8 is 256, minus 1 is 255. The number you gave is (2 ^ 63)-1, so it's very plausible. Thanks!
You mean 2^ (# of bits) if you'll forgive me nitpicking. That number is 8 bytes or what is sometimes known as a "Big Integer." (And it sure is.)

Interestingly enough, that imples that if you could somehow get it to occur, the warehouse could handle storing negative wares in that quantity.

Posted: Fri Jan 11, 2008 11:21 pm
by Guest
Knolls wrote:
Psymon wrote:With some understanding of computer programming, that makes sense actually. The maximum value of a stat is always based on how many bytes are used to store the data. The exact formula is 2 ^ (# of bytes) -1. For example, that's why in a lot of games stats are capped at 255: 2 ^ 8 is 256, minus 1 is 255. The number you gave is (2 ^ 63)-1, so it's very plausible. Thanks!
You mean 2^ (# of bits) if you'll forgive me nitpicking. That number is 8 bytes or what is sometimes known as a "Big Integer." (And it sure is.)

Interestingly enough, that imples that if you could somehow get it to occur, the warehouse could handle storing negative wares in that quantity.
They use signed values? I hope the programmers use unsigned values in this case unless they want to implement some kind of debt into the system.