SRL Archive - S.M.A.R.T.

Problem with smart start.


slakan

2009-03-21 14:15:30

http://scarreflection.googlecode.com/svn/trunk/ thats there i get my reflection from :)


heres the script to test the shit.

program TestSMARTLogin;

{.Include SRL\SRL\Misc\SMART.SCAR}
{.Include SRL\SRL.SCAR}

procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
Players[0].Name := '';
Players[0].Pass := '';
Players[0].Nick := ''; //3-4 letters from name
Players[0].Active:= True;
end;

begin
SMARTSetUp('world38', True, True, False); {World prefix, safe mode, unsigned, RS-HD}
SetTargetDC(SMARTGetDC);
SetUpSRL;
DeclarePlayers;
LogInPlayer;
Wait(2000);
MMouse(388, 281, 3, 3);
Wait(2000);
MMouse(4, 100, 3, 3);
Wait(3000);
LogOut;
TerminateScript;
end.

When i run this script and other scripts when i start smart i get this error:

Line 18: [Error] (16330:41): Invalid number of parameters in script

what is that?

xiaoina

2009-03-28 14:30:44

i get the same thing. does it say that for the line that says "false" for rs-hd?