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
323 stars 91 forks source link

path to my game #254

Closed megameganime closed 12 months ago

megameganime commented 1 year ago

what should the path of game to settings be, path to the games shortcut or to the games folder? my shortcut is at "C:/Users/user/proto/Riot Games/Riot Client" the games folder is at "C:\Users\user\proto\Riot Games\Riot Client\RiotClientServices.exe" --launch-product=league_of_legends --launch-patchline=live

i tried folder and shortcut myself but no success, probably wrote it in a bad format, can one of you be kind enough to write the correct path to copy paste in settings ? Thanks!

megameganime commented 1 year ago

PS sorry to open an issue for this, i know its not an issue, just couldnt find a discord or something with the quick look around i did

anthony5301 commented 12 months ago

"C:\Users\user\proto\Riot Games\League of Legends"

megameganime commented 12 months ago

Sorry, it doesnt seem to work

"""Settings module"""

FORFEIT = False
FORFEIT_TIME = 600  # Time in seconds
LEAGUE_CLIENT_PATH = r'C:\\Users\\user\\proto\\Riot Games\\League of Legends' # Replace with your game path if needed.
TESSERACT_TESSDATA_PATH = r'C:\\Program Files\\Tesseract-OCR\\tessdata'

Screenshot (4)

what have i done wrong?

anthony5301 commented 12 months ago

Press "Ctrl Shift Esc" to open task manager, double click "League of Legends", right click anyone of that shows up, select "open file location", and that is the path you needed. Also, delete that screenshot with your game name, i think you dont want your account got banned.

megameganime commented 12 months ago

yep, worked now, didnt even think about looking at task manager, it was in a completly different place XD, thnx man