diff options
author | UbitUmarov | 2016-11-20 02:49:40 +0000 |
---|---|---|
committer | UbitUmarov | 2016-11-20 02:49:40 +0000 |
commit | 200183caf7c3673e914a7b7f30fbb47bc7e92c44 (patch) | |
tree | 8432a91549d88450d5dd474f38d5c62fc714b471 /OpenSim | |
parent | give up on OutPacket drop condition on closing (diff) | |
download | opensim-SC_OLD-200183caf7c3673e914a7b7f30fbb47bc7e92c44.zip opensim-SC_OLD-200183caf7c3673e914a7b7f30fbb47bc7e92c44.tar.gz opensim-SC_OLD-200183caf7c3673e914a7b7f30fbb47bc7e92c44.tar.bz2 opensim-SC_OLD-200183caf7c3673e914a7b7f30fbb47bc7e92c44.tar.xz |
HG protocol is still broken for large regions. work around it on teleport via lm
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLUDPClient.cs | 1 | ||||
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/EntityTransfer/HGEntityTransferModule.cs | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPClient.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPClient.cs index 0efa7c5..c804e33 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPClient.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPClient.cs | |||
@@ -299,7 +299,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
299 | OnQueueEmpty = null; | 299 | OnQueueEmpty = null; |
300 | PendingAcks.Clear(); | 300 | PendingAcks.Clear(); |
301 | NeedAcks.Clear(); | 301 | NeedAcks.Clear(); |
302 | m_nextPackets = null; | ||
303 | } | 302 | } |
304 | 303 | ||
305 | /// <summary> | 304 | /// <summary> |
diff --git a/OpenSim/Region/CoreModules/Framework/EntityTransfer/HGEntityTransferModule.cs b/OpenSim/Region/CoreModules/Framework/EntityTransfer/HGEntityTransferModule.cs index a9aaf12..49307f6 100644 --- a/OpenSim/Region/CoreModules/Framework/EntityTransfer/HGEntityTransferModule.cs +++ b/OpenSim/Region/CoreModules/Framework/EntityTransfer/HGEntityTransferModule.cs | |||
@@ -515,7 +515,9 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer | |||
515 | GridRegion info = Scene.GridService.GetRegionByUUID(UUID.Zero, lm.RegionID); | 515 | GridRegion info = Scene.GridService.GetRegionByUUID(UUID.Zero, lm.RegionID); |
516 | 516 | ||
517 | // Local region? | 517 | // Local region? |
518 | if (info != null) | 518 | // HG link is broken for large regions |
519 | // so ignore its information so lms to large regions can work | ||
520 | if (info != null && info.RegionLocY != 0) | ||
519 | { | 521 | { |
520 | Scene.RequestTeleportLocation( | 522 | Scene.RequestTeleportLocation( |
521 | remoteClient, info.RegionHandle, lm.Position, | 523 | remoteClient, info.RegionHandle, lm.Position, |