Thread: 718 Xp modes, how to make combat only?

Page 1 of 3 123 LastLast
Results 1 to 10 of 24
  1. #1 718 Xp modes, how to make combat only? 
    Registered Member
    Join Date
    Jul 2012
    Posts
    79
    Thanks given
    1
    Thanks received
    1
    Rep Power
    11
    Ok so, Right now on my 718 server if your playing on easy, you get alot more xp in all skills rather then someone on extreme, which is unfair.

    So basically i want to make it so that only combats recieve different xp rates, and all skilling is the same for everyone.

    This is the code that declares the xp the different difficulties get.

    Code:
    		if (player.getDifficulty() == 1) {
    			exp *= 140; // Super Easy
    		} else if (player.getDifficulty() == 2) {
    			exp *= 110; // Easy
    		} else if (player.getDifficulty() == 3) {
    			exp *= 80; // Normal
    		} else if (player.getDifficulty() == 4) {
    			exp *= 50; // Hard
    		} else if (player.getDifficulty() == 5) {
    			exp *= 20; // Extreme
    		}
    So if you can help me out and tell me what i need to add, I only want differnet xp rates on combats.

    Thanks!
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Jul 2012
    Posts
    79
    Thanks given
    1
    Thanks received
    1
    Rep Power
    11
    Would this work? I get no errors when i compile this.
    Code:
    		if (player.getDifficulty() == 1) {
    	if (skill == PRAYER);
    	if (skill == ATTACK);	
    	if (skill == DEFENCE);	
    	if (skill == STRENGTH);	
    	if (skill == RANGE);	
    	if (skill == HITPOINTS);	
    	if (skill == MAGIC);		
    		exp *= 140; // Super Easy
    	if (skill == COOKING);	
    	if (skill == WOODCUTTING);	
    	if (skill == FLETCHING);		
    	if (skill == FISHING);		
    	if (skill == FIREMAKING);		
    	if (skill == CRAFTING);		
    	if (skill == SMITHING);		
    	if (skill == MINING);		
    	if (skill == HERBLORE);	
    	if (skill == AGILITY);
    	if (skill == THIEVING);
    	if (skill == SLAYER);
    	if (skill == FARMING);
    	if (skill == RUNECRAFTING);	
    	if (skill == HUNTER);
    	if (skill == CONSTRUCTION);
    	if (skill == SUMMONING);
    	if (skill == DUNGEONEERING);
    			exp *= 80;
    Reply With Quote  
     

  3. #3  
    Registered Member

    Join Date
    Feb 2013
    Posts
    4,417
    Thanks given
    59
    Thanks received
    478
    Rep Power
    138
    Quote Originally Posted by agulka View Post
    Would this work? I get no errors when i compile this.
    Code:
    		if (player.getDifficulty() == 1) {
    	if (skill == PRAYER);
    	if (skill == ATTACK);	
    	if (skill == DEFENCE);	
    	if (skill == STRENGTH);	
    	if (skill == RANGE);	
    	if (skill == HITPOINTS);	
    	if (skill == MAGIC);		
    		exp *= 140; // Super Easy
    	if (skill == COOKING);	
    	if (skill == WOODCUTTING);	
    	if (skill == FLETCHING);		
    	if (skill == FISHING);		
    	if (skill == FIREMAKING);		
    	if (skill == CRAFTING);		
    	if (skill == SMITHING);		
    	if (skill == MINING);		
    	if (skill == HERBLORE);	
    	if (skill == AGILITY);
    	if (skill == THIEVING);
    	if (skill == SLAYER);
    	if (skill == FARMING);
    	if (skill == RUNECRAFTING);	
    	if (skill == HUNTER);
    	if (skill == CONSTRUCTION);
    	if (skill == SUMMONING);
    	if (skill == DUNGEONEERING);
    			exp *= 80;
    Well if you get no errors, why don't you try it first?
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Jul 2012
    Posts
    79
    Thanks given
    1
    Thanks received
    1
    Rep Power
    11
    Quote Originally Posted by Datbeastmayne View Post
    Well if you get no errors, why don't you try it first?
    Ok, I tried it and when your on a lower difficulty you still get different amounts of xp.
    Any idea?
    Reply With Quote  
     

  5. #5  
    Donator

    Join Date
    Jul 2012
    Posts
    110
    Thanks given
    8
    Thanks received
    3
    Rep Power
    11
    idk try this... (not sure if it will work)
    Spoiler for Code:
    if (player.getDifficulty() == 1) {
    if (skill == PRAYER ||
    (skill == ATTACK) ||
    (skill == DEFENCE) ||
    (skill == STRENGTH) ||
    (skill == RANGE) ||
    (skill == HITPOINTS) ||
    if (skill == MAGIC)) {
    exp *= 140; // Super Easy
    }
    if (skill == COOKING ||
    (skill == WOODCUTTING) ||
    (skill == FLETCHING) ||
    (skill == FISHING) ||
    (skill == FIREMAKING) ||
    (skill == CRAFTING) ||
    (skill == SMITHING) ||
    (skill == MINING) ||
    (skill == HERBLORE) ||
    (skill == AGILITY) ||
    (skill == THIEVING) ||
    (skill == SLAYER) ||
    (skill == FARMING) ||
    (skill == RUNECRAFTING) ||
    (skill == HUNTER) ||
    (skill == CONSTRUCTION) ||
    (skill == SUMMONING) ||
    (skill == DUNGEONEERING)) {
    return true;
    }

    if it doesn't work tell me and I'll actually try, it is just something a threw together (still stole your base though )
    Last edited by heckfire20; 08-03-2014 at 01:09 AM. Reason: stupid ass coding attempt >.< (mine)
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Jul 2012
    Posts
    79
    Thanks given
    1
    Thanks received
    1
    Rep Power
    11
    Quote Originally Posted by heckfire20 View Post
    idk try this... (not sure if it will work)
    Spoiler for Code:
    if (player.getDifficulty() == 1) {
    if (skill == PRAYER);
    if (skill == ATTACK);
    if (skill == DEFENCE);
    if (skill == STRENGTH);
    if (skill == RANGE);
    if (skill == HITPOINTS);
    if (skill == MAGIC);
    exp *= 140; // Super Easy
    if (skill == COOKING) ||
    (skill == WOODCUTTING) ||
    (skill == FLETCHING) ||
    (skill == FISHING) ||
    (skill == FIREMAKING) ||
    (skill == CRAFTING) ||
    (skill == SMITHING) ||
    (skill == MINING) ||
    (skill == HERBLORE) ||
    (skill == AGILITY) ||
    (skill == THIEVING) ||
    (skill == SLAYER) ||
    (skill == FARMING) ||
    (skill == RUNECRAFTING) ||
    (skill == HUNTER) ||
    (skill == CONSTRUCTION) ||
    (skill == SUMMONING) ||
    (skill == DUNGEONEERING) ||
    return true;

    if it doesn't work tell me and I'll actually try, it is just something a threw together (still stole your base though )
    Nope, a couple of errors in there saying that like || isnt a statement and stuff
    Reply With Quote  
     

  7. #7  
    Donator

    Join Date
    Jul 2012
    Posts
    110
    Thanks given
    8
    Thanks received
    3
    Rep Power
    11
    edited, did something stupid, try that
    Reply With Quote  
     

  8. #8  
    #FLAWLESSDUPES

    Monum3ntal's Avatar
    Join Date
    Oct 2011
    Posts
    704
    Thanks given
    35
    Thanks received
    83
    Rep Power
    92
    Code:
    switch(player.getDifficulty()) {
    case 1:
    break;
    case 2:
    break;
    }
    try switches
    Reply With Quote  
     

  9. #9  
    Registered Member

    Join Date
    Feb 2013
    Posts
    4,417
    Thanks given
    59
    Thanks received
    478
    Rep Power
    138
    Quote Originally Posted by heckfire20 View Post
    idk try this... (not sure if it will work)
    Spoiler for Code:
    if (player.getDifficulty() == 1) {
    (skill == PRAYER) ||
    (skill == ATTACK) ||
    (skill == DEFENCE) ||
    (skill == STRENGTH) ||
    (skill == RANGE) ||
    (skill == HITPOINTS) ||
    if (skill == MAGIC) {
    exp *= 140; // Super Easy
    }
    if (skill == COOKING) ||
    (skill == WOODCUTTING) ||
    (skill == FLETCHING) ||
    (skill == FISHING) ||
    (skill == FIREMAKING) ||
    (skill == CRAFTING) ||
    (skill == SMITHING) ||
    (skill == MINING) ||
    (skill == HERBLORE) ||
    (skill == AGILITY) ||
    (skill == THIEVING) ||
    (skill == SLAYER) ||
    (skill == FARMING) ||
    (skill == RUNECRAFTING) ||
    (skill == HUNTER) ||
    (skill == CONSTRUCTION) ||
    (skill == SUMMONING) ||
    (skill == DUNGEONEERING) {
    return true;
    }

    if it doesn't work tell me and I'll actually try, it is just something a threw together (still stole your base though )
    No lol
    Reply With Quote  
     

  10. #10  
    Donator

    Join Date
    Jul 2012
    Posts
    110
    Thanks given
    8
    Thanks received
    3
    Rep Power
    11
    edited it again, sorry , I'm failing today
    Reply With Quote  
     

Page 1 of 3 123 LastLast

Thread Information
Users Browsing this Thread

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


User Tag List

Similar Threads

  1. How to make Combat NPC's into Shops?
    By KitKatPattyWak in forum Help
    Replies: 7
    Last Post: 12-19-2013, 11:41 AM
  2. how to make a npc not give combat xp 718
    By oblivion742 in forum Help
    Replies: 2
    Last Post: 10-19-2013, 04:39 PM
  3. How to make combat lvl 138
    By Samsterz in forum Tutorials
    Replies: 24
    Last Post: 05-05-2009, 08:36 PM
  4. How to make combat lvl 200?
    By Ninja assassin in forum Help
    Replies: 3
    Last Post: 05-04-2009, 10:41 PM
  5. Replies: 0
    Last Post: 04-12-2009, 02:31 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •