stefan2200 / TWB

Python based bot for Tribal Wars
GNU General Public License v3.0
100 stars 54 forks source link

Villages not being added into config file #110

Open Excloud15 opened 3 months ago

Excloud15 commented 3 months ago

As of yesterday the bot no longer detects my villages, i ve been tweaking around the config file as well as the templates and can't seem to fix it, by looking at the HTML overview page i didn't notice anything diferent that would do this..

can someone give me an ideia on this?

As the logs shows below


2024-06-11 11:56:36 - Requests - DEBUG - GET https://br127.tribalwars.com.br/game.php?screen=overview_villages [200] Village 23843 will be ignored because it is not available anymore 2024-06-11 11:56:36 - FarmManager - INFO - Villages: 1 2024-06-11 11:56:36 - FarmManager - INFO - Reports: 98 2024-06-11 11:56:36 - FarmManager - INFO - Farms: 8 2024-06-11 11:56:36 - FarmManager - INFO - Farm village 21023 attacked 0 times - Total loot: {'wood': 0, 'iron': 0, 'stone': 0} - Total units lost: 0 (0.00) 2024-06-11 11:56:36 - FarmManager - INFO - Farm village 21281 attacked 0 times - Total loot: {'wood': 0, 'iron': 0, 'stone': 0} - Total units lost: 0 (0.00) 2024-06-11 11:56:36 - FarmManager - INFO - Farm village 21794 attacked 0 times - Total loot: {'wood': 0, 'iron': 0, 'stone': 0} - Total units lost: 0 (0.00) 2024-06-11 11:56:36 - FarmManager - INFO - Low Profile Farm village 22290 attacked 13 times - Total loot: {'wood': 690, 'iron': 396, 'stone': 748} - Total units lost: 0 (0.00) 2024-06-11 11:56:36 - FarmManager - INFO - Low Profile Farm village 22687 attacked 16 times - Total loot: {'wood': 771, 'iron': 765, 'stone': 771} - Total units lost: 2 (0.50) 2024-06-11 11:56:36 - FarmManager - INFO - Farm village 22731 attacked 0 times - Total loot: {'wood': 0, 'iron': 0, 'stone': 0} - Total units lost: 0 (0.00) 2024-06-11 11:56:36 - FarmManager - INFO - Low Profile Farm village 23237 attacked 4 times - Total loot: {'wood': 120, 'iron': 127, 'stone': 150} - Total units lost: 0 (0.00) 2024-06-11 11:56:36 - FarmManager - INFO - Farm village 23305 attacked 0 times - Total loot: {'wood': 0, 'iron': 0, 'stone': 0} - Total units lost: 0 (0.00) 2024-06-11 11:56:36 - FarmManager - INFO - Total loot: {'wood': 1581, 'iron': 1288, 'stone': 1669}


lgbSalzburg commented 3 months ago

I've got the same problem, please fix this

Excloud15 commented 3 months ago

What did the trick for me was:

Copying the headerstring value from the Villages overview tab instead of the overview Page of the current Village.

Vinsho commented 2 months ago

That didn't exactly help me :thinking: Tribal wars somehow remembers the last overview option. It works if the last opened overview is "combined" overview. Not sure how it's exactly called in english, it's the most left option.

chris7-dell commented 2 months ago

i have problem too with string someone can send images for help us

MAHardo commented 2 months ago

Did you guys try to delete the cache and restart the bot?

chris7-dell commented 2 months ago

yes