7 ms·
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?)
by tehmillhouse 9y ago
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?)
- iplaw 9y agoI 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.
- tokenizerrr 9y agoSounds like wanting to stay logged in an online game which has cheat detection going on.
- Cthulhu_ 9y agoI'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)
- tokenizerrr 9y agoRunescape 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.
- bpicolo 9y agoThese days Runescape (RS3 anyway) is an installed app rather than a browser plugin.
- Adamantcheese 9y agoWhile 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.
- bpicolo 9y agoProbably because bots ended up beating random events and they just use other, better tech now
- tfeldmann 9y agoMy guess is cookieclicker http://orteil.dashnet.org/cookieclicker/ http://orteil.dashnet.org/cookieclicker/
- ninju 9y agoIf so all that is needed is a javascript console https://stackoverflow.com/a/43557991 https://stackoverflow.com/a/43557991
- neocodesoftware 9y agoguess - 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
- Jaruzel 9y agoWow... so close. Now hypothetically throw 3x nested RDPs into the mix. ;)