News for hackers. Stuff that matters.
Re:Building an Automatic Left Mouse Clicker by tehmillhouse on Tuesday August 22, 2017 @08:55AM (#15071863)
I know you said you didn't want to go into why you needed this, but I am curious: why did you need this (preventing your machine from going to sleep I imagine?), and why didn't `while true; do xdotool click 1; sleep 60; done` do the job? (no logged in user, perhaps?)
Re:Building an Automatic Left Mouse Clicker by tfeldmann on Tuesday August 22, 2017 @09:34AM (#15072198)
Re:Building an Automatic Left Mouse Clicker by ninju on Tuesday August 22, 2017 @11:33AM (#15073392)
If so all that is needed is a javascript console

https://stackoverflow.com/a/43557991

Re:Building an Automatic Left Mouse Clicker by neocodesoftware on Tuesday August 22, 2017 @10:24AM (#15072675)
guess - company machine - think a bank - has all usb ports blocked - company has locked ability to install software - access to corporate network via vpn has predictable timeout
Re:Building an Automatic Left Mouse Clicker by Jaruzel on Tuesday August 22, 2017 @10:35AM (#15072770)
Wow... so close. Now hypothetically throw 3x nested RDPs into the mix. ;)
Re:Building an Automatic Left Mouse Clicker by iplaw on Tuesday August 22, 2017 @09:13AM (#15072013)
I think that everyone is curious, and the reasoning is likely not as complex as the author says it is. I'd wager that it's either an embarrassing use case, or that he wanted to avoid having people tell him how he should have done it - can't do that with any level of confidence if you don't know the circumstances.
Re:Building an Automatic Left Mouse Clicker by tokenizerrr on Tuesday August 22, 2017 @09:29AM (#15072147)
Sounds like wanting to stay logged in an online game which has cheat detection going on.
Re:Building an Automatic Left Mouse Clicker by Cthulhu_ on Tuesday August 22, 2017 @09:38AM (#15072225)
I'm pretty sure online games like that (e.g. Runescape) also check intervals between clicks, this one seems pretty constant. But Runescape can't detect clicking tools running themselves iirc, so they've got other means of detecting bots (random events)
Re:Building an Automatic Left Mouse Clicker by Adamantcheese on Tuesday August 22, 2017 @10:34AM (#15072767)
While that is the case, you can get around this by using Mousekeys. I've actually set up a little machine to hit 5 on the numpad to click every few game ticks. From the game's perspective, I'm not cheating. But it is a hardware solution because a software one would be easily detected.

Also random events don't exist in Runescape 3, only Old School Runescape. The anti-bot technology implemented in RS3 doesn't seem to have been ported over to the older version of the game yet, perhaps due to it running on an older version of the game's engine.

Re:Building an Automatic Left Mouse Clicker by bpicolo on Tuesday August 22, 2017 @10:44AM (#15072860)
Probably because bots ended up beating random events and they just use other, better tech now
Re:Building an Automatic Left Mouse Clicker by tokenizerrr on Tuesday August 22, 2017 @09:50AM (#15072340)
Runescape runs in the browser so its anti cheat mechanisms are very limited I imagine. I'm pretty sure most MMOs (which run as installed applications) have more involved cheat detection going on.
Re:Building an Automatic Left Mouse Clicker by bpicolo on Tuesday August 22, 2017 @10:45AM (#15072865)
These days Runescape (RS3 anyway) is an installed app rather than a browser plugin.