Farming (LA) Player Farms Finder Script

RedAlert

Senior In-Game Staff
Tribal Wars Team
Senior
Team
Script Moderator
Reaction score
623
Author
RedAlert
Contributors
N/A
Quickbar Entry
javascript:$.getScript('https://twscripts.dev/scripts/playerFarmsFinder.js');
Public?
Public
Player Farms Finder

Approved, ticket nr. t13954516

This script lists all barbs X fields away from you.
The script also generates a scout script so you can easily copy/paste that on your quick bar and start scouting all barbs inside your player radius.

Screenshot_1.png


DEBUG
Turns on debug information like this one: http://prntscr.com/sj7tkr
Which helps me debugging problems.
Default Value: false
Options: true/false

This script can be used even without Premium Account.


- v1.2: Script is now translation-ready
- v1.1
Now the player has the possibility to change the radius directly http://prntscr.com/sk085o.​
No need for RADIUS anymore (PFF_RADIUS is now a deprecated parameter)​

Browser Compatibility
I have tested the script on the latest versions of Google Chrome and Mozilla Firefox. I'm expecting Microsoft Edge (the new one) to not have any problems also since it's using the same engine as Google Chrome. Haven't tested the other browsers. The script should work fine on all modern browsers (including mobile ones).

Questions/Bugs/Suggestions ?
For every question, suggestions or if you need help feel free to reply on this thread. Will try to reply back to most of them.
 

Attachments

  • Screenshot_1.png
    Screenshot_1.png
    142.3 KB · Views: 92
  • Screenshot_1.png
    Screenshot_1.png
    147.6 KB · Views: 65
Last edited:
Upvote 2

RedAlert

Senior In-Game Staff
Tribal Wars Team
Senior
Team
Script Moderator
Reaction score
623
Script has been updated. Check original post for changelog.
 
Last edited:

RedAlert

Senior In-Game Staff
Tribal Wars Team
Senior
Team
Script Moderator
Reaction score
623
Updated link of scripts. If script is not working for you anymore, replace the old link with the new one and it should all work fine.
 

RedAlert

Senior In-Game Staff
Tribal Wars Team
Senior
Team
Script Moderator
Reaction score
623
@Arteezy ,

Copy the scout script that is generated.
Paste it into a text file.

Then at the very end of this script add this:
doc.forms[0].light.value = 5;

This will make the script send 1 spy and 5 LC to each barb instead of just 1 spy as it currently does.
 

RedAlert

Senior In-Game Staff
Tribal Wars Team
Senior
Team
Script Moderator
Reaction score
623
Hello @BulldozerIRL ,

The script will show all barb villages which are X fields away from any of your villages, does not differentiate if you have already scouted/attacked the villages or not.
 
Top