add protocol version
This commit is contained in:
@@ -367,6 +367,8 @@ func (dml *DemoMatchLoader) greetGC() {
|
|||||||
for !dml.GCReady {
|
for !dml.GCReady {
|
||||||
log.Debugf("[DL] Sending GC greeting")
|
log.Debugf("[DL] Sending GC greeting")
|
||||||
msg := protobuf.CMsgClientHello{}
|
msg := protobuf.CMsgClientHello{}
|
||||||
|
pVersion := steamlang.MsgClientLogon_CurrentProtocol
|
||||||
|
msg.Version = &pVersion
|
||||||
dml.client.GC.Write(gamecoordinator.NewGCMsgProtobuf(APPID, uint32(protobuf.EGCBaseClientMsg_k_EMsgGCClientHello), &msg))
|
dml.client.GC.Write(gamecoordinator.NewGCMsgProtobuf(APPID, uint32(protobuf.EGCBaseClientMsg_k_EMsgGCClientHello), &msg))
|
||||||
time.Sleep(1 * time.Second)
|
time.Sleep(1 * time.Second)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user