Skip to content

Commit 7396c1d

Browse files
committed
chore: upgrade parser
- fix possible nil values in game events - fix wrong uniqueID2 in smoke start events - fix crash with recent POV demos
1 parent e16d8a5 commit 7396c1d

File tree

4 files changed

+11
-15
lines changed

4 files changed

+11
-15
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ require (
1919
github.com/oklog/ulid/v2 v2.1.0 // indirect
2020
)
2121

22-
replace github.com/markus-wa/demoinfocs-golang/v4 v4.3.4 => github.com/markus-wa/demoinfocs-golang/v4 v4.3.4-0.20250519000310-e55c4eaa5aaf
22+
replace github.com/markus-wa/demoinfocs-golang/v4 v4.3.4 => github.com/markus-wa/demoinfocs-golang/v4 v4.3.4-0.20250721101400-7473390fa046

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ github.com/golang/snappy v1.0.0 h1:Oy607GVXHs7RtbggtPBnr2RmDArIsAefDwvrdWvRhGs=
88
github.com/golang/snappy v1.0.0/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q=
99
github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=
1010
github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU=
11-
github.com/markus-wa/demoinfocs-golang/v4 v4.3.4-0.20250519000310-e55c4eaa5aaf h1:n8ZdbwRKRP0O7WEtPLx5XoRLZxC8nqyWHFL1ojAthTo=
12-
github.com/markus-wa/demoinfocs-golang/v4 v4.3.4-0.20250519000310-e55c4eaa5aaf/go.mod h1:SfgbMznZREy98M7EjzkIPxEpZPVpbX/f9tVGSTJF3WU=
11+
github.com/markus-wa/demoinfocs-golang/v4 v4.3.4-0.20250721101400-7473390fa046 h1:OWJpmzjNPmseU5cGA0FRgmgElxZO5Fcu55Aj9bOF7W0=
12+
github.com/markus-wa/demoinfocs-golang/v4 v4.3.4-0.20250721101400-7473390fa046/go.mod h1:SfgbMznZREy98M7EjzkIPxEpZPVpbX/f9tVGSTJF3WU=
1313
github.com/markus-wa/go-unassert v0.1.3 h1:4N2fPLUS3929Rmkv94jbWskjsLiyNT2yQpCulTFFWfM=
1414
github.com/markus-wa/go-unassert v0.1.3/go.mod h1:/pqt7a0LRmdsRNYQ2nU3SGrXfw3bLXrvIkakY/6jpPY=
1515
github.com/markus-wa/gobitread v0.2.4 h1:BDr3dZnsqntDD4D8E7DzhkQlASIkQdfxCXLhWcI2K5A=

tests/cs2_ebot_monte_vs_og_2023_anubis_test.go

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -502,13 +502,11 @@ func TestEbot_Monte_VS_OG_Roobet_Cup_2023_Anubis(t *testing.T) {
502502
UtilityDamage: 97,
503503
},
504504
{
505-
SteamID64: 76561198252434500,
506-
Name: "F1KU",
507-
KillCount: 14,
508-
AssistCount: 8,
509-
// It should be 18 because during the round 10 F1KU has been killed by sdy with a molotov but CS2 detected
510-
// it as a suicide from F1KU. The kill event contains only the victim.
511-
DeathCount: 17,
505+
SteamID64: 76561198252434500,
506+
Name: "F1KU",
507+
KillCount: 14,
508+
AssistCount: 8,
509+
DeathCount: 18,
512510
Score: 36,
513511
Team: match.TeamA,
514512
HeadshotCount: 6,
@@ -576,11 +574,9 @@ func TestEbot_Monte_VS_OG_Roobet_Cup_2023_Anubis(t *testing.T) {
576574
UtilityDamage: 111,
577575
},
578576
{
579-
SteamID64: 76561198040577200,
580-
Name: "sdy",
581-
// It should be 14 because during the round 10 sdy killed F1KU with a molotov but CS2 detected it as a
582-
// suicide from F1KU. The kill event contains only the victim.
583-
KillCount: 13,
577+
SteamID64: 76561198040577200,
578+
Name: "sdy",
579+
KillCount: 14,
584580
AssistCount: 8,
585581
DeathCount: 14,
586582
Score: 49,

0 commit comments

Comments
 (0)