GabrielAgrela / OSROKBOT

Multi-feature bot for Rise of Kingdoms
37 stars 13 forks source link

OSROKBOT - Open Source Rise of Kingdoms Bot

OSROKBOT is a highly customizable, open-source bot for Rise of Kingdoms. Utilizing state machines and image detection, it provides a powerful platform for automation within the game. It is designed to be scalable, working with any 16:9 ratio screen.

This bot is not intended for mainstream users as it requires setup and likely some thinkering with the project. More than anything, this project should be a fun example for developers to play with.

Actions

Features

Getting Started

Quick tutorial for starting programmers

Prerequisites

Configuration

Create a .env file in the project root directory with the following content:

OPENAI_KEY=your_openai_key
TESSERACT_PATH=your_tesseract_path
EMAIL=your_email
ANTIALIAS_METHOD=LANCZOS

Replace the placeholders with your actual values.

Usage

You can create new state machines or actions using the existing framework. Feel free to screenshot your images for new state machines or different actions. Remember to run the script as administrator.

Development

Developers can extend OSROKBOT by implementing new actions or creating new state machines. The project provides a robust set of tools for working with images and actions.

Support

If you need help or have any questions, please open an issue on the GitHub repository.

License

OSROKBOT is open-source and available under the MIT License.

Acknowledgments

Special thanks to the community and contributors (me) who have helped make OSROKBOT a reality.