Demoinfocs Golang Versions Save

A Counter-Strike 2 & CS:GO demo parser for Go (demoinfo)

v4.1.3

3 weeks ago

Go Get

go get -u github.com/markus-wa/demoinfocs-golang/v4/pkg/[email protected]

Fixes

New features

  • Skip unknown protobuf demo commands messages and warn (WarnUnknownDemoCommandMessageType) - this will prevent panicking when a new message is added in the future

v4.1.2

1 month ago

Go Get

go get -u github.com/markus-wa/demoinfocs-golang/v4/pkg/[email protected]

Fixes

  • Fixed another POV demo crash

v4.1.1

1 month ago

Go Get

go get -u github.com/markus-wa/demoinfocs-golang/v4/pkg/[email protected]

Fixes

  • Fixed various crashes in POV demos #522 #523

v4.1.0

1 month ago

Go Get

go get -u github.com/markus-wa/demoinfocs-golang/v4/pkg/[email protected]

New Features

  • Added support for parsing POV demos

v4.0.5

2 months ago

Go Get

go get -u github.com/markus-wa/demoinfocs-golang/v4/pkg/[email protected]

Fixes

  • Fixed panic when round ends in a draw #516 - thanks @akiver

v4.0.4

2 months ago

Go Get

go get -u github.com/markus-wa/demoinfocs-golang/v4/pkg/[email protected]

Fixes

  • Fixed missing PlayerDisconnected event for bots - #512 #511
  • Fixed disconnected bots still shown in connected player lists - #515 #514

Acknowledgements

Thanks @akiver for the fixes in this release

v4.0.3

3 months ago

Go Get

go get -u github.com/markus-wa/demoinfocs-golang/v4/pkg/[email protected]

Changes & Fixes

  • Updated s2_CMsgSource1LegacyGameEventList.pb.bin to fix corrupt demos after recent updates
  • Fixed array decoding logic to make lib work on Go 1.22 - see #509

v4.0.2

3 months ago

Go Get

go get -u github.com/markus-wa/demoinfocs-golang/v4/pkg/[email protected]

Fixes

  • Updated for compatibility after CS2 update of 6th Feb 2024 #501 - thanks @makindotcc :heart:
  • Fixed player team assignment sometimes being off #492 #494 - thanks @akiver
  • Fixed parsing of demos with sv_hibernate_when_empty #460
  • Fixed possible invalid weapon in Kill events #496 - thanks @akiver

Acknowledgements

Thanks to everyone on Discord who was involved in discovering the fix for this update :heart:

v4.0.1

4 months ago

v4.0.0

6 months ago

Go Get

go get -u github.com/markus-wa/demoinfocs-golang/v4/pkg/[email protected]

Changes

  • Added Player.Velocity() support for CS2 #470
  • Added grenade trajectory timings #452
  • Slight performance improvements #454

Fixes

  • Fixed bad data in Player.Weapons() and Player.Inventory #478 - thanks @micvbang
  • Fixed some events in new CS2 demos not containg players (e.g. attacker, victim) #475
  • Fixed weapon owners #473
  • Fixed players marked as disconnected when they aren't #468
  • Fixed nil pointer deref due to bomb planter state #464
  • Fixed fire positions #453

Acknowledgements

Thanks to @akiver @micvbang & @BestAwperEver for their contributions to this release :heart: