Hello everyone
I'm finally learning how to script and i'm using The Mayor's AIO tutorial.
It's going great, although i'm at the SPS walking part and something happens which i have no clue why.
First here is my SPS map:
Secondly here is the path i've created:
Now the problem.
I'm stand next to the bank icon and i'm testing the following procedure:
Simba Code:
procedure runToMine();
var
pathToMine: TPointArray;
begin
if not isLoggedIn() then
exit;
pathToMine := [Point(140, 42), Point(148, 57), Point(160, 75), Point(175, 97), Point(182, 117), Point(182, 137), Point(181, 164), Point(182, 186), Point(188, 209), Point(192, 236), Point(193, 254), Point(201, 272), Point(207, 295), Point(210, 311)]
if SPS.walkPath(pathToMine) then
minimap.waitPlayerMoving()
else
writeLn('We failed to walk to the mine');
end;
The first place it clicks is the following:
Can someone explain why it's clicking all the way over there when it's supposed to click towards rimmington mines?
Your help would be appreciated very much
Regards Semtex