SRL Archive - OSR Help

Clicking points on the minimap


ssshhhaaa

2012-05-01 07:20:06

Is there a way to click on certain parts of the minimap (+random pixels), this is my last resort for trying to walk in the wilderness and it 'seems' easy.

Thanks :bart:

J J

2012-05-01 08:09:29

procedure Test;
begin
if FindColorSpiralTolerance(X, Y, color, MMX1, MMY1, MMX2, MMY2, tol) then
begin
MMouse(X, Y, 5, 5);
end else
begin
WriteLn('We haven`t been able to find the color');
end;
end;
Will look for a specific color with a specific tolerance on the minimap. If it's found it will move the mouse there with a random offset of 5 pixels.

It might look easy, but the wilderness has many colors that might match. Your best bet is using RadialWalk to be sure that you are walking within a certain radius.

Tutorial here: http://villavu.com/forum/showthread.php?t=11584

ssshhhaaa

2012-05-01 08:20:31

From: J J
procedure Test;
begin
if FindColorSpiralTolerance(X, Y, color, MMX1, MMY1, MMX2, MMY2, tol) then
begin
MMouse(X, Y, 5, 5);
end else
begin
WriteLn('We haven`t been able to find the color');
end;
end;
Will look for a specific color with a specific tolerance on the minimap. If it's found it will move the mouse there with a random offset of 5 pixels.

It might look easy, but the wilderness has many colors that might match. Your best bet is using RadialWalk to be sure that you are walking within a certain radius.

Tutorial here: http://villavu.com/forum/showthread.php?t=11584


Yeah i tried learning Radial walk and read the tutorials but i cant interprete anything from the Radial Walk tutorials, i need someone to teach it to me but its hard finding anyone whos willing to teach it to me :(

iBlank

2012-05-02 00:41:20

From: ssshhhaaa
Yeah i tried learning Radial walk and read the tutorials but i cant interprete anything from the Radial Walk tutorials, i need someone to teach it to me but its hard finding anyone whos willing to teach it to me :(


Look into the tutorial for Walking with DTMs by DemiseScythe(I believe, or might just be Demise) or you can look into the ObjectDTM tutorial by Abu. Both are great and easy to follow tutorials!

Edit
ObjectDTM Walking - http://villavu.com/forum/showthread.php?t=78905
DTM Tutorial - http://villavu.com/forum/showthread.php?t=77691

Let me know if you need any further help!

ssshhhaaa

2012-05-02 02:52:46

From: alevere4
Look into the tutorial for Walking with DTMs by DemiseScythe(I believe, or might just be Demise) or you can look into the ObjectDTM tutorial by Abu. Both are great and easy to follow tutorials!

Edit
ObjectDTM Walking - http://villavu.com/forum/showthread.php?t=78905
DTM Tutorial - http://villavu.com/forum/showthread.php?t=77691

Let me know if you need any further help!

Yeh ive tried DTMs, they work very good when not in the wilderness, in the wilderness they kinda lag alot and struggle to find points. So im trying to find a back up walking method atm, radial seems the best tbh but very hard =p

nickrules

2012-05-02 20:58:02

From: ssshhhaaa
Yeh ive tried DTMs, they work very good when not in the wilderness, in the wilderness they kinda lag alot and struggle to find points. So im trying to find a back up walking method atm, radial seems the best tbh but very hard =p


Using DTMs for dynamic areas like the MM or MS isn't good for long term support (unless you're willing to create potentially horrible inaccuracy, which defeats the point). Anyways, try TPA walking if you're feeling like a kool kat, otherwise, ODTMs should get the job done (there are lots of trees there, right?).

Though radial walking = super bonus points ;)

Google

2012-05-02 21:16:44

That is called Static Clicking and its very simple just using the color picker to pick a spot on the minimap then using MMouse(X,Y,0,0) the X is the first coord Y is the second and the zeros are the random pixel shifts, then just using a Wait(3500 + Random(150)); bla bla to give it time to walk there before making a new walk point

NKN

2012-05-02 21:23:09

I use RadialWalking, very accurate.

Google

2012-05-02 21:24:44

From: NKN
I use RadialWalking, very accurate.


He was just looking for something very simple and static clicking is perfect if your lazy but severely looked down upon, but it does the job.

ssshhhaaa

2012-05-03 03:08:58

From: NKN
I use RadialWalking, very accurate.

Im trying to learn radial walk atm :)

But isnt it kind of dangerous? If you dont get onto one point then the whole path wont work :/

J J

2012-05-03 04:31:29

From: ssshhhaaa
Im trying to learn radial walk atm :)

But isnt it kind of dangerous? If you dont get onto one point then the whole path wont work :/

You have some sort of radius where it will walk in. If you pick the correct colors, tolerance and radius it's a very accurate way of walking. Even if you don't walk to the exact same spot every time.. because you are using a radius it can still find the next point. Just don't choose points that are too far away from eachother. Try to go for around 30-40 pixels max.

Abu

2012-05-03 11:01:53

Just a few points to make:

1. Make sure you are in the same (or similar) position every time when you start the path

2. Make sure your camera angle is facing the correct direction before starting the path.

3. In between paths you can FFlag(), within the brackets you put the number of pixels you want it to be away from the flag before stopping, so FFlag(2) will wait for you player to be 2 pixels from the flag before moving on.

I've used static co-ordinates for walking before in the wilderness, worked just fine :)

putonajonny

2012-05-04 20:18:58

Always make sure your rotate the point by the compass angle if you use blind walking…

Abu

2012-05-05 18:54:16

From: putonajonny
Always make sure your rotate the point by the compass angle if you use blind walking…


Which means something like this:

//credits to ReadySteadyGo
p := RotatePoint(Point(123, 456), -rs_GetCompassAngleRadians, MMCX, MMCY);
Mouse(p.x, p.y, 3, 3, mouse_Left);

putonajonny

2012-05-05 21:51:18

From: abu_jwka
Which means something like this:

//credits to ReadySteadyGo
p := RotatePoint(Point(123, 456), -rs_GetCompassAngleRadians, MMCX, MMCY);
Mouse(p.x, p.y, 3, 3, mouse_Left);


Yes, however I don't think that should be -rs_GetCompassAngleRadians, just rs_GetCompassAngleRadians

Since barings are usually measured clockwise, and everything else anticlockwise :)