I made this for fun and I really don't plan on using it. I'm gonna release it. Feel free to use it or don't. I don't care
Also the code isn't that clean.
What it does:
https://gyazo.com/442cf002eb683ed0343f6f62f79e2d15
Code (Note* the first item search may lag a tiny bit due to loading the text document from online. An easy fix is to load the text document locally):
There's no sleep time between opening the bank and depositing willow logs. Try adding a conditional sleep after interacting like this:
bankbooth.interact("Bank");
new ConditionalSleep(5000) {
@Override
public boolean condition() throws InterruptedException {
return getBank().isOpen();
}
}.sleep();
This means that the bot will sleep for 5000 milliseconds or until the bank is open. Whichever comes first.
You can evaluate the success by adding conditional sleeps.