ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/PyMongoDB/LogicProcess/UserCtrlDB.py
@@ -943,7 +943,11 @@
            NetPackCommon.RecCrossServerNetPack(recvPack.Data)
        except:
            msg = error.formatMsg('error', error.ERROR_NO_172, "LogicProcessThread::OnCrossServerToServerPack Catch a unexpetcted exception, error = %s"%traceback.format_exc())
            mylog.error(msg)
            if GameWorld.GetGameWorld().GetDebugLevel():
                # debug下让其抛出异常报错,方便测试时发现排查问题
                raise Exception(msg)
            else:
                mylog.error(msg)
@@ -3044,7 +3048,14 @@
            
        #     self.sendOKString(CommonDefine.dgPlayerLogin, pack, accountRec.getBuffer())
        #     return True
        curPlayer = GameWorld.GetPlayerManager().FindPlayerByAccID(authAccID)
        if curPlayer:
            # 因为一些不确定的情况 玩家没有登出
            from Player import ChPlayer
            mylog.warning('玩家异常未登出 accid = %s-%s...'%(authAccID, authPack.IDType))
            ChPlayer.PlayerDisconnectEx(curPlayer, GameWorld.GetGameWorld().GetTick())
            self.sendFailString(CommonDefine.dgPlayerLogin, pack, disKickRepeatPlayer)
            return True
        mylog.debug('auth accid = %s-%s...'%(authAccID, authPack.IDType))