SomeGuyFromHere
2012-12-26 20:38:41
Hey,
so after getting two things done (see my other thread), which took hours but btw feels great now that I got understand how several procedures work :spot: I'm back with a different problem: My second walking procedure isn't working.
The first one does its job more or less well, but the second one just isn't doing anything except turning the screen, not even an attempt to walk can be seen!
I'm using SPS_Path_Generator.
The path which works looks like this (note: these are not the exact paths but pretty close):

Code looks like this:
The second, broken one looks about like this:

Code:
Redid it several times, won't work. Help please? :redface:
so after getting two things done (see my other thread), which took hours but btw feels great now that I got understand how several procedures work :spot: I'm back with a different problem: My second walking procedure isn't working.
The first one does its job more or less well, but the second one just isn't doing anything except turning the screen, not even an attempt to walk can be seen!
I'm using SPS_Path_Generator.
The path which works looks like this (note: these are not the exact paths but pretty close):

Code looks like this:
Procedure WalkToGate;
var
myPath:TPointArray;
begin
SPS_Setup(RUNESCAPE_SURFACE,['7_5', '7_6', '7_7', '8_5', '8_6', '8_7']);//SPS Areas
myPath := [Point(3401, 2536), Point(3432, 2547), Point(3426, 2593), Point(3412, 2627), Point(3406, 2657), Point(3406, 2692), Point(3427, 2716), Point(3470, 2722), Point(3502, 2725), Point(3525, 2761), Point(3528, 2800), Point(3523, 2836), Point(3529, 2881), Point(3569, 2892)];
SPS_WalkPath(myPath);
Writeln('Walked to the gate. Waiting for 4 seconds.');
Wait(4000);
end; The second, broken one looks about like this:

Code:
Procedure FromGateToLoadstone;
var
myPath:TPointArray;
begin
Writeln('Starting to walk to the second lodestone');
SPS_Setup(RUNESCAPE_SURFACE,['8_6', '8_7', '9_6', '9_7']);//SPS Areas
myPath := [Point(3621, 2893), Point(3631, 2930), Point(3647, 2964), Point(3673, 2983), Point(3711, 3022)];
SPS_WalkPath(myPath);
Wait(2000);
end; Redid it several times, won't work. Help please? :redface: