misteralb

In-Game Staff
Tribal Wars Team
Team
Script Moderator
Reaction score
380
Author
RedAlert
Contributors
N/A
Quickbar Entry
javascript:$.getScript('https://twscripts.dev/scripts/barbsFinder.js');
Public?
Public
Barb Finder with Filtering

Approved t13981993

This is a barb finder with filtering script. It can be ran from everywhere practically.

Screenshot_1.png

This is how it will look to the end user:

Screenshot:

This script can be used to have a list of barb vills near the current village and to find barbs inside given parameters, example if you want to find all barbs inside a 20 fields radius, bigger then 1k, etc.

Or you could also use this to noble big barbs, so you could use this script to easily find big barbs on the map (barbs are tasty ... but not for everyone's taste probably so your choice at the end how you use this script).

Changelog:
-v1.1: Script is now translation-ready.

For suggestions, bugs, or if you need help using this script please reply on this thread.
 

Attachments

  • Screenshot_1.png
    Screenshot_1.png
    189 KB · Views: 39
Last edited:
Upvote 5

King Leonardo

New Member
Reaction score
0
@King Leonardo ,

You can change the current village with another village of yours (just by going to the other village) and then re-run the script and it will work okay.

This can already happen, so what can your suggestion bring new?

Of course. I suggest we can select whatever coordinate we want and not only our villages.
 

misteralb

In-Game Staff
Tribal Wars Team
Team
Script Moderator
Reaction score
380
It should be doable ... but out of curiousity, the goal of this script is to help you farm. What is the idea behind running the script for villages you don't own?
 

King Leonardo

New Member
Reaction score
0
It should be doable ... but out of curiousity, the goal of this script is to help you farm. What is the idea behind running the script for villages you don't own?

The idea is to take a further area to farm and take specific villages from an specific location. When I change the fields to filter to a higher value, sometimes I get villages that I don't want. If we can change the central location I guess we can make a better filter selecting few fields from that location.
 

misteralb

In-Game Staff
Tribal Wars Team
Team
Script Moderator
Reaction score
380
Script has been updated to version v1.5.0

On this script update I have worked for this suggestion:

So added a new field on the script:

1624442149368.png

which allows the player to change the current village coordinate to whatever the player wants to use.

There is one side effect to this.

If there are barbarians found inside the given parameters then a table with command options will show ... the commands are generated using as source village your current village ingame, not the current village input field (since the village you enter on the input field might be a village owned by another player).
 

King Leonardo

New Member
Reaction score
0
Script has been updated to version v1.5.0

On this script update I have worked for this suggestion:

So added a new field on the script:

View attachment 8142

which allows the player to change the current village coordinate to whatever the player wants to use.

There is one side effect to this.

If there are barbarians found inside the given parameters then a table with command options will show ... the commands are generated using as source village your current village ingame, not the current village input field (since the village you enter on the input field might be a village owned by another player).
Thank you too much to listen the suggestion!

How tips can you do to me to start programming this kind of script ?
 
Last edited:

-Niry-

New Member
Reaction score
1
hu_HU: {
'Barbs Finder': 'Barbi kereső',
'Min Points:': 'Min pontszám:',
'Max Points:': 'Max pontszám:',
'Radius:': 'Hatókör:',
'Barbs found:': 'Megtalált barbik:',
'Coordinates:': 'Koordináták:',
'Error while fetching "village.txt"!': 'Hiba a "village.txt" beolvasása során!',
Coords: 'Koordináták',
Points: 'Pontszám',
'Dist.': 'Távolság',
Attack: 'Támadás',
Filter: 'Szűrés',
Reset: 'Reset',
'No barbarian villages found!': 'Nem találtam barbit!',
'Current Village:': 'Jelenlegi falu:',
'Sequential Scout Script:': 'Teljes script a kikémleléshez:',
Help: 'Segítség',
},




Thank you! :)
bArNNNi
 

misteralb

In-Game Staff
Tribal Wars Team
Team
Script Moderator
Reaction score
380
Script Loader Updated!

Update your quick-bar script with the new script loader.
 

Changretta

New Member
Reaction score
0
Code:
tr_TR: {
'Barbs Finder': 'Barbar Bulucu',
'Min Points:': 'Minimum Puan:',
'Max Points:': 'Maksimum Puan:',
'Radius:': 'Alan:',
'Barbs found:': 'Bulunan barbarlar:',
'Coordinates:': 'Koordinatlar:',
'Error while fetching "village.txt"!':
'Arama hatası oluştu "village.txt"!',
Coords: 'Koordinatlar',
Points: 'Puanlar',
'Dist.': 'Uzaklık',
Attack: 'Saldır',
Filter: 'Filtre',
Reset: 'Reset',
'No barbarian villages found!': 'Barbar bulunamadı!',
'Current Village:': 'Geçerli Köy',
'Sequential Scout Script:': 'Sıralı Casus Scripti',
Help: 'Yardım',
}
 

misteralb

In-Game Staff
Tribal Wars Team
Team
Script Moderator
Reaction score
380
Code:
tr_TR: {
'Barbs Finder': 'Barbar Bulucu',
'Min Points:': 'Minimum Puan:',
'Max Points:': 'Maksimum Puan:',
'Radius:': 'Alan:',
'Barbs found:': 'Bulunan barbarlar:',
'Coordinates:': 'Koordinatlar:',
'Error while fetching "village.txt"!':
'Arama hatası oluştu "village.txt"!',
Coords: 'Koordinatlar',
Points: 'Puanlar',
'Dist.': 'Uzaklık',
Attack: 'Saldır',
Filter: 'Filtre',
Reset: 'Reset',
'No barbarian villages found!': 'Barbar bulunamadı!',
'Current Village:': 'Geçerli Köy',
'Sequential Scout Script:': 'Sıralı Casus Scripti',
Help: 'Yardım',
}


Thank you. Script has been updated with the Turkish translation now added.
 

- Mr. President

Well-Known Member
Reaction score
29
There is only a small problem, while alternating the radius' and clicking filter the information i would've written there changes back to default, would be cool if i didnt have to always change that :p
 

misteralb

In-Game Staff
Tribal Wars Team
Team
Script Moderator
Reaction score
380
There is only a small problem, while alternating the radius' and clicking filter the information i would've written there changes back to default, would be cool if i didnt have to always change that :p

What do you mean? When you filter to keep showing the older data for the old filter?

So for example if you filter by 50, then you filter by 20, to keep showing all results from when you had filtered by radius 50?
 

- Mr. President

Well-Known Member
Reaction score
29
The bug isn't happening anymore, but something was making it so the numbers / current village coordinate would change back to default when i clicked filter, but it seems to be fixed
 

Karilli

New Member
Reaction score
0
cs_CZ: {
'Barbs Finder': 'Barbs Finder',
'Min Points:': 'Min body:',
'Max Points:': 'Max body:',
'Radius:': 'Radius:',
'Barbs found:': 'Nalezené barbarské vesnice:',
'Coordinates:': 'Souřadnice:',
'Error while fetching "village.txt"!': 'Error while fetching "village.txt"!',
Coords: 'Souřadnice',
Points: 'Body',
'Dist.': 'Vzdálenost',
Attack: 'Útok',
Filter: 'Filter',
Reset: 'Reset',
'No barbarian villages found!': 'Žádné barbarské vesnice nenalezeny!',
'Current Village:': 'Aktuální vesnice:',
'Sequential Scout Script:': 'Skript na špehy:',
Help: 'Pomoc',
}
 

misteralb

In-Game Staff
Tribal Wars Team
Team
Script Moderator
Reaction score
380
Hello @Karilli ,

Thank you for providing the Czech translations.

I have updated the script to include these translations.
 
Top