Jump 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.

HeyImJamie

Java Lifetime Sponsor
  • Joined

  • Last visited

Everything posted by HeyImJamie

  1. Why would you not just make this into an AIO Combat?
  2. I'd suggest stopping the other script from walking away? The only checks I can see you doing from this end are making sure the players animation is -1 and that they're within 1 tile at the time of accepting the trade. If your player moves, just walk back?
  3. Just grab a String like Apaec's done and split at ","'s for example, then just iterate the values and add them to an ArrayList
  4. You're not null checking. Also, you can simplify your methods by just returning the boolean value of widget.getAmount > 0
  5. Just wondering if it never actually updates. What exactly are you using this for? Possibly a workaround.
  6. How often are you updating your variable?
  7. I got excited for @Explv for a second. Gz Project.
  8. Print the value of guiOptionChose and make sure it's being set correctly.
  9. Why level 16 and not 15? ?
  10. HeyImJamie replied to someguy567's topic in General Help
    I doubt it, I can't see there being a relation with closing the JVM and onExit being called. onExit is for when the script code exits 'naturally', i.e via use of the stop button.
  11. There's literally a fuck off warning and you're questioning why things aren't running fine?
  12. Na bro do what I did when I was learning and release all your private scripts in one jar
  13. I mean it's on the same screen but... ?
  14. Just write as you would normally.
  15. I might be wrong, but I don't think osbot supports external libraries.
  16. Are you reassigning the RSObject?
  17. Just check you're not in combat while trying to hop
  18. HeyImJamie replied to Vurqol's topic in Snippets
    It'd be slightly useful if any part of it was correct. As mentioned above, your walking call will be made no matter the outcome of your if statement, and your if statement as it stands currently checks if you're in the bank and your inventory contains rune essence OR your inventory contains pure essence, with no bank check. The correct code would be: if (Banks.FALADOR_EAST.contains(myPlayer()) && (getInventory().contains("Rune essence") || getInventory().contains("Pure essence"))) { // walk } although, you could just simplify it to: if (Banks.FALADOR_EAST.contains(myPlayer()) && getInventory().contains("Rune essence", "Pure essence")) { // walk }
  19. JDBC / External libraries are blocked by OSBot.
  20. Are you planning on showing us some code or?
  21. I wouldn't do something like this via a text file. If you were going to use .txt, I'd probably just output the username and then have the mule script remain logged in and only accept trades from usernames found within the .txt file. If you wanted something like you've mentioned, Sockets are likely the best way. They're fairly simple to use, and you can send a request from your slave to your mule, i.e -> NAME/LOCATION. The mule will then receive the request and you can handle that accordingly, by either returning a confirmed message or doing nothing at all. Here's some information: https://www.tutorialspoint.com/java/java_networking.htm
  22. Sockets.
  23. You'll probably need to do something like Java -> Php -> Sql as Osbot's security features block a fair amount.
  24. Why would you need to set w to 0 in your onStart when you can just initialise it as 0?

Account

Navigation

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.