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?
Printable View
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?
Because that's the way RS originally designed it..?
[Only registered and activated users can see links. Click Here To Register...]Quote:
Originally Posted by Owner Spikey [Only registered and activated users can see links. Click Here To Register...]
you're welcome.
You cannot be fucking serious right now? If you're serious pls pls I beg of u to just gg yourself.Quote:
Originally Posted by Owner Spikey [Only registered and activated users can see links. Click Here To Register...]
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
think its designed so you think twice before attacking a big monster, or if you missclick u wont die.
smthn laik tdat
Quote:
Originally Posted by ha ha ha [Only registered and activated users can see links. Click Here To Register...]
Your comment doesn't even relate to my comment tho.
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:Quote:
Originally Posted by Owner Spikey [Only registered and activated users can see links. Click Here To Register...]
And buildAtPlayerMenu: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] + " @[email protected]" + 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++;
}
}
}
Look @ similarities, this is for OSRS option based btw.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] + " @[email protected]" + 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++;
}
}
Is the menu apply for Ruse is it different I have no idea what they called it for RuseQuote:
Originally Posted by _Patrick_ [Only registered and activated users can see links. Click Here To Register...]
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 :).Quote:
Originally Posted by Owner Spikey [Only registered and activated users can see links. Click Here To Register...]
You know honestly I saw the issue at hand looked at my busy schedule limited time and gave up wasting time looking through the source geez haQuote:
Originally Posted by Huey [Only registered and activated users can see links. Click Here To Register...]
Client.java go to your method buildAtNPCMenuQuote:
Originally Posted by Owner Spikey [Only registered and activated users can see links. Click Here To Register...]
replace this
with thisCode:if (entityDef.combatLevel > myPlayer.combatLevel) {
c = '\u07D0';
}
Code:if (entityDef.combatLevel > myPlayer.combatLevel) {
//c = '\u07D0';
}
[Only registered and activated users can see links. Click Here To Register...] that any help prehaps? Works for ruse