Jump to content

crime EXP

spellbyte ®

Recommended Posts

ok i thought i had this cracked but apparently not, My crimes dont seem to be giving any exp, here is what i have at the moment in docrime.php


$ec="\$sucrate=".str_replace(array("LEVEL","EXP","WILL","IQ"), array($ir['level'], $ir['exp'], $ir['will'], $ir['IQ']),$r['crimePERCFORM']).";"; 
print $r['crimeITEXT']; 
mysql_query("UPDATE users SET brave={$ir['brave']} WHERE userid=$userid",$c); 
if(rand(1,100) <= $sucrate) 
print str_replace("{money}",$r['crimeSUCCESSMUNY'],$r['crimeSTEXT']); 
$ir['exp']+=(int) ($r['crimeSUCCESSMUNY']/8); 
if($r['crimeITEM'] > 0) 


if it's not in there then it must be in the db entries for crimes

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