From 1c96b414fcd15749131c8eeb1857de82cfbe981e Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期二, 18 九月 2018 20:04:58 +0800
Subject: [PATCH] 3647 【后端】思璞游戏SDK接入 同步脱机挂封包
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py | 13 ++++++++-----
1 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py
index 7103f85..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)
#发送封包
@@ -448,7 +451,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)
--
Gitblit v1.8.0