How to Change XP Rate [317]

Results 1 to 3 of 3
  1. #1
    Account Inactive sixpack is offline
    InactiveRank
    Jan 2008 Join Date
    66Posts

    How to Change XP Rate [317]

    Look in Client.java

    look for "combatexprate" or

    a code like below
    Code:
    }
                    attackedNpc = true;
                    attackedNpcId = attacknpc;
                    double TotalExp = 0;
                    if (!UseBow)
                        animationReset = System.currentTimeMillis() + 1200;
                    if (server.npcHandler.npcs[attacknpc].npcType != 1472) {
                        if (UseBow) {
                            TotalExp = (double) (60 * hitDiff * 2); // added *2 for
                            // faster
                            // leveling
                            // -wildjjbug
                            TotalExp = (double) (TotalExp * CombatExpRate);
                            addSkillXP((int) (TotalExp), 4);
                        } else if (FightType != 3) {
                            TotalExp = (double) (60 * hitDiff * 2); // added *2 for
                            // faster
                            // leveling
                            // -wildjjbug
                            TotalExp = (double) (TotalExp * CombatExpRate);
                            addSkillXP((int) (TotalExp), SkillID);
                        } else {
                            TotalExp = (double) (60 * hitDiff * 2); // added *2 for
                            // faster
                            // leveling
                            // -wildjjbug
                            TotalExp = (double) (TotalExp * CombatExpRate);
                            addSkillXP((int) (TotalExp), playerAttack);
                            addSkillXP((int) (TotalExp), playerDefence);
                            addSkillXP((int) (TotalExp), playerStrength);
                        }
                        TotalExp = (double) (20 * hitDiff * 2); // added *2 for
                        // faster leveling
                        // -wildjjbug
                        TotalExp = (double) (TotalExp * CombatExpRate);
                        addSkillXP((int) (TotalExp), playerHitpoints);
                        attackTimer = 7;
                        if (debug)
                            sendMessage("hitDiff=" + hitDiff + ", elapsed="
                                    + (thisTime - lastAttack));
                        lastAttack = System.currentTimeMillis();
                    }
                    return true;
    and just change the 60 to w/e you want or w/e yours is


  2.  
  3. #2
    Account Inactive Worthy is offline
    InactiveRank
    Apr 2008 Join Date
    ScotlandLocation
    280Posts

    Re: How to Change XP Rate [317]

    Nice, basic, easy-to-read tutorial.

    Good job ;)

  4. #3
    Chaos Is Here wildjjbug is offline
    True MemberRank
    Apr 2006 Join Date
    AmericaLocation
    915Posts

    Re: How to Change XP Rate [317]

    even though this is what i sent him through pm, anyway nice i guess...


  5.  

    Latest Gaming Releases

Advertisement