-
Notifications
You must be signed in to change notification settings - Fork 78
Plans on POV demo analyser #106
Comments
You should be able to parse POV demo if you use the SLOW_PROTOBUF condition when compiling. |
@MrMinicop What exactly do you mean? AFAIK both POV and GOTV demos use the same file format which demoinfo is able to parse. Are you getting wrong data from your POV demos? Is the parser crashing? |
@MrMinicop What exactly do you mean with that? Are you just not getting any gameevents? Are there never any entities or they don't move? We never consciously limited this project to POV demos and definitely ran some early tests with those, so I'd expect them to work. Regarding the |
@main-- I'll double check POV demos again and get back with information |
@main-- Results are ready. I've used this demo project When I open GOTV demo with it - it returns xls with stats. When I open POV demo - I get this error: System.NullReferenceException: Object reference not set to an instance of an object.
at DemoInfo.DP.Handler.PacketEntitesHandler.Apply(PacketEntities packetEntities, IBitStream reader, DemoParser parser)
at DemoInfo.PacketEntities.Parse(IBitStream bitstream, DemoParser parser)
at DemoInfo.DP.DemoPacketParser.ParsePacket(IBitStream bitstream, DemoParser demo)
at DemoInfo.DemoParser.ParseDemoPacket()
at DemoInfo.DemoParser.ParseTick()
at DemoInfo.DemoParser.ParseNextTick()
at DemoInfo.DemoParser.ParseToEnd()
at StatisticsGenerator.MainClass.Main(String[] args) in E:\Downloads\demostatistics-generator-master\StatisticsGenerator\Program.cs:line 209 Line 209 is: |
That does look like a bug to me - does this happen with all POV demos? By the way, you can get a better stack trace if you clone the repo and add a project reference instead of using nuget. |
@main-- I've tried to record own pov demos and to download them from hltv.org - same result. Interesting fact - after error is thrown, new empty csv file is created with correct map name in the filename. Also tried to build with project reference, here is the stack: at DemoInfo.DP.Handler.PacketEntitesHandler.Apply(PacketEntities packetEntities, IBitStream reader, DemoParser parser) in E:\Downloads\demoinfo-master\DemoInfo\DP\Handler\PacketEntitesHandler.cs:line 47
at DemoInfo.PacketEntities.Parse(IBitStream bitstream, DemoParser parser) in E:\Downloads\demoinfo-master\DemoInfo\DP\FastNetmessages\PacketEntities.cs:line 31
at DemoInfo.DP.DemoPacketParser.ParsePacket(IBitStream bitstream, DemoParser demo) in E:\Downloads\demoinfo-master\DemoInfo\DP\DemoPacketParser.cs:line 38
at DemoInfo.DemoParser.ParseDemoPacket() in E:\Downloads\demoinfo-master\DemoInfo\DemoParser.cs:line 653
at DemoInfo.DemoParser.ParseTick() in E:\Downloads\demoinfo-master\DemoInfo\DemoParser.cs:line 633
at DemoInfo.DemoParser.ParseNextTick() in E:\Downloads\demoinfo-master\DemoInfo\DemoParser.cs:line 544
at DemoInfo.DemoParser.ParseToEnd(CancellationToken token) in E:\Downloads\demoinfo-master\DemoInfo\DemoParser.cs:line 529
at DemoInfo.DemoParser.ParseToEnd() in E:\Downloads\demoinfo-master\DemoInfo\DemoParser.cs:line 520
at StatisticsGenerator.MainClass.Main(String[] args) in E:\Downloads\demostatistics-generator-master\StatisticsGenerator\Program.cs:line 209 |
@0BuRner btw, could you please help me, where do I use slow_protobuf exactly? I would like to try it with pov demos. |
Hey, there are indeed two different bugs with POV-demos. One is fairly easy to resolve (as @0BuRner said, by enabling This is definitively open for a pull-requests. Especially to make them at least parse with |
@moritzuehling I would like to help with coding, but I'm not a C# developer :( |
i ran into the same problem, but i fail to understand on howto enable SLOW_PROTOBUF - is there some documentation somewhere ? |
Hello Crimsdings, look at the Microsoft-Documentation on this topic: https://msdn.microsoft.com/en-us/library/4y6tbswk.aspx |
Hi, any plans on implementing POV demo analyzer? I've tested valve tool on github and it can read POV demos so I assume that it's not that hard to do if you already implemented GOTV, in terms of code adjustments. Or there are some issues with POVs?
The text was updated successfully, but these errors were encountered: