HG protocol is still broken for large regions. work around it on teleport via lm

melanie
UbitUmarov 2016-11-20 02:49:40 +00:00
parent 586c81eecd
commit 200183caf7
2 changed files with 3 additions and 2 deletions

View File

@ -299,7 +299,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP
OnQueueEmpty = null;
PendingAcks.Clear();
NeedAcks.Clear();
m_nextPackets = null;
}
/// <summary>

View File

@ -515,7 +515,9 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer
GridRegion info = Scene.GridService.GetRegionByUUID(UUID.Zero, lm.RegionID);
// Local region?
if (info != null)
// HG link is broken for large regions
// so ignore its information so lms to large regions can work
if (info != null && info.RegionLocY != 0)
{
Scene.RequestTeleportLocation(
remoteClient, info.RegionHandle, lm.Position,