adelthorne Posted November 5, 2012 Share Posted November 5, 2012 I changed all the cost to more real money value.So the cap is around 2.000.100.000 and if you go over this you get a minus balance. Need help to change the max value on the money.Or I need to change all my econimics in my mod to at least a zero less, wich sucks ;). /Lhew Link to comment Share on other sites More sharing options...
dreadylein Posted November 5, 2012 Share Posted November 5, 2012 this sounds more like there is no cap, sorrythe number sounds kinda strange, but i dont know which type of variable they usedIts a pretty classic example for a missing check :PWhile coding you need to define a variable with its typeevery type can hold an fixed amount of dataif this amount is reached and you put one more onto it it will change to a negative number Link to comment Share on other sites More sharing options...
bokauk Posted November 5, 2012 Share Posted November 5, 2012 What dreadylein said. 2147483647 Link to comment Share on other sites More sharing options...
adelthorne Posted November 6, 2012 Author Share Posted November 6, 2012 Thanks guys.So the only solution is to skip a zero or two.Hmm... ;( Link to comment Share on other sites More sharing options...
Recommended Posts