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.

GE - selling item through Widgets

Featured Replies

Hi guys,

Writing a script,ive got all my noted loot in my inventory and i click on one of these items so its in the sell offer of the GE thats all fine, How would i get it to press the lower 5percent twice and then confirm..  just doing

if(getGrandExchange.isSellOfferOpen){

interact(lower5percentwidget);

interact(lower5percentwidget);

interact(confirmWidget)

} would need static sleeps inbetween, and for example if interact(confirmWidget) failed it would just go do the first two interact methods again until confirm widget worked. But atm i cant think of any other way to do it.

Ive searched for snippets but i cant find any, if there are any i would really appreciate the link. I know my question may seem confusing sorry about that

thanks,

@Luke Reading 

Just keep track of the percentage changed / number of decrease price clicks.

For example:
 

final int targetPercentageChanged = -10;

execute(new Event() {
    int percentageChanged = 0;

    @Override
    public int execute() throws InterruptedException {
        if (percentageChanged != targetPercentageChanged) {
            if (targetPercentageChanged < 0) {
                if (lower5PercentWidget.interact()) {
                    percentageChanged -= 5;
                } else if (higher5PercentWidget.interact()) {
                    percentageChanged += 5;
                }
            }
        } else if (getGrandExchange().confirm()) {
            setFinished();
        }
        return 600;
    }
});





 

Edited by Explv

  • Author
3 hours ago, Explv said:

@Luke Reading 

Just keep track of the percentage changed / number of decrease price clicks.

For example:
 


final int targetPercentageChanged = -10;

execute(new Event() {
    int percentageChanged = 0;

    @Override
    public int execute() throws InterruptedException {
        if (percentageChanged != targetPercentageChanged) {
            if (targetPercentageChanged < 0) {
                if (lower5PercentWidget.interact()) {
                    percentageChanged -= 5;
                } else if (higher5PercentWidget.interact()) {
                    percentageChanged += 5;
                }
            }
        } else if (getGrandExchange().confirm()) {
            setFinished();
        }
        return 600;
    }
});





 

Thanks for this, exactly what i needed

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.