PDA

View Full Version : 317 - How to change combat EXP rates - Delta



ReXo420
August 17th, 2010, 14:27
Hey, RuneLocus
This is simple tutorial, how to change combat exp rates for Delta.

Purpose: Changing Combat Exp Rates.
Difficulty:1/10
Assumed Knowledge:Copy and Paste
Classes Modified:client.java
Tested On(if it applies): Delta

First go to into client.java search for:

combatexp

Then you should see something like this:

if (UseBow || UseCrossBow) {
TotalExp = (double)(1000*hitDiff);
TotalExp = (double)(TotalExp*CombatExpRate);
addSkillXP((int)(TotalExp), 4);
} else if (FightType != 3) {
TotalExp = (double)(1000*hitDiff);
TotalExp = (double)(TotalExp*CombatExpRate);
addSkillXP((int)(TotalExp), SkillID);
} else {
TotalExp = (double)(250*hitDiff);
TotalExp = (double)(TotalExp*CombatExpRate);
addSkillXP((int)(TotalExp), playerAttack);
addSkillXP((int)(TotalExp), playerDefence);
addSkillXP((int)(TotalExp), playerStrength);
}
TotalExp = (double)(250*hitDiff);
TotalExp = (double)(TotalExp*CombatExpRate);
addSkillXP((int)(TotalExp), playerHitpoints);
attackTimer = 7;

What I do is the first 2 I make them 1000 then I make the bottom 2, 250.
I do that because I'm pretty sure HP is 1/4 Combat exp for some reason.
But I tested it, it's perfect. Anyways.

You'll need to search:

combatexp 3 times.
because it's located 3 times just edit them all to the same numbers you put the first one as.

Thanks for reading this newbie tutorial. ReXo420.

Musicmasta
August 19th, 2010, 05:09
Good job :)

Aaron
August 19th, 2010, 05:44
Very nice Job:D

ReXo420
August 19th, 2010, 12:38
: DDDD Thanks.

darkendsouls
July 24th, 2011, 22:35
dont work........nothing turns up when i search combatexp