diff --git a/csgo/demo_loader.go b/csgo/demo_loader.go index cc7627a..42d66eb 100644 --- a/csgo/demo_loader.go +++ b/csgo/demo_loader.go @@ -365,14 +365,12 @@ func (dml *DemoMatchLoader) setPlaying() { func (dml *DemoMatchLoader) greetGC() { for !dml.GCReady { - var iNull uint32 = 0 + var cs2Version uint32 = 2000202 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 + msg.Version = &cs2Version dml.client.GC.Write(gamecoordinator.NewGCMsgProtobuf(APPID, uint32(protobuf.EGCBaseClientMsg_k_EMsgGCClientHello), &msg)) time.Sleep(1 * time.Second) }