Jump to content
MakeWebGames

Recommended Posts

Posted

On my V2 version of Mc Codes when i train in the gym i get absolutly no exp im testing if i get exp out of the crimes at this moment in time :|

has anyone else had this issue ?

If anyone could give me any help please could you thanks

Guest Anonymous
Posted

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.

Posted

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

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