muthchris Posted July 26, 2010 Share Posted July 26, 2010 My crimes are adding experience to the user's database, but the Exp% isn't going up. It was yesterday, then all the sudden it quit. When members attack others they get experience and their EXP% goes up for that. I uploaded my original criminal.php and docrime.php files and it didn't help. So I deleted the crimes database and started it over, it still did not help. Anyone have any clue what the heck happened here and how to fix it? :cursing: Quote Link to comment Share on other sites More sharing options...
corruptcity || skalman Posted July 27, 2010 Share Posted July 27, 2010 you did set xp for the crime? and not made it like 0 or somethink Quote Link to comment Share on other sites More sharing options...
muthchris Posted July 27, 2010 Author Share Posted July 27, 2010 yea, I did set it. It makes no sense to me, spent all day trying to figure this out. Quote Link to comment Share on other sites More sharing options...
bladewolf2010 Posted July 27, 2010 Share Posted July 27, 2010 if your a certain level it won't give %. please use the right section next time Quote Link to comment Share on other sites More sharing options...
NarutoPRG.com Posted July 27, 2010 Share Posted July 27, 2010 What? I think the only level you can't get EXP% on is when your level 2,41?,???,??? what ever number like that. Have you looked at your - (staff_crimes.php)? You might of removed the EXP from that Query needed. Look at line 50 and replace with this: [mysql]$db->query("INSERT INTO `crimes` ( `crimeNAME` , `crimeBRAVE` , `crimePERCFORM` , `crimeSUCCESSMUNY` , `crimeSUCCESSCRYS` , `crimeSUCCESSITEM` , `crimeGROUP`, `crimeITEXT` , `crimeSTEXT` , `crimeFTEXT` , `crimeJTEXT`, `crimeJAILTIME` , `crimeJREASON` , `crimeXP`) VALUES ( '{$_POST['name']}' , '{$_POST['brave']}' , '{$_POST['percform']}' , '{$_POST['money']}' , '{$_POST['crys']}' , '{$_POST['item']}' , '{$_POST['group']}' , '{$_POST['itext']}' , '{$_POST['stext']}' , '{$_POST['ftext']}' , '{$_POST['jtext']}' , '{$_POST['jailtime']} , '{$_POST['jailreason']}' , '{$_POST['crimexp']}')");[/mysql] I just set it out like that instead of scrolling along. When you put that in staff_crimes.php, set the lines straight. Or how ever you like it. :) I think all that needed is there. :) Quote Link to comment Share on other sites More sharing options...
muthchris Posted August 3, 2010 Author Share Posted August 3, 2010 Sorry for posting in the wrong place, and thanks but that didn't work either Quote Link to comment Share on other sites More sharing options...
rulerofzu Posted August 3, 2010 Share Posted August 3, 2010 Check the database for the crimes and verify they have a exp value set. I know you have said you set it when creating the crime but that is no guarantee that its in the database. So check the table crimes. Field crimeXP. If there is a value there for the crime being tested then its to do with the file docrime.php Quote Link to comment Share on other sites More sharing options...
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.