From e5db513abff704b3ea6112618651e7d2b622a7c0 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期一, 14 一月 2019 11:50:51 +0800
Subject: [PATCH] 2866 【1.5】【1.4.100】护盾清中毒debuff引起报错
---
ServerPython/CoreServerGroup/GameServer/Script/ChPyNetSendPack.py | 22 ++++++----------------
1 files changed, 6 insertions(+), 16 deletions(-)
diff --git a/ServerPython/CoreServerGroup/GameServer/Script/ChPyNetSendPack.py b/ServerPython/CoreServerGroup/GameServer/Script/ChPyNetSendPack.py
index f374b04..1e6d0b0 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/ChPyNetSendPack.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/ChPyNetSendPack.py
@@ -23474,7 +23474,7 @@
class tagMCWeekPartyTaskInfo(Structure):
_pack_ = 1
_fields_ = [
- ("ActionType", c_ushort), # 活动类别
+ ("TemplateID", c_ushort), # 模板ID
("CurTimes", c_ushort), #已完成次数
("GotTimes", c_ushort), #已领取次数
]
@@ -23489,7 +23489,7 @@
return _pos + self.GetLength()
def Clear(self):
- self.ActionType = 0
+ self.TemplateID = 0
self.CurTimes = 0
self.GotTimes = 0
return
@@ -23502,12 +23502,12 @@
def OutputString(self):
DumpString = '''// AA 0B 周狂欢玩家活动信息 //tagMCWeekPartyPlayerInfo:
- ActionType:%d,
+ TemplateID:%d,
CurTimes:%d,
GotTimes:%d
'''\
%(
- self.ActionType,
+ self.TemplateID,
self.CurTimes,
self.GotTimes
)
@@ -23588,7 +23588,7 @@
class tagMCWeekPartyPlayerInfo(Structure):
Head = tagHead()
Count = 0 #(BYTE Count)
- DayInfoList = list() #(vector<tagMCWeekPartyDayInfo> DayInfoList)//活动完成次数信息
+ DayInfoList = list() #(vector<tagMCWeekPartyDayPlayerInfo> DayInfoList)//活动完成次数信息
data = None
def __init__(self):
@@ -23602,7 +23602,7 @@
_pos = self.Head.ReadData(_lpData, _pos)
self.Count,_pos = CommFunc.ReadBYTE(_lpData, _pos)
for i in range(self.Count):
- temDayInfoList = tagMCWeekPartyDayInfo()
+ temDayInfoList = tagMCWeekPartyDayPlayerInfo()
_pos = temDayInfoList.ReadData(_lpData, _pos)
self.DayInfoList.append(temDayInfoList)
return _pos
@@ -25204,16 +25204,12 @@
class tagMCClothesCoatLVInfo(Structure):
_pack_ = 1
_fields_ = [
- ("Cmd", c_ubyte),
- ("SubCmd", c_ubyte),
("CoatIndex", c_int), #时装索引
("CoatLV", c_ubyte), #时装等级
]
def __init__(self):
self.Clear()
- self.Cmd = 0xB1
- self.SubCmd = 0x02
return
def ReadData(self, stringData, _pos=0, _len=0):
@@ -25222,8 +25218,6 @@
return _pos + self.GetLength()
def Clear(self):
- self.Cmd = 0xB1
- self.SubCmd = 0x02
self.CoatIndex = 0
self.CoatLV = 0
return
@@ -25236,14 +25230,10 @@
def OutputString(self):
DumpString = '''// B1 02 玩家时装皮肤激活状态 //tagMCClothesCoatSkinState:
- Cmd:%s,
- SubCmd:%s,
CoatIndex:%d,
CoatLV:%d
'''\
%(
- self.Cmd,
- self.SubCmd,
self.CoatIndex,
self.CoatLV
)
--
Gitblit v1.8.0