Melkrow Posted October 3, 2012 Posted October 3, 2012 Hello all, me again, with another stupid question. When it comes to crimes, I understand the formula and can easily adjust it for increased(or decreased if i want) "success" chance. That said, when it fails, what determines if you just "fail" or if you go to "jail". How is that calculated? Furthermore... what's the point of "Crime XP". From my testing it has no function at all. All exp is given based on the money amount, however I haven't yet figured out what the formula is for that. If the reward is $100... how much xp is the person getting? Thanks. Quote
Melkrow Posted October 3, 2012 Author Posted October 3, 2012 did some testing, it turns out 12% of "money" is rewarded as EXP. For anybody that's wondering the same thing. Also. how much xp is needed for each lvl, what's the formula for that and where do I adjust it? Quote
Djkanna Posted October 3, 2012 Posted October 3, 2012 The formula for level and exp. is in check_level() of global_func.php. Modify the $ir['exp_needed'] variable as needed. Quote
KyleMassacre Posted October 4, 2012 Posted October 4, 2012 I could be wrong on this but the default fail/jail ratio is determined by your success ration and a rand(). So if you success percentage is lower that 100% the it triggers the rand(1,2). So if you fail and rand()=1 for example then you go to jail, else you just fail and nothing happens. For the experianced gained its the amount of cash awarded for the crime divided by 8 and thats by default. What I have done is changed that so I can control the amount of xp given per crime with a numerical value of my choice and a seperate cash value of my choice, this way for higher level players I dont have to give an absurd amount of cash for them to gain xp that is appropriate for their level in hopes to balance out ingame currency and speed level really easily. Quote
realmoflegends Posted October 4, 2012 Posted October 4, 2012 I did this as well: customized the awards for the 'crimes' in the game to balance everything out, and randomize it as well to keep it from getting stale. I'm thinking of add more possible outcomes for 'crimes' too, like going to the 'Hospital' or getting other awards rather than money or 'crystals' to spice it up even further. Quote
AnonymousUser Posted October 4, 2012 Posted October 4, 2012 lol there are crimes that require items and stuff like that in a mod around here somewhere... 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.