Skip to content

Releases: markus-wa/demoinfocs-golang

v4.0.3

19 Feb 12:52
600fc4e
Compare
Choose a tag to compare

Go Get

go get -u github.com/markus-wa/demoinfocs-golang/v4/pkg/demoinfocs@v4.0.3

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

09 Feb 10:21
8907b4f
Compare
Choose a tag to compare

Go Get

go get -u github.com/markus-wa/demoinfocs-golang/v4/pkg/demoinfocs@v4.0.2

Fixes

  • Updated for compatibility after CS2 update of 6th Feb 2024 #501 - thanks @makindotcc ❤️
  • 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 ❤️

v4.0.1

08 Jan 13:52
935fd38
Compare
Choose a tag to compare

Go Get

go get -u github.com/markus-wa/demoinfocs-golang/v4/pkg/demoinfocs@v4.0.1

Fixes

Acknowledgements

Thanks to @akiver for their contributions to this release ❤️

v4.0.0

20 Nov 20:16
33abbfb
Compare
Choose a tag to compare

Go Get

go get -u github.com/markus-wa/demoinfocs-golang/v4/pkg/demoinfocs@v4.0.0

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 ❤️

v4.0.0-beta.5

18 Oct 17:53
7be9c51
Compare
Choose a tag to compare

Changes

  • Improved performance - #446 & #448 thanks @Ektaros
  • Fixed crash / UnexpectedEndOfDemo on empty packets
  • Fixed player inventory at the beginning of the game - #449 thanks @esbengc
  • Fixed nil pointer deref crash on other_death - #447

Update Instructions

go get github.com/markus-wa/demoinfocs-golang/v4@v4.0.0-beta.5

v4.0.0-beta.4

18 Oct 17:43
665d2c6
Compare
Choose a tag to compare

Changes

  • Improved performance - #446 & #448 thanks @Ektaros
  • Fixed crash / UnexpectedEndOfDemo on empty packets
  • Fixed player inventory at the beginning of the game - #449 thanks @esbengc

Update Instructions

go get github.com/markus-wa/demoinfocs-golang/v4@v4.0.0-beta.4

v4.0.0-beta.3

16 Oct 11:10
0309a57
Compare
Choose a tag to compare

Various fixes for CS2 demos

Thanks to all the various contributors to this release - hopefully I didn't miss anyone ❤️

v4.0.0-beta.2

12 Sep 10:35
a5adbe2
Compare
Choose a tag to compare

v4.0.0-beta.2

v4.0.0-beta.1

10 Sep 21:18
161565a
Compare
Choose a tag to compare

v4.0.0-beta.1

  • added RoundFreezetimeChanged & GameState.IsFreezetimePeriod() - see #413
  • fixed #407 , #410, #411 - see #412

Thanks @akiver for the contributions to this release ❤️

v4.0.0-beta.0

01 Sep 14:35
663d133
Compare
Choose a tag to compare

v4 / Counter-Strike 2 (CS:GO Source 2)

This beta release marks significant support for CS2 demos and brings a major version bump with it.

⚠️ As long as releases are tagged beta, the v4 API may change in backwards incompatible ways without warning.

Please report and bugs & bad data via GitHub issues.

Installation

go get github.com/markus-wa/demoinfocs-golang@v4.0.0-beta.0

Migration

change all imports of v3 to v4 - so github.com/markus-wa/demoinfocs-golang/v3/pkg/demoinfocs -> github.com/markus-wa/demoinfocs-golang/v4/pkg/demoinfocs

SED command

sed -i 's#github.com/markus-wa/demoinfocs-golang/v3#github.com/markus-wa/demoinfocs-golang/v4#g' **/*.go

Changes

  • Counter-Strike 2 support
  • Requires Go 1.21
  • Various breaking API changes

Acknowledgements

  • Thanks to @akiver for the various contributions to this release - this would not have been possible without your help ❤️
  • Thanks to dotabuff/manta for the DotA 2 parser which forms the basis of much of the CS2 demo format parsing
  • Thanks to @LaihoE for collaborating on finding out how to parse some CS2 specific data