Jump to content
View in the app

A better way to browse. Learn more.

OSBot :: 2007 OSRS Botting

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

More Complex Antiban

Featured Replies

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

G8fEDhr.png

 

:doge:

 

Plenty of people i have talked to about antiban say the best antiban is a flawless script

  • Author

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

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.