From 93cabd120385c8cb59da539afb42830221b20015 Mon Sep 17 00:00:00 2001 From: Citrinate Date: Thu, 8 Feb 2024 10:09:23 -0500 Subject: [PATCH] Fix client hello rejections --- CS2Interface/CS/Client.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/CS2Interface/CS/Client.cs b/CS2Interface/CS/Client.cs index 1fe7bd8..8f1af41 100644 --- a/CS2Interface/CS/Client.cs +++ b/CS2Interface/CS/Client.cs @@ -61,7 +61,12 @@ internal async Task Run() { await Task.Delay(TimeSpan.FromSeconds(5)).ConfigureAwait(false); - var msg = new ClientGCMsgProtobuf((uint) EGCBaseClientMsg.k_EMsgGCClientHello); + var msg = new ClientGCMsgProtobuf((uint) EGCBaseClientMsg.k_EMsgGCClientHello) { Body = { + version = 2000244, + client_session_need = 0, + client_launcher = 0, + steam_launcher = 0 + }}; var fetcher = new GCFetcher((uint) EGCBaseClientMsg.k_EMsgGCClientWelcome); Bot.ArchiLogger.LogGenericDebug("Sending hello message");