Stats Graphs in Ranking pages

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/rankingGraphs.js');
Public?
Public
Graphs in Ranking pages

Approved: t14009286


I have worked on a script that adds couple of graphs for each player or tribe on the Ranking page.

Screenshot_1.png

Script runs on these 4 pages:
- Rankings -> Tribes
- Rankings -> Players
- Rankings -> Continent Tribes
- Rankings -> Continent Players
(if you run the script on any other page a notification will be shown)

This is how it will look to the end-user:

(the marked areas are the ones that are added from the script).

Currently the script only adds these 2 types of graphs:
- points
- villages
(atm i'm not planning on showing other types of graphs there)

I have personally tested the script on International and US server and on both of them worked fine.
It should work fine on any other market since its dynamic.

For any bugs, suggestions, questions or if you need help feel free to contact me by replying on this thread.
 
Last edited:
Upvote 2

RedAlert

Senior In-Game Staff
Tribal Wars Team
Senior
Team
Script Moderator
Reaction score
623
thincats? Is that some player here on the net server?

Last time i played on net server has been probably 10 years ago ... don't even know who thincats is.

Red.
 

EmperorFluff

Non-stop Poster
Reaction score
96
thincats? Is that some player here on the net server?

Last time i played on net server has been probably 10 years ago ... don't even know who thincats is.

Red.

lol sorry no hes one of the top players in casual 8, his co put up the same picture you have like 2 weeks ago, though you had to be his co player lol
 

RedAlert

Senior In-Game Staff
Tribal Wars Team
Senior
Team
Script Moderator
Reaction score
623
@misteralb hi, possible translate in french please?


Lord
Hello @Lord DciBelia ,

Yes the script is translation ready, I do not know French. If you can translate the script, here are the strings:

Code:
Points: 'Points',
Villages: 'Villages',
'Invalid game mode!': 'Invalid game mode!',
'Script must be run from': 'Script must be run from',
'Rankings page': 'Rankings page',
'Graphs already added!': 'Graphs already added!',
 

Lord DciBelia

Member
Reaction score
0
Hello @Lord DciBelia ,

Yes the script is translation ready, I do not know French. If you can translate the script, here are the strings:

Code:
Points: 'Points',
Villages: 'Villages',
'Invalid game mode!': 'Invalid game mode!',
'Script must be run from': 'Script must be run from',
'Rankings page': 'Rankings page',
'Graphs already added!': 'Graphs already added!',


Thanks a lot :)

Code:
Points: 'Points',
Villages: 'Villages',
'Invalid game mode!': 'Mode de jeu invalide!',
'Script must be run from': 'Le script doit être exécuté à partir de',
'Rankings page': 'Page des classements',
'Graphs already added!': 'Graphiques déjà ajoutés!',
 

RedAlert

Senior In-Game Staff
Tribal Wars Team
Senior
Team
Script Moderator
Reaction score
623
Thanks a lot :)

Code:
Points: 'Points',
Villages: 'Villages',
'Invalid game mode!': 'Mode de jeu invalide!',
'Script must be run from': 'Le script doit être exécuté à partir de',
'Rankings page': 'Page des classements',
'Graphs already added!': 'Graphiques déjà ajoutés!',
Thank you, translation has been added.
 
Top