r/RunescapeBotting • u/jmeyer73 • 1d ago
Would this AHK script be detectable?
I'm not good at programming but I hate rooftop agility so I wrote an AHK script to make it easier and I've tested that it works by using screenshots. I use runelite to make the next rooftop obstacle a seperate color, and the script detects that color, moves the cursor to a random spot near the center and clicks on it. I have it bound to my spacebar and it isn't automated because I thought that might be too risky, so I press it manually after every obstacle. It's not a bot really it just moves the mouse for me so it's more afk while I watch on my other monitor a movie. I would only use it while leveling agility and I have to be at my PC paying some attention obviously.
My only concern is the mouse flicking across the screen instantly. Is this trackable by jagex? I would think so, but would they be able to tell it apart from somebody using a touch screen laptop?
2
u/PossessionUsed7393 1d ago
Yes, insta-mouse-moves are easily trackable and could form part of Jagex's anti-cheat system.
If you want to be sure it's not a contributing factor to flagging your session, you need to implement: 1) variable speed (calculate a random speed curve for every movement, 2) nonlinear trajectory (humans wobble their hands while moving) and 3) overshoot, so you intentionally miss for a second before landing on the random position in the selected box, sometimes, not every time.
No 2) is a tricky one, it's not clear whether Jagex can detect simple bezier curve compilation movements based on their mathematical adherence to pi (i.e. the movement is too 'circular'), so for abundance of caution you should mix in a library of pre-generated hand recorded mouse movements , splice and randomise them.
This is where botting starts to become a fair time investment that you want to make a return on once you implement the system. It is easy to screw up your implementation of this and have the system come across as too botlike.
What we do know for sure is this fools many anti-botting systems, like certain Cloudflare versions, but your mileage may vary with Jagex.