+2 votes
1,733 views
by (1,322 points)

I was wondering whether there is a known limit on the money you can store in the bank per character.

As I suppose that they store that value on a cell in a DB table whose column has a predefined size, I guess there is a limit to that number. Or maybe they have a more versatile way of storing that figure and there is no theoretical limit.

3 Answers

+2 votes
by (4,336 points)

A Bank is a place where you can exchange Gold Coins, Platinum Coins, and Crystal Coins. Each Bank is occupied by a Banker. Since the 2006 Christmas Update, Banks provide players with a Bank Account, which allows players to deposit their gold, withdraw gold in case they need to spend some of it, and transfer gold to other characters. Since the 2014 Christmas Update, it's also possible to transfer gold to guilds.

Characters in Rookgaard cannot send gold to characters in mainland or other characters in Rookgaard. Characters in mainland cannot send gold to characters in Rookgaard. When your character moves from Rookgaard to mainland, all the money will be transferred to mainland's Bank Account automatically.

A I know, since the Christmas update of 2008, characters in Rookgaard cannot deposit more than 1000 gold in their Bank Account. It is called Junior Account.

I never heard about limit of money in bank account on the Mainland. I know many rich people and I think even if there is limit of cash no one exceeded the bank account limit. (unknown)

Source: https://tibia.fandom.com/wiki/Bank_Account

+1 vote
by (22 points)

Hi game mate,

I've been investigating about this topic (which is interesting for me too). For that reason I found out that the programming language used for Tibia is C++ (I found it here: Tibia Architechture - GDC Europe 2011). C++ has several basic data types to store information like numbers, text, binary, etc. We are here interested in numbers, and moreover in positive numbers. The basic data types used in C++ for that are (the maximum value they can store is in brackets):

  • short (32767)
  • int (2147483647)
  • size_t (18446744073709551615)
  • streamsize (9223372036854775807)
  • float (3.40282e+38)
  • double (1.79769e+308)
Information got from here: CPPReference - MongoDB.
Attending to that (and with the premise that they are using a basic type) and that they are not limiting the maximum value it can store, we can guess that at least should be a size_t type. The type int seems too tight depending on the server.
This is the most accurate answer I can give about this topic. Hope it helps you :)
by (1,322 points)
edited by
Nice answer, thanks for the feedback! I think it might be the closest to what we can find out about this topic.
And welcome to TibiaQA :)
+1 vote
by (1,057 points)
view edits | edited by
 
Best answer

Hello, Violetissime!

Though I think that this answer is still unclear, we got a new hint recently. 

During the announce of the winter update, Cipsoft published (here) that due to exaltation forge, the highest market listing was changed from 999.999.999 to 999.999.999.999 (from 1kkk to 1kkkk, approximately).

Since the money from any buy from market comes from the bank account, now we know that we can maintain at least that value on our bank account/char. 

by (17,391 points)
But aren't we always allowed to have 1kkk in our banks (mainland)? market and bank are different
by (1,057 points)
+1
Yes, Shawtay, before we were allowed to have 1kkk, but now for sure we can have up to 1kkkk. Maybe we can store even more, but since no one ever got that much money, we cannot know.

On the other side, since you buy any market item with the gold stored on your bank account, since an item can be sell now for 1kkkk, we know that at least this amount we can store in our bank account.
by (17,391 points)
This makes sense :) Im sorry misread earlier
...