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.

Grand Exchange

Featured Replies

I started experimenting with GE and

	public void onStart(){
		GrandExchange x = new GrandExchange();
		x.buyItems(BOX_1);
	}

It says 'BOX_1' cannot be resolved to a variable, but that variable cannot be created anyhow. At least I get a bunch of errors everytime I try.

 

If you have any GE related snippets I'd highly appreciate it :)

Well you don't create a GrandExchange instance yourself, it's already there.

 

import org.osbot.rs07.api.GrandExchange;



....


grandExchange.buyItems(GrandExchange.Box.BOX_1);
  • Author

Thanks, okay. buyItems() opens the buying interface but afterwards none of the methods work:

 

getItemPrice() always returns 0

confirm() does not click on confirm button

getAmountSpent() always returns 0

setItemPrice() opens up the interface but does not set the price

 

so it's all messed up right now

 

Even though I managed to mimic button clicks, I hardly can extract the prices myself. 

 

code example:

log(grandExchange.getItemPrice(GrandExchange.Box.BOX_1));
  • Author

I don't know if it works for you guys but with build .101, grandExchange is useless. I started rewriting the library by hand.

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

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.