Skip to content
View in the app

A better way to browse. Learn more.

OSBot :: 2007 OSRS Botting

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Explv

Scripter II
  • Joined

  • Last visited

Everything posted by Explv

  1. Explv replied to politje's topic in Spam/Off Topic
    W̴̧̧͚̘̩̳̜̬͈̽̇̓͋̓͝͠h̴̙̠̫̊̈́̈́̃̓̕̕å̵̹̬͈͈̆̽͑̄̄̇̀̑̇́̏̇̚̚t̸̛̙̠̪͑͋̊̽͛̈́͋͑͋̽ͅ'̴̧̡͉̣̘̱̥̬͎͉̱̗̽s̴̢͖̞̗̥̽ͅ ̴̝͂͌̎̿̿́͊̉̍͘͘̕͝w̷̢̥̹̞͈̬̗̥͈̩̟̮͈̔͐̽̊̕r̶̢̧̛̜̯͖͖̪͍̩͍̱̱̝͚͑̑̎͐͌̈́ö̶̮̝̱̜̥͐ͅn̵͎̯̲̣̹̣̄͊g̸̨̪̯͉̦̘̯̪̐͌̓̂͌́͆̂̑̂̚͠?̷̡͕̱̩̪̫̟̱̮̠̱̤̜̺̾̃̉̌̐̂
  2. Explv replied to RDM's topic in Spam/Off Topic
    No
  3. ohHeyAString.replace("Cheese", "Eggs"); Will not change the contents of the existing ohHeyAString, it will return a new one instead, as Strings in Java are immutable. It should be: ohHeyAString = ohHeyAString.replace("Cheese", "Eggs");
  4. I highly doubt it is as simple as that. Java isn't broken, it's your logic/code. If you aren't going to show what you have written, this thread seems pretty pointless
  5. If you want help with your issue maybe you should show your code.
  6. Will take a look
  7. sleep x Where x is in seconds by default
  8. I believe getWidgetContainingText ignores widgets in the chatbox (with root 162). You should use your own filter instead
  9. Explv replied to obasan's topic in Scripting Help
    Perhaps you should learn what public and static mean?
  10. Best practice is to place a method below the method that is calling it. So that you can follow the code more easily from top to bottom.
  11. Explv replied to Saiyan's topic in Farewells
    God speed
  12. Explv replied to zorxon's topic in Archive
    @Override is just an annotation. It improves readability and helps compiler checks, but is not essential.
  13. Explv replied to Rehanafz47's topic in General Help
    Make sure you have Java installed. Then download the .jar file And open the .jar file with Java I can't explain it any simpler than that.
  14. Explv replied to Rehanafz47's topic in General Help
    First you need Java 8. You can download and install it from here: http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html Then, download the OSBot .jar from http://osbot.org/mvc/get Open the OSBot .jar file with Java, do not extract it.
  15. It will only run the next script if the current one stops. It does this by detecting the stop message in the log
  16. I have implemented this functionality (running one script after another) in my OSBot manager. The link is in my signature
  17. There are tonnes of algorithms you can use... Just do some research on Google.
  18. That will replace them all
  19. Try: name = name.replace(' ', '\u00A0');
  20. Just to add though, that method I wrote uses the random method to choose a point to move the mouse to. That isn't very human like, although nor is moving the mouse instantly.
  21. Doesn't make sense to put it in the if statement though. It should be before you retrieve the closest chicken. Why look for a chicken if you aren't going to attack it?
  22. So your snippet is just the API method: getMap().canReach() ?... I think most people are already aware of the existence of that method Also you probably want to put the null check before the call to canReach()
  23. Well yes, obviously you will need to check your player isn't already attacking a chicken. I just didn't think it was necessary to write out the entire script
  24. Are you just trying to download the .jar file? If so, the latest file can be found here: https://github.com/Explv/osbot_manager/releases/download/7.4/explv_osbot_manager_7.4.jar
  25. What if the closest chicken is not attackable? Your script will just sit there and do nothing. It should be something more like: NPC chicken = getNpcs().closest(npc -> npc.getName().equals("Chicken") && npc.isAttackable()); if (chicken != null && chicken.interact("Attack")) { new ConditionalSleep(5000) { @Override public boolean condition() { return !chicken.isAttackable() || myPlayer().isInteracting(chicken); } }.sleep(); } If that doesn't work it is something else in your script that is broken.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.