SRL Archive - OSR Help

SPS Trouble


Mat

2011-12-24 08:19:34

Can anyone tell me where I am going wrong trying to jsut get it to talk to the Astral Altar.
program new;
{$DEFINE SMART}
{$i srl/srl.scar}
{$i sps/sps.simba}
Var

Pts: TPointArray;

begin
smart_server := 1;
smart_members := false;
smart_signed := true;
smart_superDetail := false;
ClearDebug;
SetupSRL;

SPS_Setup(RUNESCAPE_SURFACE,['0_2']);
Pts := [Point(239, 172), Point(285, 174), Point(285, 205), Point(282, 237), Point(292, 277), Point(322, 304), Point(347, 333), Point(376, 359), Point(418, 388), Point(455, 382), Point(466, 378)];
SPS_WalkPath(Pts);
SPS_Continue := true;


end.
Any Idea?

Gaston7eze

2011-12-24 09:36:25

Well,im a noob,so im going to try to help.
Dont you should put End after "ClearDebug;"
and a "Begin" after "End".?And you havent write a "Procedure".

Mat

2011-12-24 09:44:24

I found the problem that path program is a pill of **** on the Y it was over 500px wrong :/
Thanks for the help but that is in the Main Loop so there is no need for a Procedure :)
it would be like this

Procedure Walking;
Begin
Sps_WalkPath(Blah);
End;
//Main Loop
Begin
Walking;
End;

Gaston7eze

2011-12-24 09:47:17

From: Aligndude
I found the problem that path program is a pill of **** on the Y it was over 500px wrong :/
Thanks for the help but that is in the Main Loop so there is no need for a Procedure :)
it would be like this

Procedure Walking;
Begin
Sps_WalkPath(Blah);
End;
//Main Loop
Begin
Walking;
End;


Uuups:S Sorry.
Nice!
Gastón.

Mat

2011-12-24 09:50:55

From: Gaston7eze
Uuups:S Sorry.
Nice!
Gastón.

Thanks for trying :) All about helping each other :)
Mat

Hero

2011-12-28 17:28:39

It you are using pathmaker .9 create a shortcut for your desktop and paste the actually .exe in simba/runescape_surface THEN go to simba/includes/sps/img/runescape_surface and at the bottom is a complete world map. Copy and paste that into the first folder and rename 'runescape_surface_map'. That way you will have an "updated" map to use and the coords should be semi-accurate. I say semi-accurate because the group thought is that the snowy areas are messing up sps walking.