Cazax
2009-01-12 12:36:01
Note: This is not Blind clicking in SMART.
Blind clicking is not a safe way to walk, because the minimap rotates and that will mess up the click, so it isn't a good idea.
But i made a function that creates a blind point of the minimap, using degrees and radius, not X and Y like a normal blind click would do.
R - Radius: The distance from the center of the minimap to the blind point.
Example:
If we want to click in the red box, here are the specifications:
Degrees: 180 (approx.)
Radius: 55 (approx.)
So, how our functions would look like?
Enjoy your blind-clicking :)
Blind clicking is not a safe way to walk, because the minimap rotates and that will mess up the click, so it isn't a good idea.
But i made a function that creates a blind point of the minimap, using degrees and radius, not X and Y like a normal blind click would do.
Function BlindPoint(D, R : Integer): TPoint;
Var
D2 : Integer;
Begin
D2 := D - Round(rs_GetCompassAngleDegrees);
Result.X := MMCX + Round(R * Cos(Radians(D2 - 90)));
Result.Y := MMCY + Round(R * Sin(Radians(D2 - 90)));
End;D - Degrees: The degrees(0..360) of the blind point(the same as RW).R - Radius: The distance from the center of the minimap to the blind point.
Example:
If we want to click in the red box, here are the specifications:Degrees: 180 (approx.)
Radius: 55 (approx.)
So, how our functions would look like?
Function WalkThere: Boolean;
Var
TP : TPoint;
Begin
TP := BlindPoint(180, 55);
Result := MFF(TP.X; TP.Y, RandomX, RandomY);
End;Note: MFF means Mouse Find Flag (From FlagChat.scar).Enjoy your blind-clicking :)