From d898465cfc9227fbf7d4e0f743ce2805432f4677 Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期四, 16 八月 2018 16:40:15 +0800
Subject: [PATCH] fix:法宝之魂封包
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChPyNetPack.py | 52 +++++++++++++
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChPyNetSendPack.py | 52 +++++++++++++
PyNetPack/ClientPack/ClientToMapServer/CA5_Function/ActiveMWSoul.des | 1
PyNetPack/ServerPack/MapServerPack/HA3_Function/MWSoulState.h | 8 ++
PyNetPack/ClientPack/ClientToMapServer/CA5_Function/ActiveMWSoul.h | 8 ++
ServerPython/CoreServerGroup/GameServer/Script/ChPyNetPack.py | 52 +++++++++++++
PyNetPack/ClientPack/ClientToMapServer/CA5_Function/ActiveMWSoul | 0
PyNetPack/ServerPack/MapServerPack/HA3_Function/MWSoulState | 0
PyNetPack/ServerPack/MapServerPack/HA3_Function/MWSoulState.des | 1
ServerPython/CoreServerGroup/GameServer/Script/ChPyNetSendPack.py | 52 +++++++++++++
10 files changed, 226 insertions(+), 0 deletions(-)
diff --git a/PyNetPack/ClientPack/ClientToMapServer/CA5_Function/ActiveMWSoul b/PyNetPack/ClientPack/ClientToMapServer/CA5_Function/ActiveMWSoul
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/PyNetPack/ClientPack/ClientToMapServer/CA5_Function/ActiveMWSoul
diff --git a/PyNetPack/ClientPack/ClientToMapServer/CA5_Function/ActiveMWSoul.des b/PyNetPack/ClientPack/ClientToMapServer/CA5_Function/ActiveMWSoul.des
new file mode 100644
index 0000000..65a1a9e
--- /dev/null
+++ b/PyNetPack/ClientPack/ClientToMapServer/CA5_Function/ActiveMWSoul.des
@@ -0,0 +1 @@
+A5 12 激活法宝之魂 #tagCMActiveMWSoul
diff --git a/PyNetPack/ClientPack/ClientToMapServer/CA5_Function/ActiveMWSoul.h b/PyNetPack/ClientPack/ClientToMapServer/CA5_Function/ActiveMWSoul.h
new file mode 100644
index 0000000..e5706fb
--- /dev/null
+++ b/PyNetPack/ClientPack/ClientToMapServer/CA5_Function/ActiveMWSoul.h
@@ -0,0 +1,8 @@
+// A5 12 激活法宝之魂 #tagCMActiveMWSoul
+
+struct tagCMActiveMWSoul
+
+{
+ tagHead Head;
+ BYTE ID; //编号
+};
diff --git a/PyNetPack/ServerPack/MapServerPack/HA3_Function/MWSoulState b/PyNetPack/ServerPack/MapServerPack/HA3_Function/MWSoulState
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/PyNetPack/ServerPack/MapServerPack/HA3_Function/MWSoulState
diff --git a/PyNetPack/ServerPack/MapServerPack/HA3_Function/MWSoulState.des b/PyNetPack/ServerPack/MapServerPack/HA3_Function/MWSoulState.des
new file mode 100644
index 0000000..d734d6b
--- /dev/null
+++ b/PyNetPack/ServerPack/MapServerPack/HA3_Function/MWSoulState.des
@@ -0,0 +1 @@
+A3 0E 通知法宝之魂激活状态 #tagMCMWSoulState
diff --git a/PyNetPack/ServerPack/MapServerPack/HA3_Function/MWSoulState.h b/PyNetPack/ServerPack/MapServerPack/HA3_Function/MWSoulState.h
new file mode 100644
index 0000000..8fe165b
--- /dev/null
+++ b/PyNetPack/ServerPack/MapServerPack/HA3_Function/MWSoulState.h
@@ -0,0 +1,8 @@
+// A3 0E 通知法宝之魂激活状态 #tagMCMWSoulState
+
+struct tagMCMWSoulState
+
+{
+ tagHead Head;
+ DWORD State; //激活状态
+};
diff --git a/ServerPython/CoreServerGroup/GameServer/Script/ChPyNetPack.py b/ServerPython/CoreServerGroup/GameServer/Script/ChPyNetPack.py
index a5d719d..6862883 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/ChPyNetPack.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/ChPyNetPack.py
@@ -6529,6 +6529,58 @@
#------------------------------------------------------
+# A5 12 激活法宝之魂 #tagCMActiveMWSoul
+
+class tagCMActiveMWSoul(Structure):
+ _pack_ = 1
+ _fields_ = [
+ ("Cmd", c_ubyte),
+ ("SubCmd", c_ubyte),
+ ("ID", c_ubyte), #编号
+ ]
+
+ def __init__(self):
+ self.Clear()
+ self.Cmd = 0xA5
+ self.SubCmd = 0x12
+ return
+
+ def ReadData(self, stringData, _pos=0, _len=0):
+ self.Clear()
+ memmove(addressof(self), stringData[_pos:], self.GetLength())
+ return _pos + self.GetLength()
+
+ def Clear(self):
+ self.Cmd = 0xA5
+ self.SubCmd = 0x12
+ self.ID = 0
+ return
+
+ def GetLength(self):
+ return sizeof(tagCMActiveMWSoul)
+
+ def GetBuffer(self):
+ return string_at(addressof(self), self.GetLength())
+
+ def OutputString(self):
+ DumpString = '''// A5 12 激活法宝之魂 //tagCMActiveMWSoul:
+ Cmd:%s,
+ SubCmd:%s,
+ ID:%d
+ '''\
+ %(
+ self.Cmd,
+ self.SubCmd,
+ self.ID
+ )
+ return DumpString
+
+
+m_NAtagCMActiveMWSoul=tagCMActiveMWSoul()
+ChNetPackDict[eval("0x%02x%02x"%(m_NAtagCMActiveMWSoul.Cmd,m_NAtagCMActiveMWSoul.SubCmd))] = m_NAtagCMActiveMWSoul
+
+
+#------------------------------------------------------
# A5 49 大师天赋技能加点 #tagCMAddMasterSkillPoint
class tagCMMasterSkillPoint(Structure):
diff --git a/ServerPython/CoreServerGroup/GameServer/Script/ChPyNetSendPack.py b/ServerPython/CoreServerGroup/GameServer/Script/ChPyNetSendPack.py
index 2d78d0d..6931ea0 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/ChPyNetSendPack.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/ChPyNetSendPack.py
@@ -12739,6 +12739,58 @@
#------------------------------------------------------
+# A3 0E 通知法宝之魂激活状态 #tagMCMWSoulState
+
+class tagMCMWSoulState(Structure):
+ _pack_ = 1
+ _fields_ = [
+ ("Cmd", c_ubyte),
+ ("SubCmd", c_ubyte),
+ ("State", c_int), #激活状态
+ ]
+
+ def __init__(self):
+ self.Clear()
+ self.Cmd = 0xA3
+ self.SubCmd = 0x0E
+ return
+
+ def ReadData(self, stringData, _pos=0, _len=0):
+ self.Clear()
+ memmove(addressof(self), stringData[_pos:], self.GetLength())
+ return _pos + self.GetLength()
+
+ def Clear(self):
+ self.Cmd = 0xA3
+ self.SubCmd = 0x0E
+ self.State = 0
+ return
+
+ def GetLength(self):
+ return sizeof(tagMCMWSoulState)
+
+ def GetBuffer(self):
+ return string_at(addressof(self), self.GetLength())
+
+ def OutputString(self):
+ DumpString = '''// A3 0E 通知法宝之魂激活状态 //tagMCMWSoulState:
+ Cmd:%s,
+ SubCmd:%s,
+ State:%d
+ '''\
+ %(
+ self.Cmd,
+ self.SubCmd,
+ self.State
+ )
+ return DumpString
+
+
+m_NAtagMCMWSoulState=tagMCMWSoulState()
+ChNetPackDict[eval("0x%02x%02x"%(m_NAtagMCMWSoulState.Cmd,m_NAtagMCMWSoulState.SubCmd))] = m_NAtagMCMWSoulState
+
+
+#------------------------------------------------------
# A3 26 NPCID已采集次数信息 #tagMCNPCIDCollectionCntInfo
class tagMCNPCIDCollectionCnt(Structure):
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChPyNetPack.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChPyNetPack.py
index a5d719d..6862883 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChPyNetPack.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChPyNetPack.py
@@ -6529,6 +6529,58 @@
#------------------------------------------------------
+# A5 12 激活法宝之魂 #tagCMActiveMWSoul
+
+class tagCMActiveMWSoul(Structure):
+ _pack_ = 1
+ _fields_ = [
+ ("Cmd", c_ubyte),
+ ("SubCmd", c_ubyte),
+ ("ID", c_ubyte), #编号
+ ]
+
+ def __init__(self):
+ self.Clear()
+ self.Cmd = 0xA5
+ self.SubCmd = 0x12
+ return
+
+ def ReadData(self, stringData, _pos=0, _len=0):
+ self.Clear()
+ memmove(addressof(self), stringData[_pos:], self.GetLength())
+ return _pos + self.GetLength()
+
+ def Clear(self):
+ self.Cmd = 0xA5
+ self.SubCmd = 0x12
+ self.ID = 0
+ return
+
+ def GetLength(self):
+ return sizeof(tagCMActiveMWSoul)
+
+ def GetBuffer(self):
+ return string_at(addressof(self), self.GetLength())
+
+ def OutputString(self):
+ DumpString = '''// A5 12 激活法宝之魂 //tagCMActiveMWSoul:
+ Cmd:%s,
+ SubCmd:%s,
+ ID:%d
+ '''\
+ %(
+ self.Cmd,
+ self.SubCmd,
+ self.ID
+ )
+ return DumpString
+
+
+m_NAtagCMActiveMWSoul=tagCMActiveMWSoul()
+ChNetPackDict[eval("0x%02x%02x"%(m_NAtagCMActiveMWSoul.Cmd,m_NAtagCMActiveMWSoul.SubCmd))] = m_NAtagCMActiveMWSoul
+
+
+#------------------------------------------------------
# A5 49 大师天赋技能加点 #tagCMAddMasterSkillPoint
class tagCMMasterSkillPoint(Structure):
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChPyNetSendPack.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChPyNetSendPack.py
index 2d78d0d..6931ea0 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChPyNetSendPack.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChPyNetSendPack.py
@@ -12739,6 +12739,58 @@
#------------------------------------------------------
+# A3 0E 通知法宝之魂激活状态 #tagMCMWSoulState
+
+class tagMCMWSoulState(Structure):
+ _pack_ = 1
+ _fields_ = [
+ ("Cmd", c_ubyte),
+ ("SubCmd", c_ubyte),
+ ("State", c_int), #激活状态
+ ]
+
+ def __init__(self):
+ self.Clear()
+ self.Cmd = 0xA3
+ self.SubCmd = 0x0E
+ return
+
+ def ReadData(self, stringData, _pos=0, _len=0):
+ self.Clear()
+ memmove(addressof(self), stringData[_pos:], self.GetLength())
+ return _pos + self.GetLength()
+
+ def Clear(self):
+ self.Cmd = 0xA3
+ self.SubCmd = 0x0E
+ self.State = 0
+ return
+
+ def GetLength(self):
+ return sizeof(tagMCMWSoulState)
+
+ def GetBuffer(self):
+ return string_at(addressof(self), self.GetLength())
+
+ def OutputString(self):
+ DumpString = '''// A3 0E 通知法宝之魂激活状态 //tagMCMWSoulState:
+ Cmd:%s,
+ SubCmd:%s,
+ State:%d
+ '''\
+ %(
+ self.Cmd,
+ self.SubCmd,
+ self.State
+ )
+ return DumpString
+
+
+m_NAtagMCMWSoulState=tagMCMWSoulState()
+ChNetPackDict[eval("0x%02x%02x"%(m_NAtagMCMWSoulState.Cmd,m_NAtagMCMWSoulState.SubCmd))] = m_NAtagMCMWSoulState
+
+
+#------------------------------------------------------
# A3 26 NPCID已采集次数信息 #tagMCNPCIDCollectionCntInfo
class tagMCNPCIDCollectionCnt(Structure):
--
Gitblit v1.8.0