From 1782c735395d735b103c77ec201f31956383b89c Mon Sep 17 00:00:00 2001 From: xdh <xiefantasy@qq.com> Date: 星期四, 27 六月 2019 09:53:22 +0800 Subject: [PATCH] 4261 【BUG】【2.0.100】蓬莱仙境里击杀boss,不加活跃 --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerBillboard.py | 54 ++---------------------------------------------------- 1 files changed, 2 insertions(+), 52 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerBillboard.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerBillboard.py index b5e2280..a03c9d4 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerBillboard.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerBillboard.py @@ -50,7 +50,6 @@ if isAll: UpdateRuneTowerBillboard(curPlayer) - UpdateZhuXianTowerBillboard(curPlayer) #UpdateTJGBillboard(curPlayer, minuteExp) 脱机效率可不更新 @@ -176,14 +175,9 @@ def UpdateRuneTowerBillboard(curPlayer): ##更新玩家符印塔排行榜 passLV = curPlayer.NomalDictGetProperty(ChConfig.Def_Player_Dict_TrialTower_PassLV) + if not passLV: + return UpdatePlayerBillboard(curPlayer, ShareDefine.Def_BT_TrialTower, passLV) - return - -def UpdateZhuXianTowerBillboard(curPlayer): - ##诛仙塔榜(通关时长没有的默认50秒) - costTime = curPlayer.NomalDictGetProperty(ChConfig.Def_Player_Dict_ZhuXianTowerCostTime, 50) - passLV = curPlayer.NomalDictGetProperty(ChConfig.Def_Player_Dict_ZhuXianTowerPassLV) - UpdatePlayerBillboard(curPlayer, ShareDefine.Def_BT_ZhuXianTower, passLV, 10000-costTime) return @@ -230,50 +224,6 @@ cmdList = [playerID, playerName, playerOpInfo, playerLV, truckLV, truckMapID] GameWorld.GetPlayerManager().GameServer_QueryPlayerResult(0, 0, 0, "UpdateBillboardPlayerTruck", '%s' % (cmdList), len(str(cmdList))) - return - -## 更新充值排行特惠排行榜 -# @param playerID: 玩家ID -# @return: -def UpdateRechargeRankBillboard(curPlayer, actionID, actionNum, updateGold): -# if GameWorld.IsGM(curPlayer): -# #GM不上榜 -# return - - #排行榜需要数据[玩家ID, 玩家名字, 玩家职业, 击杀数] - playerID = curPlayer.GetID() - playerName = curPlayer.GetName() - playerOpInfo = curPlayer.GetOperateInfo() - playerJob = curPlayer.GetJob() - playerLV = curPlayer.GetLV() - familyName = curPlayer.GetFamilyName() - GameWorld.DebugLog("更新特惠充值排行榜: actionID=%s,actionNum=%s,updateGold=%s" - % (actionID, actionNum, updateGold), curPlayer.GetPlayerID()) - sendMsg = '%s' % ([playerID, playerName, playerOpInfo, playerJob, playerLV, familyName, actionID, actionNum, updateGold]) - GameWorld.GetPlayerManager().GameServer_QueryPlayerResult(0, 0, 0, 'UpdRechargeRankBillboard', \ - sendMsg, len(sendMsg)) - return - -## 更新消费排行特惠排行榜 -# @param playerID: 玩家ID -# @return: -def UpdateCostRankBillboard(curPlayer, actionID, actionNum, updateGold): -# if GameWorld.IsGM(curPlayer): -# #GM不上榜 -# return - - #排行榜需要数据[玩家ID, 玩家名字, 玩家职业, 击杀数] - playerID = curPlayer.GetID() - playerName = curPlayer.GetName() - playerOpInfo = curPlayer.GetOperateInfo() - playerJob = curPlayer.GetJob() - playerLV = curPlayer.GetLV() - familyName = curPlayer.GetFamilyName() - GameWorld.DebugLog("更新特惠消费排行榜: actionID=%s,actionNum=%s,updateGold=%s" - % (actionID, actionNum, updateGold), curPlayer.GetPlayerID()) - sendMsg = '%s' % ([playerID, playerName, playerOpInfo, playerJob, playerLV, familyName, actionID, actionNum, updateGold]) - GameWorld.GetPlayerManager().GameServer_QueryPlayerResult(0, 0, 0, 'UpdCostRankBillboard', \ - sendMsg, len(sendMsg)) return ##更新玩家充值排行榜 -- Gitblit v1.8.0