From 5d79b486b2974522c2d1978dc90c3081827224e0 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 26 二月 2026 15:46:46 +0800
Subject: [PATCH] 493 【活动内容】武将登场-服务端

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/Billboard.py |   13 ++++++-------
 1 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/Billboard.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/Billboard.py
index 309a4f3..ceb798d 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/Billboard.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/Billboard.py
@@ -29,10 +29,8 @@
     GameWorld.DebugAnswer(curPlayer, "输出排行榜数据: Billboard p 类型 [分组值1 值2 从x名 到x名]")
     GameWorld.DebugAnswer(curPlayer, "注:如果没有特殊说明,本服榜单分组值均为0,跨服榜单分组值1为分区ID,分组2为0")
     
-    nameTypeList = ShareDefine.BillboardNameDict.keys()
-    nameTypeList.sort()
-    for billboardType in nameTypeList:
-        bName = ShareDefine.BillboardNameDict[billboardType]
+    for billboardType in ShareDefine.BillboardTypeList:
+        bName = ShareDefine.BillboardNameDict.get(billboardType, billboardType)
         GameWorld.DebugAnswer(curPlayer, "(%s) %s" % (billboardType, bName))
         
     return
@@ -157,8 +155,9 @@
                 maxDataCount = billboardObj.GetMaxCount()
                 if not curDataCount:
                     continue
+                bName = ShareDefine.BillboardNameDict.get(bType, bType)
                 billTypeSign = __GetBillTypeSign(bType, groupValue1, groupValue2)
-                GameWorld.DebugAnswer(curPlayer, "榜单数据(%s)条数: %s/%s" % (billTypeSign, curDataCount, maxDataCount))
+                GameWorld.DebugAnswer(curPlayer, "%s(%s)条数: %s/%s" % (bName, billTypeSign, curDataCount, maxDataCount))
         return
     
     billboardType = gmList[1]
@@ -175,7 +174,7 @@
     
     printDebugCnt = 0
     billTypeSign = __GetBillTypeSign(billboardType, groupValue1, groupValue2)
-    bName = ShareDefine.BillboardNameDict[billboardType]
+    bName = ShareDefine.BillboardNameDict.get(billboardType, billboardType)
     GameWorld.DebugAnswer(curPlayer, "%s(%s)条数: %s/%s 详见日志" % (bName, billTypeSign, curDataCount, maxDataCount))
     for index in range(curDataCount):
         bbData = billboardObj.At(index)
@@ -188,7 +187,7 @@
         valueList = [getattr(bbData, "GetValue%s" % num)() for num in range(1, 9)]
         if printDebugCnt < 20:
             printDebugCnt += 1
-            GameWorld.DebugAnswer(curPlayer, "%s,ID:%s,榜值:%s" % (rank, dataID, cmpValues))
+            GameWorld.DebugAnswer(curPlayer, "名次:%s,ID:%s,榜值:%s" % (rank, dataID, cmpValues))
         GameWorld.DebugLog("%s,rank=%s,ID=%s,CmpValues=%s,Value=%s" 
                            % (index, rank, dataID, cmpValues, valueList), curPlayer.GetPlayerID())
         

--
Gitblit v1.8.0