Welcome!

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

Sign up now!

Question How to access this RS3 interface?

Joined
Dec 20, 2016
Messages
37
Hello I am trying to access this interface: (red box)

Rift.png

Rift — Postimage.io

I have no idea about how to go about this, any suggestions?

I only want to check if it is not null, if I can detect that this interface is not null then I can use the keyboard to press "1" which will activate the control in the yellow box.


Solution:

I used Interfaces.newQuery() method to find the interface.

PHP:
@Override
public boolean validate() {
    InterfaceComponentQueryResults energy_button = Interfaces.newQuery().actions("Gain-energy").results();
     if (energy_button.size() >= 1) {
         getLogger().info("Detected the following interfaces: ");
         for (InterfaceComponent ic : energy_button) {
             getLogger().info(ic.toString());
             if (ic.isVisible()) return true;
         }
     }
     return false;
}
 
Last edited:
s̶c̶r̶i̶p̶t̶ bot*
Joined
Aug 23, 2015
Messages
2,232
Looks like Open Interface Explorer was removed from the bot store? @SlashnHax

You could use Visual Developer for most things though.
 
Top