-chaos-
2006-04-27 21:05:32
In MMouse
MMouse (0,0,0,0);
what do the 4 zeros stand for ex. do the first 2 stand for the x,y coords but then what do the other 2 zeros stand for
driger1592
2006-04-27 21:28:50
The first two are the x and y coordinates. The second two are to add random to x and y. For example:
MMouse(0,10,2,5);
Is like saying:
MoveMouse(0+random(2),10+random(5));
I hope this helps :D
-chaos-
2006-04-27 21:32:13
so what do the random ones do?
ub3r |<1||3r*1337*
2006-04-27 21:36:23
ok, here is a little thing i made to explain… the random prevents the mouse from moving to the same coords, the bigger the number, the more it moves away from the specified coords.

it depends on how big you put the last 2 numbers for the radius… just dont make it too big
phantombmx
2006-04-27 21:38:05
MMouse(x, y :integer; ranx, rany :integer);
random x and random y.. will make the position a bit random.. so MMouse(100, 100, 5, 5) will move to position 100, 100 with an ending randomness of 5, 5
The Prince of Randomness?
2006-04-27 21:53:12
if it is
mouse(0,0,10,0,true)
it would move to 0,0 and subtract or add arandom number up to 10 from X
if it is
Mouse(0,0,0,10,true);
it would move to 0,0 and subtract or add a random number up to 10 Y
driger1592
2006-04-27 21:58:39
I like how the Prince of Randomness explained it. That's about how I would go about explaining it. Basically think of it this way.
We have MMouse(50,40,25,20);
The mouse is set to move to 50,40 (without randoms), but before it moves, SCAR calculates the random values into it. The x coordinate 50 can have up to 25 subtracted or added to it. SCAR generates a random number between 1 - 25 (actually 0 - 24, but I'm assuming us SRL Devs made it do 1 - 25, so disregard this in parentheses). After generating the random number, it adds it to, or subtracts it from, 50. Then, with the y coordinate 40 it does the same thing. It generates a random number between 1 - 20 and then adds or subtracts it from 40. This creates randomness of the mouse movement to make scripts less detectable in games like RuneScape.
-chaos-
2006-04-28 22:25:03
k thx guys helped alot :D