hxp
2018-09-11 46ce4580fdcf6c8e62ceeeaa52694d201ad50c50
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()