Approved script Troops Counter with charts and BB

Discussion in 'Scripts & Independent Tools' started by paulo.lima, Apr 12, 2017.

Share This Page

  1. paulo.lima

    paulo.lima New Member

    Joined:
    Apr 12, 2017
    Messages:
    2
    Likes Received:
    2
    This script has already had approval, please change the prefix to Aprooved.

    This script was developed with BR servers in mind, some texts are static, but troops names should be dynamic, translations may be considered if requested or any volunteer give it a try.

    Objective:
    Count player troops per villa.
    Count support troops from other players.
    Display total player and support troops from other players as table then sum all troops.

    Generates 4 charts as:
    1 - Bar chart with amount of troops by type (spear, archer and so on)
    2 - Donut chart with amount of troops classified by: attack, defense and support
    3 - Pie chart, Amount of villas (attack) by strength (full, medium and weak)
    4 - Pie chart, Amout of villas (defense) by strength (full, medium and weak)

    Generates a BB code text with:
    Sum of villages
    Sum of villages (attack)
    Sum of villages (defense)
    Sum of villages (with support troops)

    List of villages (attack) ordered by strength of troops descendent.
    List of villages (defense) ordered by strength of troops descendent.
    List of villages (with support troops) ordered by strength of troops descendent.

    This script is optimized for servers with all troops.

    Link
    Code:
    javascript:$.getScript('https://dl.dropbox.com/s/ke9x8f9ifogxh5f/contadorTropas.js')
    Some screenshots:

    [​IMG]

    [​IMG]

    [​IMG]
     
    Hektik likes this.
  2. Hektik

    Hektik Still Going Strong

    Joined:
    Nov 12, 2014
    Messages:
    597
    Likes Received:
    746
    This looks amazing! Is it possible to have this in English as well?
     
  3. paulo.lima

    paulo.lima New Member

    Joined:
    Apr 12, 2017
    Messages:
    2
    Likes Received:
    2
    I will create a config variable with the values displayed on this script I think that this will cover most languages
     
    Hektik likes this.
  4. Johnny Tapia

    Johnny Tapia New Member

    Joined:
    Jan 16, 2010
    Messages:
    4
    Likes Received:
    0
  5. du verlierst

    du verlierst Member

    Joined:
    Jun 6, 2015
    Messages:
    15
    Likes Received:
    1
    Did you create a English version?
     
  6. 6LACK

    6LACK New Member

    Joined:
    Jun 2, 2018
    Messages:
    3
    Likes Received:
    7
    Any english troop counter available?