-
Notifications
You must be signed in to change notification settings - Fork 99
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
How to get crc-map code? #483
Comments
@NintyS were you ever able to figure out? |
Nah, probably you can't. But I get from CS:GO the CRC codes and they works so for now I'm good. var (
Mirage uint32 = 1936772555
Anubis uint32 = 3934213780
Nuke uint32 = 4081488007
Inferno uint32 = 3201302029
Ancient uint32 = 4262714479
Overpass uint32 = 2863184063
Vertigo uint32 = 970160341
) |
Understood! Thanks for the list. However, how do you get the map name from the demo to get the corresponding crc? |
Sorry for delay, I didn't get notification until I open mail. AFAIK header is deprecated / returns nothing because new header is different than old one. This is my code:
|
It's shit but for now this is only thing I can do I guess. Maybe I will post my repo with code as a example for people. |
Understood! Thanks for sharing |
Out of curiosity, is there any reason you dont do it like this?
|
Yes, because I forgot that Key-Value dictionaries exists XD |
How to get CRC code of map in CS2 version of the library?
The msgs2.CSVCMsg_ServerInfo don't have a GetMapCrc() function as I see
The text was updated successfully, but these errors were encountered: