Results 1 to 9 of 9

Thread: what do you think about this antiban?

  1. #1
    Join Date
    Feb 2012
    Posts
    179
    Mentioned
    0 Post(s)
    Quoted
    84 Post(s)

    Default what do you think about this antiban?

    I wrote this antiban, performing slightly different actions for each account. What do you think about that? What would you change? I call each of the procedures (Antiban and lookingAt Web) twice in the script.
    Simba Code:
    Function Antiban: Boolean;
    Var
      I: Integer;
    Begin
      I := Random(600);
       Case accNumber of
       1, 4:
       Begin
          Case I Of
            1:
              begin
                boredHuman(true);
                minimap.clickCompass();
              end;
            4..45:
              Begin
                hoverSkill(Skill_herblore);
                Wait(GaussRangeInt(1000,2000));
              End;
            46..48: mouseMovingObject;
            49..100: SleepAndMoveMouse(RandomRange(100,MouseB));
            101..270:
              Begin
                MouseOffClient(Random(4));
                Wait(RandomRange(2000, MouseB));
              End;
            271..331:
                wait(randomRange(1000, 4000));
            331..333:
                randomRClickItem();
            339..341:
                smallRandomMouse();
            342..344:
                randomGameTab(true);
            345..349:
                smallRandomMouse;
            350..419:
                pickUpMouse;
          end;
        end;
        2, 5:
           Begin
            Case I Of
              1..7:
                begin
                  boredHuman(true);
                  minimap.clickCompass();
                end;
              8..25:
                Begin
                  hoverSkill(Skill_herblore);
                  Wait(GaussRangeInt(1000,2000));
                End;
              26..48: mouseMovingObject;
              49..100: SleepAndMoveMouse(RandomRange(100,MouseB));
              101..199:
                Begin
                  MouseOffClient(Random(4));
                  Wait(RandomRange(2000, MouseB));
                End;
              241..331:
                  wait(randomRange(4000, 7000));
              331..338:
                  randomRClickItem();
              339..341:
                  smallRandomMouse();
              342..344:
                  randomGameTab(true);
              345..349:
                  smallRandomMouse;
              350..400:
                  pickUpMouse;
            end;
          end;
        3, 6:
        Begin
          Case I Of
            1..2:
              begin
                boredHuman(true);
                minimap.clickCompass();
              end;
            3..38:
              Begin
                hoverSkill(Skill_herblore);
                Wait(GaussRangeInt(1000,2000));
              End;
            39..40: mouseMovingObject;
            41..121: SleepAndMoveMouse(RandomRange(100,MouseB));
            122..199:
              Begin
                MouseOffClient(Random(4));
                Wait(RandomRange(2000, MouseB));
              End;
            271..331:
                wait(randomRange(8000, 13000));
            331..360:
                randomRClickItem();
            361..368:
                smallRandomMouse();
            369..370:
                randomGameTab(true);
            371..420:
                pickUpMouse;
          end;
        end;

      End;
      Wait(GaussRangeInt(0, AntiB));
    End;
    Simba Code:
    procedure lookingAtWeb;
    var
    I: integer;
    begin
      i := random(1000);
      Case AccNumber of
      1, 4:
      begin
        Case I of
          0..12:
            begin
              mouseOffClient(OFF_CLIENT_RANDOM);
              writeln('Pretending to looking at another website. (long)');
              wait(30000 + randomRange(20000, 30000));
            end;
          13:
            begin
              mouseOffClient(OFF_CLIENT_RANDOM);
              writeln('Pretending to looking at another website. (med)');
              wait(30000 + randomRange(5000, 15000));
            end;
          14..18:
            begin
              mouseOffClient(OFF_CLIENT_RANDOM);
              writeln('Pretending to looking at another website. (short)');
              wait(5000 + randomRange(2000, 7000));
            end;
          end;
        end;
      2, 5:
      begin
        Case I of
          0..1:
            begin
              mouseOffClient(OFF_CLIENT_RANDOM);
              writeln('Pretending to looking at another website. (long)');
              wait(30000 + randomRange(5000, 12000));
            end;
          2..15:
            begin
              mouseOffClient(OFF_CLIENT_RANDOM);
              writeln('Pretending to looking at another website. (med)');
              wait(15000 + randomRange(3000, 9000));
            end;
          16..19:
            begin
              mouseOffClient(OFF_CLIENT_RANDOM);
              writeln('Pretending to looking at another website. (short)');
              wait(1500 + randomRange(1000, 3000));
            end;
          end;
        end;
      3, 6:
      begin
        Case I of
          0..2:
            begin
              mouseOffClient(OFF_CLIENT_RANDOM);
              writeln('Pretending to looking at another website. (long)');
              wait(30000 + randomRange(10000, 25000));
            end;
          3..11:
            begin
              mouseOffClient(OFF_CLIENT_RANDOM);
              writeln('Pretending to looking at another website. (med)');
              wait(11000 + randomRange(2000, 5000));
            end;
          12..22:
            begin
              mouseOffClient(OFF_CLIENT_RANDOM);
              writeln('Pretending to looking at another website. (short)');
              wait(4000 + randomRange(2000, 7000));
            end;
          end;
        end;
      end;
    end;

  2. #2
    Join Date
    Jan 2012
    Posts
    1,596
    Mentioned
    78 Post(s)
    Quoted
    826 Post(s)

  3. #3
    Join Date
    Feb 2012
    Posts
    179
    Mentioned
    0 Post(s)
    Quoted
    84 Post(s)

    Default

    Quote Originally Posted by Turpinator View Post
    Looks very much like @Ashaman88's antiban...
    Yeah, I am learning to script and I inspired by his. I am talking about the account profiles - whether you think this will differ the accounts for botwatch a bit at least. Of course I will not use it in any scripts that I will publish here.

  4. #4
    Join Date
    Dec 2011
    Location
    Hyrule
    Posts
    8,662
    Mentioned
    179 Post(s)
    Quoted
    1870 Post(s)

    Default

    Quote Originally Posted by Nufineek View Post
    Yeah, I am learning to script and I inspired by his. I am talking about the account profiles - whether you think this will differ the accounts for botwatch a bit at least. Of course I will not use it in any scripts that I will publish here.
    Basically if it reflects how you play legit, then it's good. I know Mayor was going to come up with much more customized options - but if this is how you play legit, then you are good

  5. #5
    Join Date
    Feb 2012
    Location
    UK
    Posts
    909
    Mentioned
    10 Post(s)
    Quoted
    191 Post(s)

    Default

    @Ashaman88; I guess you're ok if other people use these procedures if given credit?
    I like the lookingAtWeb one in particular since I'm always multitasking and browsing.

    Edit: In the first antiban code what is with the mouseB and AntiB? Also, why is AntiBan a function when the result is never changed?
    I guess that AccNumber would be a global variable from the script this was pulled from?
    Last edited by Solar; 02-24-2014 at 11:05 PM.
    Solar from RiD.

  6. #6
    Join Date
    Oct 2014
    Posts
    56
    Mentioned
    0 Post(s)
    Quoted
    31 Post(s)

    Default

    Quote Originally Posted by Solar View Post
    @Ashaman88; I guess you're ok if other people use these procedures if given credit?
    I like the lookingAtWeb one in particular since I'm always multitasking and browsing.

    Edit: In the first antiban code what is with the mouseB and AntiB? Also, why is AntiBan a function when the result is never changed?
    I guess that AccNumber would be a global variable from the script this was pulled from?
    You and I have the same questions that I am hoping get answered soon. Other than that, as a learning scripter, this was very easy to follow and would seem to be neatly undetectable with a case nested in another case. My question would be, when should this Antiban function and Offscreen Browse be called? During every cycle of a script's main loop?

  7. #7
    Join Date
    Dec 2011
    Location
    Hyrule
    Posts
    8,662
    Mentioned
    179 Post(s)
    Quoted
    1870 Post(s)

    Default

    Quote Originally Posted by Solar View Post
    @Ashaman88; I guess you're ok if other people use these procedures if given credit?
    I like the lookingAtWeb one in particular since I'm always multitasking and browsing.

    Edit: In the first antiban code what is with the mouseB and AntiB? Also, why is AntiBan a function when the result is never changed?
    I guess that AccNumber would be a global variable from the script this was pulled from?
    hehe sorry i never responded and no i don't care

    The function was there b/c for a specific script i needed to know if certain antiban procedures were fired. IDK about the rest

  8. #8
    Join Date
    Jun 2013
    Posts
    48
    Mentioned
    0 Post(s)
    Quoted
    30 Post(s)

    Default

    Ash, I am looking to add some anti ban into my coal script.

    If I were to use one of your examples and try to customize it on my script that just mines coal and deposits it into a deposit box, would I just call it once in my main() and of course paste the procedure with the others?

    EDIT: left this part out..


    Or perhaps would I be okay with just having breaks as an option for an anti ban?
    I've got these cheese burgers man!

  9. #9
    Join Date
    Oct 2014
    Posts
    56
    Mentioned
    0 Post(s)
    Quoted
    31 Post(s)

    Default

    Quote Originally Posted by agent007 View Post
    Ash, I am looking to add some anti ban into my coal script.

    If I were to use one of your examples and try to customize it on my script that just mines coal and deposits it into a deposit box, would I just call it once in my main() and of course paste the procedure with the others?

    EDIT: left this part out..


    Or perhaps would I be okay with just having breaks as an option for an anti ban?
    Breaks are okay, but having both helps out tremendously in reducing the chances of a ban. Anti-ban is weak without a breaking system and vice-versa.

    As for where to call your anti-ban procedure, there are many possibilities. I, myself, would like to hear Ash's response on what he prefers?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •