From 7af68e9bc37cae8c42698f4bfe721c797e8f39f7 Mon Sep 17 00:00:00 2001 From: xdh <xiefantasy@qq.com> Date: 星期一, 10 九月 2018 15:06:50 +0800 Subject: [PATCH] fix:3380【主干、15】 离线流向增加参数 --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py index db5a7b2..503836b 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py @@ -169,9 +169,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 +350,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) #发送封包 -- Gitblit v1.8.0