SRL Archive - RS3 Help

Walking in AlKharid


boscolamhk

2014-12-31 09:46:22

How to write script for walking in AlKharid? I tried SPS and minimap.findDTM and both are not working well… SPS is not good because of the plain colour in the minimap. I tried minimap.findDTM and it always misclick unexpected places.

What is the best way to script the walking in AlKharid?

cosmasjdz

2014-12-31 11:08:36

Using minimap symbols maybe some custom tpa functions. Using clusters of yellow dot for example. I use clusters of dots walking in wilderness where sps doesnt work too. Also can try blindwalk.

slacky

2014-12-31 21:21:33

AlKharid is filled with dead trees, stones, and cactus', so you can probably use those symbols to navigate (one way or another).

NKN

2014-12-31 21:28:04

I personally use SPS.

A well tailored map/SPS settings works wonders.

boscolamhk

2014-12-31 22:22:04

From: slacky
AlKharid is filled with dead trees, stones, and cactus', so you can probably use those symbols to navigate (one way or another).


Do you mean using DTM to walk? The centre point is the point I want to walk to, and the surrounding points are those dead trees or stones? I try this method and it fails to walk to where I want.

And I want to ask if I see a large stone in my mainscreen and I want to walk near it (instead of clicking the stone). How should I script it? I only know how to click the stone but not clicking somewhere next to the stone.

lanadekat

2015-01-01 18:11:10

From: boscolamhk
Do you mean using DTM to walk? The centre point is the point I want to walk to, and the surrounding points are those dead trees or stones? I try this method and it fails to walk to where I want.

And I want to ask if I see a large stone in my mainscreen and I want to walk near it (instead of clicking the stone). How should I script it? I only know how to click the stone but not clicking somewhere next to the stone.


As far as I know that can be done using:


CLICKHEREDTM := DTMFromString('DTM')
if FindDTM(CLICKHEREDTM, x, y, x1, x2, y1, y2) then //x1,x2,y1,y2 you can just use minimap.FindDTM instead of using this
begin
mouse(x+10,y+10, MOUSE_MOVE); // 10 can be any number, this just clicks 10 pixels more to the right and 10 pixels more down
fastClick(MOUSE_LEFT);