From 72afa76c0e4b3df8feccc27164234bd2c5bd2769 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期日, 30 九月 2018 16:48:13 +0800
Subject: [PATCH] 4008 【后端】【主干】【1.0.18】装备位8,9,10的装备阶数对应最大洗炼等级与其他装备位分开配置
---
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