Skip to content
This repository has been archived by the owner on Apr 20, 2024. It is now read-only.

50% of the time the bot loop breaks #248

Closed
3RICtionYT opened this issue Mar 23, 2024 · 7 comments
Closed

50% of the time the bot loop breaks #248

3RICtionYT opened this issue Mar 23, 2024 · 7 comments

Comments

@3RICtionYT
Copy link

image

^^ here is the photo of what my command terminal is sending me. any fix?

@3RICtionYT
Copy link
Author

btw ive lived with this issue for a while now. and my buddy also gets this error sometimes too

@3RICtionYT
Copy link
Author

also my league client would be closed, last game over, and signed out of my league account (but thats prob due to time)

@Kyrluckechuck
Copy link
Owner

Very odd, it looks like the client is failing to read the config, and failing to create one as well.
Can you attach the bot logs so we can attempt to debug it?

@3RICtionYT
Copy link
Author

Very odd, it looks like the client is failing to read the config, and failing to create one as well. Can you attach the bot logs so we can attempt to debug it?

Howdo i find bot logs?

@Kyrluckechuck
Copy link
Owner

You should be able to locate the last run(s) with the naming convention output\tft-bot-debug-TIMESTAMP.log relative to where your files were being run, which based on your screenshot above I think would be in C:\TFT-Bot-main\output

@3RICtionYT
Copy link
Author

@akshualy
Copy link
Collaborator

It's trying to call the exe in the current directory. update_riot_client_constants is never called, unless the bot starts while league is closed. Can be fixed by adding

riot_client_directory = system_helpers.determine_riot_client_install_location()
update_riot_client_constants(riot_client_directory)

to line 965 in tft.py.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants