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/EventReport.py | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/EventReport.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/EventReport.py
index d27f7b7..db15a00 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/EventReport.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/EventReport.py
@@ -114,7 +114,7 @@
ProductID = ReadChConfig.GetPyMongoConfig("EventReport", "ProductID")
ReportUrl = ReadChConfig.GetPyMongoConfig("EventReport", "ReportUrl")
- RegionName = GameWorld.GetServerSID() # 需考虑合服情况
+
playerInfo = ""
if curPlayer:
@@ -125,6 +125,11 @@
"Level": curPlayer.GetLV()})
OperatorID = GameWorld.GetPlayerPlatform(curPlayer.GetAccID())
+ RegionName = GameWorld.GetPlayerServerSID(curPlayer)
+
+ else:
+ # 合服情况,玩家取自己服发送,非玩家数据按指定平台配置发,没有则取配置主服
+ RegionName = 's%s'%GameWorld.GetPlayerMainServerID(OperatorID)
if eventParam:
eventParam = "&%s"%eventParam
@@ -573,7 +578,7 @@
def WriteEvent_session(curPlayer):
seconds = 0
if PlayerTJG.GetIsTJG(curPlayer):
- seconds = 0
+ return
else:
logoffTimeStr = curPlayer.GetLogoffTime().strip()
loginTimeStr = curPlayer.GetLoginTime().strip()
--
Gitblit v1.8.0