Results 1 to 9 of 9

Thread: Small Antiban...

  1. #1
    Join Date
    Dec 2006
    Location
    Copy pastin to my C#
    Posts
    3,788
    Mentioned
    8 Post(s)
    Quoted
    29 Post(s)

    Default Small Antiban...

    Long time since I've made one -

    SCAR Code:
    Function music_SwitchTrack: Boolean;

    Var
       TPAA: T2DPointArray;
       TPA: TPointArray;
       i, l, z: Integer;
       TB: TBox;
    Begin
      GameTab(13);
      For I := 0 To 6 Do
        If FindColor(X, Y, 65280, 554, 268, 713, 445) Then
          Break
        Else
          MouseBox(715, 284, 729, 436, 1);
      If FindColor(X, Y, 65280, 554, 268, 713, 445) Then
      Begin
        FindColorsTolerance(TPA, 65280, 554, 268, 713, 445, 0);
        TPAA := TPAToATPAEx(TPA, 150, 11);
        L := GetArrayLength(TPAA);
        For I := 0 To Random(L - 1) Do
          Swap(TPAA[Random(L)], TPAA[Random(L)]);
        I := 0;
        While (Not Result) And (i < L) Do
        Begin
          z := Random(L);
          If GetArrayLength(TPAA[i]) > 10 Then
          Begin
            TB := GetTPABounds(TPAA[i]);
            MouseBox(TB.x1, TB.y1, TB.x2, TB.y2, 1);
            Result := True;
            Break;
          End;
          I := I + 1;
        End;
      End;
    End;

  2. #2
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,553
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Nice, but which ass listens to rs2 music then your insane!
    ~Hermen

  3. #3
    Join Date
    Mar 2007
    Posts
    4,810
    Mentioned
    3 Post(s)
    Quoted
    3 Post(s)

    Default

    This will be very useful I think, But it has to be pretty random but Good Job.

    @Hermpie.
    Maybe n3s

  4. #4
    Join Date
    Dec 2006
    Location
    Copy pastin to my C#
    Posts
    3,788
    Mentioned
    8 Post(s)
    Quoted
    29 Post(s)

    Default

    I don't, but I know that bots don't which is good enough reason for an antiban.

  5. #5
    Join Date
    Oct 2007
    Posts
    302
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I like it, i don't know anyone who actually listens to the music in rs though. hehe .


    edited : nvm, being an idiot.

    Works great.

    Perhaps let it check for different songs, ie scroll down / up the list.

    And check if the previous song is accidently the new song, Cause that would = ban :\

    Ie, cause you have it switching to say...
    attack3
    Being at the top of the list, then sometime down the line, you repress the music to change songs and it's
    attack3
    AGAIN and it keeps looping, oh noes.

    Perhaps include sound volume, ie, check if sound is actually on before turning on a song.
    Previously known as boxcrop.


  6. #6
    Join Date
    Dec 2006
    Location
    Sweden
    Posts
    10,812
    Mentioned
    3 Post(s)
    Quoted
    16 Post(s)

    Default

    Looks a lot like mine in my caver ^^. Just you're a TPA addict.

    SCAR Code:
    procedure SetMusik;
    var mx,my: integer;
    begin
      GameTab(13);
      Wait(Random(2000));
      MouseBox(715,284,728,435,1);
      Wait(Random(7000));
      if FindColorTolerance(mx,my, 65280, 562, 270, 661, 450, 5) then
      begin
        Mouse(mx + Random(125), my + Random(8), 0, 0, True);
        Wait(Random(3000));
      end else
      begin
        MouseBox(562,268,711,449,1);
        Wait(Random(5000));
      end;
    end;
    Yours is nice anyways though


    Send SMS messages using Simba
    Please do not send me a PM asking for help; I will not be able to help you! Post in a relevant thread or make your own! And always remember to search first!

  7. #7
    Join Date
    Jul 2007
    Location
    Norway.
    Posts
    1,938
    Mentioned
    3 Post(s)
    Quoted
    0 Post(s)

    Default

    n3s, nice function. But why so complex? (Compared to Hy's..)

    By the way - Hy, can I use that procedure in my script w/credit?

  8. #8
    Join Date
    Dec 2006
    Location
    Sweden
    Posts
    10,812
    Mentioned
    3 Post(s)
    Quoted
    16 Post(s)

    Default

    @Evil- Because n3ss3s shows off his skills with TPA's , and yes, you may use it ^^.


    Send SMS messages using Simba
    Please do not send me a PM asking for help; I will not be able to help you! Post in a relevant thread or make your own! And always remember to search first!

  9. #9
    Join Date
    Dec 2006
    Location
    Copy pastin to my C#
    Posts
    3,788
    Mentioned
    8 Post(s)
    Quoted
    29 Post(s)

    Default

    There would be no point to make a thread for a FindColorTolerance, and don't know about the look-alike... Yours is nice anyway though

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. AntiBan Tut
    By Esteban in forum OSR Intermediate Scripting Tutorials
    Replies: 36
    Last Post: 04-05-2009, 12:57 AM
  2. Antiban help...
    By doom0791 in forum OSR Help
    Replies: 2
    Last Post: 08-05-2008, 01:14 AM
  3. srl antiban
    By Dark_Sniper in forum News and General
    Replies: 15
    Last Post: 06-07-2007, 10:27 PM
  4. Pin, less antiban or not?
    By PwNZoRNooB in forum Bot Information and Spottings
    Replies: 6
    Last Post: 04-28-2007, 05:17 PM
  5. antiban Q.
    By del_signo in forum OSR Help
    Replies: 6
    Last Post: 03-06-2007, 01:46 PM

Posting Permissions

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