DemoInfo

在C#中分析CS:GO演示的库。「A library to analyze CS:GO demos in C#」

Github星跟踪图

DemoInfo

This is a C#-Library that makes reading CS:GO-Demos and analyzing them easier.

Travis CI results

nuget-package

We now have an official nuget-package! See https://www.nuget.org/packages/DemoInfo/

Stable releases

These are created and uploaded manually by us. The assemblies are properly signed (the public key is right here in the repo).

Prereleases

Our nuget prereleases are created automatically by travis whenever the master branch is updated. Therefore, bugs and sudden API changes are more likely. In return, you always get the latest improvements as soon as we push them. The version strings look like this: 0.0.0-ci<unix timestamp when the package was built>-<git commit hash>

Please note that the assemblies in these releases are not properly signed. They're delay-signed to ensure seamless compatibility with regular (stable) releases, but they don't carry a valid signature. This means that you may have to exclude DemoInfo.dll from strong name verification if you use these prereleases (see also: #39).

Debug symbols

Since no Windows machines are involved in any part of the development process, we can't provide pdb symbols for our releases. If you need to step into DemoInfo during debugging, you have to download the source code and add it to your project. Sorry.

Usage

Refer to this guide. There is also an example-project where you can see the parser in action!

Features

  • Get Informations about each player at any point in time:
  • Name
  • SteamID
  • Team
  • Clantag
  • Position
  • View-Direction
  • HP
  • Whether he is alive
  • The players team (CT / T / Spectator)
  • The players weapons
  • Kills
  • Deaths
  • Assists
  • MVPs
  • Score
  • Money
    • Current money
    • Current equipment value
  • Scores
  • Team-names
  • The following game-events:
  • Player was attacked (for GOTV demos newer than July 1st 2015)
  • Exploding / starting / stopping of the following nades:
    • Grenade (position, throwing player)
    • Smoke (position, throwing player, when did it start, when did it stop)
    • Fire (position, throwing player[1], when did it start, when did it stop)
    • Flash (position, throwing player, flashed players)
  • Weapon fired (who fired, what weapon[2], position)
  • Player died (weapon, killer, victim, weapon, position)
  • Round start
  • Match start
  • End of Freezetime
  • Bomb-Events

[1] This is not networked for some odd reason.

[2] This is actually pretty tricky since, for example the USP and the CZ are actually networked with the same class. We use some dark magic to find out what is the correct weapon.

Any questions? Contact me per mail or just join #demoinfogo on QuakeNet.

主要指标

概览
名称与所有者StatsHelix/demoinfo
主编程语言C#
编程语言C# (语言数: 3)
平台Windows
许可证MIT License
所有者活动
创建于2014-10-19 15:03:44
推送于2021-09-22 12:52:56
最后一次提交2021-09-22 14:52:56
发布数5
最新版本名称v1.2.0 (发布于 2015-11-11 14:37:52)
第一版名称slow-but-stable (发布于 2015-01-28 19:20:56)
用户参与
星数322
关注者数30
派生数78
提交数342
已启用问题?
问题数88
打开的问题数28
拉请求数64
打开的拉请求数3
关闭的拉请求数13
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?