| | |
| | |
|
| | | if isAll:
|
| | | UpdateRuneTowerBillboard(curPlayer)
|
| | | UpdateZhuXianTowerBillboard(curPlayer)
|
| | | |
| | | #UpdateTJGBillboard(curPlayer, minuteExp) 脱机效率可不更新
|
| | |
|
| | | 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
|
| | |
|
| | |
|
| | | def UpdateTJGBillboard(curPlayer, minuteExp):
|
| | | ##脱机效率榜
|
| | | if not minuteExp:
|
| | |
| | | def BillboardOnLogin(curPlayer):
|
| | | # 上线默认同步排行榜
|
| | | UpdatePlayerBillboardOnLeaveServer(curPlayer) #排行榜已实时更新,故上线不再同步
|
| | | return
|
| | |
|
| | | ##合服首次上线强制更新一次排行榜
|
| | | # @param curPlayer 玩家实例
|
| | | # @param lastMixServerDay 合服时的开服天
|
| | | # @return
|
| | | def UpdBillboardOnMixServerFirstLogin(curPlayer, lastMixServerDay):
|
| | | |
| | | updBillboardDay = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_MSFirstLogin_UpdBillboard)
|
| | | |
| | | if lastMixServerDay == updBillboardDay:
|
| | | GameWorld.DebugLog("合服首登同步排行榜已处理过!lastMixServerDay=%s,updBillboardDay=%s" |
| | | % (lastMixServerDay, updBillboardDay))
|
| | | return
|
| | | |
| | | GameWorld.DebugLog("合服首登同步排行榜...")
|
| | | UpdatePlayerBillboardOnLeaveServer(curPlayer)
|
| | | PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_MSFirstLogin_UpdBillboard, lastMixServerDay)
|
| | | GameWorld.DebugLog(" 合服首登同步排行榜OK!!!")
|
| | | return
|
| | |
|
| | | ## 更新当前镖车信息
|