Rich
2009-05-13 22:01:19
I read this from here,
This got me thinking, because he's right. When I play legit, I do exactly what he says, and (M)Mouse don't do that (as far as I can see), so I came up with these.
What the above (HMMouse) does is moves the mouse to a point, (50 X randomness, and 45 Y randomness) at a normal human speed, then as it reaches the "random 50, 45 point", it slows down, like a human, then goes to the point the user specified.
This does the same as HMMouse, but it also clicks.
Comments?
Q: The mouse thing will affect honest players.
A: Not many people know this, but every time you try to click something, the mosue speed jumps high, then decreases to nearly zero upon gettin close to the target. Basically, a player needs some time to check if the mouse is on the right position before clicking, but autoers do that instantly.
This got me thinking, because he's right. When I play legit, I do exactly what he says, and (M)Mouse don't do that (as far as I can see), so I came up with these.
//procedure HMMouse(X, Y, RX, RY : Integer);
//By R1ch
//Example: HMMouse(X, Y, 7, 7);
procedure HMMouse(X, Y, RX, RY : Integer);
var
XX, YY : Integer;
begin
MouseSpeed:= 15 + Random(3);
case Random(2) of
0: XX:= X + Random(40);
1: XX:= X - Random(40);
end;
case Random(2) of
0: YY:= Y + Random(40);
1: YY:= Y - Random(40);
end;
MMouse(XX, YY, 10, 5);
MouseSpeed:= 4 + Random(3);
Wait(50 + Random(25));
MMouse(X, Y, RX, RY);
end;What the above (HMMouse) does is moves the mouse to a point, (50 X randomness, and 45 Y randomness) at a normal human speed, then as it reaches the "random 50, 45 point", it slows down, like a human, then goes to the point the user specified.
//procedure HMouse(X, Y, RX, RY : Integer; LClick : Boolean);
//By R1ch
//Example: HMouse(X, Y, 7, 7, True)
procedure HMMouse(X, Y, RX, RY : Integer; LClick : Boolean);
var
XX, YY : Integer;
begin
MouseSpeed:= 15 + Random(3);
case Random(2) of
0: XX:= X + Random(40);
1: XX:= X - Random(40);
end;
case Random(2) of
0: YY:= Y + Random(40);
1: YY:= Y - Random(40);
end;
MMouse(XX, YY, 10, 5);
MouseSpeed:= 4 + Random(3);
Wait(50 + Random(25));
Mouse(X, Y, RX, RY, LClick);
end;This does the same as HMMouse, but it also clicks.
Comments?