Jump to content
MakeWebGames

Recommended Posts

Posted

I have a level cap in my game, dont know why, it is 346 or something. How do i get rid of this? i treid a basic thing in the DB but it didnt work

Cheers

Posted

Re: Level cap...

in global_func.php there is a function called check_level

the code for the 1st part shud look like this

function check_level()
{
global $ir,$c,$userid;
$ir['exp_needed']=(int) (($ir['level']+1)*($ir['level']+1)*($ir['level']+1)*2.2);
while($ir['exp'] >= $ir['exp_needed'] and $ir['level'] < 950)

 

except urs is and $ir['level'] < 347 or 346

just change that number to like 10000000000 :P

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