SRL Archive - S.M.A.R.T. Questions and Answers.

Smart Tutorial Test won't work


RuneItBack2Front

2009-02-24 09:59:08

I am using the Smart script from the awesome SMART tutorial because I am having trouble running smart and I experience the same problem with it as I do with all Smart scripts.

The window pops up correctly with the Runescape login box in it. I click on Enable Smart, Smart clicks on the Graphics Menu link and the graphics menu comes up and then the red dot just moves around for a while until the script terminates itself.

If I disable smart when the graphics menu comes up, close the graphics menu and then enable smart, the red dot goes to the username box of the login screen (username does not get typed in), then it goes to the password box and then it does nothing. It looks like SmartSendKeys isn't working for this case.

Does anyone have any suggestions?

Dark Arcana

2009-02-25 00:12:46

Maybe their is something wrong with the script try this one

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.

Don't forget to fill out your Rs username, Rs password and Nick.

RuneItBack2Front

2009-02-25 11:33:00

Thanks for the script Dark Arcana, however I have the same exact problem with this script. Clicks on graphics menu etc. …