Saiyan Posted April 18, 2016 Posted April 18, 2016 Easiest way imo is just to do a long sleep, and check if you still have gold bars / have leveled up: new ConditionalSleep(100_000){ @Override public boolean condition() throws InterruptedException { return !getInventory().contains("Gold bar") || getDialouges().isPendingContinuation(); } }.sleep(); leeched
justanotherkid Posted April 18, 2016 Author Posted April 18, 2016 (edited) Easiest way imo is just to do a long sleep, and check if you still have gold bars / have leveled up: if(getKeyboard().typeString("27")){ new ConditionalSleep(100_000){ @Override public boolean condition() throws InterruptedException { return !getInventory().contains("Gold bar") || getDialouges().isPendingContinuation(); } }.sleep(); } ye i'm using basically the same thing Edited April 18, 2016 by justanotherkid
The Hero of Time Posted April 18, 2016 Posted April 18, 2016 (edited) Easiest way imo is just to do a long sleep, and check if you still have gold bars / have leveled up: if(getKeyboard().typeString("27")){ new ConditionalSleep(100_000){ @Override public boolean condition() throws InterruptedException { return !getInventory().contains("Gold bar") || getDialouges().isPendingContinuation(); } }.sleep(); } what does 100_000 mean? edit: nvm, readability Edited April 18, 2016 by The Hero of Time
Explv Posted April 18, 2016 Posted April 18, 2016 what does 100_000 mean? edit: nvm, readability C_O_R_R_E_C_T