SRL Archive - Help

Confused...


shnk

2011-12-29 20:15:22

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

2011-12-29 20:26:12

You need to include LoginPlayer; after DeclarePlayers;

shnk

2011-12-29 20:28:35

Whewpsssssssss thanks

Yanhua

2011-12-29 20:29:27

From: shnk
Whewpsssssssss thanks


You're welcome.

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