Jump to content
MakeWebGames

After Editing User, Any Link pressed increases the user.....


DesignLoft

Recommended Posts

Re: After Editing User, Any Link pressed increases the user.....

You edited it over lvl 950+ or thereabouts, didn't you? It's because MCCodes doesn't handle bigint.

In global_func look for

$ir['exp_needed']=((int) (($ir['level']+1)*($ir['level']+1)*($ir['level']+1)*2.2);

and change it to

$ir['exp_needed']=(float) (($ir['level']+1)*($ir['level']+1)*($ir['level']+1)*2.2);

 

somewhere around lvl 950 and up, it hits the 2 bil ceiling, and you have the famous lvl bug

Link to comment
Share on other sites

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...