Skip to content

Releases: markus-wa/demoinfocs-golang

v1.9.1

27 Mar 20:30
e0887e1
Compare
Choose a tag to compare

Fixes

  • Fixed issue where player's weapons were sometimes not instantiated correctly (EqUnknonwn) - (#197 - thanks @BestAwperEver)

v1.9.0

26 Mar 16:33
Compare
Choose a tag to compare

New Features / Changes

  • Added GameState.Weapons() function which returns all currently existing weapon instances as a map[int]*Equipment where the key is the entityID (#195 - thanks @BestAwperEver)

v1.8.1

21 Mar 23:14
Compare
Choose a tag to compare

Changes

  • Avoid suppressing panics inside consumer code (e.g. RegisterEventHandler) (#190)
    This was accidentally done since 1.8.0 and made debugging errors in event or net-message handlers much harder

v1.8.0

08 Mar 00:37
Compare
Choose a tag to compare

Deprecation Notices

  • Deprecated DemoHeader.TickRate()
  • Deprecated DemoHeader.TickTime()

New Features / Changes

  • Added Parser.TickRate()
  • Added Parser.TickTime()
  • Implemented fallback to CSVCMsg_ServerInfo for tick-rate etc. in case of corrupted demo headers with missing data (#184)

Fixes

  • Replaced panicking behaviour with returning errors across the whole library (#183)
  • Fixed rounding error in Player.FlashTimeRemaining() that caused inaccurate calculation of the flash time in some rare cases

v1.7.6

24 Feb 18:52
7200e0a
Compare
Choose a tag to compare

Fixes

v1.7.5

05 Feb 09:39
Compare
Choose a tag to compare

Fixes

  • Fixed panic Bombsite with index 260 not found for certain demos (#180 - thanks @vidosits)

v1.7.4

25 Jan 15:56
Compare
Choose a tag to compare

Fixes

v1.7.3

18 Jan 10:20
8fd6479
Compare
Choose a tag to compare

Fixes

v1.7.2

27 Dec 16:58
Compare
Choose a tag to compare

Changes

  • Reverted delaying of decoy_expired event introduced in v1.7.1 (#171 - thanks @BestAwperEver)
    Instead we just delay the deletion of the thrownGrenades entry

v1.7.1

26 Dec 12:11
f85887a
Compare
Choose a tag to compare

Fixes

  • Fixed PlayerHurt.WeaponInstance being nil in some cases (#171)
  • Fixed weapon identification for older demos (no more EqUnknown)
  • Documented that Player.Entity may be nil between the player's death and his re-spawn (#170)
  • Documented more events where Player fields may be nil (#172)
  • Documented Player.ViewDirection{X,Y} ranges (#116)