SRL Archive - Help

What would i use for mouse?


lolhahauad

2011-11-19 17:35:56

Ok, i know about movemouse and stuff like that but it doesnt look realistic

what should i use to make it look more realistic?

Harry

2011-11-19 17:44:26

Mouse. It's in SRL.

lolhahauad

2011-11-19 17:59:47

Thanks, what does ranx and rany stand for?

DeSnob

2011-11-19 18:15:53

Simple. It means how much different the x and y coords are gonna be (Ex. X is 500. With Ranx as 5, it may be 500, 501, 502, 503, 504 or 505.). It's important that you set them both to 3 or 5. If you never used them, you'd clicked almost the same point everytime and would probably be banned.

lolhahauad

2011-11-19 18:18:50

Oh, thank you.. I'm getting hang of it now, and how do i set the mouse speed, it was going incredibly slow LOL.

RISK

2011-11-19 18:23:57

"MouseSpeed := X"

Change the "X" to the amount you desire.

From: lolhahauad
Oh, thank you.. I'm getting hang of it now, and how do i set the mouse speed, it was going incredibly slow LOL.

Tickyy

2011-11-19 20:02:55

if you're talking about VERY VERY SLOW, then don't forget to SetupSRL at the last begin/end of your script.

lolhahauad

2011-11-19 20:06:35

I added the mouseSpeed thingy and it worked.. when i added setupSRL, it was no difference O_o

RISK

2011-11-19 21:01:07

That's because SRL already adjusts the MouseSpeed to a general mouse speed that's not too slow or too high once you put "SetupSRL". You have to do it like this:

procedure Setup;
begin
SetupSRL;
ClearDebug;
MouseSpeed := 20
WriteLn('The current mouse speed is: ' + ToStr(MouseSpeed) + '!');
end;

That WriteLn line is unneeded, by the way.

From: lolhahauad
I added the mouseSpeed thingy and it worked.. when i added setupSRL, it was no difference O_o