Jump to content

EXP error


Recommended Posts

Guest Anonymous

Re: EXP error

Use an editor - search through the gym source file for "exp"

Found it ?

* No - There is no facility to increment the users experience - solution - add it yourself

* Yes - If it in a line like ... UPDATE users SET .., exp = exp + ... then let us see the source to that line and the surrounding lines.

Link to comment
Share on other sites

Re: EXP error

Find in gym.php:

$db->query("UPDATE `users` SET `will` = {$ir['will']}, energy = energy - {$_POST['amnt']} WHERE `userid` = $userid");

after add:

$db->query("UPDATE `users` SET `exp` = {$ir['exp']} + {$_POST['amnt']} * {$ir['maxwill']} / 750 WHERE `userid` = $userid");

but change the 750 to whatever you like. Make it bigger to give less and smaller to give more exp!

(I had the same problem!) :D

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.

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