From 4730b7dcb7d4ba02c746972e5a262397f6d954f6 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 18 十一月 2024 16:54:21 +0800
Subject: [PATCH] 10261 【越南】【砍树】【英文】【tqxbqy】【btgotq】头像框,头像(补充跨服榜单Value3、Value4,包含古神参与、召集、积分榜,boss历练活动榜、古宝养成活动榜、骑宠养成活动榜、仙匣秘境活动榜;)
---
ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/GMT_QueryBillboard.py | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/GMT_QueryBillboard.py b/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/GMT_QueryBillboard.py
index 8c6485e..00c1eb6 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/GMT_QueryBillboard.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/GMT_QueryBillboard.py
@@ -21,6 +21,7 @@
#导入
+import PlayerBillboard
import ShareDefine
import GMCommon
import GameWorld
@@ -55,6 +56,10 @@
GMCommon.GMCommandResult(orderId, gmCmdDict, GMCommon.Def_TypeNumErr)
return False
+ billboardMgr = PlayerBillboard.GetBillboardMgr()
+ billboardObj = billboardMgr.GetBillboardObj(billBoardType)
+ idOrderDict = billboardObj.GetIDOrderDict()
+
dataTotal = billBoard.GetCount()
fromIndex = startRank - 1
toIndex = fromIndex + queryCount
@@ -67,8 +72,9 @@
if not billBoardData:
continue
- rank = index + 1
+ rank = idOrderDict.get(billBoardData.GetID(), index + 1)
billBoardDict = {
+ "Index":index,
"Rank":rank,
"ID":billBoardData.GetID(),
"ID2":billBoardData.GetID2(),
--
Gitblit v1.8.0