Troop Counter/Vault Support Counter

OneMoreLight

Active Member
Reaction score
42
Author
Aviendha
Contributors
N/A
Quickbar Entry
javascript: $.getScript("https://dl.dropbox.com/s/lhsaa538edi5xaz/support-counter.js")
Public?
Public
Hi, this is the first time I'm submitting/creating a script so I hope I'll do everything right, please let me know if something's missing.

The script counts all troops that are stationed in other villages as support. Sorts them by tribe, player and village to help track them more easily. Can be used for all villages or by groups.
 
Upvote 6
Great job man, this would be great to add the feature of making the checkboxes active to withdraw.
 
This script has been great for me. However, on the current classic world the population counter doesn't work and just ends up saying (NaN pop). I took a quick look at your code, but was unable to determine what causes this.

In the screenshot below you can see what I mean (the detailed view has the same issue). The issue is definitely in the counting, because it does not happen if you have 0 supporting troops in the section, which can be seen at the barb support population. This issue does not occur on world 117 for me.
1615371257632.png
 
This script has been great for me. However, on the current classic world the population counter doesn't work and just ends up saying (NaN pop). I took a quick look at your code, but was unable to determine what causes this........

Hi, thanks for pointing it out, there was a bug which must be fixed now. Please let me know if it's still not working (I can't test it because I don't play on classic)
 
Hello @Aviendha ,

Would be possible to sort villages by total number of population? It will be much easier to view where you have support out.
 
Hi, yeah I've been thinking about it too, will try to find the time this weekend

Edit: The script is updated to sort everything by population.
 
Last edited:
Hey there everywone!

I'm here looking for aproved scripts, is this script aproved? Can i use it?


Best Regards! Thank you all for your contribution to the game! :D
Jack Wilians
 
Back
Top