C++ game botting

Hey guys, I've made a farm bot in c++ to do a task repeatedly on a game.

It basically moves the mouse and clicks at certain places.

I was wondering is there a way where I could make my program read the game and
like call game functions?

I don't really know how to ask this question sorry if you don't understand.

It depends heavily on the game but generally it can be done. You need to get the game's process ID and info from the operating system, then you can send it commands as if they came from the device via the message pump system in windows.

Reading from the game is more tricky. Most bots send blindly, knowing where to click on the interface for the repeated task.

A friend of mine coded a little actuator to poke his keyboard instead, this was easier than hacking the game.
Last edited on
Topic archived. No new replies allowed.