diff options
author | UbitUmarov | 2017-06-09 23:27:33 +0100 |
---|---|---|
committer | UbitUmarov | 2017-06-09 23:27:33 +0100 |
commit | be975d1e89cbcb62f89cb7cb8367678a80cc47c6 (patch) | |
tree | 3edacaa93423d91af424c183097c56b09c8ab70a /OpenSim/Region/ClientStack/Linden/UDP | |
parent | only silent remove threads from watch list if they stopped ( ie still conside... (diff) | |
download | opensim-SC_OLD-be975d1e89cbcb62f89cb7cb8367678a80cc47c6.zip opensim-SC_OLD-be975d1e89cbcb62f89cb7cb8367678a80cc47c6.tar.gz opensim-SC_OLD-be975d1e89cbcb62f89cb7cb8367678a80cc47c6.tar.bz2 opensim-SC_OLD-be975d1e89cbcb62f89cb7cb8367678a80cc47c6.tar.xz |
add a adicional in transit flag to signal HG tps, and use it to ignore usernames requests sent to start region during tp; don't send unknows display names ( getdisplaynames cap )
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index f658a70..1091078 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -6473,8 +6473,11 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
6473 | 6473 | ||
6474 | private bool HandleUUIDGroupNameRequest(IClientAPI sender, Packet Pack) | 6474 | private bool HandleUUIDGroupNameRequest(IClientAPI sender, Packet Pack) |
6475 | { | 6475 | { |
6476 | UUIDGroupNameRequestPacket upack = (UUIDGroupNameRequestPacket)Pack; | 6476 | ScenePresence sp = (ScenePresence)SceneAgent; |
6477 | if(sp == null || sp.IsDeleted || (sp.IsInTransit && !sp.IsInLocalTransit)) | ||
6478 | return true; | ||
6477 | 6479 | ||
6480 | UUIDGroupNameRequestPacket upack = (UUIDGroupNameRequestPacket)Pack; | ||
6478 | 6481 | ||
6479 | for (int i = 0; i < upack.UUIDNameBlock.Length; i++) | 6482 | for (int i = 0; i < upack.UUIDNameBlock.Length; i++) |
6480 | { | 6483 | { |
@@ -7493,7 +7496,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
7493 | SendUserInfoReply(false, true, ""); | 7496 | SendUserInfoReply(false, true, ""); |
7494 | } | 7497 | } |
7495 | return true; | 7498 | return true; |
7496 | |||
7497 | } | 7499 | } |
7498 | 7500 | ||
7499 | private bool HandleUpdateUserInfo(IClientAPI sender, Packet Pack) | 7501 | private bool HandleUpdateUserInfo(IClientAPI sender, Packet Pack) |
@@ -9648,6 +9650,10 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
9648 | 9650 | ||
9649 | private bool HandleUUIDNameRequest(IClientAPI sender, Packet Pack) | 9651 | private bool HandleUUIDNameRequest(IClientAPI sender, Packet Pack) |
9650 | { | 9652 | { |
9653 | ScenePresence sp = (ScenePresence)SceneAgent; | ||
9654 | if(sp == null || sp.IsDeleted || (sp.IsInTransit && !sp.IsInLocalTransit)) | ||
9655 | return true; | ||
9656 | |||
9651 | UUIDNameRequestPacket incoming = (UUIDNameRequestPacket)Pack; | 9657 | UUIDNameRequestPacket incoming = (UUIDNameRequestPacket)Pack; |
9652 | 9658 | ||
9653 | foreach (UUIDNameRequestPacket.UUIDNameBlockBlock UUIDBlock in incoming.UUIDNameBlock) | 9659 | foreach (UUIDNameRequestPacket.UUIDNameBlockBlock UUIDBlock in incoming.UUIDNameBlock) |