From cdfd24c0aee76c7819c42d30267f0db305523ffc Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期二, 14 九月 2021 19:11:42 +0800 Subject: [PATCH] 5071 【主干】【gt_1.101.1】【BT3】【bt3_1.101.1】外网出现boss无法死亡(修复boss伤血缓存对象异常导致坐标错误引起的无法死亡) --- ServerPython/CoreServerGroup/GameServer/Script/EventReport.py | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ServerPython/CoreServerGroup/GameServer/Script/EventReport.py b/ServerPython/CoreServerGroup/GameServer/Script/EventReport.py index f4f13c5..083efde 100644 --- a/ServerPython/CoreServerGroup/GameServer/Script/EventReport.py +++ b/ServerPython/CoreServerGroup/GameServer/Script/EventReport.py @@ -96,8 +96,8 @@ playerInfo = "" if curPlayer: - playerInfo = "&AccountID=%s&IP=%s"%(GameWorld.GetPlatformAccID(curPlayer.GetAccID()), - curPlayer.GetIP()) + playerInfo = "&AccountID=%s&IP=%s&DeviceFlag=%s"%(GameWorld.GetPlatformAccID(curPlayer.GetAccID()), + curPlayer.GetIP(), curPlayer.GetDeviceFlag()) #======================================================================= # #UTF8 需要转成url编码才可用 # playerInfo = urllib.urlencode({"RoleID": curPlayer.GetName(), @@ -116,7 +116,10 @@ return RegionName = 's%s'%sid - getUrl = "%s?ProductID=%s&OperatorID=%s&RegionName=%s&EventID=%s%s&Time=%s&%s"%(\ + if eventParam: + eventParam = "&%s"%eventParam + + getUrl = "%s?ProductID=%s&OperatorID=%s&RegionName=%s&EventID=%s%s&Time=%s%s"%(\ ReportUrl, ProductID, OperatorID, RegionName, eventActionID, playerInfo, str(datetime.datetime.today()).split('.')[0], eventParam) GameWorld.DebugLog("EventReport: %s"%getUrl) -- Gitblit v1.8.0