From 7ed0e73dddba3e791e6c45f05a5dfa8edb28209f Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期五, 02 八月 2024 16:16:00 +0800 Subject: [PATCH] 10229 【越南】【主干】【港台】【砍树】古神战场修改(增加功能组队系统;古神支持组队进入,组队参与可增加原当被召集人成就146;) --- ServerPython/db/PyMongoDataServer/GMToolLogicProcess/Commands/GMT_PlayerItemInfo.py | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ServerPython/db/PyMongoDataServer/GMToolLogicProcess/Commands/GMT_PlayerItemInfo.py b/ServerPython/db/PyMongoDataServer/GMToolLogicProcess/Commands/GMT_PlayerItemInfo.py index e2f6074..5b5a96d 100644 --- a/ServerPython/db/PyMongoDataServer/GMToolLogicProcess/Commands/GMT_PlayerItemInfo.py +++ b/ServerPython/db/PyMongoDataServer/GMToolLogicProcess/Commands/GMT_PlayerItemInfo.py @@ -126,11 +126,12 @@ itemList.append(_GetItemInfo(itemDict)) - resultMsg = {"PackIndex":packIndex, "ItemList":itemList} + totalItemCount = len(itemList) + resultMsg = {"PackIndex":packIndex, "TotalItemCount":totalItemCount, "ItemList":itemList} # 不大与word - if len(resultMsg) > pow(2, 14): + if len(str(resultMsg)) > 65000: return GMCommon.Def_MaxLimit, '' - + # 回复查询信息 return GMCommon.Def_Success, resultMsg @@ -161,7 +162,7 @@ for k, v in itemDict.items(): if k in ["UserDataLen", "ItemPlaceType", "PlayerID", "IsLocked", "SID", "VerNO"]: continue - if not v: + if not v or v == "{}": continue curItemInfo[k] = v -- Gitblit v1.8.0