Range uses the same packet as Melee because its the same concept.
(Click attack npc)
So look around in the part that is range and look for what makes them attack back. then simply add to melee.
|
hello iv had this problem and cannot figure out how come my npcs will not attack back so now im asking for help... i have a vid because they will attack back if u use mage range or do a spec but not straight melee?
http://tinypic.com/player.php?v=2mqsz60&s=4
please help me i know some peopler gna come on here and be like laughing but half of them really are like in there minds because they dont know shit.... so they go in the corner and so please no flamming... just try to help me out please
il pay 5$ if u can fix this...
Range uses the same packet as Melee because its the same concept.
(Click attack npc)
So look around in the part that is range and look for what makes them attack back. then simply add to melee.
this would be the correct one right?case 72:
attacknpc = inStream.readUnsignedWordA();
int type = Server.NpcManager.npcs[attacknpc].npcType;
if (Server.NpcManager.npcs[attacknpc].attacknpc > 0) {
Cant = true;
Send("You can't attack a dueling npc!");
}
if (type == 2783 && playerLevel[18] < 90) {
Send("You must be 90 Slayer to slay Dark beasts.");
break;
}
if (type == 1615 && playerLevel[18] < 85) {
Send("You must be 85 Slayer to slay Abyssal demons.");
break;
}
if (type == 1613 && playerLevel[18] < 80) {
Send("You must be 80 Slayer to slay Nechryaels.");
break;
}
if (type == 1610 && playerLevel[18] < 70) {
Send("You must be 70 Slayer to slay Gargoyles.");
break;
}
if (type == 1616 && playerLevel[18] < 20) {
Send("You must be 20 Slayer to slay Balilisks.");
break;
}
if (type == 1637 && playerLevel[18] < 35) {
Send("You must be 35 Slayer to slay Jellys.");
break;
}
if (type == 1624 && playerLevel[18] < 60) {
Send("You must be 60 Slayer to slay Dust Devils.");
break;
}
if (type == 1619 && playerLevel[18] < 45) {
Send("You must be 45 Slayer to slay Bloodvelds.");
break;
}
if (attacknpc >= 0 && attacknpc < Server.NpcManager.maxNPCs && Server.NpcManager.npcs[attacknpc] != null) {
if (Server.NpcManager.npcs[attacknpc].followPlayer < 1 || Server.NpcManager.npcs[attacknpc].followPlayer == playerId) {
IsAttackingNPC = true;
if (Server.NpcManager.npcs[attacknpc].absX != absX && Server.NpcManager.npcs[attacknpc].absY != absY)
faceNPC(attacknpc);
}
} else {
ResetAttackNPC();
}
break;
ok found it but what is wrong?if (IsAttackingNPC && !IsDead && System.currentTimeMillis() - PkingDelay >= Fighting) {
if (Server.NpcManager.npcs[attacknpc] != null) {
if (!Server.NpcManager.npcs[attacknpc].IsDead) {
AttackNPC();
} else {
ResetAttackNPC();
}
} else {
ResetAttackNPC();
}
}
i really got no clue but to help -
this:
should beCode:Send("You must be 60 Slayer to slay Dust Devils."); break;
along with all the other ones.Code:Send("You must be 60 Slayer to slay Dust Devils."); return;
This for 317 or 508?Video doesn't load for me:/
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |