• Log in or sign up for an account here: https://www.sythe.org/login

How can i improve my mouseclick bot

businessman1

Newcomer
Joined
Jan 2, 2016
Sythe Gold
0
Messages
4
Currently i have quite an okay mouseclick bot for a game, Growtopia using autohotkey.

What i have is this:

Loop, xx
Run game
Connect to game
Clear News
Click World Name Box
Clear Past World Name
Type World Location
Enter World
Press down the right-arrow key, Go to LoopEntry
Enter Loop Entry Door
Place items, break items
Press down the up-arrow key.
Click Seed
Press down the right-arrow key
Plant seed
Press down the up-arrow key.
Press down the Left-arrow key, Go to 1st Platform Door
Click First Platform Door
OpenExit World Menu
Click exit World
If ProcessExist "game.exe"
Process, Close, game.exe
return

The mouseclicks are spaced out by sleep intervals. Eg Sleep, 5000.
One problem i have with this mouseclick bot is when there are internet problems, the mouseclicks would go out of sync, and the bot would go haywire.
The process of restarting the game helps to fix the out of sync mouseclicks to a certain extent.

This bot has earned me a sum of dollars, what i am wondering now is how can i improve it ?? I am interested in finding one of the programmers on this site to write a bot perhaps but i dont know what is possible.

Would it be possible to convert the above to a much more durable bot , perhaps a memory read bot which can run for 24 hours non stop?

Thank you for your time
 
Valentine's Singing Competition Winner
Sythe Awards 2015 Winner
Sythe Awards 2016 Winner
Sythe Awards 2020 Winner
Member of the Month Winner
MushyMuncher
Gohan has AIDS
Extreme Homosex
World War 3
I'm LAAAAAAAME
Discord Verified
Off Topic Participant
You'd have to make it more complex. I'm not familiar with the game, but you could make a bot to use colours and bitmaps to find an object and click it as opposed to just arbitrarily clicking every 5000 msec. Making anything beyond that is overkill.
 
Valentine's Singing Competition Winner
Sythe Awards 2015 Winner
Sythe Awards 2016 Winner
Sythe Awards 2020 Winner
Member of the Month Winner
MushyMuncher
Gohan has AIDS
Extreme Homosex
World War 3
I'm LAAAAAAAME
Discord Verified
Off Topic Participant
Thanks for the help bluepig. I havent heard of bitmaps before :D

It's basically an image or a still from the game. Take Runescape for instance - if you wanted to make a bot that identified all the herbs in your inventory, you could make it so that it has storage of the herb item picture and all the bot does is searches an area on the screen for those bitmaps and performs an action when they're found. You'd have to look into doing this in a real programming language though. On the bright side it's not extremely complex.
 
Sythe Awards 2015 Winner
Sythe RSPS Player
Two Factor Authentication User
In Memory of Jon
Christmas 2015
Doge
Halloween 2013
Sythe's 10th Anniversary
Off Topic Participant
Gohan has AIDS
Heidy
Lawrence
PHP Shit Show 2k26
PM me what you're making off of this.

I could potentially work with you.
 
In RuneScape, when the internet stutters for a second, a "loading" rectangle appears in the top-left, or perhaps it just freezes momentarily. As Bluepig pointed out, implementations relating to bitmap could be useful, especially in determining whether or not your internet is flowing smoothly.

If a "loading" dialogue or something does appear, Then
the timer used to move your mouse, or send input to the x,y coordinates will stop, until the referenced bitmap is no longer visible (indicating normal internet again).

Just a thought ;)
- Minted
 
Last edited:
Runescape Gamblingrunescape gambling
Back
Top