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.

Aqla

Members
  • Joined

  • Last visited

Everything posted by Aqla

  1. Thank you, Khal! Thank you so much, Chris! This helped me a great deal and taught me a lot. One step closer to writing great scripts. Really appreciate you putting time into the comments and syntax clarification.
  2. Aqla replied to Token's topic in Others
    F5 to go to ironman mode if I'm not mistaken.
  3. Hello all. I'm writing a fighter bot that picks up loot from the tile where the last target died. I was wondering if someone could point me to a more efficient and clean way to write the for loops that check for relevant items on the tile and picks them up (see below). Looking forward to learn more. public void lootingLastKilled() { List<GroundItem> itemsOnTile = getGroundItems().get(targetTile.getX(), targetTile.getY()); List<String> itemsToLoot = Stream.of("Feather","Bones").collect(Collectors.toList()); // Check for items on target tile that match items the bot should loot for (int i = 0; i < itemsOnTile.size(); i++) { for (int j = 0; j < itemsToLoot.size(); j++) { if (itemsOnTile.get(i).getName().equals(itemsToLoot.get(j))) { // Pick up ground item that matches items to loot GroundItem itemToPickUp = itemsOnTile.get(i); itemToPickUp.interact("Take"); (new ConditionalSleep(3000) { public boolean condition() throws InterruptedException { return myPlayer().isAnimating(); } }).sleep(); } } } }
  4. Does getMouse().move() always move your cursor in a straight line to the specified coordinates or is the path randomized? Thanks in advance.
  5. Is it possible to click an item in the inventory, drag it slightly (but not enough to move it to another inventory space) and release? If so, could someone demonstrate? Thanks in advance.

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.