Log in

View Full Version : Pixel Offsetting?



sm321
07-03-2012, 07:51 AM
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
07-03-2012, 07:54 AM
MoveMouse(RandomRange(100,120), RandomRange(200,220));
ClickMouse(100 + Random(20), 200 + Random(20), 1);

sm321
07-03-2012, 07:55 AM
MoveMouse(RandomRange(100,120), RandomRange(200,220));
ClickMouse(100 + Random(20), 200 + Random(20), 1);

Thankyou :)

riwu
07-03-2012, 10:45 AM
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
07-03-2012, 01:16 PM
MMouse requires the SRL include, one would assume this is for a private server/something other than runescape

riwu
07-03-2012, 01:22 PM
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
07-04-2012, 10:09 AM
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?)


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.

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
07-04-2012, 10:37 AM
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
07-05-2012, 07:30 AM
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
07-05-2012, 12:39 PM
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
07-05-2012, 12:52 PM
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 :)