Jump to content

Anti-Ban yey or nah?


scriptersteve

Recommended Posts

Having antiban as something like this:

 

is this worth including or not, i.e will it make the account more or less detectable in people's opinions?

public class AntiBan {
    private MethodProvider mp;
    private Random random;

    public AntiBan(MethodProvider mp) {
        this.mp = mp;
        this.random = new Random();
    }

    public void randomInputEvent() {
        try {
            int rN = this.random.nextInt(4);
            switch (rN) {
                case 0:
                    this.mp.getCamera().movePitch(this.random.nextInt(360));
                    this.mp.getCamera().moveYaw(22 + this.random
                            .nextInt(22 + this.random.nextInt(45)));
                    break;
                case 1:
                    this.mp.getCamera().movePitch(this.random.nextInt(360));
                    break;
                case 2:
                    this.mp.getMouse().move(this.random.nextInt(760), this.random.nextInt(500));
                    break;
                case 3:
                    moveMouseRandomly(1 + this.random.nextInt(6));
                case 4:
                    this.mp.getMouse().moveOutsideScreen();
            }
        } catch (Exception e) {
        }
    }

    public void randomInterfaceEvent(Skill currentSkill) {
        try {
            int rN = this.random.nextInt(6);
            switch (rN) {
                case 0:
                    this.mp.getSkills().hoverSkill(currentSkill);
                    break;
                case 1:

                    this.mp.getTabs().open(Tab.ATTACK);

                    break;
                case 2:
                    this.mp.getTabs().open(Tab.FRIENDS);
                    break;
                case 3:
                    this.mp.getTabs().open(Tab.SKILLS);
                case 4:
                    this.mp.getTabs().open(Tab.SETTINGS);
                case 5:
                    this.mp.getTabs().open(Tab.QUEST);
                case 6:
                    this.mp.getTabs().open(Tab.EQUIPMENT);
            }
        } catch (Exception e) {
        }
    }

    public void moveMouseRandomly(int numberOfPositions) {
        Point[] pointArray = new Point[numberOfPositions];
        for (int i = 0; i < pointArray.length; i++) {
            pointArray[i] = new Point(-10 + this.random.nextInt(850), -10 + this.random.nextInt(550));
        }
        for (int i = 0; i < pointArray.length; i++) {
            this.mp.getMouse().move(pointArray[i].x, pointArray[i].y);
   try{
       sleep( 600);
   }catch (Exception e){

   }
        }
    }
}
Link to comment
Share on other sites

If you are using it on a script for the sdn don't advertise it as anti-ban.   In my personal opinion it is worth it, I have seen faster bans on scripts that don't have any.  I have also used a flax spinner with no anti-ban for over 60 hours straight with no ban though, so it's hard to say if it's useful at all.  On valuable accounts I prefer some type of antiban to be included, but my throwaways using moneymaking scripts it is pretty pointless.

Link to comment
Share on other sites

other stuff is passable, but this:

    public void moveMouseRandomly(int numberOfPositions) {
        Point[] pointArray = new Point[numberOfPositions];
        for (int i = 0; i < pointArray.length; i++) {
            pointArray[i] = new Point(-10 + this.random.nextInt(850), -10 + this.random.nextInt(550));
        }
        for (int i = 0; i < pointArray.length; i++) {
            this.mp.getMouse().move(pointArray[i].x, pointArray[i].y);
   try{
       sleep( 600);
   }catch (Exception e){

   }
        }
    }

definitely no. saw it in your warriors script and was wtfing hard

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