Jump to content

blooper

Members
  • Posts

    75
  • Joined

  • Last visited

  • Feedback

    0%

Profile Information

  • Gender
    Male

Recent Profile Visitors

515 profile views
  • Mio

blooper's Achievements

Iron Poster

Iron Poster (3/10)

16

Reputation

  1. Now that getFacing returns null if an NPC is attacking client.getMyPlayer(), you have to use this fact in conjunction with the fact that getFacingId = -1 if the NPC is not attacking any player to find a monster that is attacking you. Here's my version: NPC getAttackingNPC() { List<NPC> npcs = client.getLocalNPCs(); int n = 0; for (n = 0; n < npcs.size(); n++) { if (npcs.get(n).getFacing() == null && npcs.get(n).getFacingId() != -1) { return npcs.get(n); } } return null; }
  2. blooper

    BETA v1.7.43

    Any script using NPC.getFacing() or Character.getFacing() to function will be broken, as any npc that is facing the player will not return so. When I am under attack from for example an Iron dragon, that Iron dragon's getFacing() returns null even though the getFacing() for another dragon attacking another player will return that player. This distinction can probably be used to find the NPC interacting with the player but might need some API updates.
  3. uhhh whose script is this? O_O Private
  4. Only 1 whip in still going strong at 60k strength xp/hour 200K HP xp is about 1000 kills.
  5. Are there any inbuilt methods for handling auto-retliate? I want to toggle it on and off at certain times but can't for the life of me find anything in the API.
×
×
  • Create New...