Zero Posted May 30, 2015 Posted May 30, 2015 (edited) Disregard me asking 100 questions, this is my fist time working with the OSBot API...Soo, interacting with entities seems to be trying to move quicker then the client can respond. Is it possible to set a delay, mainly on the time between right clicking > and choosing an option. Edited May 30, 2015 by Zero
Precise Posted May 30, 2015 Posted May 30, 2015 Disregard me asking 100 questions, this is my fist time working with the OSBot API... Soo, interacting with entities seems to be trying to move quicker then the client can respond. Is it possible to set a delay, mainly on the time between right clicking > and choosing an option. make custom method.
Zero Posted May 30, 2015 Author Posted May 30, 2015 make custom method. I was hoping nobody would say this, *sigh* I guess I have no choice.
Precise Posted May 30, 2015 Posted May 30, 2015 (edited) I was hoping nobody would say this, *sigh* I guess I have no choice. well at least you'll learn more from making your on methods and you'll feel good after solving it yourself but i know someone made one on OSBot and posted it. search interact method in the forums and see if you can find it. Edited May 30, 2015 by Precise
Eagle Scripts Posted May 30, 2015 Posted May 30, 2015 You could also just go the easy way out as a starter --> add a sleep timer --> sleep(random(300,1200); between every interaction
Woody Posted May 30, 2015 Posted May 30, 2015 You could also just go the easy way out as a starter --> add a sleep timer --> sleep(random(300,1200); between every interaction Never do this. What if it is lagging? This will just fuck things up. Do like the other guys said, a custom method. 1
Alek Posted May 30, 2015 Posted May 30, 2015 Is it specifically right clicking and selecting an option, or is it more than that?
Czar Posted May 30, 2015 Posted May 30, 2015 (edited) For me, with .70, it is right clicking and selecting option e.g. if (getInventory().interact("Use", "Dusty key")) { //sleep } will rarely drop the dusty key, but it's very rare so it's not much of a big deal Edited May 30, 2015 by Czar
Zero Posted May 31, 2015 Author Posted May 31, 2015 Is it specifically right clicking and selecting an option, or is it more than that? Yes, as soon as it has right clicked it is trying to flick to an option instantly.