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.

LOOT all items beneath u

Featured Replies

Im looking for a way to pick up all items that appear beneath u literally ALL in the spot u are standing on, I've found this snippet but now instead of item 1 2 etc it needs to be all and only items on myposition

GroundItem gI = getGroundItems().closest("item1", "item2");
if (gI != null) gI.interact("Take");

Edited by legacyZZ

List<GroundItem> groundItems = getGroundItems().get(myPlayer().getX(), myPlayer().getY());
  
groundItems.forEach(groundItem -> {
	if(groundItem != null){
  		groundItem.interact("take"); // not sure if the interact is 'take'
  	}
});

// This will spam and you will have to put a type of sleep that you prefer

This is just off my head but this is about it. Maybe a syntax error somewhere but you should be able to fix it.

  • Author

Thank you @dreameo this worked, do u know by any chance everytime closest door is closed automatically open it and repeat procces , without moving

 

Those 2 things are only thing i cant seem to figure out in my whole script

Edited by legacyZZ

1 hour ago, legacyZZ said:

Thank you @dreameo this worked, do u know by any chance everytime closest door is closed automatically open it and repeat procces , without moving

 

Those 2 things are only thing i cant seem to figure out in my whole script

RS2Object door = getObjects().closest(o -> o.getName().equals("Door") && o.hasAction("Open"));

door.interact("Open");

or something like that xD

  • Author
16 hours ago, FuryShark said:

RS2Object door = getObjects().closest(o -> o.getName().equals("Door") && o.hasAction("Open"));

door.interact("Open");

or something like that xD

Thank you for the help, ive managed to do it :)

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

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.