add temporary debug msgs
parent
d94b2e6f6d
commit
6d23e0bc31
|
@ -512,6 +512,11 @@ namespace OpenSim.Region.ClientStack.Linden
|
||||||
if (DebugLevel > 0)
|
if (DebugLevel > 0)
|
||||||
m_log.DebugFormat("{0} EnableSimulator. handle={1}, endPoint={2}, avatarID={3}",
|
m_log.DebugFormat("{0} EnableSimulator. handle={1}, endPoint={2}, avatarID={3}",
|
||||||
LogHeader, handle, endPoint, avatarID, regionSizeX, regionSizeY);
|
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);
|
OSD item = EventQueueHelper.EnableSimulator(handle, endPoint, regionSizeX, regionSizeY);
|
||||||
Enqueue(item, avatarID);
|
Enqueue(item, avatarID);
|
||||||
|
|
|
@ -1489,10 +1489,12 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer
|
||||||
|
|
||||||
if (neighbourRegion == null)
|
if (neighbourRegion == null)
|
||||||
{
|
{
|
||||||
|
failureReason = "no region found"; // debug -> to remove
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
if (m_bannedRegionCache.IfBanned(neighbourRegion.RegionHandle, agentID))
|
if (m_bannedRegionCache.IfBanned(neighbourRegion.RegionHandle, agentID))
|
||||||
{
|
{
|
||||||
|
failureReason = "Access Denied";
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1511,6 +1513,7 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer
|
||||||
{
|
{
|
||||||
// remember the fail
|
// remember the fail
|
||||||
m_bannedRegionCache.Add(neighbourRegion.RegionHandle, agentID);
|
m_bannedRegionCache.Add(neighbourRegion.RegionHandle, agentID);
|
||||||
|
failureReason = "Access Denied";
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue