Jump to content

Explv

Scripter II
  • Posts

    2314
  • Joined

  • Last visited

  • Days Won

    6
  • Feedback

    100%

Everything posted by Explv

  1. Use a ConditionalSleep, it's exactly what they're for. The following snippet means "Sleep for 3 seconds, or until condition() returns true, where condition() is checked every 600ms" new ConditionalSleep(3000, 600) { @Override public boolean condition() { RS2Widget widget = getWidgets().getWidgetContainingText( 558, "Sorry, this display name is not available", "Great! This display is available" ); return widget != null && widget.isVisible(); } }.sleep(); I already have a solution for the display name setter, if you would like to take a look. It just types some random String into the box, and then select one of the suggestions https://github.com/Explv/Tutorial-Island/blob/master/src/sections/RuneScapeGuideSection.java#L82
  2. I have some poorly written code that does this: https://github.com/Explv/osbot_manager/blob/master/osbot_manager/src/bot_parameters/configuration/Configuration.java#L347 Basically you will need to start the client, find it's PID, then when you want to close the client call taskkill with that PID. Java 9 has a nice process API that allows you to do this more easily, but unfortunately we're stuck with 8 for now
  3. Pushed an update that I think should fix it, it will be available when the SDN is next updated. Alternatively you can download it now from GitHub: https://github.com/Explv/Explvs-AIO/releases Thanks for the bug report.
  4. Could you give me more details? What happened when it got stuck, was there no fire, was it supposed to light a fire?
  5. If GSON uses reflection it probably won't work
  6. New task added thanks to @Master Of Hash NOTE THIS DOES NOT CURRENTLY WORK WITH CLI Loop task: Repeat selected previous tasks any number of times This will be available when the SDN is next updated, or alternatively you can download the latest version from GitHub: https://github.com/Explv/Explvs-AIO/releases/latest
  7. New version released: https://github.com/Explv/Explvs-AIO/releases/latest New "Loop task" has been added, all credits to @Master Of Hash NOTE THIS DOES NOT CURRENTLY WORK WITH CLI Loop task: Repeat selected previous tasks any number of times
  8. New version released: https://github.com/Explv/Explvs-AIO/releases/latest Added a version checker that will notify the user when a new version is available
  9. I wanted the script to be premium, was denied, so considering this script is going to be free probably forever, I figured I might as well open source it so that: a) People can get updates faster b) Other people can contribute to the script or make use of it in their own projects
  10. Fixed several issues, see release history for details https://github.com/Explv/Explvs-AIO/releases Latest version: https://github.com/Explv/Explvs-AIO/releases/latest
  11. Pushed a fix, it will be available when the SDN is next updated, or alternatively you can download the latest version from GitHub: https://github.com/Explv/Explvs-AIO/releases/latest
  12. Pushed a fix, it will be available when the SDN is next updated, or alternatively you can download the latest version from GitHub: https://github.com/Explv/Explvs-AIO/releases/latest
  13. Pushed a fix for small net fishing, it will be available when the SDN is next updated. Alternatively you can download the latest version now from GitHub, where the update is already available: https://github.com/Explv/Explvs-AIO/releases
  14. Pushed a fix for gem cutting, will be available when the SDN is next updated. Alternatively you can download it now from GitHub where the update is already available: https://github.com/Explv/Explvs-AIO/releases/
  15. Pushed fix for tutorial island, will be available when the SDN is next updated. Alternatively you can download the script from GitHub, where the update is already available: https://github.com/Explv/Explvs-AIO/releases/
  16. Updated with several fixes, new version is 5.7
  17. Script is now open source: https://github.com/Explv/Explvs-AIO
  18. Sounds like a nice script, good luck
  19. Some code is a bit janky, but y'all might find it useful. Source: https://github.com/Explv/Explvs-AIO GitHub download: https://github.com/Explv/Explvs-AIO/releases/latest Script thread: https://osbot.org/forum/topic/96006-explvs-aio-13-skill-aio-in-1-script/
  20. Explv

    Explv's Walker

    Uses OSBot web walking
  21. Currently you only mine a new rock if your player isn't animating, so of course it will wait for the animation to complete. You should try doing something like this instead: private RS2Object rock = null; @Override public int onLoop() throws InterruptedException { // If we haven't looked for a rock yet, or the player isn't animating, or the current rock no longer has Clay if (rock == null || !myPlayer().isAnimating() || !Rock.CLAY.hasOre(rock)) { // Find a new rock rock = getObjects().closest(object -> Rock.CLAY.hasOre(object)); // If a rock exists, and we successfully interact with it if (rock != null && rock.interact("Mine")) { new ConditionalSleep(3000, 500) { // Sleep for 3 seconds or until... @Override public boolean condition() throws InterruptedException { // The player is animating, or someone else mined the rock return myPlayer().isAnimating() || !Rock.CLAY.hasOre(rock); } }.sleep(); } } }
×
×
  • Create New...