Jump to content

Gunman

Super Moderator
  • Posts

    3554
  • Joined

  • Last visited

  • Days Won

    18
  • Feedback

    100%

Everything posted by Gunman

  1. Gunman

    Question

    Get your code up bby not your funny up Sleep.until(()-> !script.inventory.contains("Raw salmon") || script.widgets.isVisible(233) || script.getDialogues().isPendingContinuation(), ()-> myPlayer().isAnimating(), 3_000); Sleep.class import java.util.concurrent.TimeUnit; import java.util.function.BooleanSupplier; public class Sleep { private static final int DEFAULT_POLLING = 600; private static final int DEFAULT_CYCLE_LIMIT = 100; public static void sleep(int time) { try { TimeUnit.MILLISECONDS.sleep(time); } catch (InterruptedException e) { // I don't wanna deal with Interrupted Exception handling everywhere // but I need it to reset the execution when it happens throw new IndexOutOfBoundsException("Sleep Interrupted*"); } } public static boolean until(BooleanSupplier condition, int timeout) { return until(condition, ()-> false, timeout, DEFAULT_POLLING); } public static boolean until(BooleanSupplier condition, int timeout, int polling) { return until(condition, ()-> false, timeout, polling); } public static boolean until(BooleanSupplier condition, BooleanSupplier resetCondition, int timeout) { return until(condition, resetCondition, timeout, DEFAULT_POLLING, DEFAULT_CYCLE_LIMIT); } public static boolean until(BooleanSupplier condition, BooleanSupplier resetCondition, int timeout, int polling) { return until(condition, resetCondition, timeout, polling, DEFAULT_CYCLE_LIMIT); } public static boolean until(BooleanSupplier condition, BooleanSupplier resetCondition, int timeout, int polling, int cycleLimit) { try { int resetCounter = 0; long startTime = System.currentTimeMillis(); while ((System.currentTimeMillis() - startTime) < timeout && !condition.getAsBoolean()) { if (resetCounter >= cycleLimit) { break; } else if (resetCondition.getAsBoolean()) { startTime = System.currentTimeMillis(); resetCounter ++; } Sleep.sleep(polling); } return condition.getAsBoolean(); } catch (NullPointerException e) { e.printStackTrace(); } return false; } }
  2. Need to post your discord UID too I can't find you in the server, your info provided might be wrong.
  3. Need to post your discord name too
  4. I can't find you in the discord
  5. Need to post your discord UID too
  6. Try running jar fix https://johann.loefflmann.net/downloads/jarfix.exe
  7. Nice
  8. Please note that global OSBot T.O.S. always applies in addition to this one, and personal T.O.S. can be declared obsolete at a moderator's discretion. OSBot Rules Market Rules
  9. RuneLite is an injection client ???
  10. Yeah I reported it to Pat and he fixed it in .20 as far as I'm aware. Maybe try deleting cache as I just tried it with .21 on a freshish osbot folder and it worked fine
  11. Worked on .20 for me
  12. It calls that method everytime there's a new message in chat. Print out the calls and see if it would work in your case
  13. No, free only has 1 client 2 tabs, and I don't think it's currently possible to use more than 1 tab with Jagex accounts Currently the best support for Jagex accounts is through the manager, there is the patcher as well but not nice to run multiple with.
  14. Sub emails for personal use and using all 20 characters per account. For selling... err make an outlook I guess?
  15. Don't have any for sale atm
  16. Basically making 20 account per run
  17. Logins and Tuts got bought out Only have 200 Hand Made Tutorials US rn
  18. Need to post your discord UID
  19. @Prolax Key word "this" is to specify context. Can also be used to specify the current class context if passing as a parameter private int value = 0; public void setValue(int value) { this.value = value; }
  20. I assume you're using the patcher, which you should be using the custom cli arg option with the cli arg -bot email:pass:pin
  21. Gunman

    Stealth Quester

    That sounds like the walker, which Token can't do anything about besides write a whole walker. If you want to force any script to use invokes, to a degree that is, I made something to attempt to force the entire bot tab to use invokes. Just run the script and that tab should try to use invokes when it can. https://github.com/MrGunman200/OSBot-Extended/tree/master/playground/compiled_jar
  22. Need to post your discord UID
  23. Revision update today, still something broke waiting for Pat to wake up and take a look.
  24. Mhmm thanks odd if PayPal doesn't know. Can try going here https://osbot.org/forum/clients/purchases/ clicking on manage for the product, then see if there's a cancel button. That may or may not work
×
×
  • Create New...