up to u u can just dont have em so high u level instantly thatll ruin a server unless its like a pking server or sumthing
|
I know how to change the rates of XP, but how do I change the rates of SKILLS like mining and woodcutting and stuff?
up to u u can just dont have em so high u level instantly thatll ruin a server unless its like a pking server or sumthing
Wtf, I'm asking HOW TO CHANGE THEM.
---------- Post added at 07:16 PM ---------- Previous post was at 06:41 PM ----------
/b
/u
/m
/p
---------- Post added at 09:02 PM ---------- Previous post was at 07:16 PM ----------
/b/u/m/p
Just find the method that handles each skill and edit the amount of XP there.
Go into client.java,
Search for:
Code:if (actionTimer == 0) {
Then search for:
Code:actionTimer =
Then you can change the number ( the lower the number the faster you can click )
Hope this helped.
---------- Post added at 01:06 AM ---------- Previous post was at 12:59 AM ----------
OR
Go into client.java,
Search for:
Code:case [OBJECT ID]:
Then you should see something simmular to this underneath it.
Code:case 2111: if (actionTimer == 0) { addSkillXP((1700 * playerLevel[14]), 14); addItem(995, 1000000); sendMessage("You Gain Some Mining, and get some Cash!!"); setAnimation(624); actionTimer = 1; updateRequired = true; appearanceUpdateRequired = true; } break;
The EXP bit is this bit.
Code:addSkillXP((1700 * playerLevel[14]), 14);
The playerLevel part is the skill it adds the EXP to.
( Look up the skill numbers in Player.Java )
The 1700 part is the EXP edit that part to any number ( and it will add that much exp every yime you click )
Hope that helped.
That's the thing, I would change where it saysCode:void Woodcutt() { int exp = 0, lev = 0; switch (Log) { case 1511: exp = 50; lev = 1; break; case 1513: exp = 500; lev = 75; break; case 1515: exp = 350; lev = 60; break; case 1517: exp = 200; lev = 45; break; case 1519: exp = 135; lev = 35; break; case 1521: exp = 75; lev = 15; break; } if (!hasAxe()) { Send("You need an axe to chop down this tree."); ResetWC(); return; } if (playerLevel[8] < lev) { Send("You need a woodcutting level of "+lev+" to chop down this tree."); ResetWC(); return; } if (!IsWcing) { Send("You begin to cut the tree."); IsWcing = true; } pEmote = 875; addSkillXP(exp * playerLevel[8], 8); addItem(Log, 1); Send("You get some logs."); if (TreeHP < 1) { AddGlobalObj(TreeX, TreeY, 1341, 0, 10); TreeHP = 20; sendChat("The tree has run out of logs."); ResetWC(); } TreeHP--; if (freeSlots() < 1) { sendChat("You don't have enough inventory space to cut the tree."); ResetWC(); } ActionDelay = System.currentTimeMillis(); appearanceUpdateRequired = true; updateRequired = true; }right? but when I go in game it doesn't change..Code:exp = (number);
Trees are slightly different ( RETARDED )
With trees you should have something like this,
Code:Woodcutting("tree", 1, (500 * playerLevel[8]), 995, 15000, objectID, objectX, objectY, 875); break;
---------- Post added at 01:27 AM ---------- Previous post was at 01:25 AM ----------
What source are you using?
Like this?:
Code:case 1309: Log = 1515; TreeX = objectX; TreeY = objectY; Woodcutt(); break;
---------- Post added at 12:44 AM ---------- Previous post was at 12:28 AM ----------
Cause I STILL can't get it to work
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |