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
@@ -108,6 +109,10 @@
def EventReport(eventActionID, eventParam, curPlayer=None, OperatorID=""):
    # 组成例子 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
@@ -668,6 +673,9 @@
    #避免记录太多信息
    if type_name in [IPY_GameWorld.TYPE_Price_Silver_Money] and abs(quantity * price) < ChConfig.Def_DRRecord_Min_Silver:
        return
    if type_name not in IpyGameDataPY.GetFuncEvalCfg("EventReport", 2):
        #GameWorld.DebugLog("该货币类型不需要汇报! type_name=%s" % type_name)
        return
    # 标识此货币是否是一级货币(充值)
    Recharged = 1 if type_name == IPY_GameWorld.TYPE_Price_Gold_Money else 0
    #===========================================================================