Detergent13 / tft-bot

Automate Teamfight Tactics (TFT) for token/mission farming. Updated for Set 11!
GNU Affero General Public License v3.0
81 stars 45 forks source link

Update playtime,gamecount #71

Closed CaS1ow closed 2 years ago

CaS1ow commented 2 years ago

Please check the code

Detergent13 commented 2 years ago

Hey! Looks like a good addition, I'll test it myself and get back to you

Detergent13 commented 2 years ago

Upon testing it seems to be pretty inconsistent on if/when it prints the time after games; i.e. it will go through a few game cycles without printing, or flip-flop the printing order. Has anybody else experienced this or have an idea of why this could be?

CaS1ow commented 2 years ago

Upon testing it seems to be pretty inconsistent on if/when it prints the time after games; i.e. it will go through a few game cycles without printing, or flip-flop the printing order. Has anybody else experienced this or have an idea of why this could be?

I've never experienced that before. the "start timer" start when def queue(): started and then the "end timer" start at def won_match(): In my case, it works well. thats weird..

Detergent13 commented 2 years ago

I'll continue testing, I agree that it's a weird issue. It seems like it tends to happen after the script has been running for quite a while (like mine often is), although this could just be a coincidence.

CaS1ow commented 2 years ago

I'll continue testing, I agree that it's a weird issue. It seems like it tends to happen after the script has been running for quite a while (like mine often is), although this could just be a coincidence.

try to start timer after detect 1-1 or something else place :D

Detergent13 commented 2 years ago

It seems like this is an issue with the existing code, since the current match end text is a bit inconsistent. As this is a pre-existing issue with my own code, I see no problem with merging your work! Thank you for your contribution!