SRL Archive - Discussions and Debates

About mousemoving.


z92

2006-05-21 06:39:02

Hi there. Have you ever noticed how strange it looks when youre using scar for a task? I mean, no real human hits perfect every time! also, Humans also move the mouse in a whole other way.. Or at least i do? :)

What im saying is.. we should try working on a new mouse moving procedure, as the current ones doesent look all that human.

ETC:

Failing to hit the correct spot. (Misclicking.. And then retrying)
not so "~~~~~~" mousey, i mean humans drag the mouse pretty smooth, not all curvey.. But also, let me draw:






I just think this would shrink the risk of being banned to almost none. Not trying to act smart or anything, i dont know how hard this is or how easy it is, just thought it looks more human :confused: .

phantombmx

2006-05-21 06:54:31

are you using MMouse(x, y:integer; ranx, rany:integer); with BenMouse:=True; in your setup?

if not, try this in paint.. select the pencil tool, drag crosshair to canvas, make sure canvas is big enough, and then run the script.. it should be way more human… change constants to suit your needs..

program New;
{.include SRL\SRL.scar}

const
startx = 300;
starty = 300;
endx = 400;
endy = 450;

begin
SetupSRL;
BenMouse:=True;
ActivateClient;
Wait(1000);
MoveMouse(startx, starty);
HoldMouse(startx, starty, true);
MMouse(endx, endy, 0, 0);
ReleaseMouse(endx, endy, true);
end.

XxKanexX

2006-05-21 07:08:04

Bens isn't too curvey. He's is excellent.

And what do you mean click on the same spot? You can choose for a random pos of the destination..

phantombmx

2006-05-21 07:20:13

here is a picture of benmouse vs me.. benmouse in black, me in green (ish?)
also this is using the following script for complete randomness in the movement.. and as you see above.. you can hardly tell the difference between mine and MMouse with BenMouse:=true;

the only noticeable(sp?) difference is the color ;)
program New;
{.include SRL\SRL.scar}

begin
SetupSRL;
BenMouse:=True;
ActivateClient;
repeat
Wait(1000);
MoveMouse(1+random(500), 1+random(500));
GetMousePos(x, y);
HoldMouse(x, y, true);
MMouse(1+random(500), 1+random(500), 0, 0);
GetMousePos(x, y);
ReleaseMouse(x, y, true);
until(false)
end.


**offtopic:::: php code tags don't allow you to use the '\' character.. it shows if you are editing it.. but not once you submit.. it just doesnt show..**

z92

2006-05-21 07:41:31

Aha :). I know that you can do random pos. But i mean, make it FAIL to click the right place and then try again.. you know, you dont hit the right thing EVERY time when you play, do you? Many times while playing you misclick. forexample doing herblaw, sometimes you click "drink" instead of Use potion, right? thats what i ment the script could be modified to do and then retry to do it right :)

z92

2006-05-21 07:43:09

But also, I mean, make it move more smooth insted of 'moove… wait.. click item…wait…move' Doing a 'move-click-keepmoving-click' kind of stuff would make it more human. Most people dont move the mouse the "move…..wait……click….wait…move." way :p

I will try to record what i mean, one moment.

z92

2006-05-21 08:08:25

The recording: http://www.megaupload.com/?d=4LSJ7F9A

You should be able to see what i mean… first i do like id do normally.. and then i imitate what a script would do to show the difference..

(notice forexample, sometimes you move the mouse while clicking an item… Thats what humans do.. :P)

phantombmx

2006-05-21 09:03:41

ouch.. triple post.. edit next time >.<

that would be script-side.. i mean yes we could do procedures for it.. but it is almost always going to be best as script-side