HotLeatherPants
2009-01-05 14:07:43
So I have version 3.15b of scar and I installed the latest version of SRL but than I tried SMART and it won't work. I tried this script:
I originally got that script from this tut http://www.villavu.com/forum/showthread.php?t=40067?p=520728#post520728 It's supposed to test if your SMART is working.
I put my username and password for runescape in and let er rip (hit the green run button thinger…)
I than got these two errors…
first error (picture) - http://img293.imageshack.us/img293/7757/erroronejp8.jpg
second error (picture) - http://img243.imageshack.us/img243/7339/errortwoxv0.jpg
can anyone tell me what I'm doing wrong and if so how can I fix it, thanks!
program TestSMARTLogin;
{.Include SRL\SRL\Misc\SMART.SCAR}
{.Include SRL\SRL.SCAR}
procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
Players[0].Name := ''; //Youe Rs username
Players[0].Pass := ''; //Your RS password
Players[0].Nick := ''; //3-4 letters from name
Players[0].Active:= True;
end;
begin
SMARTSetupEx(2, False, True, False);
Wait(5000);
SetTargetDC(SmartGetDC);
repeat
wait(100);
until(SmartGetColor(253, 233)<>1118604);
SetUpSRL;
DeclarePlayers;
LogInPlayer;
Wait(2000 + Random(1000));
MMouse(388, 281, 3, 3);
Wait(2000 + Random(1000));
MMouse(4, 100, 3, 3);
Wait(3000 + Random(1000));
LogOut;
TerminateScript;
end.
I originally got that script from this tut http://www.villavu.com/forum/showthread.php?t=40067?p=520728#post520728 It's supposed to test if your SMART is working.
I put my username and password for runescape in and let er rip (hit the green run button thinger…)
I than got these two errors…
first error (picture) - http://img293.imageshack.us/img293/7757/erroronejp8.jpg
second error (picture) - http://img243.imageshack.us/img243/7339/errortwoxv0.jpg
can anyone tell me what I'm doing wrong and if so how can I fix it, thanks!