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) }