SRL Archive - OSR Help

walk north beside a wall


Mikkoz99

2013-04-05 21:05:36

How can I make my user walk north besides a wall?
I'm trying to make my script go to varrock east bank with SPS but sometimes it fails.
Is there a guide or can you give me an example code?
EDIT: for oldschool RS

Mikkoz99

2013-04-06 07:33:44

anyone…?

The Killer

2013-04-06 07:52:15

Walking in 07 isn't easy. You could use DDTM Or TPA methods of walking.

tealc

2013-04-06 08:05:11

try radial walking using the road color it was used alot back before sps.

Mikkoz99

2013-04-06 08:45:37

I really can't figure out the RadialWalk and I thought how can I make it click the compass until it sees a specific colour?
For example it starts in varrock east mine, starts clicking compass to walk north the road, then when it sees the quest mark in the house west of it it stops clicking the map.
Is this possible?

Mikkoz99

2013-04-06 10:27:08

Is this:

procedure MineWalk;
begin
MMouse (700, 66, 2, 2);
ClickMouse2(mouse_left);
wait(6000+random(1000));
MMouse (692, 110, 2, 2);
ClickMouse2(mouse_left);
wait(6000+random(1000));
MMouse (663, 131, 2, 2);
ClickMouse2(mouse_left);
wait(5000+random(2000));
MMouse (652, 142, 2, 2);
ClickMouse2(mouse_left);
wait(5000+random(2000));
MMouse (647, 152, 2, 2);
ClickMouse2(mouse_left);
wait(5000+random(2000));
MMouse (611, 117, 2, 2);
ClickMouse2(mouse_left);
wait(5000+random(1000));
end;
A reliable walking procedure?

Olly

2013-04-06 10:59:35

From: Mikkoz99
I really can't figure out the RadialWalk and I thought how can I make it click the compass until it sees a specific colour?
For example it starts in varrock east mine, starts clicking compass to walk north the road, then when it sees the quest mark in the house west of it it stops clicking the map.
Is this possible?




repeat
radialWalk(some params here)
inc(steps);
until (findSymbol('quest')) or (steps > 20);

if steps > 20 then
begin
writeln('we got lost...');
terminateScript;
end else
writeln('we are at the quest symbol!');

Mikkoz99

2013-04-07 15:36:00

Nevermind I got sps walking there until it sees bank.
Thanks anyway