Bearddyy / wtparser

Parse a provided replay file
5 stars 0 forks source link

Ability to parse individual vehicle kills #1

Open TaLajans opened 10 months ago

TaLajans commented 10 months ago

Hello @Bearddyy,

thank you for your work on parsing server replays. Few years ago I was looking and I'm still are looking for something like this: https://github.com/kotiq/wt-tools/issues/2

It looks like your code parses the final aggregated scoreboard. Do you think you have time and knowledge to work on this project a bit more by parsing some extra info like player scoring kills/hit/crit in specific vehicle and some other?

Bearddyy commented 3 months ago

I dont currently have any way to tell what was a hit/crit etc, Getting player vehicles (in the get_vehicles(...): function) scans all the replay and find occurrences of vehicles. The occurrences I dont actually know what they really represent, I only know that I can get the player and vehicle and other stuff from it. Its possible that these are actually events in time, like player spawning in, player shooting? player getting hit? I dont know for sure and its hard to decipher. I suspect the data is there but as with the rest of the binary replay data it takes a lot of effort to parse. Also when I wrote this, there wasnt as much data in the end of match analysis screen, so perhaps there is new stuff in the replay files that might contain this.