Thread: Changing SKILL ratesI

Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1 Changing SKILL ratesI 
    Oxygen
    Guest
    I know how to change the rates of XP, but how do I change the rates of SKILLS like mining and woodcutting and stuff?
    Reply With Quote  
     

  2. #2  
    Registered Member
    willbill1's Avatar
    Join Date
    Apr 2008
    Posts
    521
    Thanks given
    1
    Thanks received
    6
    Rep Power
    156
    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
    Reply With Quote  
     

  3. #3  
    Oxygen
    Guest
    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
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Apr 2009
    Age
    31
    Posts
    37
    Thanks given
    0
    Thanks received
    0
    Rep Power
    29
    Just find the method that handles each skill and edit the amount of XP there.
    Reply With Quote  
     

  5. #5  
    mumi_
    Guest
    What are you looking for?

    The speed you can click?
    Reply With Quote  
     

  6. #6  
    Oxygen
    Guest
    No, just how much xp you get when you train that skill.
    Reply With Quote  
     

  7. #7  
    mumi_
    Guest
    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.
    Reply With Quote  
     

  8. #8  
    Oxygen
    Guest
    Code:
    	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;
    	}
    That's the thing, I would change where it says
    Code:
    exp = (number);
    right? but when I go in game it doesn't change..
    Reply With Quote  
     

  9. #9  
    mumi_
    Guest
    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?
    Reply With Quote  
     

  10. #10  
    Oxygen
    Guest
    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
    Reply With Quote  
     

Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •