|
Post by Delfestra Ruinvorn on Aug 4, 2006 18:16:54 GMT
Given the new usefulness of money with the sale chests and the auction box, and thus the increase of money on the server, would it be possible/appropriate to up the bank vault and/or transfer vault numbers from 2 bil to 4 or 5?
Or would that be lag-increasing?
|
|
|
Post by mishimayukio on Aug 4, 2006 20:09:53 GMT
I'm guessing that the 2 billion limit is related to the field limit for signed 4 byte numbers, which maxes out a little over 2 billion. If another byte was added, the new limit would be closer to 500 billion.
|
|
|
Post by hiryuu on Aug 4, 2006 21:15:47 GMT
Yue is correct that the limit is 2 billion because NWN integers are 32 bits long, and 2^32 =~ 2 billion. There's a discussion in the DM forum about using SQL's 64-bit math to up that limit to 2^64, or roughly 9.2 quintillion. The auction and sale limits will probably need to stay at 2 billion.
|
|
|
Post by Bakchuda on Aug 4, 2006 21:57:49 GMT
Sorry, i could not resist, the math major in my head was screaming at me: 2^32 ~ 4.295 billion. 2^31 ~ 2.1475 billion. It's a signed 32 bit integer, so the last bit is used to determine the sign (in 2's complement math) en.wikipedia.org/wiki/Twos_complement
|
|
|
Post by FunkySwerve on Aug 4, 2006 23:52:26 GMT
The sale limit will stay at 1 billion, because thats all players can carry. The auction limit will be removed, and a minimum bid increment added, when we switch to SQL math, which I'm planning to do sooner rather than later. I think I mentioned this in response to another post on auction 'abuses'. Funky
|
|
|
Post by mubu on Aug 5, 2006 8:30:36 GMT
actually unless its changed characters can not carry over 999,999,999 which means the 1 billion priced item is unbuyable by a pc unless he can use his vault to purchase.
|
|
|
Post by FunkySwerve on Aug 5, 2006 14:26:06 GMT
actually unless its changed characters can not carry over 999,999,999 which means the 1 billion priced item is unbuyable by a pc unless he can use his vault to purchase. Yes, that's the exact reason the limit was upped by one to one billion. If players could carry 1, 457,988,423 gp, then the limit would be 1,457,988,424, but explaining that seemed unneccesary given that that is already explained on the market board. Funky
|
|