ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py
@@ -123,6 +123,7 @@
    if curPlayer:
        pid = curPlayer.NomalDictGetProperty(ChConfig.Def_Player_Dict_PlayerFromPID)
        dataDict["pid"] = pid
        dataDict["fightPower"] = curPlayer.GetFightPower()
    dataDict["time"] = str(datetime.datetime.today()).split(".")[0]
    
    dataStr = str(dataDict)
@@ -169,9 +170,12 @@
    name = curPlayer.GetName()
    logoutTime = curPlayer.GetLogoffTime()
    loginTime = curPlayer.GetLoginTime()
    dataDict = {'Type':'logout', 'IP':ip, 'AccID':accID,
                  'Name':name, 'LoginTime':str(loginTime),
    lv = curPlayer.GetLV()
    vipLV = curPlayer.GetVIPLv()
    gold = curPlayer.GetGold()
    goldPaper = curPlayer.GetGoldPaper()
    dataDict = {'Type':'logout', 'IP':ip, 'AccID':accID, 'LV':lv, 'VipLV':vipLV,
                  'Name':name, 'LoginTime':str(loginTime), 'Gold':gold, 'GoldPaper':goldPaper,
                  'LogoutTime':str(logoutTime)}
    #发送封包
    SendEventPack("LogInOut", dataDict, curPlayer)
@@ -347,7 +351,7 @@
def DR_CTGOK(curPlayer, addDict):
    ## CTG成功记录
    dataDict = {'PlayerID':curPlayer.GetPlayerID(), 'PlayerName':curPlayer.GetPlayerName(), 
                'AccID':curPlayer.GetAccID()}
                'AccID':curPlayer.GetAccID(), 'LV':curPlayer.GetLV()}
    dataDict.update(addDict)
    
    #发送封包
@@ -448,7 +452,7 @@
    dataDict = {'PlayerID':curPlayer.GetPlayerID(), 'PlayerName':curPlayer.GetPlayerName(), 
                'AccID':curPlayer.GetAccID(), 'PlayerLV':playerLV, 'PlayerTotalExp':playerTotalExp, 
                'CurLVRequireExp':curLVRequireExp}
                'CurLVRequireExp':curLVRequireExp, 'IP':curPlayer.GetIP()}
    #发送封包
    SendEventPack("PlayerUpgrade", dataDict, curPlayer)
@@ -1565,4 +1569,25 @@
                'AccID':curPlayer.GetAccID(), 'mwID':mwID, 'mwLV':mwLV}
    #发送封包
    SendEventPack("MagicWeaponActive", dataDict, curPlayer)
    return
## 玩家上线成就检查
#  @return
def DR_CheckOldPlayerSuccess(curPlayer):
    dataDict = {'PlayerID':curPlayer.GetPlayerID(), "PlayerName":curPlayer.GetPlayerName(),
                'AccID':curPlayer.GetAccID()}
    #发送封包
    SendEventPack("CheckOldPlayerSuccess", dataDict, curPlayer)
    return
## 玩家境界升级
#  @return
def DR_RealmLVUp(curPlayer, realmlv, realmPoint, needRealmPoint):
    dataDict = {'PlayerID':curPlayer.GetPlayerID(), "PlayerName":curPlayer.GetPlayerName(),
                'AccID':curPlayer.GetAccID(), 'realmlv':realmlv, 'curRealmPoint':realmPoint, 'costRealmPoint':needRealmPoint,
                'playerlv':curPlayer.GetLV(), 'power':curPlayer.GetFightPower()}
    #发送封包
    SendEventPack("RealmLVUp", dataDict, curPlayer)
    return