aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorUbitUmarov2017-05-29 03:13:56 +0100
committerUbitUmarov2017-05-29 03:13:56 +0100
commit27afe136d4ef1cf700802cc4d719156f0445f2b4 (patch)
tree3eab200c46638084f3e121d04d4f37fa01f7ad12 /OpenSim/Region
parent cleanup util.cs get dns (diff)
downloadopensim-SC-27afe136d4ef1cf700802cc4d719156f0445f2b4.zip
opensim-SC-27afe136d4ef1cf700802cc4d719156f0445f2b4.tar.gz
opensim-SC-27afe136d4ef1cf700802cc4d719156f0445f2b4.tar.bz2
opensim-SC-27afe136d4ef1cf700802cc4d719156f0445f2b4.tar.xz
mono is a total crap
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs5
-rw-r--r--OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs10
2 files changed, 8 insertions, 7 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs b/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs
index 5054326..1feece1 100644
--- a/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs
+++ b/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs
@@ -512,11 +512,6 @@ namespace OpenSim.Region.ClientStack.Linden
512 if (DebugLevel > 0) 512 if (DebugLevel > 0)
513 m_log.DebugFormat("{0} EnableSimulator. handle={1}, endPoint={2}, avatarID={3}", 513 m_log.DebugFormat("{0} EnableSimulator. handle={1}, endPoint={2}, avatarID={3}",
514 LogHeader, handle, endPoint, avatarID, regionSizeX, regionSizeY); 514 LogHeader, handle, endPoint, avatarID, regionSizeX, regionSizeY);
515//debug
516 if(endPoint == null)
517 m_log.DebugFormat("EnableSimulator null endpoint");
518 if(endPoint.Address == null)
519 m_log.DebugFormat("EnableSimulator null endpoint address");
520 515
521 OSD item = EventQueueHelper.EnableSimulator(handle, endPoint, regionSizeX, regionSizeY); 516 OSD item = EventQueueHelper.EnableSimulator(handle, endPoint, regionSizeX, regionSizeY);
522 Enqueue(item, avatarID); 517 Enqueue(item, avatarID);
diff --git a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
index b6e9a65..0505e58 100644
--- a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
+++ b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
@@ -2157,6 +2157,7 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer
2157 { 2157 {
2158 Thread.Sleep(200); // the original delay that was at InformClientOfNeighbourAsync start 2158 Thread.Sleep(200); // the original delay that was at InformClientOfNeighbourAsync start
2159 int count = 0; 2159 int count = 0;
2160 IPEndPoint ipe;
2160 2161
2161 foreach (GridRegion neighbour in neighbours) 2162 foreach (GridRegion neighbour in neighbours)
2162 { 2163 {
@@ -2165,8 +2166,13 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer
2165 { 2166 {
2166 if (newneighbours.Contains(handler)) 2167 if (newneighbours.Contains(handler))
2167 { 2168 {
2168 InformClientOfNeighbourAsync(sp, cagents[count], neighbour, 2169 ipe = neighbour.ExternalEndPoint;
2169 neighbour.ExternalEndPoint, true); 2170 if (ipe != null)
2171 InformClientOfNeighbourAsync(sp, cagents[count], neighbour, ipe, true);
2172 else
2173 {
2174 m_log.Debug("[ENTITY TRANSFER MODULE]: DNS for neighbour lost");
2175 }
2170 count++; 2176 count++;
2171 } 2177 }
2172 else if (!previousRegionNeighbourHandles.Contains(handler)) 2178 else if (!previousRegionNeighbourHandles.Contains(handler))