From 83a0e1895f91e212d3bc3d5226f05f659a0cdf24 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期二, 31 十二月 2024 16:43:07 +0800 Subject: [PATCH] 10334 【越南】【英语】【BT】【砍树】境界修改-服务端(修改A235选择境界难度发送的值,支持境界等级超过百位) --- ServerPython/CoreServerGroup/GameServer/Script/ChPyNetPack.py | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/ServerPython/CoreServerGroup/GameServer/Script/ChPyNetPack.py b/ServerPython/CoreServerGroup/GameServer/Script/ChPyNetPack.py index 27aa94f..167648b 100644 --- a/ServerPython/CoreServerGroup/GameServer/Script/ChPyNetPack.py +++ b/ServerPython/CoreServerGroup/GameServer/Script/ChPyNetPack.py @@ -7601,7 +7601,7 @@ _fields_ = [ ("Cmd", c_ubyte), ("SubCmd", c_ubyte), - ("RealmDifficulty", c_ubyte), #境界难度 = 100 + 所选境界等级,如境界13,则发113 + ("RealmDifficulty", c_ushort), #境界难度 = 1000 + 所选境界等级,如境界13,则发1013 ] def __init__(self): @@ -23041,7 +23041,7 @@ _fields_ = [ ("Cmd", c_ubyte), ("SubCmd", c_ubyte), - ("Type", c_ubyte), # 0-取消匹配; 1-进行匹配 + ("Type", c_ubyte), # 0-查询匹配;1-刷新匹配 ] def __init__(self): @@ -23094,6 +23094,7 @@ ("Cmd", c_ubyte), ("SubCmd", c_ubyte), ("IsWin", c_ubyte), #是否获胜 + ("TagPlayerID", c_int), #目标玩家ID ] def __init__(self): @@ -23111,6 +23112,7 @@ self.Cmd = 0xC1 self.SubCmd = 0x08 self.IsWin = 0 + self.TagPlayerID = 0 return def GetLength(self): @@ -23123,12 +23125,14 @@ DumpString = '''// C1 08 跨服PK挑战机器人结算 //tagCMCrossRealmPKRobotOver: Cmd:%s, SubCmd:%s, - IsWin:%d + IsWin:%d, + TagPlayerID:%d '''\ %( self.Cmd, self.SubCmd, - self.IsWin + self.IsWin, + self.TagPlayerID ) return DumpString -- Gitblit v1.8.0