+2 votes
382 views
by (1,244 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.

2 Answers

+1 vote
by (32 points)
selected by
 
Best answer

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,244 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 :)
+2 votes
by (4,153 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

...