Skip to content

Releases: markus-wa/demoinfocs-golang

v1.7.0

05 Dec 19:01
Compare
Choose a tag to compare

Deprecations

  • Deprecated Inferno.Owner() in favour of Inferno.Thrower()

New Features / Changes

  • Improved grenade tracking (#160 - thanks @xavier-rodet)
    • Added GrenadeEvent.Grenade
    • Added GrenadeProjectile.WeaponInstance
  • Added Player bot utility functions (#164)
    • Player.IsControllingBot()
    • Player.ControlledBot()
  • Added IParticipants.AllByUserID() (#167 - thanks @BestAwperEver)

v1.6.1

29 Nov 18:31
af64f51
Compare
Choose a tag to compare

Fixes

  • Fixed PlayerFlashed.Projectile.Owner and PlayerFlashed.Projectile.Weapon being incorrect in some cases

v1.6.0

28 Nov 21:48
944a72d
Compare
Choose a tag to compare

New Features / Changes

  • Added PlayerFlashed.Projectile, contains a reference to the flashbang's GrenadeProjectile (#158)

Fixes

  • Fixed nil pointer dereference panic that occurred in some demos after the Operation Shattered Web update (#162 / #165)
    Some players may now be "unknown" which can be dected by the new flag Player.IsUnknown.
    These players are also named "unknown" (and lack a avatar) when replaying these demos in GOTV.

v1.6.0-rc0

28 Nov 20:26
138c28f
Compare
Choose a tag to compare
v1.6.0-rc0 Pre-release
Pre-release

New Features / Changes

  • Added PlayerFlashed.Projectile, contains a reference to the flashbang's GrenadeProjectile (#158)

Fixes

  • Fixed nil pointer dereference panic that occurred in some demos after the Operation Shattered Web update (#162 / #165)
    Some players may now be "unknown" which can be dected by the new flag Player.IsUnknown.
    These players are also named "unknown" (and lack a avatar) when replaying these demos in GOTV.

v1.5.1

17 Nov 16:21
abfb31a
Compare
Choose a tag to compare

Fixes

  • Fixed a potential issue with a missing transitive dependency (imghash) - see also jteeuwen/go-bindata#5

v1.5.0

15 Nov 19:34
89ce49f
Compare
Choose a tag to compare

New Features / Changes

  • Added Player.IsPlanting, true if a player is currently planting the bomb (#132)
  • Added Player.IsReloading, true if a player is currently reloading (#132)
  • Added Player.IsAirborne(), returns true if the player is currently in the air (jumping / falling) (#132)
  • Changed weapon worldspawn from EqUnknown to EqWorld (#156)

Fixes

  • Documented that Kill.Killer and WeaponFire.Shooter may be nil in some cases (#156)

v1.4.0

09 Oct 18:02
e06d053
Compare
Choose a tag to compare

New Features / Changes

  • Partial support for POV demos (#2)
  • Implemented fmt.Stringer interface for Player & Equipment

v1.3.3

20 Sep 09:46
6f36fec
Compare
Choose a tag to compare

Fixes

  • Fixed Player fields in some events sometimes being nil at the start of the demo
    Affected events:
    • Kill
    • WeaponFire
    • PlayerFootstep

v1.3.2

19 Sep 23:06
88ba5b8
Compare
Choose a tag to compare

Fixes

  • Added Equipment.AmmoInMaganzine2() & Equipment.AmmoReserve2(), which fix grenade ammo values (#145 - thanks @Linus4)
  • Fixed Player.Weapons()[...].Owner sometimes being nil
  • Fixed edge case where ItemEquip.Player was nil if a player disconnected and was replaced by a bot (#142 - thanks @BestAwperEver)
  • Fixed some events not containing correct references to weapons (#148 & #149)
    This happened if the weapon was an alternative/replacement (e.g. USP instead of P2000 or silenced M4 variant)
  • Fixed MP5-SD being recognized as MP7
  • Fixed spelling error in EqDualBerettas.String() (was Barettas instead of Berettas)

v1.3.1

24 Aug 08:41
d47a55d
Compare
Choose a tag to compare

Fixes

  • Added missing Equipment + mapping for the MP5-SD, common.EqMP5 (#138 - thanks @BestAwperEver)
  • Fixed Entity.Destroy() not being called in some cases (#139)