Releases: markus-wa/demoinfocs-golang
Releases · markus-wa/demoinfocs-golang
v4.0.1
Go Get
go get -u github.com/markus-wa/demoinfocs-golang/v4/pkg/[email protected]
Fixes
- fix: panic on bot_takeover events
- fix: possible invalid pawn entity
- fix: Participants().Playing() may returned disconnected players
- fix: weapon may be incorrect in kill events
- fix: possible panic due to incorrect weapon's owner
Acknowledgements
Thanks to @akiver for their contributions to this release ❤️
v4.0.0
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()
andPlayer.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
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/[email protected]
v4.0.0-beta.4
v4.0.0-beta.3
Various fixes for CS2 demos
- events: add TeamClanNameUpdated - #443 thanks @micvbang
- Inferno Fires List() func - #444 thanks @micvbang
- Fixed crash on some CS2 demos - #442 thanks @BestAwperEver
- Added OtherDeath event - #440 thanks @Falderebet
- Fix Player.Armor() sometimes being a few ticks outdated - #438 @esbengc
- Some performance improvements - #428 thanks @Ektaros
- Fixed Freezetime events - #427 thanks @akiver
- Fixed hostages - #423 thanks @akiver
- Added ItemRefund event - #422 thanks @akiver
- Fixed missing PlayerConnect - #420
- Added RankUpdate event - thanks @akiver
- Fixed typo in event type - #418 thanks @statist32
- Various other small fixes
Thanks to all the various contributors to this release - hopefully I didn't miss anyone ❤️
v4.0.0-beta.2
v4.0.0-beta.1
v4.0.0-beta.0
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.
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/[email protected]
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
v3.4.0-alpha.3
v3.4.0-alpha.3 - Counter-Strike 2 Fixes
Fixes
- Fixed protobuf namespace conflict that was reintroduced with
v3.4.0-alpha.1
- Fixed GOTV demo processing for CS2
- Fixed Entity Props after recent updates
- Updated protobufs
v3.4.0-alpha.1
v3.4.0-alpha.1 - Counter-Strike 2 Fixes
Fixes
- Fixed GOTV demo processing for CS2
- Fixed Entity Props after recent updates
- Updated protobufs