10407 【越南】【英语】【BT】【GM】【砍树】周末BUG汇总(修复排行榜功能开启时同步开服活动榜数据异常bug;)
1个文件已修改
4 ■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/OpenServerCampaign.py 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/OpenServerCampaign.py
@@ -36,9 +36,11 @@
def DoBillboardOpen(curPlayer):
    for campaignType, billBoardType in ShareDefine.Def_Campaign_Billboard_Dict.items():
        value = GetOSCRecordData(curPlayer, campaignType)
        cmpValue = value / ChConfig.Def_PerPointValue
        cmpValue2 = value % ChConfig.Def_PerPointValue
        GameWorld.DebugLog("排行榜开启,同步开服活动记录!campaignType=%s,billBoardType=%s,value=%s" % (campaignType, billBoardType, value))
        if CanUpdOSCBillboard(curPlayer, campaignType, value):
            PlayerBillboard.UpdatePlayerBillboard(curPlayer, billBoardType, value)
            PlayerBillboard.UpdatePlayerBillboard(curPlayer, billBoardType, cmpValue, cmpValue2)
    return
def __CanUpdOSCRecordData(campaignType, curValue=None):