Also you used some pretty old stuff in that script.
Instead of MoveMouseSmooth, I would use MMouse or Mouse. They are included in SRL. Also, instead of all the bitmaps you used for logging in, this will replace it:
SCAR Code:
procedure DeclarePlayers;
begin
HowManyPlayers:=1; //Number of players... only supports 1 so dont change.
NumberOfPlayers(HowManyPlayers); //Dont Change
CurrentPlayer:=0; //Dont Change
Players[0].Name :=''; //Name
Players[0].Pass :=''; //PW
Players[0].Nick :=''; //Nick
Players[0].Active :=True; //Just keep it true.
end;
DeclarePlayers; will load those players into the player array. After setting up SRL run that procedure through then just type LoginPlayer; to log in to the player at CurrentPlayer. This is using the Player Array