Skip to content

Handle cvar events #25

@trarbr

Description

@trarbr

Many aspects about how the game works can be configured using cvars, and the game log should contain these settings. We should parse and use these in order to accurately portray the game. For example, how long rounds are and how long the bomb ticks is currently hardcoded, but there are cvars which contain these values.

However, the log files seem to contain at least two event formats for cvars, and I'm not sure which ones are relevant (or if they both are). For example, I have a log file which contains these two events:

L 12/30/2019 - 17:51:05: "cash_player_bomb_defused" = "200"
...
L 12/30/2019 - 17:51:08: server_cvar: "cash_player_bomb_defused" "300"

So we need to figure out if the last one overrides the first one, or if only one of them counts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions