cohstats / coh2stats

Statistics, usage charts and other useful information for a game Company of Heroes 2
https://coh2stats.com
32 stars 26 forks source link

Unit Timing stats #102

Open gunther09 opened 3 years ago

gunther09 commented 3 years ago

If you can extract this data, this could make an interesting chart. something like this: image

For the medium level players this is pretty valuable (I guess the new ones do not care and the top level know anyhow)

petrvecera commented 3 years ago

This would be great. I believe this data is saved in the replay files. Unfornatelly there is no API access to the replay files - Relic probably don't even store them on server.

The only data we have about match are this: https://www.npoint.io/docs/11856b775e3f0119f1b4 So we can build only stats based on this information. I guess the interesting things are in the counters such as:

    "counters": "{\"abil\":152,\"blost\":0,\"bprod\":17,\"cabil\":2,\"cflags\":0,\"cpearn\":29,\"dmgdone\":45319,\"edeaths\":110,\"ekills\":212,\"erein\":100,\"fuelearn\":693,\"fuelmax\":135,\"fuelspnt\":595,\"gt\":2136,\"ismod\":0,\"manearn\":7592,\"manmax\":653,\"manspnt\":7369,\"munearn\":1180,\"munmax\":249,\"munspnt\":1120,\"pcap\":46,\"plost\":34,\"popmax\":0,\"precap\":44,\"sqkilled\":11,\"sqlost\":6,\"sqprod\":14,\"svetrank\":9,\"svetxp\":13750,\"upg\":11,\"utypes\":10,\"vabnd\":0,\"vcap\":0,\"version\":3,\"vkill\":7,\"vlost\":6,\"vp0\":238,\"vp1\":303,\"vprod\":7,\"vvetrank\":18,\"vvetxp\":12760,\"wpnpu\":0}",

That's what we display on the big match overview. Btw you can now download this data simply for any match, if you open full match details image

gunther09 commented 3 years ago

wow, thank you for the elaborate answer Petr. It is impressive what you achieved with your analysis already.