Thread: Why can I?

Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1 Why can I? 
    Donator
    Skater's Avatar
    Join Date
    Nov 2011
    Posts
    545
    Thanks given
    21
    Thanks received
    23
    Rep Power
    0
    Why can I attack lower level npc's in a matter of a mouse hover but for a higher level npc the only choice to attack is by right clicking option attack?
    Reply With Quote  
     

  2. #2  
    Respected Member


    Kris's Avatar
    Join Date
    Jun 2016
    Age
    26
    Posts
    3,638
    Thanks given
    820
    Thanks received
    2,642
    Rep Power
    5000
    Because that's the way RS originally designed it..?
    Attached image
    Reply With Quote  
     

  3. #3  
    Registered Member

    Join Date
    Oct 2011
    Posts
    2,084
    Thanks given
    0
    Thanks received
    1,043
    Rep Power
    3608
    Quote Originally Posted by Owner Spikey View Post
    Why can I attack lower level npc's in a matter of a mouse hover but for a higher level npc the only choice to attack is by right clicking option attack?
    Options | Old School RuneScape Wiki | FANDOM powered by Wikia

    you're welcome.
    Reply With Quote  
     

  4. #4  
    Officially Retired

    Huey's Avatar
    Join Date
    Jan 2008
    Age
    22
    Posts
    16,478
    Thanks given
    3,385
    Thanks received
    7,727
    Rep Power
    5000
    Quote Originally Posted by Owner Spikey View Post
    Why can I attack lower level npc's in a matter of a mouse hover but for a higher level npc the only choice to attack is by right clicking option attack?
    You cannot be fucking serious right now? If you're serious pls pls I beg of u to just gg yourself.

    Join Date: Nov 2011

    Wait u wot m8???????????????? U joined in 2011 and u asked that question??????????????? Pls pls pls pls infract this guy for trolling plssssssssssssssssssssssssssssssssssssssssssssssss ssssssssssssssss
    Attached image
    Listen children don't become this guy.
    Quote Originally Posted by Owner Spikey View Post
    Why can I attack lower level npc's in a matter of a mouse hover but for a higher level npc the only choice to attack is by right clicking option attack?

    Reply With Quote  
     

  5. Thankful users:


  6. #5  
    I am power incarnate

    Isak's Avatar
    Join Date
    Aug 2014
    Age
    25
    Posts
    429
    Thanks given
    241
    Thanks received
    177
    Rep Power
    655
    think its designed so you think twice before attacking a big monster, or if you missclick u wont die.
    smthn laik tdat
    Attached image
    Reply With Quote  
     

  7. #6  
    Officially Retired

    Huey's Avatar
    Join Date
    Jan 2008
    Age
    22
    Posts
    16,478
    Thanks given
    3,385
    Thanks received
    7,727
    Rep Power
    5000
    Quote Originally Posted by ha ha ha View Post
    relax freak just a game lol

    Your comment doesn't even relate to my comment tho.
    Attached image
    Listen children don't become this guy.
    Quote Originally Posted by Owner Spikey View Post
    Why can I attack lower level npc's in a matter of a mouse hover but for a higher level npc the only choice to attack is by right clicking option attack?

    Reply With Quote  
     

  8. #7  
    Donator
    Skater's Avatar
    Join Date
    Nov 2011
    Posts
    545
    Thanks given
    21
    Thanks received
    23
    Rep Power
    0
    None of you guys have understand the question I'm asking why is it like that in the CODE? What can I do to find it in the code to make it click every monster no matter what level.
    Reply With Quote  
     

  9. #8  
    Banned

    Join Date
    Oct 2012
    Posts
    4,710
    Thanks given
    1,679
    Thanks received
    1,105
    Rep Power
    0
    Quote Originally Posted by Owner Spikey View Post
    None of you guys have understand the question I'm asking why is it like that in the CODE? What can I do to find it in the code to make it click every monster no matter what level.
    buildAtNPCMenu:

    Code:
    if (configuration.getNpcAttackOption() != RightClickAttackOption.HIDDEN) {
    				if (npcDefinition.options != null) {
    					for (int i1 = 4; i1 >= 0; i1--)
    						if (npcDefinition.options[i1] != null && npcDefinition.options[i1].equalsIgnoreCase("attack")) {
    							int add = 0;
    							switch (configuration.getNpcAttackOption()) {
    
    							case DEPENDS_ON_COMBAT:
    								if (npcDefinition.combatLevel > localPlayer.getCombatLevel()) {
    									add = 2000;
    								}
    								break;
    
    							case LEFT_CLICK:
    								add = 0;
    								break;
    
    							case RIGHT_CLICK:
    								add = 2000;
    								break;
    
    							default:
    								break;
    
    							}
    							menuActionText[menuActionRow] = npcDefinition.options[i1] + " @yel@" + s;
    							if (i1 == 0)
    								menuActionTypes[menuActionRow] = 20 + add;
    							if (i1 == 1)
    								menuActionTypes[menuActionRow] = 412 + add;
    							if (i1 == 2)
    								menuActionTypes[menuActionRow] = 225 + add;
    							if (i1 == 3)
    								menuActionTypes[menuActionRow] = 965 + add;
    							if (i1 == 4)
    								menuActionTypes[menuActionRow] = 478 + add;
    							menuActionCmd1[menuActionRow] = i;
    							menuActionCmd2[menuActionRow] = k;
    							secondMenuAction[menuActionRow] = j;
    							menuActionRow++;
    						}
    
    				}
    			}
    And buildAtPlayerMenu:

    Code:
    for (int l = 4; l >= 0; l--)
    				if (playerOptions[l] != null) {
    					if (playerOptions[l].equalsIgnoreCase("attack")
    							&& configuration.getPlayerAttackOption() == RightClickAttackOption.HIDDEN) {
    						continue;
    					}
    					menuActionText[menuActionRow] = playerOptions[l] + " @whi@" + name;
    					int add = 0;
    					if (playerOptions[l].equalsIgnoreCase("attack")) {
    						switch (configuration.getPlayerAttackOption()) {
    
    						case DEPENDS_ON_COMBAT:
    							if (player.getCombatLevel() > localPlayer.getCombatLevel())
    								add = 2000;
    							if (localPlayer.team != 0 && player.team != 0)
    								if (localPlayer.team == player.team)
    									add = 2000;
    								else
    									add = 0;
    							break;
    						case LEFT_CLICK:
    							add = 0;
    							break;
    						case RIGHT_CLICK:
    							add = 2000;
    							break;
    						default:
    							break;
    
    						}
    					} else if (playerOptions[l].equalsIgnoreCase("fight")) {
    						add = 0;
    					} else if (playerOptionsHighPriority[l]) {
    						add = 2000;
    					}
    					if (l == 0)
    						menuActionTypes[menuActionRow] = 561 + add;
    					if (l == 1)
    						menuActionTypes[menuActionRow] = 779 + add;
    					if (l == 2)
    						menuActionTypes[menuActionRow] = 27 + add;
    					if (l == 3)
    						menuActionTypes[menuActionRow] = 577 + add;
    					if (l == 4)
    						menuActionTypes[menuActionRow] = 729 + add;
    					menuActionCmd1[menuActionRow] = j;
    					menuActionCmd2[menuActionRow] = i;
    					secondMenuAction[menuActionRow] = k;
    					menuActionRow++;
    				}
    		}
    Look @ similarities, this is for OSRS option based btw.
    Reply With Quote  
     

  10. Thankful user:


  11. #9  
    Donator
    Skater's Avatar
    Join Date
    Nov 2011
    Posts
    545
    Thanks given
    21
    Thanks received
    23
    Rep Power
    0
    Quote Originally Posted by _Patrick_ View Post
    buildAtNPCMenu:

    Code:
    if (configuration.getNpcAttackOption() != RightClickAttackOption.HIDDEN) {
    				if (npcDefinition.options != null) {
    					for (int i1 = 4; i1 >= 0; i1--)
    						if (npcDefinition.options[i1] != null && npcDefinition.options[i1].equalsIgnoreCase("attack")) {
    							int add = 0;
    							switch (configuration.getNpcAttackOption()) {
    
    							case DEPENDS_ON_COMBAT:
    								if (npcDefinition.combatLevel > localPlayer.getCombatLevel()) {
    									add = 2000;
    								}
    								break;
    
    							case LEFT_CLICK:
    								add = 0;
    								break;
    
    							case RIGHT_CLICK:
    								add = 2000;
    								break;
    
    							default:
    								break;
    
    							}
    							menuActionText[menuActionRow] = npcDefinition.options[i1] + " @yel@" + s;
    							if (i1 == 0)
    								menuActionTypes[menuActionRow] = 20 + add;
    							if (i1 == 1)
    								menuActionTypes[menuActionRow] = 412 + add;
    							if (i1 == 2)
    								menuActionTypes[menuActionRow] = 225 + add;
    							if (i1 == 3)
    								menuActionTypes[menuActionRow] = 965 + add;
    							if (i1 == 4)
    								menuActionTypes[menuActionRow] = 478 + add;
    							menuActionCmd1[menuActionRow] = i;
    							menuActionCmd2[menuActionRow] = k;
    							secondMenuAction[menuActionRow] = j;
    							menuActionRow++;
    						}
    
    				}
    			}
    And buildAtPlayerMenu:

    Code:
    for (int l = 4; l >= 0; l--)
    				if (playerOptions[l] != null) {
    					if (playerOptions[l].equalsIgnoreCase("attack")
    							&& configuration.getPlayerAttackOption() == RightClickAttackOption.HIDDEN) {
    						continue;
    					}
    					menuActionText[menuActionRow] = playerOptions[l] + " @whi@" + name;
    					int add = 0;
    					if (playerOptions[l].equalsIgnoreCase("attack")) {
    						switch (configuration.getPlayerAttackOption()) {
    
    						case DEPENDS_ON_COMBAT:
    							if (player.getCombatLevel() > localPlayer.getCombatLevel())
    								add = 2000;
    							if (localPlayer.team != 0 && player.team != 0)
    								if (localPlayer.team == player.team)
    									add = 2000;
    								else
    									add = 0;
    							break;
    						case LEFT_CLICK:
    							add = 0;
    							break;
    						case RIGHT_CLICK:
    							add = 2000;
    							break;
    						default:
    							break;
    
    						}
    					} else if (playerOptions[l].equalsIgnoreCase("fight")) {
    						add = 0;
    					} else if (playerOptionsHighPriority[l]) {
    						add = 2000;
    					}
    					if (l == 0)
    						menuActionTypes[menuActionRow] = 561 + add;
    					if (l == 1)
    						menuActionTypes[menuActionRow] = 779 + add;
    					if (l == 2)
    						menuActionTypes[menuActionRow] = 27 + add;
    					if (l == 3)
    						menuActionTypes[menuActionRow] = 577 + add;
    					if (l == 4)
    						menuActionTypes[menuActionRow] = 729 + add;
    					menuActionCmd1[menuActionRow] = j;
    					menuActionCmd2[menuActionRow] = i;
    					secondMenuAction[menuActionRow] = k;
    					menuActionRow++;
    				}
    		}
    Look @ similarities, this is for OSRS option based btw.
    Is the menu apply for Ruse is it different I have no idea what they called it for Ruse
    Reply With Quote  
     

  12. #10  
    Banned

    Join Date
    Oct 2012
    Posts
    4,710
    Thanks given
    1,679
    Thanks received
    1,105
    Rep Power
    0
    Quote Originally Posted by Owner Spikey View Post
    Is the menu apply for Ruse is it different I have no idea what they called it for Ruse
    IDK mate, it's 317 they're all the same just different naming. I'm not going to spoonfeed you, figure the rest out yourself. After all, this is a help thread, not a request. Goodluck .
    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

Similar Threads

  1. Replies: 8
    Last Post: 10-28-2009, 06:13 PM
  2. Replies: 0
    Last Post: 09-23-2009, 05:52 AM
  3. Why can't I host my server? :(
    By Noosy in forum Help
    Replies: 7
    Last Post: 05-09-2009, 06:13 PM
  4. [525]Why can't pickup d claw,pl8?
    By GaMePaPa in forum Help
    Replies: 4
    Last Post: 02-23-2009, 05:41 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •