From a972cc7ea6c2cd055a2c6a45df80fb79a52d4b00 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 06 十二月 2022 18:31:52 +0800
Subject: [PATCH] 9651 【后端】玩家个人数据保存问题(地图玩家支持按每个玩家独立备档)
---
ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/BillboardData.py | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/BillboardData.py b/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/BillboardData.py
index 7b241c5..00735e4 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/BillboardData.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/BillboardData.py
@@ -25,9 +25,10 @@
GameWorld.DebugAnswer(curPlayer, errInfo)
GameWorld.DebugAnswer(curPlayer, "新增榜单假数据: BillboardData 类型 条数 比较值1 可选参数(比较值2 常规值1 常规值2)")
GameWorld.DebugAnswer(curPlayer, "删除榜单假数据: BillboardData 类型")
- GameWorld.DebugAnswer(curPlayer, "榜单类型:0-战力,1-龙魂,2-灵瑶,4-等级,5-坐骑,6-灵宠,7-符印,8-脱机,9-境界,19-助战,23-诛仙")
- GameWorld.DebugAnswer(curPlayer, "开服活动榜类型:11-强化,12-坐骑,13-宝石,14-冲级,15-境界,16-战力,18-符印,20-神兵,21-充值,22-灵宠")
- GameWorld.DebugAnswer(curPlayer, "运营活动榜类型:17-仙界盛典,24-仙界盛典2")
+ GameWorld.DebugAnswer(curPlayer, "榜单类型:0-战力,1-龙魂,2-灵瑶,4-等级,5-坐骑,6-灵宠,7-符印,8-脱机,9-境界,19-助战")
+ GameWorld.DebugAnswer(curPlayer, "开服活动榜类型:11-强化,12-坐骑,13-宝石,14-冲级,15-境界,16-战力,18-符印,20-神兵,21-充值,22-灵宠,24-灵根,25-升星")
+ GameWorld.DebugAnswer(curPlayer, "运营活动榜类型:17-仙界盛典,23-仙界盛典2")
+ GameWorld.DebugAnswer(curPlayer, "魅力榜单类型:30-总榜,31-周榜,31-日榜")
return
## 执行逻辑
@@ -82,9 +83,9 @@
for i in xrange(count):
dataPlayerID = curDataCount + 1 + i
dataPlayerName = "%s%s" % (FakeName, i)
- cmpValue1 = max(0, cmpValue1 - i)
- cmpValue2 = max(0, cmpValue2 - i)
- PlayerBillboard.UpdatePlayerBillboard(dataPlayerID, dataPlayerName, curPlayerOpInfo, billboardIndex, bType2, value1, value2, cmpValue1, autoSort, cmpValue2)
+ dataCmpValue1 = max(0, cmpValue1 - i)
+ dataCmpValue2 = max(0, cmpValue2 - i)
+ PlayerBillboard.UpdatePlayerBillboard(dataPlayerID, dataPlayerName, curPlayerOpInfo, billboardIndex, bType2, value1, value2, dataCmpValue1, autoSort, dataCmpValue2)
billBoard.Sort()
--
Gitblit v1.8.0