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.

lnsomnia

Members
  • Joined

  • Last visited

Everything posted by lnsomnia

  1. Oh dude! This is awesome, thanks! I really appreciate you taking the time to write that. Makes perfect sense too. Eclipse on the other hand is still yelling at me with some new errors so I'm gonna have to take a step further back and figure out what's wrong. Probably need to study some more Java too. Thank you!
  2. Thanks for the reply and help! The second if condition in your snippet is returning false for some reason dunno why I can't seem to interact with anything. I'm not even sure what to test at this point.
  3. Hello! I am very new to the osbot API and have limited experience in Java but am not at all new to coding in general. With that being said, I am having a hard time interacting with two items in my inventory. I am testing with buckets of water/clay and would simply like to interact with the two. My case statement currently looks like this: case MAKE_CLAY: log("Made it to case MAKE_CLAY"); sleep(random(250,1200)); if (getInventory().contains("Clay")) { log("Got the clay"); } if (getInventory().contains("Bucket of water")) { log("Got the water"); } getInventory().interact("Use", "Bucket of water"); sleep(random(110,780)); getInventory().interact("Use", "Clay"); sleep(random(6000,1000)); break; I feel like I am following the documentation and my logs to check for the clay and water are reaching the debugger so I'm not sure what I'm doing wrong. Any help or advice for a newbie like me is appreciated :)

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.