Skip to main content

A Helper, that accelerates the process of creating a bot for a game

Project description

Welcome to Game Bot Helper!

Hi! I like to create Bots for some of the games I play. At least some tasks which are repetitive. This includes almost all mobile games :P After creating several bots I refined some of my techniques for that and mostly ending up with the same basic structure around the actual botting part. Since this wrapper does not change at all, I decided to publish this Helper to remove the Boilerplate Code I used to copy&paste from a past project.

Highlights

  • Use Threading under the hood, so you can run multiple methods or bots at once
  • Kill-Switch: Can stop every bot action with one button (if the bot os controlling your mouse this is a lifesaver in case of misbehaviour)
  • Easy image recognition to click or find specific parts on the screen

Setup

The class you need to use is called GameBotHelper. Before that, you should edit the config.toml file to set the screen values to match your current game screen (not your display resolution). You can also use the change_screen(self, x1, y1, x2, y2, x_mid, y_mid) function, to do so, but this will only change those values for the current instance of the Helper of course. You should do so in either way, because the bigger the screen, the longer the image recognition will take.

Functionality

This Helper will start a keyboard listener, so while running you can only press the keys you defined. All other keys will be ignored. The default Kill-Switch is the "End" key. You can change this with the change_kill_switch(self, key) function.

Contributions

I made this one open-source, you can contribute on GitHub, if you find a bug or have some additional features in mind.

Closing words

I hope this little helper will help you in creating your own bots. If you like my work, feel free to buy me a coffee

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

game-bot-helper-0.0.1.tar.gz (6.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

game_bot_helper-0.0.1-py3-none-any.whl (8.0 MB view details)

Uploaded Python 3

File details

Details for the file game-bot-helper-0.0.1.tar.gz.

File metadata

  • Download URL: game-bot-helper-0.0.1.tar.gz
  • Upload date:
  • Size: 6.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.0

File hashes

Hashes for game-bot-helper-0.0.1.tar.gz
Algorithm Hash digest
SHA256 ea2479c961321b5c0c2500f12eef68ab225f16c8f4c586eb736d44b5c1411d44
MD5 75a62690193c2d06be690cb10a47898c
BLAKE2b-256 dddd991e3d780a2b30edf16ae213c2e5bcaa07dd8d7cba123064ce76ab7898c9

See more details on using hashes here.

File details

Details for the file game_bot_helper-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for game_bot_helper-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f1dc074fa7f1cff5c0b2c27ac38985eb3c02b7707bc0f9a43d945340ed2d6f53
MD5 2d0209c78175342288a5128a881edd02
BLAKE2b-256 998a7e0d72957485ffb275ad29ff1c73d1b9b4a33af6ff92deacba3134e88b4a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page