From dc0b92c1e2fe9f3d24c183b325dad54d088735c1 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期四, 10 七月 2025 17:01:24 +0800 Subject: [PATCH] Merge branch 'master' of http://192.168.1.20:10010/r/Project_SG_ServerCode --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/PyMongoDB/Collections/DataServerPlayerData.py | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/PyMongoDB/Collections/DataServerPlayerData.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/PyMongoDB/Collections/DataServerPlayerData.py index 41fd29e..9b2dbc8 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/PyMongoDB/Collections/DataServerPlayerData.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/PyMongoDB/Collections/DataServerPlayerData.py @@ -1898,7 +1898,7 @@ ('ItemGUID', ctypes.c_char * 40), ('PlayerID', ctypes.c_ulong), ('ItemTypeID', ctypes.c_ulong), - ('Count', ctypes.c_ushort), + ('Count', ctypes.c_ulong), ('IsLocked', ctypes.c_ubyte), ('ItemPlaceType', ctypes.c_ubyte), ('ItemPlaceIndex', ctypes.c_ushort), @@ -1946,7 +1946,7 @@ self.ItemGUID, pos = CommFunc.ReadString(buf, pos, 40) self.PlayerID, pos = CommFunc.ReadDWORD(buf, pos) self.ItemTypeID, pos = CommFunc.ReadDWORD(buf, pos) - self.Count, pos = CommFunc.ReadWORD(buf, pos) + self.Count, pos = CommFunc.ReadDWORD(buf, pos) self.IsLocked, pos = CommFunc.ReadBYTE(buf, pos) self.ItemPlaceType, pos = CommFunc.ReadBYTE(buf, pos) self.ItemPlaceIndex, pos = CommFunc.ReadWORD(buf, pos) @@ -1965,7 +1965,7 @@ buf = CommFunc.WriteString(buf, sizeof(ctypes.c_char) * 40, self.ItemGUID) buf = CommFunc.WriteDWORD(buf, self.PlayerID) buf = CommFunc.WriteDWORD(buf, self.ItemTypeID) - buf = CommFunc.WriteWORD(buf, self.Count) + buf = CommFunc.WriteDWORD(buf, self.Count) buf = CommFunc.WriteBYTE(buf, self.IsLocked) buf = CommFunc.WriteBYTE(buf, self.ItemPlaceType) buf = CommFunc.WriteWORD(buf, self.ItemPlaceIndex) @@ -1983,7 +1983,7 @@ length += sizeof(ctypes.c_char) * 40 length += sizeof(ctypes.c_ulong) length += sizeof(ctypes.c_ulong) - length += sizeof(ctypes.c_ushort) + length += sizeof(ctypes.c_ulong) length += sizeof(ctypes.c_ubyte) length += sizeof(ctypes.c_ubyte) length += sizeof(ctypes.c_ushort) @@ -2259,7 +2259,6 @@ self.CreateTime = Str else: self.CreateTime = Str[:30] - -- Gitblit v1.8.0