- Joined
- Feb 27, 2015
- Messages
- 5
- Thread Author
- #1
Sometimes when using the Bank.open() api method it accidentally clicks the 'Collect' option on the bank booth in 07scape, and doesn't close the window.
By registering with us, you'll be able to discuss, share and private message with other members of our community.
Sign up now! private void checkCollection() {
InterfaceComponent collectionBox = Interfaces.getAt(402, 2, 11);
if (collectionBox != null) {
if (collectionBox.isValid() && collectionBox.isVisible()) {
collectionBox.interact("Close");
Execution.delayUntil(() -> !collectionBox.isVisible(), 800, 1200);
}
}
}
Hmm okay.Hmm @Cloud i think this should actually be handled via the interface closer or as a separate game event solver as this is going to be a problem for every script that banks.
We use essential cookies to make this site work, and optional cookies to enhance your experience.