From 6d23e0bc314e90a7de9b6e077f46c358912b16fb Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Mon, 29 May 2017 01:27:02 +0100 Subject: add temporary debug msgs --- .../Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs | 5 +++++ .../CoreModules/Framework/EntityTransfer/EntityTransferModule.cs | 3 +++ 2 files changed, 8 insertions(+) (limited to 'OpenSim/Region') diff --git a/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs b/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs index 1feece1..c6499cd 100644 --- a/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs +++ b/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs @@ -512,6 +512,11 @@ namespace OpenSim.Region.ClientStack.Linden if (DebugLevel > 0) m_log.DebugFormat("{0} EnableSimulator. handle={1}, endPoint={2}, avatarID={3}", LogHeader, handle, endPoint, avatarID, regionSizeX, regionSizeY); +//debug + if(endPoint == null) + m_log.DebugFormat("EnableSimulator null endpoint"); + if(endPoint.Address == null) + m_log.DebugFormat("EnableSimulator null endpoint"); OSD item = EventQueueHelper.EnableSimulator(handle, endPoint, regionSizeX, regionSizeY); Enqueue(item, avatarID); diff --git a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs index 6b8d597..b6e9a65 100644 --- a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs +++ b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs @@ -1489,10 +1489,12 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer if (neighbourRegion == null) { + failureReason = "no region found"; // debug -> to remove return null; } if (m_bannedRegionCache.IfBanned(neighbourRegion.RegionHandle, agentID)) { + failureReason = "Access Denied"; return null; } @@ -1511,6 +1513,7 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer { // remember the fail m_bannedRegionCache.Add(neighbourRegion.RegionHandle, agentID); + failureReason = "Access Denied"; return null; } -- cgit v1.1