Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Hovering stats for AntiPattern

Joined
Jan 1, 2015
Messages
272
This is my current way i am doing this.

Code:
private int getRandomWidget() {
        final int[] widgetsToChose = { 6, 8 , 12, 14 };
        return widgetsToChose[Random.nextInt(0, widgetsToChose.length)];
    }

then just

Code:
OSRSTab.STATS.open();
                Execution.delay(400, 850);
                final InterfaceComponent wid = Interfaces.getAt(320, getRandomWidget());
                Mouse.move(wid.getInteractionPoint());
                Execution.delay(1000, 1300);
                if(!OSRSTab.INVENTORY.isOpen())
                    OSRSTab.INVENTORY.open();
                Execution.delay(1000, 1300);[
break;/code]
 
Top