PDA

View Full Version : Problems with SPS



cheesedoodal
10-14-2013, 07:04 PM
I am using SRL-OSRS, and ive encountered a problem
when i try to run a script using SPS, i get the error


[Error] C:\Simba\Includes\SPS\sps-osr.simba(393:53): Invalid number of parameters at line 393
and it highlights in the sps-osr.simba file:

{$IFDEF SIMBAMAJOR990}
SetLength(SmallMap, 0); // Using this instead of SmallMap := [];
SPS_BitmapToMap(Minimap, SPS_Accuracy, SmallMap);
{$ELSE}
SmallMap := [];
SmallMap := SPS_BitmapToMap(Minimap, SPS_Accuracy);
{$ENDIF}


I think the problem is the

SPS_BitmapToMap(Minimap, SPS_Accuracy);

I do have SPS and sps-osr, but maybe I have the wrong version?
Also, when I click View -> Extensions, the box is empty, and there are no SPS, SRL og Extensions buttons in the top menu.

Thank you!

haymundo
11-02-2013, 04:13 PM
I am using SRL-OSRS, and ive encountered a problem
when i try to run a script using SPS, i get the error


[Error] C:\Simba\Includes\SPS\sps-osr.simba(393:53): Invalid number of parameters at line 393
and it highlights in the sps-osr.simba file:

{$IFDEF SIMBAMAJOR990}
SetLength(SmallMap, 0); // Using this instead of SmallMap := [];
SPS_BitmapToMap(Minimap, SPS_Accuracy, SmallMap);
{$ELSE}
SmallMap := [];
SmallMap := SPS_BitmapToMap(Minimap, SPS_Accuracy);
{$ENDIF}


I think the problem is the

SPS_BitmapToMap(Minimap, SPS_Accuracy);

I do have SPS and sps-osr, but maybe I have the wrong version?
Also, when I click View -> Extensions, the box is empty, and there are no SPS, SRL og Extensions buttons in the top menu.

Thank you!
its fun being ignored on this site isnt it? ive had this problem, posted many times with no response from anyone, even moderators. Since everything has been updated ive had errors left right and centre with every script that isnt made by Hoodz. If you get a response or work out how to fix this pm me or quote me here please? :)