From f460b6035d693dd40c361f7c289c5dac2a2a32a1 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 16 十月 2018 16:30:12 +0800
Subject: [PATCH] 4201 【主干】【后端】新增战斗力参数:移动速度百分比
---
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