Results 1 to 8 of 8

Thread: RSPS Antiban Help

  1. #1
    Join Date
    Mar 2012
    Posts
    35
    Mentioned
    0 Post(s)
    Quoted
    10 Post(s)

    Default RSPS Antiban Help

    EDIT - Got my Script and Antiban to work. Thanks to Riwu and the SRL Antiban page



    I am making a script for a RSPS. I was not able to include Antiban and I believe it's because I am using it for an RSPS.


    The script I have runs and does what it needs to do, but there isn't enough mouse movements and I get disconnected for no activity. My bot mines the ores and it takes about 3 minutes to get a full inventory. Now before those 3 minutes are up, my mouse just sits there not doing anything and I end up getting disconnected.


    Is there a procedure that I could include that will help me from getting disconnected?
    If so, how would I add it and what would it be?


    I believe that is the solution to solving my problem but just don't know how to go about solving it.
    Last edited by Elip007; 01-22-2013 at 10:21 AM.

  2. #2
    Join Date
    Jan 2012
    Posts
    2,568
    Mentioned
    35 Post(s)
    Quoted
    356 Post(s)

    Default

    Perhaps just a random right click of the screen?
    Simba Code:
    GetClientDimensions(w, h);
    Mouse(RandomRange(0, w - 1), RandomRange(0, h - 1), 0, 0, mouse_Right);
    //some function to cancel the option
    And also some random key presses?
    Simba Code:
    TypeByte(VK_0 + RandomRange(0, 52));

    Do it with a case statement, check out scripts to see how AntiBan is done.

  3. #3
    Join Date
    Mar 2012
    Posts
    35
    Mentioned
    0 Post(s)
    Quoted
    10 Post(s)

    Default

    Quote Originally Posted by riwu View Post
    check out scripts to see how AntiBan is done.
    I have been doing that except for some reason they either don't work with a RSPS or I'm doing them completely wrong.
    But yeah I'm gonna be screwing around with that until I get it to work. There must be an easy way around it that I am just missing.

  4. #4
    Join Date
    Jan 2012
    Posts
    2,568
    Mentioned
    35 Post(s)
    Quoted
    356 Post(s)

    Default

    Quote Originally Posted by Elip007 View Post
    I have been doing that except for some reason they either don't work with a RSPS or I'm doing them completely wrong.
    But yeah I'm gonna be screwing around with that until I get it to work. There must be an easy way around it that I am just missing.
    Yeah you can't use most of the include's antiban procedures, you have to make them yourself. I was referring to how they use the 'case Random() of' etc, then have your own procedures like what i've shown you above

  5. #5
    Join Date
    Mar 2012
    Posts
    35
    Mentioned
    0 Post(s)
    Quoted
    10 Post(s)

    Default

    Quote Originally Posted by riwu View Post
    Yeah you can't use most of the include's antiban procedures, you have to make them yourself. I was referring to how they use the 'case Random() of' etc, then have your own procedures like what i've shown you above
    Yeah I had to learn it the hard way. Would be much easier if all Antibans worked.
    Thanks for the help though! After a few tests I got it to work. All I really used was
    Code:
    procedure Anti;
    var
      Keys: TIntegerArray;
      I: Integer;
      Deg: Extended;
    begin
      Keys := [VK_RIGHT, VK_LEFT];
      I := Random(2);
     if (Random(2) = I) then
      begin
       ActivateClient;
       Deg := RS_GetCompassAngleDegrees;
       Wait(100 + random(50));
       KeyDown(Keys[I]);
       Wait(500 + random(1000));
       KeyUp(Keys[I]);
       Wait(500 + random(1000));
       MakeCompass(Deg);
      end else
       if (Random(3) = 0) then
        SleepAndMoveMouse(1000 + random(200));
    end;

  6. #6
    Join Date
    Sep 2010
    Posts
    5,762
    Mentioned
    136 Post(s)
    Quoted
    2739 Post(s)

    Default

    I could help you with a isloggedin function and a login function for 06 if you need

  7. #7
    Join Date
    Mar 2012
    Posts
    35
    Mentioned
    0 Post(s)
    Quoted
    10 Post(s)

    Default

    Quote Originally Posted by rjj95 View Post
    I could help you with a isloggedin function and a login function for 06 if you need
    I don't believe that is really necessary. For the RSPS that I use, Mining is done on one ore and I just add that anti every minute and it does the trick. As long as the mouse moves every now and then, the server wont disconnect you.

  8. #8
    Join Date
    Sep 2010
    Posts
    5,762
    Mentioned
    136 Post(s)
    Quoted
    2739 Post(s)

    Default

    Quote Originally Posted by Elip007 View Post
    I don't believe that is really necessary. For the RSPS that I use, Mining is done on one ore and I just add that anti every minute and it does the trick. As long as the mouse moves every now and then, the server wont disconnect you.
    System updates, lag out, null, Anyway Here it is:

    Simba Code:
    function IsloggedIn(): boolean;
    var
      Login, X, Y: Integer;
    begin
      Login := BitmapFromString(85, 9, 'meJzNVTEOwjAMTL+RiTXdkRALIx+' +
      'AlZ0Nib0zAxsbEnt5AS/gBbygP+Eqo6ImtnEFAaIbmuZi3yVx0tRu' +
      's3De+6nQMARCUz+BbuE0nKsef1L2uoA+PUIIQdLGymMz3k7xH2A5e' +
      '9hBkCA01r7CN9pHhPnYHbctWQetgF0em7EcMfZpTX5inyLjA1twPT' +
      'DaIvKb9ikRG58OsxcahtjDr/CNu9/xSVs0iyVb5CnlVq1E+wq+Vvt' +
      'gohyMZEmenjFd5P+xT8hqH4hqbb9u+RJwaUTxcYR0PZfdCzFKOtyH' +
      'ue3DEfsQsMBWpvEHIRUzCB+3X8jXIGuffTWMwDojXVrRRuAg5bDfz' +
      'boDWTiihw==');
      Result := true;
      if FindBitmapToleranceIn(Login, X, Y, 284, 346, 480, 387, 195) then
      begin
        Result := false;
      end;
      FreeBitmap(login);
    end;

    Procedure LoginMyPlayer;
    var
      Button, X, Y: Integer;
    begin
      Status := ('Logging in');
      Button := BitmapFromString(85, 9, 'meJzNVTEOwjAMTL+RiTXdkRALIx+' +
      'AlZ0Nib0zAxsbEnt5AS/gBbygP+Eqo6ImtnEFAaIbmuZi3yVx0tRu' +
      's3De+6nQMARCUz+BbuE0nKsef1L2uoA+PUIIQdLGymMz3k7xH2A5e' +
      '9hBkCA01r7CN9pHhPnYHbctWQetgF0em7EcMfZpTX5inyLjA1twPT' +
      'DaIvKb9ikRG58OsxcahtjDr/CNu9/xSVs0iyVb5CnlVq1E+wq+Vvt' +
      'gohyMZEmenjFd5P+xT8hqH4hqbb9u+RJwaUTxcYR0PZfdCzFKOtyH' +
      'ue3DEfsQsMBWpvEHIRUzCB+3X8jXIGuffTWMwDojXVrRRuAg5bDfz' +
      'boDWTiihw==');
      if FindBitmapToleranceIn(Button, X, Y, 284, 346, 480, 387, 195) then
      begin
        mmouse(373, 362, 1, 1);
        wait(randomrange(100, 150));
        clickmouse2(mouse_Left);
        wait(6000 + Random(2500));
      end;
    end;

    Just change the bitmaps and mouse coords

    To use in your script before each main thing in procedure you can do:
    Simba Code:
    if not IsLogged on then
      begin
        LoginMyPlayer;
      end;

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
  •