As title states - I opened one of these threads yesterday and it apparently got triggered as spam. Will edit with additional information once I verify this gets created..
I'm running the following code below. If you want to test - start at the Sheep Pen (Red X) and I am expecting to walk to the Bank. However, it will only click on one point and depending on where it's located will end up within the blue circle in the image below. Also attached clean image.
My questions:
1) Is SPS not supposed to walk through each individual point?
2) This doesn't make sense to me but is the "proper" way of using SPS to put it into a loop?
3) If all of this is an issue and not intended I've already reinstalled Simba (renamed all folders) I haven't bothered with Java yet would that be a good next step?
Simba Code:
program SheepShearer;
{$DEFINE SMART}
{$i srl-6/srl.simba}
{$I SPS/lib/SPS-RS3.Simba}
Procedure runToBank();
var
pathToBank: TPointArray;
begin
if (not tabBackPack.isFull()) then
exit;
pathToBank := [Point(429, 244), Point(418, 273), Point(405, 292), Point(389, 310), Point(363, 315), Point(340, 317), Point(314, 314), Point(292, 306), Point(263, 297), Point(244, 303)];
if SPS.walkPath(pathToBank) then
minimap.waitPlayerMoving()
else
writeln('Failed to run to the bank');
end;
begin
smartEnableDrawing := true;
clearDebug();
setupSRL();
SPS.setup('SheepShearerSPS', RUNESCAPE_OTHER);
runToBank();
end.


On top of all of this which is another reason I believe something is off - is I'm having issues with debugging.
I've attempted the following code below - Get access violation as if it's not able to find it..?
It takes me to Drawing -
Error: Access violation at line 119
Execution failed.
The following bitmaps were not freed: [Minimap Mask]
File[C:\Simba\Includes\SRL-6/logs/SRL log (11-12-16 at 08.34.51 PM).txt] has not been freed in the script, freeing it now
Simba Code:
program SheepShearer;
{$DEFINE SMART}
{$i srl-6/srl.simba}
{$I SPS/lib/SPS-RS3.Simba}
Edit:
begin
smartEnableDrawing := true;
clearDebug();
setupSRL();
repeat
smartimage.drawBox(intToBox(1,1,100,100), true, clorange);
until false;
end.
Edit: Drawings working now that I put smartEnableDrawing first. It still however is not actually drawing until AFTER I stop the script. /END WALL OF TEXT