Code:
Program TestPath;
{$i srl/srl.Simba}
{$i sps/sps.simba}
var //{path name}
//{delcare the sps variable}
togarden: tpointarray;
status: string;
procedure paths;
begin
togarden := [Point(148, 100), Point(149, 108), Point(152, 119), Point(153, 127), Point(154, 138), Point(161, 153), Point(170, 165), Point(177, 179), Point(180, 193), Point(186, 208), Point(192, 220), Point(195, 232), Point(201, 243), Point(205, 253), Point(213, 260), Point(217, 271), Point(233, 270), Point(238, 259), Point(239, 249)]
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
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_other,['flaxv2'])
testpath;
repeat
until(false)
end.
I had to delete a couple of unknown identifiers to get it to run, but it doesn't walk to the flax anyway