Hello Lanson,
Thank you for sharing your experience.
It does hit the 50 attack limit, no matter how fast your troops are because the attacks don’t go to the same barbarian villages in the same farm cycle. With each attack, the distance to the next barbarian village is further, so it takes more time for the troops to return.
It only takes long in the first farm cycle per session. In the second farm cycle, the bot remembers the locations of the barbarian villages, so it does not need to search them anymore. Sending an attack then should take less than 7 seconds.
So starting with the second farm cycle, half an hour is enough for sending 250 attacks.
If you prefer, you can have the bot switch between your villages earlier, so it does not anymore need to reach the 50 attack limit. If you choose this option, it still uses the available 50 attacks, just the ordering between villages would be different.
Many people use a configuration where the bot remembers the barbarian villages for most attacks, which makes them less likely to experience this situation.
Yes, the way is make it remember is to configure more farm cycles. The bot remembers all those coordinates within the same session, so it can reuse this knowledge, starting with the second farm cycle. (It sends only one attack per target per farm cycle, to the remembering does not affect the first farm cycle)
To enable more farm cycles, start the bot with a configuration. If you used the Command Prompt to start the bot, you can apply the configuration using an adapted command.
In your case, the command would be this:
botengine run-bot --online-session --bot-configuration="number-of-farm-cycles = 4, break-duration = 20 - 40" "https://github.com/Viir/bots/tree/4a4f4b8ba166a441882214337f0b129ea6430da0/implement/applications/tribal-wars-2/tribal-wars-2-farmbot"
If you apply this configuration, the bot also shows this message after completing the first farm cycle:
Completed 1 of 4 farm cycles.