SRL Archive - OSR Help

Whats the most human-like mouse function?


Sax

2012-11-24 07:50:54

^^ Title

h4x_

2012-11-24 07:57:42

procedure Mouse(mousex, mousey, ranx, rany: Integer; button: variant);
Works the best for me atleast :D

or a combination of MMouse and ClickMouse2, so you can check uptext inbetween ;)

litoris

2012-11-24 09:02:53

MoveMouse(x,y)

NCDS

2012-11-24 09:12:38

Check the SRL6 github link in my sig. ;)

grats

2012-11-24 09:13:43

Flights mouse stuff, looks like it's in srl6

NCDS

2012-11-24 09:15:21

From: grats
Flights mouse stuff, looks like it's in srl6


Wouldn't be fair to just call it Flight's though, as it's really BenLand's code modified by Flight. ;)

Footy

2012-11-24 09:15:45

TBH, Mouse is more then human enough, you don't need to worry about being banned because of mouse movements.

riwu

2012-11-24 09:17:51

I've experienced a strange bug about the mouse function. Sometimes it will move around a small region near the destination extremely rapidly before coming to a stop at the destination.
It happens rarely and i'm not able to replicate it though so i didn't report the error.

grats

2012-11-24 09:18:00

From: NCDS
Wouldn't be fair to just call it Flight's though, as it's really BenLand's code modified by Flight. ;)


ah :p I just stay around to read what people are doing, don't really pay attention to much srl stuff since I suck at coding anyway

Footy

2012-11-24 09:19:05

From: riwu
I've experienced a strange bug about the mouse function. Sometimes it will move around a small region near the destination extremely rapidly before coming to a stop at the destination.
It happens rarely and i'm not able to replicate it though so i didn't report the error.


Perhaps look through the code and see if you can see a flaw?

riwu

2012-11-24 09:20:13

From: Footy
Perhaps look through the code and see if you can see a flaw?

Yeah that's what i planned, didn't really got around to actually do it. Hopefully i'll have more time/energy to look at it next week.

litoris

2012-11-24 09:53:46

From: riwu
I've experienced a strange bug about the mouse function. Sometimes it will move around a small region near the destination extremely rapidly before coming to a stop at the destination.
It happens rarely and i'm not able to replicate it though so i didn't report the error.


From experience, that only happens when

A) Mouse goes through a TPA with no waits, making it go to each point one after another
B) Script calls for Getmousepos and moves mouse there over and over again(something stupid happens in the loop), but because getmousepos isn't 100% accurate, the mouse moves rapidly.

Nexz

2012-11-24 11:27:14

From: litoris
movemouse(x,y)

lool

Anyway, the standard mouse is fine but you can look into Flight's versions (based on the standard (Benland's)) mouse.

riwu

2012-11-24 19:45:47

From: litoris
From experience, that only happens when

A) Mouse goes through a TPA with no waits, making it go to each point one after another
B) Script calls for Getmousepos and moves mouse there over and over again(something stupid happens in the loop), but because getmousepos isn't 100% accurate, the mouse moves rapidly.

GetMousePos is not 100% accurate? Can you able to replicate the situation where it isn't 100% accurate?

I'm not sure if the 'wild' mouse happens to Flight's mouse or the SRL include's, but i don't remember it happening when i use the include's, so i'll look into Flight's mouse first.

Flight

2012-11-24 20:04:54

I personally like BrakeMMouse as it resembles the majority of my mouse movements in-game.