From 5eb165e536f20635ca01c3dfca1d6525a719a0f1 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期五, 07 二月 2025 19:05:51 +0800 Subject: [PATCH] 5562 【英文】【越南】【BT】【砍树】跨服子服玩家打包数据较大(优化跨服、子服打包数据、查看玩家日志输出) --- ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerActXianXiaMJ.py | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerActXianXiaMJ.py b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerActXianXiaMJ.py index 042e119..81f8908 100644 --- a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerActXianXiaMJ.py +++ b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerActXianXiaMJ.py @@ -175,6 +175,8 @@ accID = curPlayer.GetAccID() playerName = curPlayer.GetName() job = curPlayer.GetJob() + face = curPlayer.GetFace() + facePic = curPlayer.GetFacePic() realmLV = curPlayer.GetOfficialRank() _, updLotteryScore, isRelationCrossAct = dataMsg @@ -183,7 +185,7 @@ if isRelationCrossAct: #同步跨服 playerInfo = {"playerID":playerID, "playerName":playerName, "accID":accID, "job":job, "realmLV":realmLV, - "playerLotteryScore":updLotteryScore} + "playerLotteryScore":updLotteryScore, "face":face, "facePic":facePic} SyncXianXiaMJToCrossServer(curPlayer, playerInfo) return @@ -235,13 +237,15 @@ accID = playerInfo["accID"] realmLV = playerInfo["realmLV"] playerLotteryScore = playerInfo["playerLotteryScore"] + face = playerInfo.get("face", 0) + facePic = playerInfo.get("facePic", 0) groupValue1 = zoneID if playerLotteryScore >= personlLimit: name2, type2, value1, value2 = accID, job, realmLV, 0 CrossBillboard.UpdCrossBillboard(ShareDefine.Def_CBT_XianXiaMJScore, groupValue1, playerID, playerName, - name2, type2, value1, value2, playerLotteryScore, autoSort=False) + name2, type2, value1, value2, playerLotteryScore, autoSort=False, value3=face, value4=facePic) return def OnCrossActIDChange(cfgID, zoneID, ipyData, state): -- Gitblit v1.8.0