xdh
2018-11-19 5b97f700fa5613e07e4e0954b983e278eae8e432
860312 防范全服限购报错
2个文件已修改
7 ■■■■ 已修改文件
ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerQuery.py 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_GetStoreServerBuyCnt.py 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerQuery.py
@@ -781,7 +781,10 @@
        if not curPlayer:
            return
        ret = PlayerStore.DoStoreServerBuyQueryResult(curPlayer, eval(resultName))
        resultName = '%s' % ret
        if ret == None:
            resultName = ''
        else:
            resultName = '%s' % ret
        
    #玩家等级奖励
    if callName == "GetPlayerLVAward":
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_GetStoreServerBuyCnt.py
@@ -46,6 +46,8 @@
def DoResult(curPlayer, callFunName, funResult, tick):
    GameWorld.DebugLog("GY_Query_GetStoreServerBuyCnt funResult=%s" % funResult)
    curPlayer.SetDict(ChConfig.Def_PlayerKey_StoreQueryState, 0)
    if not funResult:
        return
    result = eval(funResult)
    if len(result) != 7:
        return