set exp gc version

This commit is contained in:
2025-10-26 17:01:06 +01:00
parent e7e068d4d5
commit 2deefd3b81

View File

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