CynicRus
2012-06-18 08:25:22
Hi. So, i have a problem with a script.
I initialize sps:
[PHP]procedure SetupSps;
begin
SPS_Setup(RUNESCAPE_SURFACE, ['6_8']);
end; [/PHP]
after - generate waypoint path with Wolygon's Path Creator,
and use this path:
[PHP]
procedure GoToBank;
var
GoBank: TPointArray;
begin
ClickNorth(SRL_ANGLE_None);
Writeln('Walking to Bank…');
GoBank := [Point(2508, 3412), Point(2482, 3417), Point(2472, 3444), Point(2451, 3475), Point(2430, 3489), Point(2412, 3496), Point(2410, 3526), Point(2454, 3526)];
if SPS_WalkPath(GoBank) then
Writeln('At the Bank..');
while(IsMoving) do
Wait(Random(5000));
end;
[/PHP]
This code is compile without any error, but after run it I infinitely see
[PHP]formWriteln: Walking At Bank[/PHP] and doesn't nothing. How i can fix to this problem?
I initialize sps:
[PHP]procedure SetupSps;
begin
SPS_Setup(RUNESCAPE_SURFACE, ['6_8']);
end; [/PHP]
after - generate waypoint path with Wolygon's Path Creator,
and use this path:
[PHP]
procedure GoToBank;
var
GoBank: TPointArray;
begin
ClickNorth(SRL_ANGLE_None);
Writeln('Walking to Bank…');
GoBank := [Point(2508, 3412), Point(2482, 3417), Point(2472, 3444), Point(2451, 3475), Point(2430, 3489), Point(2412, 3496), Point(2410, 3526), Point(2454, 3526)];
if SPS_WalkPath(GoBank) then
Writeln('At the Bank..');
while(IsMoving) do
Wait(Random(5000));
end;
[/PHP]
This code is compile without any error, but after run it I infinitely see
[PHP]formWriteln: Walking At Bank[/PHP] and doesn't nothing. How i can fix to this problem?