Hi all,
I'm glad to announce that I have pushed BETA v1.7.12. In this release is contained:
Ability to access the entire BufferedImage from the game buffer
A class called conditional sleep that allows you to have a conditional sleep with a time out and an optional task to perform while waiting condition to be met
new ConditionalSleep(
new Runnable() {
@Override
public void run() {
client.moveMouse(new RectangleDestination(0, 0, 500, 500), false);
}
}, 2000) {
@Override
public boolean condition() {
return isWearingItemThatContains(slot, strings);
}
}.sleep();
I have added an equipment API with many methods for you to use
I have added a prayer API (piety and chivalry are not working because I have no account with a high enough level to get the config id's, so if someone could get me them it would be appreciated), credits for SXForce
A fix for the camera for when it sometimes wouldn't rotate the shortest way
Some additions to Surprise Exam to support more puzzles
Some other tiny adjustments/additions
Make sure you check out the new API methods!
Sincerely,
Maxi and the OSBot team