increasing credits, duckets, diamonds limit

gashhay

New Member
Feb 21, 2018
11
2
r1 plus emulator, r63b

how do I increase the credits, duckets, diamonds limit so people can have billions and trillions in currency? Also, how can this be shown so others can see how much a user has and it displays trillion or billion?
 

JayC

Always Learning
Aug 8, 2013
5,505
1,401
There isn't a limit in the actual code but in the value of those. The currencies are all stored in an integer which has a maximum value of 2,147,483,647. If you go above that it'll start throwing exceptions. You would need to convert all of the integers to longs which has a max value of 9,223,372,036,854,775,807 and change the database to support a long
 

gashhay

New Member
Feb 21, 2018
11
2
added kotton addiction200#5961
Post automatically merged:

This Kotton user is a scam, adv his or her hotel on mine.
 
Last edited:

Users who are viewing this thread

Top