josh-j-c Posted March 26, 2008 Posted March 26, 2008 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 Quote
Guest Anonymous Posted March 26, 2008 Posted March 26, 2008 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. Quote
The Ace Posted March 26, 2008 Posted March 26, 2008 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 Quote
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.