set exp gc version
This commit is contained in:
@@ -365,14 +365,12 @@ func (dml *DemoMatchLoader) setPlaying() {
|
|||||||
|
|
||||||
func (dml *DemoMatchLoader) greetGC() {
|
func (dml *DemoMatchLoader) greetGC() {
|
||||||
for !dml.GCReady {
|
for !dml.GCReady {
|
||||||
var iNull uint32 = 0
|
var cs2Version uint32 = 2000202
|
||||||
log.Debugf("[DL] Sending GC greeting")
|
log.Debugf("[DL] Sending GC greeting")
|
||||||
msg := protobuf.CMsgClientHello{}
|
msg := protobuf.CMsgClientHello{}
|
||||||
pVersion := steamlang.MsgClientLogon_CurrentProtocol
|
pVersion := steamlang.MsgClientLogon_CurrentProtocol
|
||||||
msg.Version = &pVersion
|
msg.Version = &pVersion
|
||||||
msg.ClientSessionNeed = &iNull
|
msg.Version = &cs2Version
|
||||||
msg.ClientLauncher = &iNull
|
|
||||||
msg.SteamLauncher = &iNull
|
|
||||||
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