jfd02 / TFT-OCR-BOT

A bot that plays Teamfight Tactics using OCR. Keeps track of bench, board, items, and plays the user defined team comp.
GNU General Public License v3.0
328 stars 91 forks source link

Getting "Client not open! Trying again in 10 seconds." even with correct game path. #284

Closed cjpwnzyou closed 6 months ago

cjpwnzyou commented 6 months ago

I have set the path correctly and followed all the other FAQ instructions.

Screenshots Screenshot_1 Screenshot_2 Screenshot_3

anthony5301 commented 6 months ago

Do you run the bot in cmd? This is the first time I saw a title name like this(your first picture). In general, the titile should be 'C:\WINDOWS\system32\cmd.exe -(Your_path_of_main.py)' You can open cmd by pressing 'windows r', type 'cmd', and enter.

At this time, please use 1920x1080 resolution. Due to some adjustments by Riot, other resolutions are not exactly scaled versions of 1080p and may have some displacement.

jfd02 commented 6 months ago

@anthony5301 Should we remove the screen scaling code and put a note in the readme letting everyone know it only supports 1920x1080?

anthony5301 commented 6 months ago

@anthony5301 Should we remove the screen scaling code and put a note in the readme letting everyone know it only supports 1920x1080?

I think it's fine to comment out this portion of the code for now, perhaps Riot will revert the changes someday. However, for the “16:9” line in the README, it might be a good idea to temporarily update it to only support 1080p.