Releases: markus-wa/demoinfocs-golang
Releases · markus-wa/demoinfocs-golang
v1.7.0
Deprecations
- Deprecated
Inferno.Owner()
in favour ofInferno.Thrower()
New Features / Changes
- Improved grenade tracking (#160 - thanks @xavier-rodet)
- Added
GrenadeEvent.Grenade
- Added
GrenadeProjectile.WeaponInstance
- Added
- Added Player bot utility functions (#164)
Player.IsControllingBot()
Player.ControlledBot()
- Added
IParticipants.AllByUserID()
(#167 - thanks @BestAwperEver)
v1.6.1
v1.6.0
New Features / Changes
- Added
PlayerFlashed.Projectile
, contains a reference to the flashbang'sGrenadeProjectile
(#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 flagPlayer.IsUnknown
.
These players are also named "unknown" (and lack a avatar) when replaying these demos in GOTV.
v1.6.0-rc0
New Features / Changes
- Added
PlayerFlashed.Projectile
, contains a reference to the flashbang'sGrenadeProjectile
(#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 flagPlayer.IsUnknown
.
These players are also named "unknown" (and lack a avatar) when replaying these demos in GOTV.
v1.5.1
Fixes
- Fixed a potential issue with a missing transitive dependency (
imghash
) - see also jteeuwen/go-bindata#5
v1.5.0
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
fromEqUnknown
toEqWorld
(#156)
Fixes
- Documented that
Kill.Killer
andWeaponFire.Shooter
may be nil in some cases (#156)
v1.4.0
v1.3.3
v1.3.2
Fixes
- Added
Equipment.AmmoInMaganzine2()
&Equipment.AmmoReserve2()
, which fix grenade ammo values (#145 - thanks @Linus4) - Fixed
Player.Weapons()[...].Owner
sometimes beingnil
- Fixed edge case where
ItemEquip.Player
wasnil
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()
(wasBarettas
instead ofBerettas
)