Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[Tut] Changing xp rates!

Newbie Spellweaver
Joined
Nov 30, 2007
Messages
21
Reaction score
0
Go Into Client.java And Search For..
combatexp
You Should Find Something Like This...

TotalExp = (double)(500 * hitDiff);
TotalExp = (double)(TotalExp * CombatExpRate);
addSkillXP((int)(TotalExp), playerRanged);
TotalExp = (double)(200 * hitDiff);
TotalExp = (double)(TotalExp * CombatExpRate);
addSkillXP((int)(TotalExp), playerHitpoints);


Ok Look At The Bold Letters. First Is The 500 This Means For Every Hit Of Damage You Do, You Will Receive 500 Exp. Now Look At Range..This Means You Will Receivce This Exp In Ranging Skill. Then To 200..That Is How Much EXP You Will Get For Firing An Arrow.


So simply, Change 500 To like 1000 thna the get 1000exp per hit
Or make it like 20.000 than u get mega boost xD

Change also the stuff above it like


TotalExp = (double)(2000 * hitDiff);
TotalExp = (double)(TotalExp * CombatExpRate);
addSkillXP((int)(TotalExp), playerAttack);
}
else if (FightType == 2) // Agressive
{
TotalExp = (double)(2000 * hitDiff);
TotalExp = (double)(TotalExp * CombatExpRate);
addSkillXP((int)(TotalExp), playerStrength);
}
else if (FightType == 4) // Defensive
{
TotalExp = (double)(2000 * hitDiff);
TotalExp = (double)(TotalExp * CombatExpRate);
addSkillXP((int)(TotalExp), playerDefence);
}
else if (FightType == 3) // Controlled
{
TotalExp = (double)(1000 * hitDiff);
TotalExp = (double)(TotalExp * CombatExpRate);
addSkillXP((int)(TotalExp), playerStrength);
}
TotalExp = (double)(1000 * hitDiff);
TotalExp = (double)(TotalExp * CombatExpRate);
addSkillXP((int)(TotalExp), playerHitpoints);
actionTimer = 7;
server.npcHandler.npcs[attacknpc].animNumber = server.npcHandler.GetNPCBlockAnim(server.npcHandler.npcs[attacknpc].npcType);
}
Thats for attack / str / def


- Posted my me on moparscape -I wanna chare this tuts with ragezone also -
 
Newbie Spellweaver
Joined
Jun 20, 2007
Messages
13
Reaction score
0
Re: [TUT]Changing xp rates![TUT]

Nice, like the effort you put in to make this because some people do not understand a thing about runescape private servers;

This would make their day ;)
 
Canadian
Loyal Member
Joined
Dec 4, 2007
Messages
1,936
Reaction score
96
Re: [TUT]Changing xp rates![TUT]

Very nice,

will definetely use it.
 
Custom Title Activated
Loyal Member
Joined
Aug 20, 2007
Messages
1,230
Reaction score
1
Re: [TUT]Changing xp rates![TUT]

Thanks, it really helps.
 
right + down + X
Loyal Member
Joined
May 25, 2006
Messages
1,688
Reaction score
298
Re: [TUT]Changing xp rates![TUT]

Hmmm good idea. Lots of questions are asked about rates, and this is a pretty blunt explanation *thumbs up*. Keep them coming
 
Newbie Spellweaver
Joined
Apr 28, 2008
Messages
78
Reaction score
0
What's the perfect balance for fast training, but putting effort in it (if you want a 99 skill, you must train ~ 1 hour or something)
 
Experienced Elementalist
Joined
Aug 25, 2008
Messages
239
Reaction score
1
Nice Guide, easy and simple to follow XD
 
Newbie Spellweaver
Joined
Nov 30, 2007
Messages
21
Reaction score
0
Re: [Tut][317] Changing xp rates!

Go Into Client.java And Search For..

You Should Find Something Like This...




Ok Look At The Bold Letters. First Is The 500 This Means For Every Hit Of Damage You Do, You Will Receive 500 Exp. Now Look At Range..This Means You Will Receivce This Exp In Ranging Skill. Then To 200..That Is How Much EXP You Will Get For Firing An Arrow.


So simply, Change 500 To like 1000 thna the get 1000exp per hit
Or make it like 20.000 than u get mega boost xD

Change also the stuff above it like



Thats for attack / str / def




Sorry putting topic back cause its helpfull ;)
 
Back
Top