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 92 forks source link

Bot stops working if an encounter adds a stage #309

Closed sorcena closed 7 months ago

sorcena commented 8 months ago

If the stage does not consist of standard number of rounds, bot doesn't take any action for the entire stage. I believe it starts working again after said stage/ hitting 0hp. Idk if it doesn't trigger AFK detection, would be bad for farming

anthony5301 commented 8 months ago

I think it won't make you detected as afk. Im still thinking how to detect the encounter and new changes in set11

FreakyBot commented 8 months ago

@anthony5301 do you know when we can expect the update with set 11?

anthony5301 commented 8 months ago

Because I don't have much time to play games and note down what problems may arise, and I have to think of solutions and test them, so progress is very slow, especially with set11 adding encounter rounds, such as rounds with -8 and -9 appears and delay the normal rounds , making it difficult for the intermediate corousel round and augment round to execute actions as expected.

FreakyBot commented 8 months ago

what about checking rounds on that: image and use mb some kind of Vision LLM like chatgpt4-vision to guess rounds?

anthony5301 commented 8 months ago

yes, i'm already working on that, we can move the mouse to yellow pixel and check the message below if there is any "carousel", " encounter" or any monster name. We only need to do this when encounter add rounds(using game_assets.ROUND_POS_ONE ) For the augment round i think just add all rounds to it and check if "choose one" message is on the screen, because I remember there is a encounter may change augment round to random round. But I dont know how it really works

anthony5301 commented 7 months ago

Implemented