jannislehmann / csgo-tools

A toolset for csgo, which automatically downloads new demos and features a demo parser for (currently basic) performance metrics on match and player basis.
10 stars 1 forks source link

Parse demos and save the match history #25

Closed jannislehmann closed 3 years ago

jannislehmann commented 3 years ago

We want to parse each demo file and persist the data in the database to calculate further information and stats based on the information. In order to be able to reparse demos when the parser adds new information, we need to add a parsedWithVersion flag to the match entry in the database.

jannislehmann commented 3 years ago

This is not really feasible and takes a lot of refactoring the data structure. Therefore, I will parse the demo and save the stats in the database. If the parser gets updated, we can reparse the demo file. This requires the original demo files to be persisted, but I am currently planing on doing this nonetheless.