SRL Archive - Help

Pixel Offsetting?


sm321

2012-07-03 03:51:42

Hello :) When using the standard

MoveMouse(100, 200);
ClickMouse(100, 200, 1)
//etc.

How do you add a bit of offset to it? So instead of clicking at 100, 200 it will randomly choose say 100-120, 200-220? Thankyou.

masterBB

2012-07-03 03:54:49

MoveMouse(RandomRange(100,120), RandomRange(200,220));
ClickMouse(100 + Random(20), 200 + Random(20), 1);

sm321

2012-07-03 03:55:40

From: masterBB
MoveMouse(RandomRange(100,120), RandomRange(200,220));
ClickMouse(100 + Random(20), 200 + Random(20), 1);


Thankyou :)

riwu

2012-07-03 06:45:36

Why not just MMouse(110,210,10,10) then?
Even if ur MoveMouse has random pixel offset it still moves instantly and un-humanly. (or if this is not made for official RS then why bother abt pixel randomness?)

P1ng

2012-07-03 09:16:27

MMouse requires the SRL include, one would assume this is for a private server/something other than runescape

riwu

2012-07-03 09:22:51

From: p1ng
MMouse requires the SRL include, one would assume this is for a private server/something other than runescape

Uh yeah thats what im assuming, then why bother about pixel offset? Or if the private server cares about botting then MoveMouse will still get u banned.

{$I SRL/SRL.Simba}
SetupSrl;
^ thats all u need to use the include.

sm321

2012-07-04 06:09:39

From: riwu
Why not just MMouse(110,210,10,10) then?
Even if ur MoveMouse has random pixel offset it still moves instantly and un-humanly. (or if this is not made for official RS then why bother abt pixel randomness?)


From: p1ng
MMouse requires the SRL include, one would assume this is for a private server/something other than runescape


From: riwu
Uh yeah thats what im assuming, then why bother about pixel offset? Or if the private server cares about botting then MoveMouse will still get u banned.

{$I SRL/SRL.Simba}
SetupSrl;
^ thats all u need to use the include.


Thankyou for all of the replies :) How do I make it left click? I currently have

program AutoClicker;

{$I SRL/SRL.Simba}

begin
SetupSrl;
MMouse(110,210,10,10);
end.

riwu

2012-07-04 06:37:17

Either add ClickMouse2(mouse_left) after MMouse, or just use Mouse(110,210,10,10,mouse_left) (a combination of the 2).
U should read up on the beginner scripting tutorials for the basics. (or watch yohojo's vids, heard that they are good)

sm321

2012-07-05 03:30:09

From: riwu
Either add ClickMouse2(mouse_left) after MMouse, or just use Mouse(110,210,10,10,mouse_left) (a combination of the 2).
U should read up on the beginner scripting tutorials for the basics. (or watch yohojo's vids, heard that they are good)


Ok, thankyou :) I have watched a couple of his videos, and yes they are very good.

Sir Ducksworthy

2012-07-05 08:39:15

Grab the SRL Include's MMouse and Mouse Functions and put them in another Include Called SRLPServer.simba so you can use everything also, you can just Include the SRL.simba set a MouseSpeed and not SetupSRL or whatever.
You could also just import the Mouse.simba from the Includes instead of doing the above since SRL.simba does the same thing.

sm321

2012-07-05 08:52:08

From: leetsxc
Grab the SRL Include's MMouse and Mouse Functions and put them in another Include Called SRLPServer.simba so you can use everything also, you can just Include the SRL.simba set a MouseSpeed and not SetupSRL or whatever.
You could also just import the Mouse.simba from the Includes instead of doing the above since SRL.simba does the same thing.


Ok, thankyou :)