- Reaction score
- 701
- Author
- RedAlert
- Contributors
- N/A
- Quickbar Entry
-
javascript:$.getScript('https://twscripts.dev/scripts/findFrontlineVillages.js');
- Public?
- Public

This script needs to be run on the map screen:
/game.php?screen=map
If you are not already there, the script will redirect you there.
This is how the script looks like in practice:
Personally I love to have a frontline group and sometimes it gets hard to manage what village goes into that group. This script helps with that by automating the process for you.
You can enter a player or players, a tribe or tribes (when you want to enter multiple items you need to separate items using a comma) and you can also exclude players (example a friendly player on an enemy tribe ... or a spy
Then the script will calculate all your own frontline villages that are X (radius) fields away from the coordinates of the selected players/tribes. You can then import these coordinates into a group (group must be already created).
Note:
You will get the best results from this script in the cases that you have a clear frontline with the enemy. If instead the enemy is inside your area of control, the script will spit out a lot more coordinates than you would expect (like in the screenshot above), false positives. In which case you will have to manually clean out and remove the false positives before adding the villages on the group or even after, that's up to you.
Feel free to reply to this thread if you have any suggestions, need help, or found a bug in this script.
- Changelog
- => v1.1.0: 2021-10-26: https://forum.tribalwars.net/index.php?threads/find-frontline-villages.287751/post-7144052
Last edited:
Upvote
1