Sean
2013-08-06 20:21:40
Ok, Ive been following this thread http://villavu.com/forum/showthread.php?t=84360
and so far Ive come up with this testing script. Can anyone tell me what am I doing wrong for it to only click once and it says FAILED lol?
Dont mind the garden stuff cause I changed the paths to my edited map and left the garden saying from google pre-written script. If you need anything else please post it here so I can update this so I can learn how to add walking.
and so far Ive come up with this testing script. Can anyone tell me what am I doing wrong for it to only click once and it says FAILED lol?
Dont mind the garden stuff cause I changed the paths to my edited map and left the garden saying from google pre-written script. If you need anything else please post it here so I can update this so I can learn how to add walking.
Program TestPath;
//{$DEFINE SMART} //< Edit this out if using Rs Client
{$i srl/srl.Simba}
{$i sps/sps.simba}
var //{path name}
//{delcare the sps variable}
togarden: tpointarray;
status: string;
procedure paths;
begin
togarden := [Point(85, 57), Point(88, 49), Point(86, 43), Point(82, 43), Point(75, 43), Point(65, 43), Point(63, 47), Point(64, 53), Point(64, 56), Point(64, 61), Point(64, 68), Point(64, 73), Point(62, 78), Point(61, 83)]
end;
procedure testpath;
begin
if sps_walkpath(togarden) then
status := 'walking to the garden'
else begin
status :='failed walking to the garden';
writeln(status + ' + time running:' +timerunning);
end;
writeln(status + ' + time running:' +timerunning);
end;
begin
//srl_sixhourfix := true;
//smart_fixspeed := true;
setupsrl;
paths; //{call path variables here}
//{Mistake I see a lot only call the map once, Not in the procedure}
//{If using multiple accounts it will always give an error when trying to pull the map}
sps_setup(runescape_surface,['105_125']);
clicknorth(srl_angle_high);
testpath;
repeat
until(false)
end.

