pnxenopoulos / awpy

Python library to parse, analyze and visualize Counter-Strike 2 data
http://www.awpycs.com
MIT License
361 stars 56 forks source link

ESTA Demo File Incompatibility with Current DemoParser #304

Open ReiaDrucker opened 5 months ago

ReiaDrucker commented 5 months ago

Describe the bug ESTA JSON python dict objects have key 'matchId' and DemoParser.parse_json_to_df() expects key 'matchID'.

Include Information to Reproduce See screen shots below. Commented out code applies the fix to make things work.

Screenshots image image

Additional context I would recommend having a function to convert the ESTA json format to the current one (with default values for newly added fields) so that they are compatible with the current version of awpy.