hch
2019-03-05 7e2fba6800afaaeef3ac9d2d3c8c42ebcefd2016
ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/CrossRealmPK.py
@@ -35,6 +35,7 @@
import operator
import random
import time
import json
class CrossPKPlayer():
    ## 跨服PK玩家类
@@ -1922,7 +1923,7 @@
            overInfoData.OverType = overType
            overInfoData.PlayerID = playerID
            overInfoData.WinnerID = winnerID
            overInfoData.RoundWinnerInfo = str(roundWinnerIDList)
            overInfoData.RoundWinnerInfo = json.dumps(roundWinnerIDList, ensure_ascii=False)
            overInfoData.RoundWinnerLen = len(overInfoData.RoundWinnerInfo)
            overInfoData.PKScore = pkScore
            overInfoData.DanLV = danLV
@@ -1957,7 +1958,7 @@
    winnerID = overInfoData.WinnerID
    roundWinnerIDList = []
    try:
        roundWinnerIDList = eval(overInfoData.RoundWinnerInfo)
        roundWinnerIDList = json.loads(overInfoData.RoundWinnerInfo)
    except:
        GameWorld.ErrLog("__OnLoginNotifyPKOverInfo roundWinnerIDList eval error! RoundWinnerInfo=%s" % overInfoData.RoundWinnerInfo, playerID)
    pkScore = overInfoData.PKScore