From e7e068d4d5b5ccb19ebef5041dd993bc7a26cdd0 Mon Sep 17 00:00:00 2001 From: Giovanni Harting <539@idlegandalf.com> Date: Sun, 26 Oct 2025 16:40:13 +0100 Subject: [PATCH] try to fix gc login --- csgo/demo_loader.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/csgo/demo_loader.go b/csgo/demo_loader.go index bf4bd35..cc7627a 100644 --- a/csgo/demo_loader.go +++ b/csgo/demo_loader.go @@ -365,10 +365,14 @@ func (dml *DemoMatchLoader) setPlaying() { func (dml *DemoMatchLoader) greetGC() { for !dml.GCReady { + var iNull uint32 = 0 log.Debugf("[DL] Sending GC greeting") msg := protobuf.CMsgClientHello{} pVersion := steamlang.MsgClientLogon_CurrentProtocol msg.Version = &pVersion + msg.ClientSessionNeed = &iNull + msg.ClientLauncher = &iNull + msg.SteamLauncher = &iNull dml.client.GC.Write(gamecoordinator.NewGCMsgProtobuf(APPID, uint32(protobuf.EGCBaseClientMsg_k_EMsgGCClientHello), &msg)) time.Sleep(1 * time.Second) }