Log in

View Full Version : Need help walking



Here2help
05-31-2012, 11:35 PM
Procedure

procedure walk2cook;
begin
myPath := [Point(278, 89), Point(278, 89), Point(299, 81)];
sps_walkpath(mypath)
end;


In the mainloop
SetupSRL;

SPS_Areas := ['7_7'];
SPS_Setup(RUNESCAPE_SURFACE, ['7_7']);

The problem I'm having is when ever simba gets to the walking procedure smart just completely freezes and goes unresponsive until I click stop. Then smart because responsive and goes back to normal.

Any idea why this is happening?

BigRedJapan
06-01-2012, 01:06 AM
This is what i did!


Procedure WalktoJuna;

Var
myPath:TPointArray;

Begin
SetupSRL;
SPS_Setup(RUNESCAPE_OTHER,['misthalin_underground']); //RUNESCAPE_OTHER is what folder you take your map from, and misthalin_underground is the map i used!
myPath := [Point(176, 79),Point(176, 79), Point(172, 90), Point(172, 90),
Point(166, 98), Point(166, 98), Point(163, 109), Point(163, 109), Point(159, 119),
Point(159, 119), Point(155, 129),Point(155, 129), Point(153, 143), Point(153, 143),
Point(148, 147)]; //Path
SPS_WalkPath(myPath);
Flag;
end;

This is strait up code that i use!
and to make it run just add the name of the Procedure to the end of the script


begin

SetUpSRL;
DeclarePlayers;
WalktoJuna

end.