Results 1 to 9 of 9

Thread: Close the Warning Screen (Jagex Macroing Popup)

  1. #1
    Join Date
    Feb 2012
    Location
    Canada
    Posts
    1,164
    Mentioned
    26 Post(s)
    Quoted
    433 Post(s)

    Default Close the Warning Screen (Jagex Macroing Popup)

    How To Close The Macro Warning Screen




    Hey guys,

    Just whipped up this piece of work to help out anyone who has trouble botting because of the Macro Warning Screen that Jagex forces you to view when you log in.

    So, here is the script:

    Simba Code:
    {
    This Script Closes the Warning Window that pops up when you log in.
    If you have any questions, feel free to Message me back.
    What it should do:
      1. Log the player in.
      2. World select and choose a random world.
      3. After the player has logged in, it should automatically find the blue close button.
      4. Once it sees the close button, it will click it.
      5. It will then adjust the directions of the player to face north and as far up as it can.

    And there you have it!
    ~ StickToTheScript
    }


    program closeWarningScript;
    {$DEFINE SMART}
    {$I SRL-6/SRL.simba}

    procedure declarePlayers();
    begin
      setLength(players, 1);
      with players[0] do
      begin
        loginName := '';
        password := '';
        isActive := true;
        isMember := true;
      end
      currentPlayer := 0;
    end;

    procedure closeWarning();
    var
      closeButton: Tbox;
      TPA: TPointArray;
    begin
      closeButton := intToBox(617, 525, 745, 543);

      wait(randomrange(2000, 4500));

      if (findColors(TPA, 14325012, 606, 522, 746, 545)) then
      begin
        mouseBox(closeButton, MOUSE_LEFT);
        wait(randomrange(500, 1500));
      end
      else
        writeln('Did not find Warninig Screen. :D');
    end;


    begin
      clearDebug();
      smartEnableDrawing := true;
      setupSRL();
      declarePlayers();

      if not isLoggedIn() then
      begin
        players[currentPlayer].login();
      end;
        closeWarning();
        exitTreasure();
        minimap.setAngle(MM_DIRECTION_NORTH);
        mainScreen.setAngle(MS_ANGLE_HIGH);
    end.





    To make life simple, you can copy and paste the 'closeWarning' procedure and then paste it into whatever script you are using.

    Once pasted, make sure that the closeWarning Procedure is placed after the login function (The login function may differ from script to script).




    If you have any questions, feel free to post or PM me!


    Edit: I should point out that it only works for the standard SMART sized screen. If you change the dimensions, I cannot guarantee it will find the button.




    This function is now built into the SRL include. It has been pushed as of today.
    Last edited by StickToTheScript; 05-26-2015 at 03:53 PM. Reason: Updated script

  2. #2
    Join Date
    Jun 2014
    Posts
    369
    Mentioned
    14 Post(s)
    Quoted
    217 Post(s)

    Default

    Quote Originally Posted by StickToTheScript View Post
    How To Close The Macro Warning Screen




    Hey guys,

    Just whipped up this piece of work to help out anyone who has trouble botting because of the Macro Warning Screen that Jagex forces you to view when you log in.

    So, here is the script:

    Simba Code:
    {
    This Script Closes the Warning Window that pops up when you log in.
    If you have any questions, feel free to Message me back.
    What it should do:
      1. Log the player in.
      2. World select and choose a random world.
      3. After the player has logged in, it should automatically find the blue close button.
      4. Once it sees the close button, it will click it.
      5. It will then adjust the directions of the player to face north and as far up as it can.

    And there you have it!
    ~ StickToTheScript
    }


    program closeWarningScript;
    {$DEFINE SMART}
    {$I SRL-6/SRL.simba}

    procedure declarePlayers();
    begin
      setLength(players, 1);
      with players[0] do
      begin
        loginName := '';
        password := '';
        isActive := true;
        isMember := true;
      end
      currentPlayer := 0;
    end;

    procedure closeWarning();
    var
      closeButton: Tbox;
      TPA: TPointArray;
    begin
      closeButton := intToBox(617, 525, 745, 543);

      wait(randomrange(2000, 4500));

      if (findColors(TPA, 14325012, 606, 522, 746, 545)) then
      begin
        mouseBox(closeButton, MOUSE_LEFT);
        wait(randomrange(500, 1500));
      end
      else
        writeln('Did not find Warninig Screen. :D');
    end;


    begin
      clearDebug();
      smartEnableDrawing := true;
      setupSRL();
      declarePlayers();

      if not isLoggedIn() then
      begin
        players[currentPlayer].login();
      end;
        closeWarning();
        exitTreasure();
        minimap.setAngle(MM_DIRECTION_NORTH);
        mainScreen.setAngle(MS_ANGLE_HIGH);
    end.





    To make life simple, you can copy and paste the 'closeWarning' procedure and then paste it into whatever script you are using.

    Once pasted, make sure that the closeWarning Procedure is placed after the login function (The login function may differ from script to script).




    If you have any questions, feel free to post or PM me!


    Edit: I should point out that it only works for the standard SMART sized screen. If you change the dimensions, I cannot guarantee it will find the button.




    This function is now built into the SRL include. It has been pushed as of today.
    This need to be update :-( , if you need my rs acc info to do this i be more and happy to pm it to you :-)
    https://villavu.com/forum/image.php?type=sigpic&userid=147422&dateline=14358  53409

  3. #3
    Join Date
    Jun 2014
    Posts
    463
    Mentioned
    27 Post(s)
    Quoted
    229 Post(s)

    Default

    Quote Originally Posted by WYD View Post
    This need to be update :-( , if you need my rs acc info to do this i be more and happy to pm it to you :-)
    I believe I had this done with bitmaps, here are my bitmaps. Just have it click the bitmaps.

    Simba Code:
    PopUp2 := BitmapFromString (4, 4, 'meJwTFpUQlZCBIDFZJTiSVdGSUlQF' + 'kkCkoKYLRwCAlQXd');
    PopUp1 := BitmapFromString (4, 4, 'meJwLPvEpcMNXIAo+8cly0WOH/V+B' + 'CMhQmvdVY+MHIAIygEio9RkQARkA1a8cyw==');
    PopUp3 := BitmapFromString (4, 4, 'meJwL2PfTc+s3IArY99N85TerzT+B' + 'CMhAZqss+gFHAOH1Hd8=');

    edit:
    I was looking at antiban.simba, just update the dtm in the closePopup() function.

    Simba Code:
    // Generic Blue Buttons (i.e., Macroing detected warning)
         DTMFromString('mbQAAAHicY2VgYFjDxMCQCcQfgHgtEK8HYgMg1gFiXSDWBmJ7IFba/Joh' +
                       '+NpvBruzPxhS7/5lYE2YyiAJ1C+ChEF8RiwYDACqWw4B')];

    If it's a generic blue button, you could easily turn this into a dtm


    not exactly sure if it'll work as I don't have an account to test, but I generated a dtm from the image. Here it is.
    Simba Code:
    DTMFromString('mggAAAHicY2NgYOBhZGDgBWJWIBYHYmEgZgLiTCYGhjIgLgXiPCAugdJKm18zsCTPYWArXM0gMvUWA1vxJgYLNz8GXIARB4YAABHKCmw=');
    Last edited by Lucidity; 02-14-2016 at 03:03 PM.
    Tsunami

  4. #4
    Join Date
    Jun 2014
    Posts
    369
    Mentioned
    14 Post(s)
    Quoted
    217 Post(s)

    Default

    Quote Originally Posted by Lucidity View Post
    I believe I had this done with bitmaps, here are my bitmaps. Just have it click the bitmaps.

    Simba Code:
    PopUp2 := BitmapFromString (4, 4, 'meJwTFpUQlZCBIDFZJTiSVdGSUlQF' + 'kkCkoKYLRwCAlQXd');
    PopUp1 := BitmapFromString (4, 4, 'meJwLPvEpcMNXIAo+8cly0WOH/V+B' + 'CMhQmvdVY+MHIAIygEio9RkQARkA1a8cyw==');
    PopUp3 := BitmapFromString (4, 4, 'meJwL2PfTc+s3IArY99N85TerzT+B' + 'CMhAZqss+gFHAOH1Hd8=');

    edit:
    I was looking at antiban.simba, just update the dtm in the closePopup() function.

    Simba Code:
    // Generic Blue Buttons (i.e., Macroing detected warning)
         DTMFromString('mbQAAAHicY2VgYFjDxMCQCcQfgHgtEK8HYgMg1gFiXSDWBmJ7IFba/Joh' +
                       '+NpvBruzPxhS7/5lYE2YyiAJ1C+ChEF8RiwYDACqWw4B')];

    If it's a generic blue button, you could easily turn this into a dtm


    not exactly sure if it'll work as I don't have an account to test, but I generated a dtm from the image. Here it is.
    Simba Code:
    DTMFromString('mggAAAHicY2NgYOBhZGDgBWJWIBYHYmEgZgLiTCYGhjIgLgXiPCAugdJKm18zsCTPYWArXM0gMvUWA1vxJgYLNz8GXIARB4YAABHKCmw=');
    Ty i'm go to run it now
    Last edited by WYD; 02-14-2016 at 05:16 PM.
    https://villavu.com/forum/image.php?type=sigpic&userid=147422&dateline=14358  53409

  5. #5
    Join Date
    Dec 2011
    Location
    East Coast, USA
    Posts
    4,231
    Mentioned
    112 Post(s)
    Quoted
    1869 Post(s)

    Default

    Quote Originally Posted by WYD View Post
    Is it ok if you add me on skype? I have not use DTM before :-(
    Good tutorial on DTMs located at this website: http://garrettlongonline.com/tutorial
    GitLab projects | Simba 1.4 | Find me on IRC or Discord | ScapeRune scripts | Come play bot ScapeRune!

    <BenLand100> we're just in the transitional phase where society reclassifies guns as Badâ„¢ before everyone gets laser pistols

  6. #6
    Join Date
    Jun 2014
    Posts
    463
    Mentioned
    27 Post(s)
    Quoted
    229 Post(s)

    Default

    Pretty sure it wasn't broken, he wasn't calling closePopup()

    Anyhow, if it was broken here's a new DTM :

    Simba Code:
    DTM := DTMFromString('mggAAAHicY2NgYHBiZmDwAuIyIC4G4kVAvASIu5kYGKYCcScQzwDiLiCeCcRyq54zsBVvYlDd+Y6BKXoKg9Lm1wzMgS0MuAAjDgwBAKXTDnk=');
    Tsunami

  7. #7
    Join Date
    Jun 2014
    Posts
    369
    Mentioned
    14 Post(s)
    Quoted
    217 Post(s)

    Default

    Quote Originally Posted by Lucidity View Post
    Pretty sure it wasn't broken, he wasn't calling closePopup()

    Anyhow, if it was broken here's a new DTM :

    Simba Code:
    DTM := DTMFromString('mggAAAHicY2NgYHBiZmDwAuIyIC4G4kVAvASIu5kYGKYCcScQzwDiLiCeCcRyq54zsBVvYlDd+Y6BKXoKg9Lm1wzMgS0MuAAjDgwBAKXTDnk=');
    My bad, ty for helping ?
    https://villavu.com/forum/image.php?type=sigpic&userid=147422&dateline=14358  53409

  8. #8
    Join Date
    Sep 2012
    Location
    Netherlands
    Posts
    2,752
    Mentioned
    193 Post(s)
    Quoted
    1468 Post(s)

    Default

    Quote Originally Posted by WYD View Post
    My bad, ty for helping ?
    you didnt do anything at all

  9. #9
    Join Date
    Jun 2014
    Posts
    369
    Mentioned
    14 Post(s)
    Quoted
    217 Post(s)

    Default

    Quote Originally Posted by hoodz View Post
    you didnt do anything at all
    kk, troll.
    https://villavu.com/forum/image.php?type=sigpic&userid=147422&dateline=14358  53409

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
  •