From bb02af7457495978b1e4fbae0ca35fb8bff3cebb Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期五, 13 十一月 2020 15:01:21 +0800 Subject: [PATCH] 1111 【BT】可配置屏蔽后台事件汇报事件ID; --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/EventReport.py | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/EventReport.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/EventReport.py index 2459a6c..ce945ae 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/EventReport.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/EventReport.py @@ -32,6 +32,7 @@ #"""Version = 2017-07-04 15:00""" #--------------------------------------------------------------------- +import IpyGameDataPY import IPY_GameWorld import DataRecordPack import PlayerControl @@ -109,6 +110,10 @@ # 组成例子 eventParam 的格式必须是 xx=yy&zz=cc # "http://192.168.0.249:12000/event_receiver?EventID=3099&OperatorID=test&PlayerCount=102&Time=2018-02-08 18:30:30&ProductID=snxxz&RegionName=s1" + if eventActionID in IpyGameDataPY.GetFuncEvalCfg("EventReport", 1): + #GameWorld.DebugLog("不需要汇报的事件! %s" % eventActionID) + return + if not curPlayer and not OperatorID: return -- Gitblit v1.8.0