Approved: dalesmckay's Troop Summary Script

DeletedUser

Guest
The Script:
Code:
javascript:(window.main||window).$.getScript('https://media.innogamescdn.com/com_DS_UK/Scripts/troop_counter.js');void 0;
Description:
Run from Overviews->Troops Screen to view summary of existing Units.
It provides a breakdown of different Village Types (Noble, Offense, Defense, Scout, Other),
different Unit types (Offense, Defense, Other), total number of existing Units & their total farm population.
Hover mouse over Village Type Description to view Criteria.
Click Village Type Description to view ALL village co-ordinates of that Village Type.

Supported Browsers:
Opera, Firefox, Chrome, Safari, IE

Other Info:
  • A Premium Account is required
  • It works on all Worlds (archer, non-archer, paladin, church, etc...)
  • It will not work correctly on pages with more than 1000 villages
  • Pop-ups must be enabled
  • It has not been tested on the Mobile Version of TW
  • It has multi-language supported (just need to add translated values)
 
Last edited by a moderator:

DeletedUser

Guest
screenshot of the troop summary script in action:
troop_counter.png
 

DeletedUser

Guest
Quick question.

What does it consider to be a full nuke (Offense/Defense), etc? Can we customize what we want it to consider as a nuke or no? Or defensive train, etc.

Just inserted the code... and it does not give me what you had Cheese...
 

DeletedUser

Guest
The script works out the farm space taken by Offensive troops or defensive troops. I think something like 20k troops (farm wise) of offensive is considered a nuke, but I will log on (and kick cheese (devil)) and check it out for you later
 

DeletedUser

Guest
Quick question.

What does it consider to be a full nuke (Offense/Defense), etc? Can we customize what we want it to consider as a nuke or no? Or defensive train, etc.

Just inserted the code... and it does not give me what you had Cheese...

What does it give you? (screenshot(s) would be very helpful)

If you hover your mouse pointer over the option you want, it's supposed to show you what the requirements are. There's not any way to customize the requirements in the current version.
 

DeletedUser

Guest
I use Google Chrome. And after I click on "Troop Count" where this script is located, I get only that information to display. No popups or anything. kind of confused if I missed a step or something. And I hid the the troop #s for obvious reasons. Let's just say I have around 3k axes, 2k lc, 150 scouts, 150 rams, and 100 cats. If you can point me in the right direction I would appreciate it. I can also try it in Firefox, IE, or Opera.

TroopCount.png
 

DeletedUser

Guest
It would be helpful if you tried it in some other browsers and let me know the results. That'll give me some idea of whether its a browser specific issue or if its related to something on the page.
 

DeletedUser

Guest
It would be helpful if you tried it in some other browsers and let me know the results. That'll give me some idea of whether its a browser specific issue or if its related to something on the page.

Results in three errors.

Mozilla Firefox: Error: Popup is null
Internet Explorer: Error: Object required
Google Chrome: (doesn't pop up with what error) [I went to a different computer to see if it was related to my original computer by chance]

Let me know if you need screenshots.
 

DeletedUser

Guest
those errors mean that you have popups disabled. Try enabling popups in those browsers and see if anything comes up.
 

DeletedUser

Guest
those errors mean that you have popups disabled. Try enabling popups in those browsers and see if anything comes up.

Fixed. Got it to work with Chrome. Thx for spotting it mate. It didn't click in my head it was a popup for some odd reason.
 

DeletedUser

Guest
On UK7 I keep getting "Error: Cannot convert 'coords' to object" when I try this...
It worked on the other worlds, just not 7.
 

DeletedUser7687

Guest
Any chance of getting this updated for v7 as I cannot get it to work now that W5 has been updated.
 

DeletedUser

Guest
Any chance of getting this updated for v7 as I cannot get it to work now that W5 has been updated.

Quoting to support this! This script was a lot of help, and a repair would mean I wuv yuhoo <3. I get a pop up stating 'Error: coords is null' and a statement about the script and the world at the bottom of the page. It was working fine, I used it two days before the update.
 

DeletedUser

Guest
I have the same problem and tracy is no help at all with her standard service reply - only use approved scripts.

What a way to run a company..... and we pay premium and account manager too!!!
 

DeletedUser8468

Guest
Can anyone confirm what the population count at the bottom right is? Is that the maximum population you have, i.e the total number of troops you can have? If this what it is, does this include troops in queue?

Thanks in advance :)
 

DeletedUser

Guest
This is the v7.0 updated version for whoever is maintaining the hosted script:
script removed ... OP updated

Can anyone confirm what the population count at the bottom right is? Is that the maximum population you have, i.e the total number of troops you can have? If this what it is, does this include troops in queue?

Thanks in advance :)

The Total units count value is the total number of existing troops in your account.
The Total units pop value is the total population of all existing troops in your account.
These totals do NOT include troops queued for production (since this info is not available from the Overviews->Troops Screen).
 
Last edited by a moderator:

DeletedUser

Guest
Amazing... thanks for updating this. Always loved this script :D
 

DeletedUser

Guest
This now doesnt work again, im using opera. Any suggestions??
 
Top