Releases: markus-wa/demoinfocs-golang
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
v3.4.0-alpha.0
Preliminary Counter Strike 2 (CS:GO Source 2) Support
This alpha release adds initial support for CS2.
go get github.com/markus-wa/[email protected]
Expect bugs and significant changes as we figure out the details.
A lot of events aren't working yet, but events.Kill
should mostly work.
Watch out for bad data, there are still a bunch of bugs.
v3.3.0
Special thanks to @akiver for the contributions to this release - see also #374
Changes
- Improved POV Demo support
- Re-use existing entities when they enter PVS if possible based on their serial number
- Add int64 props decoder (got some with Danger mode demos)
- Use the proper prop in player.Position() (
cslocaldata.m_vecOrigin
vscsnonlocaldata.m_vecOrigin
) - Added event
POVRecordingPlayerDetected
- Make player.isAlive() more accurate by checking the value of the prop m_lifeState
- Add more known game events
- Add a doc about game events
v3.2.0
v3.1.0
Changes
- Added
Equipment.UniqueID2()
- thanks @David-Durst - Added
Equipment.RecoilIndex()
- thanks @David-Durst - Upgraded dependencies to fix security issues in the supply chain
- Updated protobufs
Fixes
- Fixed
-debugdemoinfocs
not printing game events properly after protobuf upgrade