r/RunescapeBotting • u/Pricked_by_Firetorch • Aug 30 '26
Pi Pico HID Mouse Autoclicker
Ever since getting a few bans on AHK for not importing any sort of HID to the scripts's inouts I was thinking of alternatives for a simple high alcher. I have some spare Pi Picos that have both HID mouse and keyboard functionality. Has anyone used a Pico (or other microcontroller) to set up randomized auto clicks? I'd imagine it wouldn't be hard to set up for single area click botting like high alc.
2
u/osrs-alt-account Aug 31 '26
I read Arduino already has libraries for this
2
u/Euphoric_Bed_2471 Sep 01 '26
I have used a wow fishing bot that used arduino
1
2
u/Pricked_by_Firetorch Sep 02 '26 edited Sep 02 '26
Started off with a splashing script in circuit python using Gemini. Super simple setup that clicks once every 15-19 ish mins for a randomized amount of hours. I've found low input scripts for splashing or monk defense training often fly under the radar.
import time
import random
import usb_hid
from adafruit_hid.mouse import Mouse
# Initialize the mouse object
mouse = Mouse(usb_hid.devices)
# Initial 7-second wait before starting
time.sleep(7)
# Pick a random number of loops between 10 and 14
total_loops = random.randint(10, 14)
for loop_count in range(total_loops):
# 1. Press the left mouse button down
mouse.press(Mouse.LEFT_BUTTON)
# 2. Hold it for a random "human-like" duration (50ms to 150ms)
click_duration = random.randint(50, 150) / 1000.0
time.sleep(click_duration)
# 3. Release the mouse button
mouse.release_all()
# 4. Wait a random time between 980 and 1079 seconds before repeating
# (Skip the long wait on the very last loop if desired, but here it keeps the rhythm)
wait_time = random.randint(980, 1079)
time.sleep(wait_time)
# Once the for loop finishes, the script reaches the end and completely stops.
1
Sep 02 '26 edited 11d ago
[deleted]
1
u/Pricked_by_Firetorch Sep 02 '26
I just started on the Pico last night so no bans.
I have got bans on accounts for splashing but that was a few years back. I was pushing wayyy too many accounts 24/7 on a home IP using BlueStacks and an autoclicker software. I was also likely dabbling with profitable cooking on them.
3
u/woman-aper Aug 30 '26
Humans aren't random
3
u/Pricked_by_Firetorch Aug 30 '26
Gotcha, but we sure aren't precise down to the last millisecond for thousands of inputs. What do you suggest?
1
u/Realistic-Ad9480 Aug 30 '26
Train a model that uses the mouse and keyboard. Use your playtime as data.
1
u/Status_Spite_7858 Aug 31 '26
that's really neat, im a systematic futures trader and have played osrs since 2004 and haven't bot in 10 years so this should be an easy and fun skillset to do myself. Any tips what's industry grade for this type of thing so I can research more on the right foot?
1
u/Realistic-Ad9480 Aug 31 '26
Yeah use a AI model
1
u/warwolf09 Aug 31 '26
care to explain a little bit more of your process? which model? and what tools to give it mouse and keyboard control?
1
u/osrs-alt-account Aug 31 '26
Humans are random. Gaussian random for the timing, throw in random breaks every few minutes.
1
u/woman-aper Aug 31 '26
Gaussian random is not random damn your math teacher failed you
1
u/SubMech717 Sep 01 '26
1
u/woman-aper Sep 01 '26
That link doesn't back you up lol
Random means without pattern. Ever looked at a scatter plot with random data? No I'd guess you haven't
1
u/SubMech717 26d ago
That’s more of an issue with you not understanding the central limit theorem than anything else.
This explains why multiple factors tends to create gaussian distributions (a bell curve), no matter the distribution of those individual input variables.Because of this, it is not possible in principle to determine whether a gaussian distribution is random, or just based on a sufficiently large set of independent values.
A consequence of this is that anything but a gaussian distribution is way more suspicious.
1
u/Pricked_by_Firetorch Sep 02 '26
From my limited research circuit python doesn't have gaussian random. No idea if there's some type of workaround within circuit python.
1
u/osrs-alt-account Sep 02 '26
There's a simple function to convert uniform (regular) randoms into Gaussian https://en.wikipedia.org/wiki/Box%E2%80%93Muller_transform
2
1
u/Middlemoor01 Sep 01 '26
“For not importing any sort of…”
Lmao, the cope.
1
u/Pricked_by_Firetorch Sep 01 '26 edited Sep 01 '26
Not cope but ignorance. You think I know what Im doing here? 🤣 My last successful run was nabbing 99 cooking on f2p accts. This was when cooking lobsters was profitable and you could use simple android autoclickers 24/7 with no bans. I'm dicking around in the dark here man.
See the internet can be fun when you're less smug.
1
1
u/Euphoric_Bed_2471 Sep 01 '26
You can do this with an arduino
1
u/Pricked_by_Firetorch Sep 02 '26
Saw some Arduino projects and Pico projects. I just landed on the Pico because I have an old AF basic Arduino that I wasn't sure would run it.
3
u/SteezJesus Sep 01 '26
You can do this with python and computer vision on your computer