Skip to content
This repository was archived by the owner on May 21, 2025. It is now read-only.
This repository was archived by the owner on May 21, 2025. It is now read-only.

Failures on some POV demos #19

@antarctician

Description

@antarctician

First of all, thank you for this piece of software!

I tried to parse a big pile of POV demos (3575 files) recorded over many years using parse_demo binary but many of them failed. Here are the errors:

  1. 1006 failures (28%)
    Error: A read game event doesn't contain the expected values, expected type Byte for kills_rank event, got type Long
    
  2. 12 failures (0.3%)
    Error: A read game event doesn't contain the expected values, expected type Byte for kills_rank event, got type Short
    
  3. 15 failures (0.4%)
    Error: Malformed utf8 while reading string
    caused by: invalid utf-8 sequence of 1 bytes from index 0
    
    In 5 cases the index was not 0.
  4. 5 failures (0.1%)
    Error: A read game event doesn't contain the expected values, expected type Long for weapon_def_index event, got type Short
    

That's it so the total number of different errors is surprisingly low :)

And it's also not unlikely that there's been some bit rot.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions