This commit is contained in:
@@ -263,7 +263,10 @@ func (h *ClientData) OnEvent(v []byte) {
|
||||
fmt.Println(header.UserID, "未创建角色")
|
||||
return
|
||||
}
|
||||
header.Data = XORDecryptU(header.Data, t.Player.Hash)
|
||||
if len(header.Data) > 0 {
|
||||
header.Data = XORDecryptU(header.Data, t.Player.Hash)
|
||||
}
|
||||
|
||||
}
|
||||
if cool.Config.ServerInfo.IsDebug != 0 {
|
||||
fmt.Println("接收数据", header.UserID, header.CMD)
|
||||
|
||||
Reference in New Issue
Block a user