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?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?