Jump to content

More Complex Antiban


Team Cape

Recommended Posts

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 by Imateamcape
Link to comment
Share on other sites

a9e6cd8679b616f63eb8020c043c970d.png

 

Those are Alek's words; better not let him see this thread boge.png

 

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

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...