From c9e30763880e91d81c96e93f075b7b9d5f5a08a4 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 24 十一月 2021 18:28:17 +0800
Subject: [PATCH] 9341 【BT5】【主干】【后端】情缘系统(情缘副本同步怪物总波数)

---
 ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/CrossRealmMsg.py |   11 ++---------
 1 files changed, 2 insertions(+), 9 deletions(-)

diff --git a/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/CrossRealmMsg.py b/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/CrossRealmMsg.py
index 05939f6..4352872 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/CrossRealmMsg.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/CrossRealmMsg.py
@@ -55,7 +55,6 @@
 def OnCrossServerReceiveMsg(recvMsg, tick):
     ## 跨服服务器收到信息处理
     try:
-        GameWorld.Log("收到OnCrossServerReceiveMsg" )
         if not GameWorld.GetGameWorld().GetDictByKey(ChConfig.Def_WorldKey_GameWorldInitOK):
             GameWorld.Log("服务器未启动好,不处理子服信息!")
             return
@@ -123,9 +122,7 @@
             GameWorld.ErrLog("没有该信息类型逻辑处理!")
             
     except:
-        GameWorld.ErrLog("OnCrossServerReceiveMsg:%s; except:%s" % (cPickle.loads(recvMsg), traceback.format_exc()))
-        if GameWorld.GetGameWorld().GetDebugLevel():
-            raise BaseException(str(traceback.format_exc()))
+        GameWorld.RaiseException("跨服服务器接收信息处理报错 \r\n%s" % str(traceback.format_exc()))
     return
 
 def ClientServerMsg_ServerInitOK(serverGroupID, tick):
@@ -223,7 +220,6 @@
     dataMsg = dataPack.GetData()
     
     try:
-        GameWorld.Log("收到OnClientServerReceiveMsg" )
         if not GameWorld.GetGameWorld().GetDictByKey(ChConfig.Def_WorldKey_GameWorldInitOK):
             GameWorld.Log("服务器未启动好,不处理跨服信息!")
             return
@@ -317,10 +313,7 @@
             GameWorld.ErrLog("没有该信息类型逻辑处理!")
             
     except:
-        GameWorld.ErrLog("OnClientServerReceiveMsg:%s; except:%s" % (cPickle.loads(dataMsg), traceback.format_exc()))
-        if GameWorld.GetGameWorld().GetDebugLevel():
-            raise BaseException(str(traceback.format_exc()))
-        
+        GameWorld.RaiseException("子服服务器接收信息处理报错\r\n%s" % str(traceback.format_exc()))
     return
 
 def MapServer_ClientServerReceiveMsg(msgType, msgData):

--
Gitblit v1.8.0