Results 1 to 4 of 4

Thread: Not Logging In (changed Login file)

  1. #1
    Join Date
    May 2008
    Posts
    203
    Mentioned
    0 Post(s)
    Quoted
    11 Post(s)

    Default Not Logging In (changed Login file)

    Whenever a script goes to log in, it clicks on the username and password, but does not type anything.

    Anyone care to scan over the code and see if they can figure out what's up with it?

    SCAR Code:
    Function LoginPlayer: Boolean;

    Var
      Tries: Integer;

    Begin
      ActivateClient;
      If ((CurrentPlayer + 1) > HowManyPlayers) Then
        Exit;
      MouseBox(361, 168, 400, 173, 1);
      Wait(1000 + Random(500));
      Mouse(315, 258, 20, 2, True);
      Wait(100 + Random(50));
      TypeSend(Players[CurrentPlayer].Name);
      Mouse(315, 325, 20, 2, True);
      Wait(100 + Random(50));
      TypeSend(Players[CurrentPlayer].Pass);
      Wait(1000 + Random(500));
      MouseBox(357, 364, 400, 368, 1);
      While (Not (GetColor(316, 396) = 153)) Do
      Begin
        Inc(Tries);
        Wait(100);
        If (Tries >= 100) Then
        Begin
          Players[CurrentPlayer].Active := False;
          CurrentPlayer := CurrentPlayer + 1;
          MouseBox(337, 401, 420, 408, 1);
          Wait(2000 + Random(500));
          LogInPlayer;
          Exit;
        End;
      End;
      MouseBox(206, 331, 563, 367, 1);
      Tries := 0;
      While (Not (GetColor(627, 85) = 16777215)) Do
      Begin
        Inc(Tries);
        Wait(100);
        If (Tries >= 600) Then
        Begin
          Players[CurrentPlayer].Active := False;
          CurrentPlayer := CurrentPlayer + 1;
          MouseBox(337, 401, 420, 408, 1);
          Wait(2000 + Random(500));
          LogInPlayer;
          Exit;
        End;
      End;
      Wait(2000 + Random(500));
      Result := True;
    End;

  2. #2
    Join Date
    Oct 2007
    Posts
    23
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    have
    you tried sendkeys();????

  3. #3
    Join Date
    Nov 2007
    Location
    The Netherlands
    Posts
    1,490
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Get the newest login.scar
    This one isn't updated.
    Hit the link to my fightcaver in my siggy.
    I have an updated login.scar there

  4. #4
    Join Date
    May 2008
    Posts
    203
    Mentioned
    0 Post(s)
    Quoted
    11 Post(s)

    Default

    Quote Originally Posted by pvh View Post
    Get the newest login.scar
    This one isn't updated.
    Hit the link to my fightcaver in my siggy.
    I have an updated login.scar there
    Thank you sir! +rep

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Login.Scar changed yet not working.
    By faster789 in forum OSR Help
    Replies: 12
    Last Post: 12-04-2008, 08:17 PM
  2. Changed to logging out
    By proresearch in forum News and General
    Replies: 4
    Last Post: 01-15-2008, 05:16 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
  •