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.

Botre

Members
  • Joined

  • Last visited

Everything posted by Botre

  1. Botre replied to Joseph's topic in Scripting Help
    package _test; import java.util.Arrays; import org.osbot.rs07.api.model.Item; import org.osbot.rs07.api.util.ItemContainer; public class ContainerListener implements Runnable { private final ItemContainer container; private Item[] cache; private boolean changed; public ContainerListener(ItemContainer container) { this.container = container; } public void setCache() { cache = container.getItems(); changed = false; } @Override public void run() { changed = Arrays.equals(cache, container.getItems()); try { Thread.sleep(1200); } catch (InterruptedException e) { e.printStackTrace(); } } public boolean getChanged() { return changed; } } ContainerListener inventoryListener = new ContainerListener(getInventory()); This most likely won't work as it is, but might inspire you or something ^^
  2. Botre replied to Botre's topic in Snippets
    Both notations are accepted by the ISO 80000-2
  3. Botre replied to Botre's topic in Snippets
    I see what you mean, I could but I prefer the boolean specification because it mimics the mathematical notation for intervals. [ 1, 40 [ =
  4. public class Interval { private final long firstEntry; private final long lastEntry; private final boolean includeFirstEntry; private final boolean includeLastEntry; public Interval(final boolean includeFirstEntry, final long firstEntry, final long lastEntry, final boolean includeLastEntry) { this.firstEntry = firstEntry; this.lastEntry = lastEntry; this.includeFirstEntry = includeFirstEntry; this.includeLastEntry = includeLastEntry; } public boolean contains(long n) { return (n == firstEntry && includeFirstEntry) || (n == lastEntry && includeLastEntry) || (n > firstEntry && n < lastEntry); } }
  5. Botre replied to Joseph's topic in Scripting Help
    If you are going to compare inventories for equality, couldn't you just use these lines (at appropriate places of course,not stacked like this )? Item[] compareThis = getInventory().getItems(); Item[] withThis = getInventory().getItems(); boolean equaliThis = compareThis != null && withThis != null && Arrays.equals(compareThis , withThis);
  6. http://osbot.org/forum/topic/59949-a-poem-for-the-homeless-users-begging-for-vet/
  7. Botre replied to Joseph's topic in Scripting Help
    Just curious, what exactly would it be listening for ? :|
  8. If you are asking if you can release a script for free on the SDN if there's already a paid alternative then the answer is yes ^^
  9. Could you reformulate that phrase? It's very hard to understand
  10. Depends on the amount of NPCs it has to iterate through.
  11. The missing o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
  12. O Val I've seen all your curves Where it gets narrow Where it widens out O Val
  13. A nus My nus looks like a plus in a zero A sign-holding cipher Slowly getting wider Taking a dump Smiling at your post Grateful for the bump
  14. Plus rhymes with minus But you are still no hero For that expression to be sound You need a rhyme for zero + - 0 Plus Minus Zero That's Robert De Niro
  15. Crime is pest Plus and zero don't rhyme To not rhyme is crime Annoying at best
  16. No rhyme, no hero Plus doesn't rhyme with zero G T F O.
  17. Chum rhymes with cum And so does your mum Who thought I was cool Enough to be blue Da ba dee da ba drool Peace out little bee
  18. Wow hijack my thread Once more and you'll die Yes that was a threat I hope you shall cry.
  19. Sentende Pls The ende Pls
  20. The urine's from Alek That's how you got blue The piss of a black man Is how you passed through But it's fine, sorry about the tit.
  21. Yes blue for me You smell like pee And have one boob And suck at rhyming Whatever noob

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.