这是一个免费的Python开源项目 This is an Open-source Python Project
pip install pydirectinput && pyperclip && pywin32 && numpy && pyautogui && opencv-python
Run the main.py with python IDE and the opened game client in chinese language.
pyautogui: grab the screenshot only !!! pywin32 -> win32gui & win32api:get the Windowinfo(E.g. axis positions of four corners) pydirectinput:Any mouse&keyboard movements in the Game !!! numpy & opencv-python -> cv2: simply process the (arrays)pictures
Champions: Master Yi
- Automatic Movements in client to start a VS VERY EASY BOT game, the functions in game is unfinished and to be developing.
- Automatic Movements in client to enter the training mode.
I'm trying use CV2.TemplateMatch() to detect the related buttons and objects, but I'm very confused about the next function to realize about minions, monsters and champions detecting and attacking. This source image of function can only input the gray one, so I'm gonna use pyautogui.locateOnScreen() to complete the unfinished behavious tree.
date ver. log 5.27 0.01 can enter the bot game without hand 5.28 0.02 can simply reach around the tower