Skip to content
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

Figure out how to parse game_data2 in CMsgClientWelcome #1

Open
rossengeorgiev opened this issue Oct 19, 2016 · 2 comments
Open

Figure out how to parse game_data2 in CMsgClientWelcome #1

rossengeorgiev opened this issue Oct 19, 2016 · 2 comments

Comments

@rossengeorgiev
Copy link
Contributor

optional bytes game_data2 = 6;

@substanc3-dev
Copy link

substanc3-dev commented Dec 22, 2018

I have done some reversing on the CS:GO GC packets, and it seems game_data is CMsgCStrike15Welcome and game_data2 is CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.

@Gobot1234
Copy link

Gobot1234 commented Jan 22, 2022

This doesn't appear to be very useful anymore as it isn't any different from the one you receive in an event

b'\x08\x83\xcc\x9f\xe6\x03\x1a\xbb\x02\x08\x9f\x97+\x10\xa5\xe0\x0e\x18\xba\x83\x01 \x92\xe4\x07(\xc0\xbf\x010\x85\xb1\x06:\x06\x08\x88\x04 \x8e-:\x07\x08\x88\x80\x02 \xd49:\x06\x08\x88  \x8b":\x07\x08\x88\x80@ \xc6\x0b:\x07\x08\x88\x80\x01 \xf7\x0c:\x06\x08\x88\x08 \x9b\t:\t\x08\x88\x80\x80\x80\x01 \x85\x0f:\x06\x08\x88@ \xf4\x0e:\x08\x08\x88\x80\x80@ \xda\x03:\x07\x08\x88\x80\x04 \xb6\x06:\x06\x08\x88\x10 \xf6\x06:\x08\x08\x88\x80\x80  \x95\x03:\x08\x08\x88\x80\x80\x08 \xab\x03:\x08\x08\x88\x80\x80\x10 \xcc\x06:\x07\x08\x8a\x80\x01 \xbe\x06:\x06\x08\x8a  \x9b\x0b:\t\x08\x8a\x80\x80\x80\x02 \xa2\x05:\t\x08\x8a\x80\x80\x80\x01 \xfe\x06:\x06\x08\x8a\x08 \xf1\x03:\x06\x08\x8a@ \x96\x08:\x08\x08\x8a\x80\x80\x04 \xaf\x07:\x04\x08\x8a\x80\x02:\x06\x08\x8a\x10 \xb0\x04:\x05\x08\x8a\x80\x80\x08:\x05\x08\x8a\x80\x80 :\x04\x08\x8a\x80\x04:\x04\x08\x8a\x80\x08:\x07\x08\x8a\x80\x10 \xea\x02:\x07\x08\x8a\x80  \xee\x02:\x06\x08\x8d\x02 \xe1\x02:\x06\x08\x8d  \xe1\x02:\x06\x08\x8d\x04 \xe1\x02B\x00H\xf5kP\xd0\xa2\xaa\x8e\x06X\x02`\x12h\x000\x00\x88\x01\x01\x90\x01\x80\x80\xa0\x9c\x01'

decodes to

MatchmakingClientHello(account_id=1019733507, global_stats=GlobalStatistics(players_online=707487, servers_online=241701, players_searching=16826, servers_available=127506, ongoing_matches=24512, search_time_avg=104581, search_statistics=[DetailedSearchStatistic(game_type=520, players_searching=5774), DetailedSearchStatistic(game_type=32776, players_searching=7380), DetailedSearchStatistic(game_type=4104, players_searching=4363), DetailedSearchStatistic(game_type=1048584, players_searching=1478), DetailedSearchStatistic(game_type=16392, players_searching=1655), DetailedSearchStatistic(game_type=1032, players_searching=1179), DetailedSearchStatistic(game_type=268435464, players_searching=1925), DetailedSearchStatistic(game_type=8200, players_searching=1908), DetailedSearchStatistic(game_type=134217736, players_searching=474), DetailedSearchStatistic(game_type=65544, players_searching=822), DetailedSearchStatistic(game_type=2056, players_searching=886), DetailedSearchStatistic(game_type=67108872, players_searching=405), DetailedSearchStatistic(game_type=16777224, players_searching=427), DetailedSearchStatistic(game_type=33554440, players_searching=844), DetailedSearchStatistic(game_type=16394, players_searching=830), DetailedSearchStatistic(game_type=4106, players_searching=1435), DetailedSearchStatistic(game_type=536870922, players_searching=674), DetailedSearchStatistic(game_type=268435466, players_searching=894), DetailedSearchStatistic(game_type=1034, players_searching=497), DetailedSearchStatistic(game_type=8202, players_searching=1046), DetailedSearchStatistic(game_type=8388618, players_searching=943), DetailedSearchStatistic(game_type=32778), DetailedSearchStatistic(game_type=2058, players_searching=560), DetailedSearchStatistic(game_type=16777226), DetailedSearchStatistic(game_type=67108874), DetailedSearchStatistic(game_type=65546), DetailedSearchStatistic(game_type=131082), DetailedSearchStatistic(game_type=262154, players_searching=362), DetailedSearchStatistic(game_type=524298, players_searching=366), DetailedSearchStatistic(game_type=269, players_searching=353), DetailedSearchStatistic(game_type=4109, players_searching=353), DetailedSearchStatistic(game_type=525, players_searching=353)], main_post_url='', required_appid_version=13813, pricesheet_version=1640665424, twitch_streams_version=2, active_tournament_eventid=18, active_survey_id=0), vac_banned=0, player_level=1, player_cur_xp=327680000)

Maybe this can be closed now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants