Nava2
2008-08-16 21:20:40
So, why is it such a big deal? To be honest, I thought that the Mouse function already did that.
Would changing it really make that much of a difference?
Here is what it is:
Here is what it should be:
It has been said that it will cause scripts to malfunction, and kill some SRL Procedures, I don't see how a few pixel difference to one side or the other will make a difference.
Discuss.
Would changing it really make that much of a difference?
Here is what it is:
{*******************************************************************************
procedure MMouse(x, y, rx, ry: integer);
By: Benland100
Description: Moves the mouse.
*******************************************************************************}
//Randomness is just added to the x,y. Might want to change that.
procedure MMouse(x, y, rx, ry: integer);
var
cx, cy: integer;
randSpeed: extended;
begin
randSpeed:= (random(MouseSpeed) / 2.0 + MouseSpeed) / 10.0;
if randSpeed = 0.0 then
randSpeed := 0.1;
getMousePos(cx,cy);
x:= x + random(rx);
y:= y + random(ry);
WindMouse(cx,cy,x,y,9.0,3.0,10.0/randSpeed,15.0/randSpeed,10.0*randSpeed,10.0*randSpeed);
end;Here is what it should be:
{*******************************************************************************
procedure MMouse(x, y, rx, ry: integer);
By: Benland100
Description: Moves the mouse.
*******************************************************************************}
procedure MMouse(x, y, rx, ry: integer);
var
cx, cy: integer;
randSpeed: extended;
begin
randSpeed:= (random(MouseSpeed) / 2.0 + MouseSpeed) / 10.0;
if randSpeed = 0.0 then
randSpeed := 0.1;
getMousePos(cx,cy);
x:= RandomRange(x - Random(rx), x + Random(rx)); // < - CHANGES
y:= RandomRange(y - Random(ry), y + Random(ry)); // < -
WindMouse(cx,cy,x,y,9.0,3.0,10.0/randSpeed,15.0/randSpeed,10.0*randSpeed,10.0*randSpeed);
end;It has been said that it will cause scripts to malfunction, and kill some SRL Procedures, I don't see how a few pixel difference to one side or the other will make a difference.
Discuss.