Jump to content

progamerz

Scripter II
  • Posts

    3453
  • Joined

  • Last visited

  • Days Won

    3
  • Feedback

    100%

Everything posted by progamerz

  1. "smart people" don't do 6 hours straight, bans have many factors, i might be able to run a script for 12hrs straight and not get banned and others might get banned. You could've got a delayed ban.
  2. If you don't bot smart, thats what you can expect, and botting is against the game rules
  3. private void GoToMill2() throws InterruptedException { Position outsideMill = new Position(3166, 3300, 0); Position insideMill = new Position(3166, 3305, 0); if (!getMap().canReach(outsideMill)) { if (getDoorHandler().handleNextObstacle(outsideMill)) { ConditionalSleep2.sleep(5000, 500, () -> getMap().canReach(outsideMill)); } } else { WalkingEvent walk = new WalkingEvent(outsideMill); execute(walk); } // OR if (!getMap().canReach(outsideMill)) { RS2Object gate = getObjects().closest(o -> o.getName().equalsIgnoreCase("Gate") && o.hasAction("Open")); if (gate.interact("Open")) ConditionalSleep2.sleep(5000, 500, () -> getMap().canReach(outsideMill)); } else { WalkingEvent walk = new WalkingEvent(outsideMill); execute(walk); } } Basically the first method, it tries to use the DoorHandler API, which you pass in the position where you want to go to, and it will handle the obstacles, that will not let it reach the position https://osbot.org/api/org/osbot/rs07/api/DoorHandler.html The second method, is you handling the obstacle manually(without using the DoorHandler API) Both should work, but make sure to only keep one of the both methods.
  4. If you want you can post the code on something like pastebin and i can help, most probs its not from the conditional sleep
  5. @Sujamma It doesn't work because theoretically, it never changes the value of gate again, so it is stored as an old object which is closed, what you can do is use this new ConditionalSleep(5000, 600) { @Override public boolean condition() { return getObjects().closest(o -> o.getName().equals("Gate") && o.getPosition().equals(gate.getPosition()) && !o.hasAction("Open")) != null; } }.sleep(); The way this works, is that it keeps checking every 600ms if the condition is true, here we are trying to find new object which has the same position as the gate which we interacted but is opened
  6. Authed trial to all of you, enjoy
  7. The thing is that i currently don't have an acc that has burners unlocked or gilded altar
  8. At the time being no, but i'm thinking of adding support to it later
  9. RS2Object larder = getObjects().closest(o -> o.getName().equals("Object name here")); if (larder != null) if (larder.hasAction("Build"){ //add your building code here } else if (larder.hasAction("Remove"){ //add your remove larder code here }
  10. To use spoilers, you just surround whatever you want to be in the spoiler with [ spoiler ] and [ /spoiler ](spaces removed) Best of luck!
  11. Okay thanks, i will try to replicate and i will push a fix ASAP. Edit: I pushed v3.8, which should try to fix this, allow up to 24hrs for it to be live
  12. F2P is free to play, means without membership Idk tbh how much you can run to avoid bans, but if u let the account do something other than killing cows, like fishing/wc and having breaks you can survive in my opinion.
  13. You can try that, but i don't think you will survive the ban because its F2P
  14. What weapon are you using? can u take a screenshot of the combat styles tab? send me the logger, you can paste it on https://ghostbin.co/
×
×
  • Create New...