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.

HeyImJamie

Java Lifetime Sponsor
  • Joined

  • Last visited

Everything posted by HeyImJamie

  1. I'm not angry just disappointed
  2. Probably not the best fix but setting a plane might fix the first issue. For the second, try looking at the null. It usually shows you how to fix it I'd assume you're not null checking the obstacle
  3. Rs has automated logouts every 6 hours, or after 5 minutes (I think) of no action.
  4. int eatAt would be global, it'd then be set again after eating.
  5. Does @Satire's not work anymore? His was fairly cheap and pretty decent when I used to use it
  6. Then call me big dick Jamie
  7. Having a name like scriptersteve and not having a clue on how to script
  8. I personally see no use for this class other than price grabbing and possibly storing, but then you might as well just store prices in a map. I'm pretty sure most of the code here is someone's else's anyway, but nice release anywho.
  9. All these dolla bills and your handstand form is still wank
  10. He's only trying to help, calm yourself
  11. HeyImJamie replied to Fratem's topic in Spam/Off Topic
    I keep thinking you're Explv and it upsets me
  12. Ah yeah, It has a boolean method whether to stay logged in or not
  13. Stop doesn't logout, Just stops the script. Creating your own logout method wouldn't exactly be difficult though. if current tab != logout tab { // open logout tab } else { RS2Widget log = widget contains text "logout" if (log != null){ if (log.interact()){ // sleep until logged out } } }
  14. Why would you not just use the interact method with a String, such as "Use"?
  15. I understood you but an arraylist only allows you to check what your bank contains, you won't be able to get how many. For price you could probably have another map that stores prices and if it doesn't contain the key (being item name/id), use a price grabber and add it to the map
  16. Having a method to handle bank items is much more useful than just re-arranging your task setup as this way your method can be used for anything. IMO anyway I'd still recommend putting it into a hashmap instead of an arraylist though as you can grab the name/amount this way. Let me know if you want any help with it
  17. Pretty much yes, although with larger scripts simply putting it at the top of onLoop can cause issues. Break the webwalk event - handle whatever - continue on
  18. if (s.getObjects().closest("Wilderness Ditch") != null) { status = "Entering Wilderness."; if (s.getWidgets().getWidgetContainingText("Enter Wilderness") != null && s.getWidgets().getWidgetContainingText("Enter Wilderness").isVisible()) { s.getWidgets().getWidgetContainingText("Enter Wilderness").interact(); Sleep.sleepUntil(() -> WAIT_AREA.contains(s.myPlayer()), 5000); } else { RS2Object WildyDitch = s.getObjects().closest("Wilderness Ditch"); status = "Clicking Ditch."; if (WildyDitch != null && WildyDitch.isVisible()) { WildyDitch.interact("Cross"); Sleep.sleepUntil(() -> s.getWidgets().getWidgetContainingText("Enter Wilderness").isVisible(), 5000); } } This is what I did in an old script of mine. I just broke the webwalkevent when the ditch was on screen, called this handleDitch method and then re-made a webwalkevent. I'd recommend checking the interact methods prior to sleeping though, I was obviously shitter than I am now when writing this script lmao.
  19. I personally have a thread that checks for danger (players within x combat wearing x items etc) while running other tasks and then if a danger is found, activate a handlePker task that prioritises above all others to escape.
  20. Ah fair. I can't imagine writing anything without the break feature considering I store everything in 'relative' sections
  21. Idk why you'd use a task system or where you even got a task system that doesn't break after processing a task
  22. My fault, didn't fully read.
  23. I'd personally use a HashMap or something similar rather than an arraylist so you can store the string/item and the amount rather than just one or the other. I'd put an initialisation check in regards to size and save it if it's not been saved, eg if size is 0 - load the cache, else set the cache everytime you open bank or w/e

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.