add protocol version

This commit is contained in:
2025-10-26 16:00:07 +01:00
parent 7641427068
commit d9e6402c03

View File

@@ -367,6 +367,8 @@ func (dml *DemoMatchLoader) greetGC() {
for !dml.GCReady {
log.Debugf("[DL] Sending GC greeting")
msg := protobuf.CMsgClientHello{}
pVersion := steamlang.MsgClientLogon_CurrentProtocol
msg.Version = &pVersion
dml.client.GC.Write(gamecoordinator.NewGCMsgProtobuf(APPID, uint32(protobuf.EGCBaseClientMsg_k_EMsgGCClientHello), &msg))
time.Sleep(1 * time.Second)
}