/Rise-of-Kingdoms-Bot

Bot for Rise of Kingdom and can do following job: claim quests/vip/gifts, collecting resource, gathering resource, donate techology, train troops and pass verification.

Primary LanguagePythonMIT LicenseMIT

issues forks stars lincense

I‘m apology to any who still using this bot, I'm not longer develop this project

Rise of Kingdom Bot

Introduction

Rise of Kingdom Bot can do following job: claim quests/vip/gifts, collecting resource, gathering resource, donate techology, train troops and pass verification.

If you have any problem, suggestions or new features, please feel free to submit issues directly on GitHub

If you don't want to set up by yourself, there is executable version for windows


Current Version v1.4.3.060721_beta (06/07/2021):

Link: https://github.com/Dylan-Zheng/Rise-of-Kingdoms-Bot/releases/tag/v1.4.3.060721_beta

Update:

  • Random tasks order.
  • fix sometime stuck on pass verification.

Note: Don't forget to move your 'save', 'config.json' and 'devices_config.json' to new version folder


Requirements

  • python

    version 3.7

  • software

    • ADB version 29.0.5-5949299 (1.0.41)
    • tesseract
  • libraries

    • opencv-python

    • pytesseract

    • numpy

    • pillow

    • pure-python-adb

    • requests

    • requests-toolbelt

Functions

Name Status
Automatically start the game when game is not running Done
Automatically locating building Done
Collecting resource, troops, and help alliance Done
Produce material Done
Open free chest in tavern Done
Claim quest and daily objectives Done
Claim VIP chest Done
Claim Event not yet
Collecting allied resource, gifs and donate technology Done
Upgrade and train troops Done
Attack barbarians Done
Heal troops Done
Gather resource Done
Mystery Merchant Done
A simple GUI Done
Allow bot control multi-devices/emulator Done
Pass verification with haoi API Done
Pass verification with 2captcha API Done

Set Up

  • Use following commands to install package into you python / python virtual environment (version 3.7)

    pip install opencv-python
    pip install pytesseract
    pip install numpy
    pip install pillow
    pip install pure-python-adb
    pip install requests
    pip install requests-toolbelt
    
  • Download ADB version 29.0.5-5949299 (1.0.41) (require for same version or you can change version in adb.py)

    • move all adb files under: project folder/adb/
  • Download tesseract version v5.0.0-alpha.20201127 (no require for same version)

    • move all tesseract files under: project folder/tesseract/
  • Use following command to run project

    python main.py
    
  • Directory Structure Image:

Configurations

  • Emulator resolution must be 720x1280 or 1280x720
  • Emulator must Enable Android Debug Bridge (ADB)
  • Game language must be English

WARNING

  • Use it at your own risk!
  • I don't know will your account be banned by using it!

Show case

  • Locating Building

  • Collection and Help

  • Produce Material

  • Upgrade and Train Troops

    Train

  • Gather Resource

  • Pass verification