Thread: How to change xp hit rate.

Results 1 to 8 of 8
  1. #1 How to change xp hit rate. 
    coledp4
    Guest
    Could someone please help.
    Or add my msn [email protected]
     

  2. #2  
    Banned

    Join Date
    Sep 2007
    Posts
    1,838
    Thanks given
    22
    Thanks received
    21
    Rep Power
    0
    Search for combatexp in client.java the rest is selfexplanatory
     

  3. #3  
    Member
    Join Date
    May 2008
    Posts
    78
    Thanks given
    5
    Thanks received
    1
    Rep Power
    0
    Quote Originally Posted by Mr Client View Post
    Search for combatexp in client.java the rest is selfexplanatory
    Thanks! That helped me too! Lol
     

  4. #4  
    coledp4
    Guest
    Mr Client I changed them but it has not changed anything.
     

  5. #5  
    Banned
    Join Date
    Mar 2008
    Posts
    546
    Thanks given
    1
    Thanks received
    1
    Rep Power
    0
    ok i will walk you threw this

    Look for this
    Code:
    FightType
    Then keep looking threw those untill you find this

    Code:
    if (server.npcHandler.npcs[attacknpc].npcType != 1472) {
    					if (UseBow) {
    						TotalExp = (double) (95 * hitDiff * 2); // added *2 for
    						// faster
    						// leveling
    						// -bakatool
    						TotalExp = (double) (TotalExp * CombatExpRate);
    						addSkillXP((int) (TotalExp), 4);
    					} else if (FightType != 3) {
    						TotalExp = (double) (95 * hitDiff * 2); // added *2 for
    						// faster
    						// leveling
    						// -bakatool
    						TotalExp = (double) (TotalExp * CombatExpRate);
    						addSkillXP((int) (TotalExp), SkillID);
    					} else {
    						TotalExp = (double) (95 * hitDiff * 2); // added *2 for
    						// faster
    						// leveling
    						// -bakatool2
    						TotalExp = (double) (TotalExp * CombatExpRate);
    						addSkillXP((int) (TotalExp), playerAttack);
    						addSkillXP((int) (TotalExp), playerDefence);
    						addSkillXP((int) (TotalExp), playerStrength);
    					}


    Yours may look different but its kinda the same thing, its different because im using devo 7.0 instead of your base
     

  6. #6  
    I LOVE CHEESE


    Join Date
    Oct 2007
    Age
    29
    Posts
    1,153
    Thanks given
    7
    Thanks received
    8
    Rep Power
    104
    just saying but just search at tutorial and thousend tuts about the same


     

  7. #7  
    Member #35, most veteran member left? :D


    Join Date
    Jul 2006
    Age
    30
    Posts
    2,660
    Thanks given
    53
    Thanks received
    331
    Rep Power
    925
    Use the search feature... I'm sure this has been posted about many times before.

    But, to add some quick help in to this post, just search for the method you use to handle attacking (Ex. Attack()), and look around for the lines of code which have to do with adding experience to a certain skill. Just check the numbers and change the ones you think are the right ones.


    `Ex-global moderator x3 (resigned)
     

  8. #8  
    Banned

    Join Date
    Oct 2008
    Age
    30
    Posts
    306
    Thanks given
    13
    Thanks received
    36
    Rep Power
    0
    Mr Client I changed them but it has not changed anything.
    Could you have possibly not compiled, or compiled but did not restart the server?
     


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
  •