Neon Bot
Welcome to NBot! NBot says to Login or Register!
Fresh AntiBan Rawrbotad

Join the forum, it's quick and easy

Neon Bot
Welcome to NBot! NBot says to Login or Register!
Fresh AntiBan Rawrbotad
Neon Bot
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Neon Bot
NBot build 11.2a launched! Click Here!
Bad Ideas make for great stories
We need more site Activity! Don't let us lose hope in everyone!

You are not connected. Please login or register

Fresh AntiBan

4 posters

Go down  Message [Page 1 of 1]

1Fresh AntiBan Empty Fresh AntiBan Mon Dec 06, 2010 6:39 am

Sikuma



This method will scan all players in your area, if its a mod or admin you stop. No chat first, nothin, just good old anti-ban. Tested and works. Heres the method.
Code:

   public void antiBan() {
      for(int playerss = 0; playerss <= playerCount(); playerss++) {
         if(mc.aClass31Array1171[playerss].aString294.equalsIgnoreCase("Mod") || mc.aClass31Array1171[playerss].aString294.equalsIgnoreCase("Pyru") || mc.aClass31Array1171[playerss].aString294.equalsIgnoreCase("Lister")) {
            System.out.println("Found Player: "+mc.aClass31Array1171[playerss].aString294);
            printMessage("@whi@[@lre@AntiBan@whi@]@red@ Found Staff!");
            printMessage("@whi@[@lre@AntiBan@whi@]@gre@ Stopping Bot!");
            stop();
         }

      }
   }

Put that in your Methods class source.
Also Find this and make a quick edit
Code:

public void stop() { mc.stopMacro(); }
Change it to this
Code:

public void stop() { mc.stopMacro(); mc.OCRThread.stop(); }
What this does is makes your OCR stop to.

2Fresh AntiBan Empty Re: Fresh AntiBan Mon Dec 06, 2010 3:11 pm

TimeDead

TimeDead
Admin

Once again looks good.
Also will add to patch for Build 11.

https://nbot.iftopic.com

3Fresh AntiBan Empty Re: Fresh AntiBan Mon Dec 06, 2010 3:56 pm

goober



Awesome job sikuma,this may be a dumb question but I'm new at java so I have to ask it... where exactly do you add this code in the methods.java file? is there a specific line where you insert it?

4Fresh AntiBan Empty Re: Fresh AntiBan Mon Dec 06, 2010 4:06 pm

TimeDead

TimeDead
Admin

Add it to where one method ends. It does not matter where as long as you do not place it in the middle of one method.

https://nbot.iftopic.com

5Fresh AntiBan Empty Re: Fresh AntiBan Mon Dec 06, 2010 4:09 pm

goober



Awesome. can't believe it was that simple lol, thanks Time

6Fresh AntiBan Empty Re: Fresh AntiBan Mon Dec 06, 2010 5:53 pm

Sikuma



it really is that simple, make sure you know where methods begin and end
ex:
Code:

public void example() {<-----Begins method example
  code here();
}<----Ends method example
All about brackets

7Fresh AntiBan Empty Re: Fresh AntiBan Tue Dec 07, 2010 12:02 am

Lowrider

Lowrider

nice add cant wait to try

8Fresh AntiBan Empty Re: Fresh AntiBan Tue Dec 07, 2010 2:18 am

goober



I do Sad

9Fresh AntiBan Empty Re: Fresh AntiBan Tue Dec 07, 2010 2:21 am

Sikuma



goober wrote:I do Sad
Download the newest NBot Build 11 and you dont need to implement the anti-ban at all, timedead already has done this for us.

10Fresh AntiBan Empty Re: Fresh AntiBan Tue Dec 07, 2010 2:24 am

goober



just saw lol thanks alot Sik, I promise I'll get a hang of this stuff eventually

11Fresh AntiBan Empty Re: Fresh AntiBan Tue Dec 07, 2010 2:36 am

Sikuma



goober wrote:just saw lol thanks alot Sik, I promise I'll get a hang of this stuff eventually
Hey man, everyone starts somewhere, dont think ill get mad, i love helpin people bro.

Sponsored content



Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum