Skip 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.

AntiBan - Zappa & 5uck

Featured Replies

Here is my AntiBan, which was improved upon by 5uck.

private void AntiBan() throws InterruptedException {
                switch (random(1, 768)) {
                case 1:
                        this.client.rotateCameraPitch(50 + random(40));
                case 2:
                        this.client.rotateCameraToAngle(200 + random(150));
                case 3:
                        this.client.rotateCameraToAngle(200 + random(150));
                        this.client.rotateCameraPitch(50 + random(40));
                case 4:
                        openTab(Tab.SKILLS);
                        sleep(800 + random(500));
                        if (random(0, 2) == 1) {
                                if (random(0, 12) != 1) {
                                        client.moveMouse(new RectangleDestination(550, 210, 175,
                                                        210), false);
                                        sleep(1500 + random(700));
                                } else {
                                        client.moveMouse(
                                                        new RectangleDestination(550, 425, 120, 25), false);
                                        sleep(1800 + random(700));
                                }
                        }
                case 5:
                        for (int i = 0; i < Tab.values().length; i++) {
                                if (random(1, 50) == 1) {
                                        openTab(Tab.values()[i]);
                                        sleep(1500 + random(5000));
                                        break;
                                }
                        }
                case 6:
                        moveMouseOutsideScreen();
                        sleep(random(5000, 15000));
                case 7:
                        openTab(Tab.MAGIC);
                        sleep(1000 + random(1000));
                        for (int i = 0; i < Spell.values().length; i++) {
                                if (random(1, 100) == 1) {
                                        magicTab.hoverSpell(Spell.values()[i]);
                                        sleep(1500 + random(500));
                                        break;
                                }
                        }
                }
                random(100, 500);
                openTab(Tab.INVENTORY);
        }

Edited by Zappa

sorry idk anything about scripting

is this considered good?

  • Author

sorry idk anything about scripting

is this considered good?

 

It is a good AntiBan, yes

Zappa you don't like to make scripting guides?

 

Your doing some cool things atm ;)

its an ok anti-ban just if you want more just add on to it. I sure will be using this in my scripts Thanks

Might be missing a few break statements.

That is... unless you intended each case to fall through so that it executes the rest of the cases happy.png (though that defeats the purpose of switching in the first place)

 

 

Also, can use a Timer so that it executes every X amount of time units? Then, you can just do switch(random(1, 7)).

If I were to create an antiban--which I wouldn't because, unless they provide robust in-game interactions, they're redundant and 100% placebo--I would implement interactions "antibans" in an abstract enum and call for a random valid index, and probably allow for a queue of indices to be iterated through.

Edited by liverare

Guest
This topic is now closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

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.