Team Cape Posted September 20, 2016 Share Posted September 20, 2016 (edited) The majority that I've seen on antiban is something along the lines of: public class Class extends Script { public int doScript(); public boolean antiBan() { //possibility one switch(random(0, 10)) { case 1: return tabs.open(Tab.INVENTORY); case 2: sleep(random(4123412, 13241789348483218242)); return randomNPC.hover(); case 3: case 4: return moveYourCamera(); case 5: return true; . . . } //possibility two (just a messier version of the 1st possibility) int random = random(0, 100); if(random < 20) { return doShit; } else if(random >= 20 && random <= 40) { return doAnotherShit; } else if(...) { return etc; } return false; } public int onLoop() { if(antiBan()) { return random(1523, 521983); } return doScript(); } } This is a very dumbed down version, granted, and I doubt that anyone would really break down the methods in the way that I did here (and the sleep times are pretty wtf too), but this seems very rudimentary and repetitive, and will only likely help an account get banned. Antiban is can also be placed inside of doScript(), but it still has the same effect. I've noticed this in multiple scripts, and I've started to realize that this kind of antiban actually aids in getting the player banned, so I've stopped adding it. There needs to be a way to randomize this more, or make it far less obvious. Has anyone found a better technique? TLDR: I'm looking for a way to make antiban more efficient in terms of both randomization and structure; Edited September 20, 2016 by Imateamcape Quote Link to comment Share on other sites More sharing options...
Aiban Posted September 20, 2016 Share Posted September 20, 2016 Plenty of people i have talked to about antiban say the best antiban is a flawless script Quote Link to comment Share on other sites More sharing options...
Rudie Posted September 20, 2016 Share Posted September 20, 2016 http://osbot.org/forum/topic/103332-scripting-class-lesson-1-web-walking-anti-ban/ Quote Link to comment Share on other sites More sharing options...
Team Cape Posted September 20, 2016 Author Share Posted September 20, 2016 Plenty of people i have talked to about antiban say the best antiban is a flawless script http://osbot.org/forum/topic/103332-scripting-class-lesson-1-web-walking-anti-ban/ the trick to good antiban is sleeping for at least 13241789348483218242 ms Quote Link to comment Share on other sites More sharing options...
Prolax Posted September 20, 2016 Share Posted September 20, 2016 Thanks for the useful share. Quote Link to comment Share on other sites More sharing options...
Eagle Scripts Posted September 20, 2016 Share Posted September 20, 2016 (edited) Those are Alek's words; better not let him see this thread Edited September 20, 2016 by Eagle Scripts 1 Quote Link to comment Share on other sites More sharing options...
Team Cape Posted September 20, 2016 Author Share Posted September 20, 2016 Those are Alek's words; better not let him see this thread These are my words: (and the sleep times are pretty wtf too), Alek has seen my work and knows I don't do that. I wrote this up in like 3 minutes as pseudocode to explain my thought process lol but 1412841284124124124ms is a pretty solid number for sleeps, given you factor the rough folding time approximated by the salad's cortex in page 42 of snape's dictionary 1 Quote Link to comment Share on other sites More sharing options...