bank roll over :)

Started by The Crazy Animal, October 24, 2006, 03:19:55 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Your balance at Bank of Godfrey (#8) is:
On deposit: 2089772650 copper farthings [20,897,726.72 gold crowns]
[HP=1520/MA=826]:depo 646017152
You deposit 646017152 copper farthings.
[HP=1520/MA=826]:ban
Your balance at Bank of Godfrey (#8) is:
On deposit: -1559177494 copper farthings [-15,591,774.72 gold crowns]

Quote from: The Crazy Animal on October 24, 2006, 03:19:55 AM
Your balance at Bank of Godfrey (#8) is:
On deposit: 2089772650 copper farthings [20,897,726.72 gold crowns]
[HP=1520/MA=826]:depo 646017152
You deposit 646017152 copper farthings.
[HP=1520/MA=826]:ban
Your balance at Bank of Godfrey (#8) is:
On deposit: -1559177494 copper farthings [-15,591,774.72 gold crowns]

We'll bump it up to a unsigned long which should take quite some time longer to hit that point.  I guess we will put in a check before depositing to make sure it won't go over a specified limit.  So what should we make the limit?


TGS v1.0 (coming soon)

I can't remember what mmuds limit was but the way they fixed it was it just wouldn't let you depo after a certain point. Right now it doesn't flip till after 2k runic so its not that bad I don't expect most people to get it that high. Maybe you could just put a check in so that if the outcome of a deposit would be a negative it would then deny the depo and say your bank account is full.

There is another small bug that goes along with this which is how much cash you can depo in a single deposit but I have to do some more testing with that.