DesignLoft Posted December 22, 2006 Share Posted December 22, 2006 I've just edited my account "Admin" to increase the stats,money,crystals etc.. For security purposes. And now no matter what link i click on I see that my level keeps increasing by 1 per llink clicked on. Any ideas! thanks. Quote Link to comment Share on other sites More sharing options...
boggl Posted December 22, 2006 Share Posted December 22, 2006 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 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.