Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Single match detailed info - decode counters object #194

Open
petrvecera opened this issue Apr 24, 2023 · 1 comment
Open

Single match detailed info - decode counters object #194

petrvecera opened this issue Apr 24, 2023 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@petrvecera
Copy link
Member

Add single match info as we have in coh2stats https://coh2stats.com/matches/338056395

We need to decode keys in this object:

"{\"abil\":69,\"addonkill\":67,\"blost\":0,\"bprod\":6,\"cabil\":3,\"cflags\":0,\"cpearn\":5,\"dmgdone\":5964,\"edeaths\":45,\"ekills\":54,\"elitekill\":-14,\"erein\":35,\"gammaspnt\":0,\"gt\":1167,\"inactperiod\":24,\"lowintperiod\":0,\"objdmh\":0,\"pcap\":9,\"plost\":2,\"popmax\":0,\"powearn\":0,\"powmax\":0,\"powspnt\":0,\"precap\":6,\"reqearn\":0,\"reqmax\":0,\"reqspnt\":0,\"sqkill\":5,\"sqlost\":7,\"sqprod\":12,\"structdmg\":28,\"svetrank\":6,\"svetxp\":7800,\"totalcmds\":999,\"unitprod\":36,\"upg\":47,\"vabnd\":0,\"vcap\":0,\"vkill\":0,\"vlost\":4,\"vp0\":0,\"vp1\":0,\"vprod\":6,\"vvetrank\":6,\"vvetxp\":7200,\"wpnpu\":0}"

Easiest it will be probably with 1 vs 1, where you know what happened so you can decode the numbers.
Please comment below what you think each key means. Thank you 👍

How to get this data:

  1. Open some player card / recent matches
  2. Go to the bottom, enable debug mode

image

  1. Click on the D button next to the match
  2. Open browser dev tools, go to console, click on the object

image

@petrvecera petrvecera added enhancement New feature or request help wanted Extra attention is needed labels Apr 24, 2023
@cr4wler
Copy link

cr4wler commented Apr 24, 2023

"abil":69, // (unit) abilities used
"blost":0,"bprod":6, // buildings lost/produced
"cabil":3, // commander abilities (?) used
"cflags":0,
"cpearn":5, // command points earned
"dmgdone":5964, // duh
"edeaths":45, // entity deaths as in total losses (vehicles + individual squad members)
"ekills":54, // entity kills (total kills)
"elitekill":-14,
"erein":35, // entities reinforced
"gammaspnt":0,
"gt":1167,
"inactperiod":24,
"lowintperiod":0,
"objdmh":0, // possibly "object damage healed"???
"pcap":9, // points captured
"plost":2, // points lost
"popmax":0,
"powearn":0,"powmax":0,"powspnt":0, // POW (?) earned/max/spent
"precap":6, // points recaptured
"reqearn":0,"reqmax":0,"reqspnt":0,
"sqkill":5,"sqlost":7,"sqprod":12, // squads killed/lost/produced
"structdmg":28, // DMG to structures
"svetrank":6,"svetxp":7800, // squad vet ranks/points earned
"totalcmds":999, // total "useful" clicks/keystrokes
"unitprod":36, // units produced
"upg":47, // upgrades purchased
"vabnd":0,"vcap":0,"vkill":0,"vlost":4, // vehicles abandoned/captured/killed/lost
"vp0":0,"vp1":0,
"vprod":6, // vehicles produced
"vvetrank":6,"vvetxp":7200, // vehicle vet ranks/points earned
"wpnpu":0

Not sure about some, also didn't test this at all, but this made the most sense to me.

HTH

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants