TeamFightTacticsBots / Alune

Mobile TFT Bot - Automate Teamfight Tactics in the mobile version through emulators, to farm pass exp and event tokens.
GNU Affero General Public License v3.0
52 stars 7 forks source link

Give items to units on the board #60

Open Rigaln opened 1 week ago

Rigaln commented 1 week ago

I'm using ChatGPT to translate this because I can't speak English. I'm sorry if it's difficult to read or understand.

I've been gratefully using it since yesterday.

Would it be possible to implement the item-related features mentioned in the roadmap sooner? The reason is that when items are scattered around the playing field, they stand out a lot, and I feel that it could make others suspicious.

Jokiblack commented 1 week ago

It is not yet implemented, because I think, if I'm wrong, correct me: The bot is not able to detect the champions on the board, nor on the bench The images in the mobile TFT that are seen on the board are of very poor quality, which makes it difficult for the bot to correctly place the items So we would have to find a way to be able to identify all the champions available in this set, and randomly place items on anyone, but the quality of the champions' TFT is very bad, and on top of that they move If I'm wrong, correct me

Jokiblack commented 1 week ago

image It's still a crazy idea, I don't know if it's possible to make the bot drag the item randomly, to a champion for example, every 1 minute try to drag an item to any of those holes, which are always filled because the tft automatically positions the champions, if you drag it and leave it there, it's random but items don't accumulate, sometimes it will happen that it's an anvil, or a change, the change and the anvil that omits them and doesn't drag the rest of the items, if randomly to any champion

Jokiblack commented 1 week ago

and with that we can make him also pick up the balls, and if it works, add that every 10 minutes for example he sells the whole bench

Rigaln commented 1 week ago

I think the idea is good. Personally, the most important thing for me is not to raise suspicion, so I would be happy if collecting the balls on the field is prioritized.

Jokiblack commented 1 week ago

I think the idea is good. Personally, the most important thing for me is not to raise suspicion, so I would be happy if collecting the balls on the field is prioritized.

This was already intended to be implemented, but there was a problem, in that if the bench or the items are full, it does not collect more and sends many requests without being able to fulfill them and could generate lag and saturate the bot.

akshualy commented 1 week ago

Yes, assigning the items randomly to units on the board would be the first step. In the previous PC version of this bot I already prepared a method to detect unit positions on the board, it would be possible to apply the same strategy here.

Jokiblack commented 1 week ago

Yes, assigning the items randomly to units on the board would be the first step. In the previous PC version of this bot I already prepared a method to detect unit positions on the board, it would be possible to apply the same strategy here.

I guess it won't be as easy as copy and paste, or telling chatgpt to implement it haha

Jokiblack commented 1 week ago

I tried to adapt it with the help of chatgpt but I get an error with the win32 module

akshualy commented 1 week ago

I'll implement the new game mode today and tomorrow, after that I can take another look at assigning items.