Jump to content

Gunman

Super Moderator
  • Posts

    3448
  • Joined

  • Last visited

  • Days Won

    17
  • Feedback

    100%

Everything posted by Gunman

  1. Need to include your discord name too
  2. Posted in the wrong section is why
  3. You need a normal membership too to have more than 1 client open at a time
  4. Ask the on the script's thread, or say which script at least and maybe someone can help
  5. I can't find you in the discord. Join or leave and rejoin
  6. You can sell member items in F2P world btw
  7. Use mirror as normal, you just launch the legacy java client through Jagex's launcher
  8. Gunman

    -

    @Alekwv Moved to requests
  9. I didn't get hit with this on any of my test accounts
  10. Need to post your discord UID too
  11. Uninstall Java 22. Or use a terminal to specify and open OSBot with
  12. Code for using invokes with this added to my repo https://github.com/MrGunman200/OSBot-Extended/tree/master/extra/src/api/invoking
  13. Sounds like a bad proxy maybe?
  14. CS2 is a one liner, functions the same just less code. And the only reason to use a custom sleep class would be to add other functionality like a reset condition.
  15. @pupu_pot API already has a empty slots method getInventory().getEmptySlots(); Use ConditionalSleep2 at least over ConditionalSleep if not a custom sleep class. Empty wall part doesn't actually work I'm pretty sure // Wait until the amethyst turns into "Empty wall" new ConditionalSleep(240000, 2000) { // 240,000 milliseconds (4 minutes) @Override public boolean condition() throws InterruptedException { return !amethyst.exists() || amethyst.getName().equals("Empty wall"); } }.sleep(); Furthermore I recommend not using any AI assistance if you're trying to truly learn coding. If you're just slapping scripts together go for it.
  16. I still can't find you, can you try leaving and rejoining?
  17. @driedApricots RandomSolvers will interrupt the script loop, not sure why that would kill the script though. Put the code in a try catch and see if that does anything, may be related to a exception being thrown
  18. Gunman

    invokes

    They do, they actually recently added back the method in their API publicly https://github.com/runelite/runelite/commit/92e85beb53a0605a82f9a6ce36e1c2769cd238b3
  19. Gunman

    invokes

    Sales pitch I suppose You generally use it like normal scripting code, not sure what examples you wanted. Here's an example of "infinite" prayer flicking I suppose @Override public void onGameTick() { super.onGameTick(); final PrayerButton prayer = PrayerButton.THICK_SKIN; final RS2Widget widget = getPrayerWidget(prayer); final InvokeHelper ih = new InvokeHelper(this); if (widget == null) { return; } if (getPrayer().isActivated(prayer)) { ih.invoke(widget, 0); ih.invoke(widget, 0); } else { ih.invoke(widget, 0); } } private RS2Widget getPrayerWidget(PrayerButton prayer) { RS2Widget widget = getWidgets().getAll().stream() .filter(w -> w.getSpriteIndex1() == prayer.getSpriteId()) .findFirst() .orElse(null); if (widget != null) { widget = getWidgets().get(widget.getRootId(), widget.getSecondLevelId()); } return widget; }
  20. Doesn't seem to matter, and if he's using my invoke helper with clicks then it sends a right click to 0, 0 with every action invoked
×
×
  • Create New...