ty6567
2013-06-20 13:04:40
so i'm making a script and i wanted to test my walking path. when i start the script SMART loads and logs me in, but instead of walking the path i have set it just opens up another smart window and starts loading runescape again. i realize this is probably just a stupid mistake on my part but this is my first script and i cant figure it out, so any help is appreciated.
this is the entire script so far (i just wanted to test the walking before i continued on with it):
Thanks in advance for any help
this is the entire script so far (i just wanted to test the walking before i continued on with it):
program new;
{$Define smart8}
{$I SRL-OSR/SRL.simba}
{$I SPS/SPS-OSR.simba}
Var
myPath:TPointArray;
Procedure DeclarePlayer;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
//fill out name, pass, and nick between the ''
Players[0].Name :=''; // this is your login name not your in game name
Players[0].Pass :='';
Players[0].Nick :=''; // your nick is your IN GAME NAME (not your login name) with the first letter left off
Players[0].Active:=True;
end;
procedure WalkTo;
begin
SetupSRL;
SPS_Setup(RUNESCAPE_SURFACE, ['7_5+8_5']);
myPath := [Point(651, 494), Point(583, 480), Point(529, 436), Point(466, 403), Point(415, 358), Point(355, 387), Point(326, 449)];
SPS_WalkPAth(myPath);
end;
begin
ClearDebug;
SetupSRL;
DeclarePlayer;
ActivateClient;
If Not LoggedIn then
LoginPlayer;
WalkTo;
end. Thanks in advance for any help