08-20-2015, 09:53 AM
|
#8
|
|
OOTP Developer
Join Date: Jun 2009
Location: Here and there
Posts: 16,223
|
Quote:
Originally Posted by NoOne
if you get over 2billion in cash (2,147,483,648), you will experience what you described. even if you have budget room, it is magically eaten up by some unseen force. i am kidding, of course.
the program is having problems with addition and subtration that involves numbers larger than (2^32)/2). even if you are below that figure for on-hand cash, it can still be a problem.
easy fix: set money cap (not salary cap!) at the largest possible budget any team could get plus some wiggle room to be safe. subtract that from (2^32)/2. Do this regardless of any current problem. if given the opportunity, it can and will happen eventually, regardless of how unlikely it is.
again, it doesn't have to be any single value that equals (2^32)/2, but any operation(+,-,*,/ etc...) that could result in a number larger. ie it will happen before you reach that cap figure in regrads to on-hand cash. the larger your budget, the sooner it will hapen.
|
Yeah, that's a limitation because we used signed 32-bit integers all over the place. If you truly want to play with teams with billion-dollar budgets, I'd suggest keeping the default financials down, but using a financial multiplier of like 1000. The multiplier is used for display and should be able to display elements larger than 2B.
|
|
|