yawhide Posted September 4, 2017 Share Posted September 4, 2017 (edited) Hello,Imagine I am making a script where I just have to repetitively click the same magic spell every 3 seconds 10 times in a row (before doing a different action like banking or walking or whatever).What is the best way to make the clicking human-like? I also want to make sure I am casting the spell every 3s to maximize exp/hr as well.Currently I just do this: if (getMagic().castSpell(spell)) { lastAction = "Cast spell"; log("Cast spell"); new ConditionalSleep(2000, 1000) { @Override public boolean condition() throws InterruptedException { return myPlayer().isAnimating(); } }.sleep(); } This approach seems so flawed as Jagex can easily determine (over a long period of time) that my clicking is always between 2s and 3s (if i am using the api correctly). And BOOM ban incoming.thanks in advance Edited September 4, 2017 by yawhide Quote Link to comment Share on other sites More sharing options...
Alek Posted September 4, 2017 Share Posted September 4, 2017 I'm sure one of the 9 year old experts at the Botting and Bans section can give you his/her professional opinion - moving thread. 3 Quote Link to comment Share on other sites More sharing options...
Juggles Posted September 4, 2017 Share Posted September 4, 2017 You want max xp but complain about it looking like a bot no human can get max XP over long periods of time. If you want it more random then sleep between larger intervals Quote Link to comment Share on other sites More sharing options...
yawhide Posted September 4, 2017 Author Share Posted September 4, 2017 (edited) 8 minutes ago, Alek said: I'm sure one of the 9 year old experts at the Botting and Bans section can give you his/her professional opinion - moving thread. for the new ConditionalSleep method, does the third param sleepDeviation - The normal distribution upper bound and deviation for the sleepTime. add a random number from the range [0, sleepDeviation) to whatever was given for the timeout? edit: woops it says right there "sleepTime". so to be clear, if I had ConditionalSleep(1000, 100, 2000) my condition would be checked between 100 and 2100ms for 1000ms? Edited September 4, 2017 by yawhide Quote Link to comment Share on other sites More sharing options...
Shudsy Posted September 4, 2017 Share Posted September 4, 2017 Aslong as you have a lower and upper limit for your sleeps, they will eventually create a pattern if used over a extended period of time. Quote Link to comment Share on other sites More sharing options...