Jump to content

Beck

Members
  • Posts

    34
  • Joined

  • Last visited

  • Feedback

    100%

Posts posted by Beck

  1. I've been semi-working on the pure below and it's made me realise how restricting it is. I'm super tempted to go ahead and turn it into a voider / zerker but I'm not sure if I can actually follow through with it. Already have fire cape, ma2, and all castle wars uniques so it seems a waste to do it. Love to hear some opinions on what I should do :)

    pvnPOwF.png

    On the other hand I might just buy a voider since i cba making a new acc

  2. 4 hours ago, BravoTaco said:

    To do this you can declare a Filter and than use that Filter to get the closest log.

    To declare a Filter to be used you would set it as a variable wherever you need it like so.

    Heres a link to the Filter api doc.

    
    private final Filter<RS2Object> logFilter = new Filter<RS2Object>() {
        @Override
        public boolean match(RS2Object rs2Object) {
            return rs2Object.getName().equalsIgnoreCase("logName")
                    && getMap().canReach(rs2Object)
                    && getObjects().get(rs2Object.getPosition().getX(), rs2Object.getPosition().getY())
                    .stream().noneMatch((object) -> object.getName().equalsIgnoreCase("Fire"));
        }
    };

    You would need to replace the logName string with the name of the log you are looking for.

    This Filter will check a few conditions first, if the RS2Object's name matches the supplied string, second it checks to see if you can reach the object lastly, it checks to see if there are no fires at that position.

    To use the filter in the onLoop() method you would call getObjects().closest(logFilter) and set that equal to a variable than null check it before acting up on it. Like so.

    
    RS2Object log = getObjects().closest(logFilter);
    
    if (log != null) {
        doLogic();
    }

    Awesome, thanks for the help. 

  3. I'm working on a script which lights the logs on top of Lumbridge Castle. Quite often the logs respawn before the previous fire may despawn. How would I go about "ignoring" (of sorts) the log if it is on the same tile as the fire?

    I'm assuming it could be done at the start of the onLoop, where instead of assigning the entity outside of the onLoop, I reassign it at the start of each iteration. Unsure though.

     Entity log = getGroundItems().closest("Logs");

    New to the OSBot API so sorry if this is an ignorant question :/

    All feedback would be appreciated.

  4. Suggestion: There is a cake stall, in Zeah, south of Wintertodt. Could be a nice implementation to support that location too. Otherwise an amazing script! Look forward to your future releases!

     

    EDIT: I also believe it's closer to the bank.

  5. Just a note to people reading the thread: A lot of sellers require people to use friends and family when selling via paypal to ensure they aren't able to chargeback after the purchase. Seeing as selling online goods (especially when its something like an osrs account) it's pretty easy to win a dispute just by saying: "I didn't make this transaction". 

     

    Super shitty PayPal have done that though, hope you didn't lose much 😛

  6. Hey, f2p botting is quite hard to do now with the large amount of restrictions put upon f2p accounts. With regards to proxies, if you are suiciding in f2p I would say 5 accounts to 1 proxy would be a good ratio. However I'd recommend having a smaller p2p farm. Good luck with your farms :)

    • Like 1
  7. 21 minutes ago, Space said:

    Biggest tip I and anyone else can offer you is don't bot on account you care about

    I appreciate the advice, I'm not touching any accounts I have put any time into and I don't want to risk losing.

  8. Never really botted before but osrs got boring, I love the idea of industrialising the game and finding ways to automate it. I appreciate all of the support this forum has to offer.

×
×
  • Create New...