SRL Archive - OSR Help

Random Mouse Movements?


xtrapsp

2012-02-12 17:08:38

Hey guys, I want to add an custom made anti-ban sequence into my script using random mouse movements, is this possible?

I tried

    MoveMouse(randomrange(100,456));    

and it says

[Error] (31:36): Invalid number of parameters at line 30
Compiling failed.


for that code…

So I tried
    MoveMouse(randomrange(100, 456);        

and it came up with:

[Error] (31:36): comma (',') expected at line 30
Compiling failed.



So where the F should the , be haha

Chris

2012-02-12 17:15:53

You could use:
  MMouse(150, 200, 30, 30);
this will move the mouse to the spot with x = 150; and y = 200; but with random(30) added to both, so the x will be between 150 and 180.
MoveMouse will move the mouse straight to the point, in a line. while MMouse adds randomisation to that line, MMouse looks human, MoveMouse looks botty :p

xtrapsp

2012-02-12 17:38:43

Thank you Chris :)