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.

levvyy

Members
  • Joined

  • Last visited

  1. right, so if i find methods from parent classes i can use them on the subclass too? so the method "isfull" that is used on itemcontainer class, is inherited by inventory? so i can use inventory,isFull() which will return a bool? edit: thanks for helping me out. I am starting my computer sciences stody next week and wanted to brush up on java before i started. i thought scripting might be a nice way to get into it. you've taught me something and i thank you for it. I was able to create a simple Bone collector + burier script that detects when it picks up something odd and drops it. source
  2. I understand, thanks but case DROP: Inventory.dropAllExcept("bones"); break; gives me this error
  3. ah wait so the class is inventory, and the method im calling is dropAllExcept(526) so i should do : class.methodtocall() ??
  4. Hi, Im trying to get into scripting. The thing that confuses me is how to find out what everything is called like i know how to create an entity or an npc or grounditem now and interact with it, but every time i want to try out something new like for instance check if the inventory is full i have no idea how to go about and find out what code i should use. like. i read from the API so naturally i put: public int onLoop() throws InterruptedException { switch (getState()) { case COLLECT: break; case DROP: public boolean dropAllExcept(526); break; case WAIT: break; } return random(200, 300); but it gives me an error... tell me what im doing wrong.

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.