Results 1 to 7 of 7

Thread: plz critic my autologin script

  1. #1
    Join Date
    Nov 2006
    Location
    Bel Air, Maryland, USA
    Posts
    207
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default plz critic my autologin script

    i made it using dtms
    SCAR Code:
    {
     ____                              __       ___            
    /\  _`\                           /\ \     /\_ \            
    \ \ \L\ \  _ __    __      ___ ___\ \ \____\//\ \      __  
     \ \  _ <'/\`'__\/'__`\  /' __` __`\ \ '__`\ \ \ \   /'__`\
      \ \ \L\ \ \ \//\ \L\.\_/\ \/\ \/\ \ \ \L\ \ \_\ \_/\  __/
       \ \____/\ \_\\ \__/.\_\ \_\ \_\ \_\ \_,__/ /\____\ \____\
        \/___/  \/_/ \/__/\/_/\/_/\/_/\/_/\/___/  \/____/\/____/
    }


    program New;
    {.include srl/srl.scar}
    var login1,login2:integer;

    const
    username = 'username goes here';
    password = 'password goes here';

    procedure login;
    begin
         login1 := DTMFromString('78DA633CCDC8C0A00CC468E03F108344FF0301E372204B1D530D03540D985E0164C91150F303C85222A0E61B11765D05B2B4F1AB01004D8F0ACD');
         if FindDtm(login1, x, y, 0, 0, 750, 480) then
         mouse(x, y, 20, 9, true);
         Wait(1000+Random(500));
         typesend(username);
         Wait(1000+Random(500));
         typesend(password);
         Wait(2000+Random(500));
         login2 := DTMFromString('78DA63D467646070046234F01F8841A2FF81805101C8B2C554C3005503A6416A5C08A85101B2DC08A83127428D3D90E5845F0D00D3C107AD');
         if FindDtm(login2, x, y, 0, 0, 750, 480) then
         mouse(x, y, 20, 5, true);
         Wait(6000+Random(1000));
         mouse(x, y, 5, 5, true);
         end;
    begin
    setupsrl
    login
    end.

  2. #2
    Join Date
    Sep 2006
    Posts
    154
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    1. Is there really a benefit to using a DTM as opposed to just set coordinates?
    2. Syntax is a bit off.

    SCAR Code:
    {
     ____                              __       ___            
    /\  _`\                           /\ \     /\_ \            
    \ \ \L\ \  _ __    __      ___ ___\ \ \____\//\ \      __  
     \ \  _ <'/\`'__\/'__`\  /' __` __`\ \ '__`\ \ \ \   /'__`\
      \ \ \L\ \ \ \//\ \L\.\_/\ \/\ \/\ \ \ \L\ \ \_\ \_/\  __/
       \ \____/\ \_\\ \__/.\_\ \_\ \_\ \_\ \_,__/ /\____\ \____\
        \/___/  \/_/ \/__/\/_/\/_/\/_/\/_/\/___/  \/____/\/____/
    }

     
    program New;
    {.include srl/srl.scar}
    var
    login1, login2 :integer;
     
    const
    username = 'username goes here';
    password = 'password goes here';
     
    procedure login;
    begin
         login1 := DTMFromString('78DA633CCDC8C0A00CC468E03F108344FF0301E372204B1D530D03540D985E0164C91150F303C85222A0E61B11765D05B2B4F1AB01004D8F0ACD');
         if FindDTM(login1, x, y, 0, 0, 750, 480) then
         begin
           Mouse(x, y, 20, 9, true);
           Wait(1000+Random(500));
           TypeSend(username);
           Wait(1000+Random(500));
           TypeSend(password);
           Wait(2000+Random(500));
           end;
         login2 := DTMFromString('78DA63D467646070046234F01F8841A2FF81805101C8B2C554C3005503A6416A5C08A85101B2DC08A83127428D3D90E5845F0D00D3C107AD');
         if FindDTM(login2, x, y, 0, 0, 750, 480) then
         begin
           Mouse(x, y, 20, 5, true);
           Wait(6000+Random(1000));
           Mouse(x, y, 5, 5, true);
         end;
    end;
    begin
      setupsrl;
      login;
    end.
    3. I don't think you need to include SRL in here.

    Otherwise, it looks fine to me.

  3. #3
    Join Date
    Oct 2006
    Posts
    888
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Just set random coordinates with limits and avoid using DTMs for this one.

  4. #4
    Join Date
    Sep 2006
    Posts
    916
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    xxlegitxx, in answer to your questions:

    1: DTM's are faster and easier then co-ords
    2: Can't Answer XD (What's Syntax?)
    3: SRL is included because TypeSend is an SRL procedure.

  5. #5
    Join Date
    Sep 2006
    Posts
    154
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    1. DTM's are faster than coords? Are you kidding me?

    2. Take the script I updated. Look at the difference. That's syntax.

    3. I c.

  6. #6
    Join Date
    Oct 2006
    Posts
    888
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by xxlegitxx View Post
    1. DTM's are faster than coords? Are you kidding me?

    2. Take the script I updated. Look at the difference. That's syntax.

    3. I c.
    DTMs are slower than coordinates obviously.

  7. #7
    Join Date
    Sep 2006
    Posts
    154
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I thought I was missing something...

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. 0wnzz AutoLogin (First Script)
    By 0wn 4 skill in forum First Scripts
    Replies: 27
    Last Post: 07-09-2008, 07:26 AM
  2. Autologin Script
    By deathie in forum First Scripts
    Replies: 6
    Last Post: 10-25-2007, 03:31 AM
  3. first script autologin
    By Dumpin in forum First Scripts
    Replies: 19
    Last Post: 09-09-2007, 06:23 PM
  4. AutoLogin Script
    By AndyxD in forum First Scripts
    Replies: 5
    Last Post: 08-08-2007, 05:03 AM
  5. AutoLogin Script.
    By chwiggy in forum First Scripts
    Replies: 5
    Last Post: 04-26-2007, 10:57 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
  •