Jump to content
MakeWebGames

Recommended Posts

Posted

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

Posted

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.

  • 3 weeks later...
Posted

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?

Posted

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 ;)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...