Skip to content

Commit

Permalink
Fix client hello rejections
Browse files Browse the repository at this point in the history
  • Loading branch information
Citrinate committed Feb 8, 2024
1 parent b04e5d6 commit 93cabd1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion CS2Interface/CS/Client.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,12 @@ internal async Task<bool> Run() {

await Task.Delay(TimeSpan.FromSeconds(5)).ConfigureAwait(false);

var msg = new ClientGCMsgProtobuf<CMsgClientHello>((uint) EGCBaseClientMsg.k_EMsgGCClientHello);
var msg = new ClientGCMsgProtobuf<CMsgClientHello>((uint) EGCBaseClientMsg.k_EMsgGCClientHello) { Body = {
version = 2000244,
client_session_need = 0,
client_launcher = 0,
steam_launcher = 0
}};
var fetcher = new GCFetcher<CMsgClientHello, CMsgClientWelcome>((uint) EGCBaseClientMsg.k_EMsgGCClientWelcome);

Bot.ArchiLogger.LogGenericDebug("Sending hello message");
Expand Down

0 comments on commit 93cabd1

Please sign in to comment.