REGGIE KRAY Posted January 1, 2009 Share Posted January 1, 2009 Hi I was wondering if anyone could help me, when a player has trained up to 9,999,999 on my game it max's out and cannot train any higher than this. Is there a way of removing the cap so the stats will go higher. Many Thanks Reggie Quote Link to comment Share on other sites More sharing options...
POG1 Posted January 1, 2009 Share Posted January 1, 2009 Re: Prob with max stats it seems like the field value is limited to 7 place values, change it to 8. Quote Link to comment Share on other sites More sharing options...
REGGIE KRAY Posted January 1, 2009 Author Share Posted January 1, 2009 Re: Prob with max stats Thanks I am just learning, where abouts would i find that field Quote Link to comment Share on other sites More sharing options...
REGGIE KRAY Posted January 1, 2009 Author Share Posted January 1, 2009 Re: Prob with max stats I have found it. In user stats in my sql i reads, strength decimal(11,4) you need to change it to, strength decimal(12,4) or however long you want it to be. Thanks for the help tho. Quote Link to comment Share on other sites More sharing options...
AlabamaHit Posted January 2, 2009 Share Posted January 2, 2009 Re: Prob with max stats try 65,4 That should last awhile lol Quote Link to comment Share on other sites More sharing options...
POG1 Posted January 2, 2009 Share Posted January 2, 2009 Re: Prob with max stats try 65,4 That should last awhile lol 65 lol Quote Link to comment Share on other sites More sharing options...
gurpreet Posted January 2, 2009 Share Posted January 2, 2009 Re: Prob with max stats What would happen if you change it to an int? Would it mess up? Quote Link to comment Share on other sites More sharing options...
POG1 Posted January 2, 2009 Share Posted January 2, 2009 Re: Prob with max stats think about it... Whats the difference between a integer and decimal? If you don't know it would be wise to learn. Quote Link to comment Share on other sites More sharing options...
Matsu Posted January 18, 2009 Share Posted January 18, 2009 Re: Prob with max stats I'm just a newbie to coding, as I've only ever done html before, but....if I go from that advice, if I wanted to remove the decimal places from the stats entirely, I'd change it to decimal(x, 0) where x is the number of place values I give the actual stat. Is that correct? Quote Link to comment Share on other sites More sharing options...
POG1 Posted January 18, 2009 Share Posted January 18, 2009 Re: Prob with max stats I'm just a newbie to coding, as I've only ever done html before, but....if I go from that advice, if I wanted to remove the decimal places from the stats entirely, I'd change it to decimal(x, 0) where x is the number of place values I give the actual stat. Is that correct? an integer would be the correct choice ;) Quote Link to comment Share on other sites More sharing options...
Matsu Posted January 18, 2009 Share Posted January 18, 2009 Re: Prob with max stats Thank you. The change worked. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.