Login

Username:


Password:


Remember me



Forgot Password?




 Merchandise




User Statistics

User Statistics

Postby Spack » Fri Jan 18, 2013 7:23 pm

I've come to loathe the WoT-News statistics page as it's full of clutter and takes ages to load. As I already had access to most of the data via the WoT JSON API for the signature modifications I was working on some time ago I decided to build a simple user profile page that is similar to the one on the World of Tanks website, but adds some additional figures such as the XVM and WN4 rating scores, as well as the medals that a player has earned.

You can view the stats page here: wot/stats.php

For example, mine is wot/stats.php?name=AgeofStrife&server=eu

It's still very much work in progress, and may fall over from time to time as I tweak the code, but I'm reasonably happy with it so far. There might be some spelling mistakes in the descriptions for the medals, I knocked them together in a hurry and will copy the descriptions from the WoT wiki at some point in the future.

I'll also add clan information at some point, as I have all the data required to do so.

If anyone has any suggestions about what they'd like to see added or changed please post replies to this topic. I'm already planning to add the current signature if one has been created, and provide links to various other pages such as the WoT user profile page, the WoT-News page, Noobmeter.com, and maybe a few others.
User avatar
Spack
I R Ginger
Field Marshall
 
Posts: 6779
Joined: Sat Feb 12, 2005 12:00 am
Location: Birmingham, UK
Medals: 2
Bronze (1) Painting Entrant (1)
Blog: View Blog (29)

Re: User Statistics

Postby markb » Sat Jan 19, 2013 10:11 am

How do I get the AoS signature block thing?

Also if anybody comes across a player called panzerdav please shoot him, even if he is on your team, the man is a total ******. He accused me of ruining his game just because I wouldn't suicide charge across the ridge line on Westfield into the entire enemy team in my very slow T34! That I could handle, you get idiots calling you premium noobs all the time, it's annoying but I've learned to live with it, but then after the game he PM'd me in the garage and carried on!
"The guns have stopped because we are at last about to attack. Even our generals aren't mad enough to shell their own men, they think its far more sporting to let the Germans do it!"

Capt Edmund Blackadder, the Somme, 1917.

Image
User avatar
markb
Captain
Captain
 
Posts: 653
Joined: Thu Feb 17, 2011 12:20 pm
Location: On a high plains desert somewhere near Uzbekistan, lets leave it at that
Medals: 1
Painting Entrant (1)

Re: User Statistics

Postby Spack » Sat Jan 19, 2013 10:16 am

To get the signature go to wot/index3.php

Or use the one at http://www.1stcav.net , their one displays a small and uncoloured efficiency rating.
User avatar
Spack
I R Ginger
Field Marshall
 
Posts: 6779
Joined: Sat Feb 12, 2005 12:00 am
Location: Birmingham, UK
Medals: 2
Bronze (1) Painting Entrant (1)
Blog: View Blog (29)

Re: User Statistics

Postby markb » Sat Jan 19, 2013 11:01 am

Cheers mate. My efficiency is a bit pants at the minute as I've only just started taking it seriously recently. I've got it up 35 points in less than two weeks and my daily efficiency is now averaging around the 1050 to 1100 mark. Problem is I still keep getting idiots who take XVM as gospel calling me a noob!
"The guns have stopped because we are at last about to attack. Even our generals aren't mad enough to shell their own men, they think its far more sporting to let the Germans do it!"

Capt Edmund Blackadder, the Somme, 1917.

Image
User avatar
markb
Captain
Captain
 
Posts: 653
Joined: Thu Feb 17, 2011 12:20 pm
Location: On a high plains desert somewhere near Uzbekistan, lets leave it at that
Medals: 1
Painting Entrant (1)

Re: User Statistics

Postby Spack » Sun Jan 20, 2013 1:16 pm

Stats page is now adjusted to show recently used vehicles and the associated stats that goes with them. It'll take a few days to build up the data, but you can see it on my profile here:

wot/stats.php?id=500401735&server=eu

I played 6 games this morning, then forced an update. The code will store up to 30 previous data files, and use the oldest for the "Last X Battles" section and recently used vehicles. Later it will look at the date of each data file and find a suitable date to compare the data. There are some values I can't determine from the difference between the files, such as Hit Ratio and Maximum Experience, so those values have been left out.

Longer term this data can also be used for signatures to show recently played vehicle images rather than the top by tier/battles from the total list as it does now. For instance, I haven't played my E-75 for ages as I sold it, but do play the GW Panther quite a bit which isn't in my vehicles images due to it's low tier.

For this historical data I'm scheduling twice daily data pulls for a specific list of players - I've added in all the Age of Strife members who have signatures on here, plus a few of my friends who play. If anyone else wants adding drop me a PM with your server and username.
User avatar
Spack
I R Ginger
Field Marshall
 
Posts: 6779
Joined: Sat Feb 12, 2005 12:00 am
Location: Birmingham, UK
Medals: 2
Bronze (1) Painting Entrant (1)
Blog: View Blog (29)

Re: User Statistics

Postby Spack » Fri Jan 25, 2013 9:45 pm

Small tweak today, medals now show ones from recent battles in brackets next to total count. Also fixed glitch where new tanks were not showing in recent battles list.

Will look at adding percentages to performance and vehicle tables tomorrow (ie battles / total battles, wins / total wins), although it might look too cluttered.

Also might look at making vehicle table into a javascript array and having sort by each column.

Anyone have any other suggestions?
User avatar
Spack
I R Ginger
Field Marshall
 
Posts: 6779
Joined: Sat Feb 12, 2005 12:00 am
Location: Birmingham, UK
Medals: 2
Bronze (1) Painting Entrant (1)
Blog: View Blog (29)

Re: User Statistics

Postby Spack » Sat Jan 26, 2013 5:09 pm

Another small tweak now live - WN4 rating replaced by WN6, although the descriptions might be off as they're the ones from WN4. Will look for a list of rating bands and descriptions and update as necessary. UPDATE: description fixed, I think.
User avatar
Spack
I R Ginger
Field Marshall
 
Posts: 6779
Joined: Sat Feb 12, 2005 12:00 am
Location: Birmingham, UK
Medals: 2
Bronze (1) Painting Entrant (1)
Blog: View Blog (29)

Re: User Statistics

Postby Spack » Sun Jan 27, 2013 2:16 pm

Added an option to show either only medals that have been awarded, or all medals with the ones not awarded faded out. Default is to show only awarded medals.

WN4 rating has been reinstated, as this has wider acceptance than WN6 at present. Also considering the suggested tweak to WN6 from it's originator, Praetor77, of adjusting Arty tiers up by 2 levels for the average tier calculation to reduce the slight damage advantage that artillery has over tanks of the same tier.
User avatar
Spack
I R Ginger
Field Marshall
 
Posts: 6779
Joined: Sat Feb 12, 2005 12:00 am
Location: Birmingham, UK
Medals: 2
Bronze (1) Painting Entrant (1)
Blog: View Blog (29)

Re: User Statistics

Postby Spack » Mon Feb 04, 2013 1:35 am

Another small update tonight - average stats per battle for both overall and recent battles, and the addition of trend arrows (green up for improved, red down for reduction) to the average stats on the recent battles list. Also behind the scenes some caching improvements.

EDIT: couldn't help but tinker some more, the performance by tier/nation/class and the vehicle tables now have sortable columns if javascript is enabled. The arrows are temporary ones, I'll replace them with neater ones when I get chance.

EDIT: oops, fixed the sorting not working on the full vehicle list, and also made the nation sortable as well as the tier.
User avatar
Spack
I R Ginger
Field Marshall
 
Posts: 6779
Joined: Sat Feb 12, 2005 12:00 am
Location: Birmingham, UK
Medals: 2
Bronze (1) Painting Entrant (1)
Blog: View Blog (29)

Re: User Statistics

Postby Spack » Sun Feb 10, 2013 11:00 am

WoT-News posted a new efficiency calculation yesterday and this has already been changed in XVM. Stats page has been updated to add this as the "v2" rating, keeping the old one as well for now. The signature has been updated to use the new calculation and should switch over within the next 24 hours for existing images. There is also a new option on the signature page to use the WN6 rating rather than WoT-News/XVM rating - the signature shows either XVM or WN6 to the left of the rating so it's clear which figure is being displayed.

WN6 is also adjusted to use "adjusted tank tier", which means that artillery is now classed as 2 tiers higher (so for example a T4 arty is treated as T6 for the overall average) to compensate for their higher damage. XVM uses adjusted tier for it's display of WN6, so the figures in the signature and stats page should match XVM values and those displayed on most other sites using WN6 such as www.noobmeter.com
User avatar
Spack
I R Ginger
Field Marshall
 
Posts: 6779
Joined: Sat Feb 12, 2005 12:00 am
Location: Birmingham, UK
Medals: 2
Bronze (1) Painting Entrant (1)
Blog: View Blog (29)

Re: User Statistics

Postby markb » Sun Feb 10, 2013 12:00 pm

Quick one, in the signature block can I alter which tanks are displayed, it's just I don't have half the tanks that are shown anymore.

It's irritating that they adjusted the XVM, I had my score up to 943 and overnight they knocked fifty points off it. This is why I don't take much notice of the score, for me they are just arbitrary numbers that when somebody decides to change the equation can change your score. It's the same as win ratio, mine is 48% and there have been games that no matter how good I do the team have been totally useless. I've had games where I got six kills and still lost. The problem for me is that there are far too many people in the game who believe that these scores are total gospel.
"The guns have stopped because we are at last about to attack. Even our generals aren't mad enough to shell their own men, they think its far more sporting to let the Germans do it!"

Capt Edmund Blackadder, the Somme, 1917.

Image
User avatar
markb
Captain
Captain
 
Posts: 653
Joined: Thu Feb 17, 2011 12:20 pm
Location: On a high plains desert somewhere near Uzbekistan, lets leave it at that
Medals: 1
Painting Entrant (1)

Re: User Statistics

Postby Spack » Sun Feb 10, 2013 1:00 pm

The tanks are based on all the ones that have been used in the past, as the API only provides the whole list and no indication of when they were last used. I am making some adjustments to pick up recently used tanks but it's not quite ready to give live yet, give me a few days I should have it working.

As to the efficiency calculation, it's been adjusted because capture and defence points were contributing far too highly - it was possible to get very high efficiency scores by camping your own base and shooting enemy tanks that went into it, or by waiting till near the end of the game and racing into the enemy base to cap it. The new calc reduces the effect these values have, and so the best way to improve it is to damage and kill enemy tanks. Capping and defending still play a part, but not to the point where it was easy to skew the figure up too high. The rating is just an indication, but you're right that far too many rely on it.

If you check your recent rating on my stats page here: wot/stats.php?server=eu&name=im_so_pants_at_this , or on noobmeter.com (linked from the stats page, top right), your recent battles have been good - even with the new calc you're over 1200 which is just inside the Good rating, and 1000 is the average.

If you look at the vehicles section the Recent Battles list shows the ones used since I started tracking changes in the data rather than just the latest one, this is the data I'll be using to generate a new tanks list - would this be ok?


EDIT: I've reverted WN6 back to unadjusted average tier as it appears that XVM may not have made this change. I don't use XVM myself anymore so I can't check, but I'll reinstate the arty adjustment once XVM makes this change.
User avatar
Spack
I R Ginger
Field Marshall
 
Posts: 6779
Joined: Sat Feb 12, 2005 12:00 am
Location: Birmingham, UK
Medals: 2
Bronze (1) Painting Entrant (1)
Blog: View Blog (29)

Re: User Statistics

Postby Spack » Sun Feb 10, 2013 10:18 pm

Signature now has the option to show recently used tanks only. You can go to wot/index3.php and set up the signature in the same way as you did on 1stcav.net.

I've already changed mine to use recent tanks only - at the time of writing it shows the Jagdpanther, Panther, T29, GWPanther, and StugIII as these are the 5 tanks I have in my garage at the moment and have been actively using over the past couple of weeks. If there is no history to figure out the recently used tanks (which will happen for the first day at least for this option being turned on, unless you're a player who been looked up in the stats system) then the full list of tanks will be used instead. The sort order is determined by the overall battles of the tank, not the number of battles in the recent history, at least for now.
User avatar
Spack
I R Ginger
Field Marshall
 
Posts: 6779
Joined: Sat Feb 12, 2005 12:00 am
Location: Birmingham, UK
Medals: 2
Bronze (1) Painting Entrant (1)
Blog: View Blog (29)

Re: User Statistics

Postby markb » Fri Feb 22, 2013 1:01 pm

Just a quick one. You've done a great job on this but there is a couple of weird things going on on mine, nothing major and I don't know if it is anything you can sort out. Basically I've just got the Centurion 7/1 but it is being shown as a Centurion mk3. Also for some reason my T54 isn't being shown in the recent battles, it's there in the all vehicles section though.
"The guns have stopped because we are at last about to attack. Even our generals aren't mad enough to shell their own men, they think its far more sporting to let the Germans do it!"

Capt Edmund Blackadder, the Somme, 1917.

Image
User avatar
markb
Captain
Captain
 
Posts: 653
Joined: Thu Feb 17, 2011 12:20 pm
Location: On a high plains desert somewhere near Uzbekistan, lets leave it at that
Medals: 1
Painting Entrant (1)

Re: User Statistics

Postby Spack » Fri Feb 22, 2013 4:21 pm

The Centurion 7/1 in the API is called the Centurion Mk3, this is the designation it has been given by Wargaming.net. Here's the relevant piece of the JSON data:

Code: Select all
      {
        "spotted": 0,
        "localized_name": "GB24_Centurion_Mk3",
        "name": "GB24_Centurion_Mk3",
        "level": 9,
        "damageDealt": 0,
        "survivedBattles": 0,
        "battle_count": 1,
        "nation": "uk",
        "image_url": "/static/2.1.3/encyclopedia/tankopedia/vehicle/small/uk-gb24_centurion_mk3.png",
        "frags": 0,
        "win_count": 0,
        "class": "mediumTank"
      }


They don't appear to have provided localised name values for any of the British or Chinese tanks, not sure when this will be fixed. I'll look at adding a fix for this later once I've got a list of tank names to go with the internal codes.

As to the T54, I'll get that fixed shortly. I thought I'd already fixed that part, but it might have only been done in the copy of the code used in the signature. There's a glitch where it doesn't pick up tanks that weren't in the old data as being used recently ... oops.


EDIT: both issues fixed, will try to find a full list of British and Chinese tank internal codes and their "real" names.

EDIT: fixed the tank naming, at least as far as I can tell. Will probably need fixing again when 0.8.4 comes out ...
User avatar
Spack
I R Ginger
Field Marshall
 
Posts: 6779
Joined: Sat Feb 12, 2005 12:00 am
Location: Birmingham, UK
Medals: 2
Bronze (1) Painting Entrant (1)
Blog: View Blog (29)

Next



Return to World of Tanks




 Social Links