-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mapname and gamerounds all empty #435
Comments
I found a solution to get mapname, but the rank information and gamerounds of cs2 are still empty, I don't know why, and 4.0.0 beta2 is very slow, master is very fast but its data are all empty |
What I mean is that most of the data can be obtained in beta2 but it is very slow, while in master it is very fast but the data is empty. |
RegisterNetMessageHandler(msg *msgs2.CSVCMsg_ServerInfo) { You can get map name through this way. |
The issue is that CS2 demos do not include this info in the header - we might deprecate |
Thanks for your reply, but I already found a solution to get mapname, now the question is i got totaly empty round info. |
It's not only MapName but all fields in h, _ := p.ParseHeader() // no error here
slog.Info("parsed demo header", "header", h) INFO parsed demo header header="{Filestamp:PBDEMS2 Protocol:0 NetworkProtocol:0 ServerName: ClientName: MapName: GameDirectory: PlaybackTime:0s PlaybackTicks:0 PlaybackFrames:0 SignonLength:0}" demo: https://www.faceit.com/ru/cs2/room/1-b02514d4-11e8-415a-92ff-9a9461feb033 |
I found that my function of getting mapname and getting each round of each game failed in the latest master, and in 4.0.0 beta2 only mapname failed.
Hello, I'm very sorry that I didn't quite understand what you meant because I'm a newbie to this part. This is my code and I found that it does not take effect anymore. It still takes effect in 4.0.0 beta2 but not in the latest master. Here is my mapname code
// Create new demoparser
p := dem.NewParser(f)
defer p.Close()
The text was updated successfully, but these errors were encountered: