newclear Posted April 10, 2011 Posted April 10, 2011 Ok, im editing my game and has a few questions on where to edit things.. 1. Where can i edit the game time? 2. Where can i edit the EXP payout when someone completes a crime? (I have a small problem with people getting to level 5 by completing a 1 brave crime..) 3. Where can i edit the exp given when someone beats up another player? Thanks to those who can help! Quote
MrAnthony Posted April 11, 2011 Posted April 11, 2011 (edited) Q) 1. Where can i edit the game time? 2. Where can i edit the EXP payout when someone completes a crime? (I have a small problem with people getting to level 5 by completing a 1 brave crime..) 3. Where can i edit the exp given when someone beats up another player? A) 1. Depends what your host's server time is ( not 100% sure ) 3. Go to your Staff panel then click edit crime select the crime you want to edit then scroll down and edit the Crime XP Given 3. If you mean when they leave the player open up attacktake.php find $expgain=rand($qe/4,$qe); change the number 4 to higher e.g 8 for lower EXP given Hope this help's. Edited April 11, 2011 by MrAnthony Quote
newclear Posted April 11, 2011 Author Posted April 11, 2011 1. Ok, thanks! 2. The Crime XP given is 1 and they still gains 5 levels by completing it.. 3. I edited the thing to 1 to check and no exp is given.. I then edited it to 100 and still no EXP was given.. This is when someone attacks another player and win the attack.. Quote
lucky3809 Posted April 11, 2011 Posted April 11, 2011 (edited) For time you dont need to go off server time you can use something along the lines.... date_default_timezone_set ("America/Denver"); echo ' '.date('Y-m-j H:i:s ').' '; You add that to wherever the time stamp is in the script the time zone is Colorado,US in the example... I found the example on http://php.net/manual/en/function.date-default-timezone-set.php Your crime formula needs to be changed, there are many threads explaining this just use the search option... Or edit it through your staff crime page or mysql database manually, if you know what formula you want. Edited April 11, 2011 by lucky3809 Quote
newclear Posted April 11, 2011 Author Posted April 11, 2011 Im not talking about the formula.. The formula is for how good % they have of succeeding the crime.. The crime is giving out to much experince so they go from level 1 to 5 by completing it once.. Quote
lucky3809 Posted April 11, 2011 Posted April 11, 2011 well crime exp should be in your staff crime page, or you can modify it in your database under the crimes table... Quote
newclear Posted April 18, 2011 Author Posted April 18, 2011 ok, i got the problems fixed.. Thanks for help! 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.