Collecting player statistics

Technical Support topics will be moved here when they are Resolved.

Moderators: Oversight Staff, Processing Staff

shehzadem
Resource Storage
Posts: 18
Joined: Fri Jan 03, 2014 6:44 pm
Has thanked: 1 time

Collecting player statistics

Postby shehzadem » Thu May 12, 2016 8:34 pm

Hi there!

I'm currently collecting and organizing Castle Fight player statistics in order to deduce some statistically significant corellations (e.g. how hours played affect W/L ratio), but since I barely started, the only method I know of that lets me get enough info is to use !stats on every player in lobby and ingame to get hours played and percentage of stay and then to check the replay for other info like W/L ratio, ELO etc.. Obviously it's a slow method and I can only get info on 5 players at a time.

My question is whether the aforementioned info is already stored somewhere that I haven't yet found. Any info is greatly appreciated.

Stealer
Protector of Nature
Posts: 3160
Joined: Thu Sep 26, 2013 9:37 pm
Has thanked: 18 times
Been thanked: 47 times

Re: Collecting player statistics

Postby Stealer » Sat May 14, 2016 1:26 am

Yes.

It can be found under the section of the website that can be accessed by clicking on "stats".
https://entgaming.net/customstats/castl ... e/7725108/


All of the stats are stored in a MySQL (afaik) database so if you know a specific query you might be able to ask @art)y but it's probably be faster to write a python script with beautifulsoup to parse the webpages.

shehzadem
Resource Storage
Posts: 18
Joined: Fri Jan 03, 2014 6:44 pm
Has thanked: 1 time

Re: Collecting player statistics

Postby shehzadem » Sat May 14, 2016 12:11 pm

Yeah, I've already checked the stats page. Unfortunately, it doesn't have %stay and total hours played statistics (which is why I have to go ingame for it). And it's also unfortunate that I don't have any skills in Python since it really would be useful and I have to do it manually lol. Anyway, I've already asked arty and he said he'll think about it.

So far, I've got about 50 player stats, which is way too few to actually do anything useful with it (i.e. may not be accurate). But I'll post a few stats just for the fun of it.

Image

NOTE: this may not be accurate due to small sample; N=53
Here you can see a few variables, of which only games won, games lost and rank are statistically significant (i.e. relevant) that affect ELO. Looking at the coeficients - for every game won, ELO is increased by 3.56, for every game lost, ELO is decreased by 2.81 and for every increase in rank by 1 ELO is decreased by -.13. Other coeficients are invalid due to the reason given above.

And a few images.

Image

Image

User avatar
aRt)Y
Protector of Nature
Posts: 13142
Joined: Fri May 03, 2013 9:15 pm
Has thanked: 10 times
Been thanked: 174 times
Contact:

Re: Collecting player statistics

Postby aRt)Y » Sat May 14, 2016 12:57 pm

As providing bulk data-sets is rather unpractical, you should stick to python public parsing. @Neco might be able to help you as he does the same for ID.

Sorry.
    Information, Rules, Guides and everything else you need to know about ENT is on the ENT Wiki.
      Ignorantia juris non excusat • Quis custodiet ipsos custodes? • Fallacy of composition


Return to “Processed Support Cases”

Who is online

Users browsing this forum: No registered users and 24 guests