Results 1 to 7 of 7

Thread: Anti-Lag Pocedure?!

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

    Default Anti-Lag Pocedure?!

    When my dialup lags, this screen will pop up:


    My script has:
    SCAR Code:
    if not(LoggedIn) then
      begin
        LoginPlayer;
        Exit;
      end;
    so when this screen pops up, RS thinks it is logged out. SOOOO scar will write my username in the debug FOR EVER :| therefore making the script hang there till I execute it and restart it (which will get me a ban :| )

    So, I was wondering if someone could make me a quick lil procedure to handle this screen so I wouldn't sit there for ever. Pwnaz0r made me one, but it was very laggy

    Thanks in advance
    ~Harry


    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!

  2. #2
    Join Date
    Nov 2006
    Location
    NSW, Australia
    Posts
    3,487
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Code:
    function ClickedPlayRunescape : Boolean;
    begin
      if FindBitmap(x, y, BitmapOfRedThing) then
      begin
        Mouse(X, Y, 3, 3, True);
        Wait(1000);
        if LoggedIn then
          Result := True;
      end;
    end;

    begin
      if ClickedPlayRunescape then
        WriteLn('We Lagged : Logged Out And Then Back Into Same Player');
    end;

    The BitmapOfRedThing is the bitmap of the button that says 'Play Runescape'. Have fun.
    [CENTER][img]http://signatures.mylivesignature.com/54486/113/4539C8FAAF3EAB109A3CC1811EF0941B.png[/img][/CENTER]
    [CENTER][BANANA]TSN ~ Vacation! ~ says :I Love Santy[/BANANA][/CENTER]

    [CENTER][BANANA]Raymond - Oh rilie? says :Your smart[/BANANA][/CENTER]

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

    Default

    Thanks Santy Will credit you in script. Only thing I would change is the Wait of 1000. I would make it to 5000+Random(5000)


    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!

  4. #4
    Join Date
    Apr 2007
    Location
    Perth, Australia
    Posts
    3,926
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    Have you tried putting ActivateClient in every now and again. Or make a small function similar to the one below:

    SCAR Code:
    function LoggedIn2: Boolean;
    begin
      if (not(LoggedIn)) then
      begin
        ActivateClient;
        Result := LoggedIn;
      end;
    end;

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

    Default

    This is what I used:
    SCAR Code:
    function ClickedPlayRunescape : Boolean;  //Thanks to SantaClause! :)
    var
      ClickHereToPlay,x,y:integer;
    begin
      if not(LoggedIn) then
      begin
        LoginPlayer;
        Exit;
        Exit;
      end;
      ClickHereToPlay := BitmapFromString(33, 1, 'z78DA758E510E80300843' +
        'AF54C0E2F6E94CB8FF9134123392693FFA41FA4A23A6F0888443D' +
        '26DC000A7DCE7F458F23EE444E721444B6A0F53D58FE44F4365B7' +
        '067D37AC3D95AADF2F50962C79');
      if FindBitmap(x, y, ClickHereToPlay) then
      begin
        Mouse(X, Y, 3, 3, True);
        Wait(5000+Random(5000));
        FreeBitmap(ClickHereToPlay);
        Exit;
        Exit;
      end;
    end;


    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!

  6. #6
    Join Date
    Oct 2006
    Location
    finland, helsinki
    Posts
    2,501
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    to make it the fast way.. do something like this:

    SCAR Code:
    Function ConnectionLost: Boolean;
    Var
      Cx, Cy, ConnectionLostBmp: Integer;
    Begin
      If(FindColor(CX, CY, 0, 6, 3, 10, 10))Then
      Begin
        ConnectionLostBMP := BitMapFromString(10, 10, '');
        If(FindBitmapIn(ConnectionLostBmp, CX, CY, 0, 0, 30, 30))Then
        While(FindBitmapIn(ConnectionLostBmp, CX, CY, 0, 0, 30, 30))Do
        Begin
          Wait(5000+Random(2000));
          If(Not Loggedin)Then
            Result := LoginPlayer;
        End;
        FreeBitMap(ConnectionLostBMP);
      End;
    End;

    Make a bitmap of the "connection lost" thingy =)

    Code:
    • Narcle: I recall Jukka releasing a bunch of scripts like this before... Its how he rolls I think. rofl
    • Solarwind: Dude, you are like... t3h s3x.
    • Hy71194: JuKKa you're a machine! You released 3 scripts in 10 minutes! :O
    • benjaa: woah.... Jukka is the man Guildminer pwns all
    • NaumanAkhlaQ: And JuKKa Is my Her0!

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

    Default

    Neh, when I lag it doesnt show that it will just pop up the click here to play thing.


    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!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. special type of anti ban and anti randoms
    By Magiic in forum RS3 Outdated / Broken Scripts
    Replies: 5
    Last Post: 07-27-2008, 12:50 PM
  2. I need a script with JUST Anti-Bans and Anti-Randoms.
    By Dipped_in_Pwn_Sauce in forum RS3 Outdated / Broken Scripts
    Replies: 2
    Last Post: 11-18-2007, 02:38 PM
  3. Anti-X question! (anti-ban, anti-randoms)
    By jvwarrior in forum OSR Help
    Replies: 9
    Last Post: 10-31-2007, 03:09 AM
  4. Karajama auto nat runner with anti bans/ anti randoms
    By mike_2922 in forum RS3 Outdated / Broken Scripts
    Replies: 1
    Last Post: 08-16-2007, 02:40 AM

Posting Permissions

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