Seems to be a common thing with the revision he used, but you can just step 1 square diagonally and npcs won't attack back which you can just range them.
Originally created by @mrslayer01 on GitHub (Oct 10, 2019).
Original GitHub issue: https://github.com/2006-Scape/2006Scape/issues/47
Seems to be a common thing with the revision he used, but you can just step 1 square diagonally and npcs won't attack back which you can just range them.
Alright, seems like what I found will fix our problem. I'll implement it tonight when I get home.
<!-- gh-comment-id:545912166 -->
@Gptaqbc commented on GitHub (Oct 24, 2019):
Alright, seems like what I found will fix our problem. I'll implement it tonight when I get home.
In NPCHandler.java (line 1038):
if (goodDistance(npcs[i].getX(), npcs[i].getY(), playerX, playerY,
distanceRequired(i))) {
return;
}
This is what fucks it up. It's about the distanceRequired. I'll look closer at it when I have more time!
<!-- gh-comment-id:546701689 -->
@Gptaqbc commented on GitHub (Oct 27, 2019):
In NPCHandler.java (line 1038):
if (goodDistance(npcs[i].getX(), npcs[i].getY(), playerX, playerY,
distanceRequired(i))) {
return;
}
This is what fucks it up. It's about the distanceRequired. I'll look closer at it when I have more time!
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @mrslayer01 on GitHub (Oct 10, 2019).
Original GitHub issue: https://github.com/2006-Scape/2006Scape/issues/47
Seems to be a common thing with the revision he used, but you can just step 1 square diagonally and npcs won't attack back which you can just range them.
@mrextremez commented on GitHub (Oct 21, 2019):
Issue has to do with npc attack clipping
@Gptaqbc commented on GitHub (Oct 23, 2019):
Here's a potential solution: https://www.rune-server.ee/runescape-development/rs2-server/snippets/688419-npc-safespot-angle-fix.html
@Gptaqbc commented on GitHub (Oct 24, 2019):
Alright, seems like what I found will fix our problem. I'll implement it tonight when I get home.
@Gptaqbc commented on GitHub (Oct 27, 2019):
In NPCHandler.java (line 1038):
if (goodDistance(npcs[i].getX(), npcs[i].getY(), playerX, playerY,
distanceRequired(i))) {
return;
}
This is what fucks it up. It's about the distanceRequired. I'll look closer at it when I have more time!