Comments (6)
In that output The string "Started Round number: x" is printed in the parser.RoundStart event while the string "Ended Round number: x" is printed in the parser.RoundEnd event. As you can see, there are rounds which do not end, and statistics based on rounds data is thus erroneous. For example: Rounds 1, 2, 4, 5, 6 do not end.
from demoinfo.
This is not a bug. The round start and round end events are generated by the server, we just parse them. It's perfectly possible for a demo to have rounds which don't end or even rounds that never start and there's nothing we can do about it. Sorry.
from demoinfo.
ok thanks
from demoinfo.
So, maybe generate a round end if a round start with no previous end occurs?
from demoinfo.
Out of the scope of this library in my opinion. It might be interesting ti create a demoino-convenient project, that abstracts demoinfo, and fixes this kind of stuff.
from demoinfo.
So, maybe generate a round end if a round start with no previous end occurs?
Out of the scope of this library in my opinion.
More than that, it would also be wrong. DemoInfo's job is parsing demo files. If a demo file contains weird data and there simply is no correct way to automatically handle it (like here), then downstream code is going to get broken data from us anyways. Because of that, it's much better to be honest with them so they can try to make the best of it.
from demoinfo.
Related Issues (20)
- Fix or Walkaround on parser for third party platforms HOT 5
- Include MP5-SD HOT 1
- Crash on parser.ParseToEnd(); HOT 1
- Does not parsing all players properly HOT 4
- Calculating a player's bone positions HOT 5
- How to get voice chat?
- PacketEntitesHandler.cs string 132 HOT 4
- Exception thrown for game event "inferno_expire" HOT 1
- Player position reported switches to different player after death HOT 1
- Parser NotImplemented exception after exactly 15 ticks HOT 2
- FaceIt Demos HOT 4
- bullet_impact event HOT 2
- Various bug fixes for demoinfo
- m_Collision.m_vecMins gets incorrect values for func_hostage_rescue entities HOT 2
- Almost all datas are wrong in Player.Weapons
- parser.ParseToEnd() -> System.NotImplementedException HOT 12
- I cant use the libray HOT 1
- System.Exception: 'Roy said I should throw this.' HOT 9
- Player hurt event health damage exceeding players previous health HOT 1
- Invalid File-Type - expecting HL2DEMO HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from demoinfo.