From 4263dbe6adb69acd0c6814f647d9cbdbc6a61e00 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 13 六月 2024 16:13:56 +0800
Subject: [PATCH] 10178 【越南】【香港】【主干】挂机奖励(集字活动、垃圾分类活动支持掉落活动物品; 终身卡免费领取快速挂机收益;)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChPyNetSendPack.py |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChPyNetSendPack.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChPyNetSendPack.py
index 2e703fc..eb80339 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChPyNetSendPack.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChPyNetSendPack.py
@@ -45196,7 +45196,7 @@
     ExpPoint = 0    #(DWORD ExpPoint)// 已累计经验,整除亿部分
     MoneyInfoLen = 0    #(BYTE MoneyInfoLen)
     MoneyInfo = ""    #(String MoneyInfo)// 已累计货币 [[货币类型, 货币值], ...]
-    ItemInfoLen = 0    #(BYTE ItemInfoLen)
+    ItemInfoLen = 0    #(WORD ItemInfoLen)
     ItemInfo = ""    #(String ItemInfo)// 已累计物品 [[物品ID, 个数], ...]
     data = None
 
@@ -45216,7 +45216,7 @@
         self.ExpPoint,_pos = CommFunc.ReadDWORD(_lpData, _pos)
         self.MoneyInfoLen,_pos = CommFunc.ReadBYTE(_lpData, _pos)
         self.MoneyInfo,_pos = CommFunc.ReadString(_lpData, _pos,self.MoneyInfoLen)
-        self.ItemInfoLen,_pos = CommFunc.ReadBYTE(_lpData, _pos)
+        self.ItemInfoLen,_pos = CommFunc.ReadWORD(_lpData, _pos)
         self.ItemInfo,_pos = CommFunc.ReadString(_lpData, _pos,self.ItemInfoLen)
         return _pos
 
@@ -45246,7 +45246,7 @@
         length += 4
         length += 1
         length += len(self.MoneyInfo)
-        length += 1
+        length += 2
         length += len(self.ItemInfo)
 
         return length
@@ -45261,7 +45261,7 @@
         data = CommFunc.WriteDWORD(data, self.ExpPoint)
         data = CommFunc.WriteBYTE(data, self.MoneyInfoLen)
         data = CommFunc.WriteString(data, self.MoneyInfoLen, self.MoneyInfo)
-        data = CommFunc.WriteBYTE(data, self.ItemInfoLen)
+        data = CommFunc.WriteWORD(data, self.ItemInfoLen)
         data = CommFunc.WriteString(data, self.ItemInfoLen, self.ItemInfo)
         return data
 

--
Gitblit v1.8.0