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!
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!