Jump to content

eleax

Members
  • Posts

    119
  • Joined

  • Last visited

  • Feedback

    100%

Posts posted by eleax

  1.  

    Here's a Java 8 way to do it:

    Predicate<NPC> predicate = o -> (o != null && o.exists() && o.getName().equals("Rat") && getMap().canReach(o));
    List<NPC> potential = getNpcs().getAll().stream().filter(predicate).collect(Collectors.toList());
    NPC target = potential.size() > 0 ? potential.get(random.nextInt(potential.size())) : null;
    

     

    my scripting knowledge is not enough to understand how that works lol.

     

    im really just familiar with the simple commands like npc.closest and like npc.interact

  2. What would the code be for randomizing attack targets?

    To even create two attack targets would I first have to make a variable as the closest npc, and then make another with the condition variableone !=null?

  3. jk im getting searching for osrs client to attach to


    i fixed my problem. i went to processes and closed out all of the java processes and osbot processes and restarted and it worked. 

  4. first i got "searching for osrs client to attach to" so i used internet explorer which fixed that

     

    but now im stuck at error loading hooks. suggestions?

     

    EDIT: using 32 bit chrome

  5. Barrows I'd say. Initiate doesn't do anything against the timed drain.

    I do 5 chests with 5 ppots(4) + 17 monkfish ;o

    Combat level 102

    I think i need to raise my prayer then. Whats your pray level? Im 90 combat with 70+ combat stats with 43 pray :o

  6. Lets say I have an account that was created on a non-flagged ip, and one day I was at a friends house and logged in on the flagged ip.

    If I return home to my non flagged ip will my account still be flagged or will it only be flagged when using the compromised IP address

×
×
  • Create New...