Results 1 to 6 of 6

Thread: Auto Login (first script)

  1. #1
    Join Date
    Mar 2007
    Posts
    18
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Auto Login (first script)

    It works, but one problem is that I have to click on the runescape window, before the script starts. And I only give you 1 second to click the runescape window. I need a way to fix it plz.

    Code:
    program AutoLogin;
    {.include SRL/SRL.scar}
    
    
    const
       username=''; //username here
       password=''; //password here
    
    procedure ClickExistingUser;
       begin
    
          movemouse(449+random(50),277+random(10));
          wait(200+random(200));
          clickmouse(449+random(10),277+random(10),true);
       end;
    
    procedure ClickLogin;
       begin
          movemouse(274+random(50),318+random(10));
          wait(200+random(200));
          clickmouse(274+random(50),318+random(10),true);
       end;
    
    begin
      wait (1000)
      ClickExistingUser;
      wait(500+random(100));
      TypeSend(username);
      wait(500+random(100));
      TypeSend(password);
      ClickLogin;
      
    
    end.

  2. #2
    Join Date
    Mar 2007
    Posts
    19
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ok first have it start on the main page and second do not have it cordinate based, i am working on one now i will post links on tuts on how to do it and you can look at mine

  3. #3
    Join Date
    Jan 2007
    Location
    In my evil lair!
    Posts
    39
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

  4. #4
    Join Date
    Mar 2007
    Posts
    18
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    well i'm still nooby at srl. I don't even know everything in srl. I only know stuff like MMouse, SendText, etc. etc. Oh and thx diamondhero6.

  5. #5
    Join Date
    Jun 2006
    Location
    Tennessee, USA
    Posts
    2,603
    Mentioned
    1 Post(s)
    Quoted
    46 Post(s)

    Default

    Quote Originally Posted by bustinthejus View Post
    well i'm still nooby at srl. I don't even know everything in srl. I only know stuff like MMouse, SendText, etc. etc. Oh and thx diamondhero6.
    well thats good enough to make this into SRL. and the only way that you'll learn to script with SRL is if you just start doing it. so none of this "i'm still nooby at srl. I don't even know everything in srl" just try it and you'll learn

  6. #6
    Join Date
    Mar 2007
    Posts
    18
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    K how about

    Code:
    program AutoLogin;
    {.include SRL/SRL.scar}
    
    
    const
       username=''; //username here
       password=''; //password here
    
    procedure ClickExistingUser;
       begin
    
          MMouse(449+random(50),277+random(10));
          wait(200+random(200));
          Mouse(449+random(10),277+random(10),true);
       end;
    
    procedure ClickLogin;
       begin
          MMouse(274+random(50),318+random(10));
          wait(200+random(200));
          Mouse(274+random(50),318+random(10),true);
       end;
    
    begin
      SetupSrl; 
      wait (1000)
      ClickExistingUser;
      wait(500+random(100));
      TypeSend(username);
      wait(500+random(100));
      TypeSend(password);
      ClickLogin;
      
    
    end.
    I think that works. Didn't try.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Need help with my first script: auto-login
    By goodhomeboy in forum OSR Help
    Replies: 6
    Last Post: 05-09-2010, 09:34 PM
  2. Auto Login! First Script!
    By S T Ole N in forum First Scripts
    Replies: 7
    Last Post: 05-08-2008, 11:06 PM
  3. My first SRL script (only a auto login)
    By XcanadamanX in forum RS3 Outdated / Broken Scripts
    Replies: 2
    Last Post: 11-10-2006, 01:00 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
  •