Results 1 to 7 of 7

Thread: Need help!

  1. #1
    Join Date
    Jul 2007
    Posts
    11
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Need help!

    Today I decided to try to learn how to script my own stuff anyways half an hour later I'm stuck take a look at my script when I try to run it the mouse doesn't move =/ what do I need to do anyway this is supossed to be an auto logger that I did myself with no help... but that options out the window so anyway here it is just remember i got this far all by myself no guides no nothing so be nice



    SCAR Code:
    program MyFirstScript
    ;procedure login;
    begin
    mouse(-1244014,-5094663,true);
    sendkeys('********');
    clickmouse(450,425,true);
    sendkeys('********');
    clickmouse(431,472,true);
    end;
    begin;
    login
    end.

    EDIT:MY original things were clickmouse and the 450,425


    Can someone post a good guide or something that can help me please!

  2. #2
    Join Date
    Jan 2007
    Location
    Toronto.
    Posts
    150
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Here's the script fixed and fully commented.

    SCAR Code:
    program MyFirstScript           // Porgram name.
      {.INCLUDE SRL/SRL.SCAR}       // Include SRL include.

    procedure Login;    // Declare procedure.
    begin    // Begin procedure.
      Mouse(-1244014, -5094663, 2, 2, True);  // Moves the mouse and clicks at coords.
      TypeSend('********');   // Types text human-like.
      Mouse(450, 425, 2, 2, True);  // See above.
      TypeSend('********');   // See above.
      Mouse(431, 472, 2, 2, True);  // See above.
    end;    // End procedure.

    begin  // Begin script.
      SetupSRL;  // Sets up SRL include.
      Login;     // Calls the Login; procedure above.
    end.   // Ends script.

    EDIT: There's something wrong with the "-1244014, -5094663" coords, try targeting the window again and picking the coord.

  3. #3
    Join Date
    Jul 2007
    Posts
    11
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Ninja thanks for responding but when i try to run it it still has errors and does not identify mouse I have scar 2.03 by kaitnieks

  4. #4
    Join Date
    Jan 2007
    Location
    Toronto.
    Posts
    150
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Opps I forgot to add some parameters, try it again.

  5. #5
    Join Date
    Jul 2007
    Posts
    11
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Still not working

  6. #6
    Join Date
    Jun 2007
    Location
    Kentucky, United States of America
    Posts
    409
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SRL has a login procedure that you can use rather than making your own. And ClickMouse is very detectable. Actually I doubt it'd matter as you aren't actually in the game yet. . .

    Try using a bitmap to make it click on the existing user button. There are tons of tuts on them in the tut section.

  7. #7
    Join Date
    May 2007
    Posts
    76
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)
    And heres another one:
    SCAR Code:
    program MyFirstSCRIPT;
    {.INCLUDE SRL/SRL.SCAR}
    const//NOTE:const can't be changed through out the script, only variables.
    Username='hello';
    Password='indeed bruva';

    procedure Login;
    begin
    Mouse(400,280,99,23,True);//Moves mouse and clicks on 'Existing Use'.
    wait(50+random(100));//Look more human you wait for abit before doing next thing.
    TypeSend(Username);//Types your Username.
    wait(50+random(100));
    Mouse(326,276,5,3,True);//Moves mouse and clicks on 'Password
    wait(50+random(100));
    TypeSend(Password);//Types your Password.
    wait(50+random(100));
    Mouse(239,309,126,22,True);//Moves mouse and clicks on 'Login'.
    end;

    begin
    SetupSRL;
    ActivateClient;/Brings the window infront of everything.
    wait(1000);
    Login;
    end.
    Or you could use DeclarePlayers; and LogInPlayer;

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
  •