Releases: markus-wa/demoinfocs-golang
Releases · markus-wa/demoinfocs-golang
v2.12.0
New Features
- Added
ParserConfig.IgnoreErrBombsiteIndexNotFound
flag to ignore errors about bombsite indexes that can't be found (#315 - see also #314)
v2.11.1
Fixes
- fixed
BombPlantBegin.Site
always being BombsiteA
for new demos (#313)
v2.10.1
Fixes
- common: fix panic when
player_connect.networkid
is malformed or missing
v2.10.0
Changes
- Return
error
for Parser.Close()
if closing underlying resources fails (i.e. when closing the bit-reader)
Fixes
- Fixed (hopefully) an issue where the parser would not work with
io.Reader
's that don't have all data available from the beginning (e.g. HTTP streaming or Gzip) - see #299
v2.9.1
New Features
- Added map scale + translations for
de_ancient
, de_office
and de_agency
(#302 - thanks @srjnm)
v2.9.0
New Features
- Added
Player.PositionEyes()
- returns player position with Z
value on eye/view height
Fixes
- Fixed documentation of
Player.Position()
- it does not match cl_showpos 1
contrary to what it said before
v2.8.1
New Features
- Added
events.PlayerNameChange
to signal that a player's name has changed (#289)
Fixes
- Capture a player's name change in
Player.Name
, this fixes a regression introduced in 0515f18 (#289)
v2.8.0
New Features / Changes
- Added
GrenadeProjectile.Velocity()
function
- Added
sendtables.PropertyValue.Type()
function
- Updated protobuf descriptors
Fixes
- Fixed docs on
DataTablesParsed
event referencing non-exposed types
v2.7.1
de_grind crash fix
See #280 for more information, especially if you need to know the bombsite for some of the bomb related events.
Changes
BombEvent.Site
may now be unknown/undefined (meaning neither BombsiteA
nor BombsiteB
), see #280 for more details
- Replaced
panic: bomb not planted on bombsite A or B
with ParserWarn
event with the same message
- Added
ParserWarn.Type
to reliably identify kinds of warnings, currently only WarnTypeBombsiteUnknown
exists