Home

Awesome

main

NOTES:

INSTALLATION:

  1. Install Python 3.11.4 from https://www.python.org/downloads/windows/
    • Note that Python 3.11.4 cannot be used on Windows 7 or earlier.
  2. Clone the repository or download it from here https://github.com/jfd02/TFT-OCR-BOT/archive/refs/heads/main.zip
  3. Install tesseract 5.3.1.20230401 using the Windows installer available at: https://github.com/UB-Mannheim/tesseract/wiki
    • Note the tesseract path from the installation.
    • Set Tesseract tessdata folder path in settings.py file (probably already correct)
  4. Download tesserocr v2.6.0 to the bot folder via: https://github.com/simonflueckiger/tesserocr-windows_build/releases
    • Please note that the version must be 2.6.0 to be compatible with tesseract 5.3.1
    • Select the installation file for either 3.10 or 3.11 based on the Python version you are currently using
    • The file name should be either tesserocr-2.6.0-cp311-cp311-win_amd64.whl or its corresponding to cp310.
  5. Run install.py
  6. Configure settings.py so the league client path is correct
  7. Disable all in-game overlays
  8. Run the main.py file in CMD

FEATURES:

main

Comp Editor

Note: Make sure you have a valid comps.py file (copy the one from the repo if you get syntax errors)!

Open by clicking the file or executing from a terminal with python comp_editor.py (in the correct folder).

main

TODO:

FAQ:

ModuleNotFoundError: No module named 'win32gui'

I double clicked main.py, a window popped up and closed instantly.

The bot said it is moving, buying, and selling champions, but nothing is happening.

Client not open! Trying again in 10 seconds.

RuntimeError: Failed to init API, possibly an invalid tessdata path.

ImportError: DLL load failed while importing _tesserocr: The specified module could not be found.