Kyrluckechuck / TFT-Bot

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

Change lineup #148

Closed DAI-HY closed 1 year ago

DAI-HY commented 1 year ago

Hello! I modified the config file after downloading the code to test the strength of different lineups. But after I changed the selected lineup it was still duelist and brawler during the test. Can you please explain where I am doing wrong?

Kyrluckechuck commented 1 year ago

Ah, that's definitely no good!

Can you please attach a copy of your config, as well as the logs for the client during a run which did not use the modified config you specified?

DAI-HY commented 1 year ago
# The traits you want the bot to roll for.
# The trait names are almost as written in-game, with spaces replaced by _ and . and : being ignored.
# For example: admin, star_guardian, mecha_prime, lasercorps
# For a full list, visit https://github.com/Kyrluckechuck/TFT-Bot/tree/main/captures/trait
wanted_traits:
  - gadeteen
  - hacker

For the config file, I only made changes to this part.

akshualy commented 1 year ago

For your information, I edited your comment to display the config correctly 🙂

I'm curious: If you're running from the source (You said you "downloaded the code"), are you changing the config in the %APPDATA%\TFT Bot or the output folder? The first is for the executable file from the release page, and the second is for running from the source.

Another thing, you have a typo in gadgeteen, but that should not result in it buying the default traits. (Although we should probably add a fix for that)

DAI-HY commented 1 year ago

I think I only changed files in tftbot. Is that wrong?😥

akshualy commented 1 year ago

The file at tft_bot/resources/config.yaml is a resource, meaning it'll only be written to the user file system (if the version changes), but will never be read beyond that. If you want to change the config that controls how the bot works, you have to use the one in output/config.yaml 🙂 (Or, if running the executable, you use the one in %APPDATA%\TFT Bot).

DAI-HY commented 1 year ago

thank you for your reply. I think I know how to change it.🥰