Number Limit
Number Limit
What changes did you make to get the numbers go higher? On my server the score maxes out at just over 2 billion. Just wondering if there is a fix to put in the code or if it's part of the modifications you are running on your server.
- TheMightyDude
- Site Admin
- Posts: 311
- Joined: Thu Apr 17, 2014 09:15 UTC
Re: Number Limit
We changed to BIGINT (20) which is a 64bit number which will give you either of the following:newadmin wrote:What changes did you make to get the numbers go higher? On my server the score maxes out at just over 2 billion. Just wondering if there is a fix to put in the code or if it's part of the modifications you are running on your server.
Signed: -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807
Unsigned: 0 to 18,446,744,073,709,551,615
Where as by default you normally get:
Signed: -2,147,483,648 to 2,147,483,647
Unsigned: 0 to 4,294,967,295
While you end up with bigger numbers the precision breaks, we were lazy and used BIGINT's due to it was easier than fixing the pricing of stuff.
I think we just changed the score to BIGIN (20) the rest can stay the same.
Re: Number Limit
Which file do I need to make those changes? I may have skimmed over it.TheMightyDude wrote:We changed to BIGINT (20) which is a 64bit number which will give you either of the following:newadmin wrote:What changes did you make to get the numbers go higher? On my server the score maxes out at just over 2 billion. Just wondering if there is a fix to put in the code or if it's part of the modifications you are running on your server.
Signed: -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807
Unsigned: 0 to 18,446,744,073,709,551,615
Where as by default you normally get:
Signed: -2,147,483,648 to 2,147,483,647
Unsigned: 0 to 4,294,967,295
While you end up with bigger numbers the precision breaks, we were lazy and used BIGINT's due to it was easier than fixing the pricing of stuff.
I think we just changed the score to BIGIN (20) the rest can stay the same.
- TheMightyDude
- Site Admin
- Posts: 311
- Joined: Thu Apr 17, 2014 09:15 UTC
Re: Number Limit
If I recall it was schema.php you will have to re-run create_universe.php after the change.