SRL Archive - General Botting Help

Sps


Phasmatys

2013-04-23 06:22:25

Guys I have been told many times that this error happens because my SPS is messed up, well I have overrid the update and restarted simba and I still get this message. What do I do.

SPS ERROR: SPS_Setup was never called
Error: Out Of Range at line 2288
The following DTMs were not freed: [SRL - Lamp bitmap, 1, AdamantOre.Dtm, CoalOre.Dtm]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap, SRL - NavBar Bitmap, SRL - Options Bitmap, 5, AdamantOre.Bmp, CoalOre.Bmp]

Sjoe

2013-04-23 06:37:49

SPS ERROR: SPS_Setup was never called

Call your map.

This after SetupSRL; in the mainloop:
SPS_Setup(Runescape_other/Runescape_surface, ['my map name'])

Check some SPS tutorials (the ones by J J and Google making custom maps) for better explanations if u don't understand it

Chris!

2013-04-23 06:47:45

In your walking procedure, you must call SPS_Setup!

For example:

procedure DraynorWalkToTree;
var
DraynorToTree: TPointArray;
begin
if not (LoggedIn) then
SetupPlayer;
MakeCompass('n');
FFlag(3);
SPS_Setup(runescape_other, ['Draynor_Willow']);
DraynorToTree := [Point(178,258),Point(176,250),Point(175,244),Point(165,244),Point(152,244),Point(154,252),Point(150,261),Point(146,275),Point(150,287),Point(154,294),Point(154,296)];
SPS_WalkPath(DraynorToTree);
while IsMoving do
Antiban
end;

:)

Sjoe

2013-04-23 06:51:14

From: Chris!
In your walking procedure, you must call SPS_Setup!

For example:

procedure DraynorWalkToTree;
var
DraynorToTree: TPointArray;
begin
if not (LoggedIn) then
SetupPlayer;
MakeCompass('n');
FFlag(3);
SPS_Setup(runescape_other, ['Draynor_Willow']);
DraynorToTree := [Point(178,258),Point(176,250),Point(175,244),Point(165,244),Point(152,244),Point(154,252),Point(150,261),Point(146,275),Point(150,287),Point(154,294),Point(154,296)];
SPS_WalkPath(DraynorToTree);
while IsMoving do
Antiban
end;

:)


But if u only have one SPS map, then there's no reason to always call the map again and again.

So u can safely put SPS_Setup after SetupSRL; in the mainloop


Chris: Come at me!!!