SRL Archive - OSR Help

SPS walking help


Zarqua

2013-03-26 13:15:30

Hi.

Im trying to make my first script and im trying to make a little test with some walking, but i got an error.

My script:

program AutoShrimp;

{$Define SMART8}
{$i SRL/SRL.simba}
{$i SPS/SPS.simba}
{$i P07Include.simba}

procedure Start;
begin
P07_makeCompassWest;
Wait(1000);
P07_makeCameraAngleHigh;
Wait(1500);
end;

Var
mypath:TPointArray;
procedure WalkToFish;
begin
SPS_Setup(RUNESCAPE_SURFACE,['10_9']);
myPath := [Point(168, 30), Point(165, 12), Point(160, 10), Point(152, 11),
Point(144, 9), Point(141, 16), Point(141, 25), Point(141, 40), Point(144, 49),
Point(140, 67), Point(139, 81), Point(143, 84)];
SPS_WalkPath(mypath);
end;

begin
P07_PlayerName := 'xx'; // Username
P07_PlayerPass := 'xx'; // Password
ClearDebug;
SetupSRL;
SetupP07Include;
repeat
P07_loginPlayer;
Start;
WalkToFish;
until(false);
end.

Log

SRL Compiled in 0 msec
Loading SMART: http://oldschool33.runescape.com/j1
Checking P07Include VersionNumber
Local : 1.7 / Latest : 1.7
You Have The Latest Version of P07Include
Welcome to Project RS06
Enter your username & password
Click To Play
SPS_GetArea ERROR: Exception: Error while reading stream: Unable to open file "C:\Simba\Includes\SPS\img\runescape_surface\10_9.png"
SPS_GetArea ERROR: Exception: Error while reading stream: Unable to open file "C:\Simba\Includes\SPS\img\runescape_surface\10_9.png"
SPS_GetArea ERROR: Exception: Error while reading stream: Unable to open file "C:\Simba\Includes\SPS\img\runescape_surface\10_9.png"
SPS_GetArea ERROR: Exception: Error while reading stream: Unable to open file "C:\Simba\Includes\SPS\img\runescape_surface\10_9.png"
SPS_GetArea ERROR: Exception: Error while reading stream: Unable to open file "C:\Simba\Includes\SPS\img\runescape_surface\10_9.png"
SPS_GetArea ERROR: Exception: Error while reading stream: Unable to open file "C:\Simba\Includes\SPS\img\runescape_surface\10_9.png"

or im maybe stupid and this is for EOC and not oldschool? ;)

PsxHax

2013-05-12 02:58:39

It's pretty obvious, do u even have the sps plugin installed?

Chris!

2013-05-12 03:05:22

If you're trying to use this for Oldschool then you need SRL-OSR and SPS-OSR. Search for them and you'll find them! :)