SRL Archive - Help

[Error] C:\Simba\Includes\sps/sps.simba(306:51): Invalid number of parameters at line


rj

2012-12-30 21:40:23

I am trying to do SPS walking for a Pserver (It should work as long as I use my own custom minimap correct?) And i get this error:

[Error] C:\Simba\Includes\sps/sps.simba(306:51): Invalid number of parameters at line 305
Compiling failed.

This is my code
program SPSTut;
{$i srl/srl.simba}
{$i sps/sps.simba}
Var
myPath:TPointArray;
begin
SetupSRL;
SPS_Setup(RUNESCAPE_OTHER,['Cam_bank']);//SPS Areas
myPath := [Point(78, 83), Point(78, 105), Point(97, 94), Point(109, 67), Point(103, 49), Point(90, 37)];
SPS_WalkPath(myPath);
end.

My path looks like this:

CRASH_OVERRIDE

2012-12-31 03:15:56

ARe you even bothering to search the forum:/ seriuosly actually search and look around or people wont be interested in helping…

http://villavu.com/forum/showpost.php?p=989416&postcount=1965

Mr[S]

2012-12-31 03:16:48

From: tasmania
ARe you even bothering to search the forum:/ seriuosly actually search and look around or people wont be interested in helping…

http://villavu.com/forum/showpost.php?p=989416&postcount=1965


Haha at least he has guidance now :p

rj

2012-12-31 03:21:08

From: tasmania
ARe you even bothering to search the forum:/ seriuosly actually search and look around or people wont be interested in helping…

http://villavu.com/forum/showpost.php?p=989416&postcount=1965


Are you even reading threads? I have noticed you making pointless post count on others topics.

CRASH_OVERRIDE

2012-12-31 03:26:09

Obviuosly i am because i linked you to a post with pretty much the same error.:google:

Also any chance you can post anymore lines of the script. Its refering to line 300 and something and i only see maybe 20 lines?:norris:

rj

2012-12-31 03:30:56

That is the whole script line 305 is in the SPS include

CRASH_OVERRIDE

2012-12-31 03:45:01

Well theirs nothing wrong with the beginning post that i can see. Are you using a custom SPS include or something?

From the above does it highlight the line the error occured on? if so what line is it?

Only other thing i can think of is maybe not use the actual Walk Procedure in the main loop:

program SPSTut;
{$i srl/srl.simba}
{$i sps/sps.simba}

procedure walkpath;
var
myPath: TPointArray;
begin
myPath := [Point(78, 83), Point(78, 105), Point(97, 94), Point(109, 67),
Point(103, 49), Point(90, 37)];
SPS_WalkPath(myPath);
end;


begin
SetupSRL;
SPS_Setup(RUNESCAPE_OTHER,['Cam_bank']);//SPS Areas
end.