SRL Archive - OSR Help

Sps Walking on custom map help. P07 Smart


Professor Peanut

2013-03-06 21:43:08

Doesn't seem to start walking. I'm pretty sure I'm in the exact spot where I started the sps path generator. Please help. Also I'm using smart

Program testP07;
{$DEFINE SMART8}
{$I SRL/SRL.Simba}
{$I P07Include.Simba}
{$i sps/sps.simba}

var //{path name}
//{delcare the sps variable}
ToAirAlter: tpointarray;
status: string;

//LOGIN INFO STUFF
Procedure P07_DeclarePlayer;
Begin
P07_PlayerName:='';
P07_PlayerPass:='';
End;

procedure CameraAdjust;
begin
P07_MakeCompassNorth;
wait(1000);
writeln('Is it north?');
P07_MakeCameraAngleHigh;
writeln('is it high');
end;

procedure AirAlterPath;
begin
ToAirAlter := [Point(260, 118), Point(261, 120), Point(259, 113), Point(259, 108), Point(254, 102), Point(251, 102), Point(247, 102), Point(240, 103), Point(235, 106), Point(231, 112), Point(229, 118), Point(228, 122), Point(230, 130), Point(232, 137), Point(234, 145), Point(233, 153), Point(233, 160), Point(233, 166), Point(232, 171), Point(232, 177), Point(230, 185), Point(231, 196), Point(229, 202), Point(226, 207), Point(225, 213), Point(223, 219), Point(222, 228), Point(223, 237), Point(223, 262), Point(213, 265), Point(201, 274), Point(192, 282), Point(185, 289), Point(179, 296), Point(170, 303), Point(161, 311), Point(155, 321), Point(149, 330), Point(138, 338), Point(129, 347), Point(125, 356)]
end;

procedure AirAlterWalk;
begin
AirAlterPath;
if sps_walkpath(ToAirAlter) then
status := 'walking to...'
else begin
status := 'failed walking to...';
writeln(status + ' + time runnning:' +timerunning);
end;
writeln(status + ' + time runnning:' +timerunning);
end;

Begin
SetupSRL();
P07_DeclarePlayer;
SetupP07Include;
ActivateClient;
Wait(2000);
If (Not P07_LoggedIn) Then
P07_LogInPlayer;

CameraAdjust;

srl_sixhourfix := true;
smart_fixspeed := true;

AirAlterPath; //{call path variables here}
//{Mistake I see a lot only call the map once, Not in the procedure}
//{If using multiple accounts it will always give an error when trying to pull the map}
sps_setup(runescape_other,['Air_Alter_Bank']);

clicknorth(srl_angle_high);

AirAlterWalk;

repeat
until(false)

end.

also here is my path
[ATTACH]19749[/ATTACH]

Thank you for your time.

Professor Peanut

2013-03-06 22:12:31

le bump

Justin

2013-03-06 23:31:17

SPS isn't set up for 07. Try looking at Radial walk, (D)DTM, (A)TPA ect.

Best of luck!

Ricky

2013-03-07 06:09:06

You need to use the unofficial SPS include for old schoool Runescape, also instead of using a path generator, it's better if you call SPS_GetMyPos everytime ingame for some reason.

YoHoJo

2013-03-07 06:10:27

You need an edited SPS to work for 07.
Ask JJ if he could give you his.
If not, then you'll need to wait until an official one is out.

Sjoe

2013-03-07 06:32:55

And allign your map perfectly north when you're making the map.
Since it's faced North-west atm.