Log in

View Full Version : Confused...



shnk
12-30-2011, 01:15 AM
SMART runs but it doesn't type in the user and pass :confused:
Sorry im really new to this and i was just testing something out.


program test;

{$DEFINE SMART}
{$i SRL\SRL.scar}

procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;

Players[0].Name :='dasdasd'; //RuneScape username
Players[0].Pass :='asdasd'; //RuneScape password
Players[0].Nick :='';
Players[0].Active:=True;
end;





begin
SetUpSRL;
ActivateClient;
DeclarePlayers;
end.

Yanhua
12-30-2011, 01:26 AM
You need to include LoginPlayer; after DeclarePlayers;

shnk
12-30-2011, 01:28 AM
Whewpsssssssss thanks

Yanhua
12-30-2011, 01:29 AM
Whewpsssssssss thanks

You're welcome.

If you still have any problems I'll be glad to try help.