aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
diff options
context:
space:
mode:
authorUbitUmarov2019-02-20 03:05:23 +0000
committerUbitUmarov2019-02-20 03:05:23 +0000
commitb56eb2fe63a3bc1aaa954a24c46a1725d5bb704d (patch)
treef6126f93f6ec6c504e72173d2dcf9b8461bb89e0 /OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
parentadd osKickAvatar(LSL_Key agentKey, string alert) (diff)
downloadopensim-SC-b56eb2fe63a3bc1aaa954a24c46a1725d5bb704d.zip
opensim-SC-b56eb2fe63a3bc1aaa954a24c46a1725d5bb704d.tar.gz
opensim-SC-b56eb2fe63a3bc1aaa954a24c46a1725d5bb704d.tar.bz2
opensim-SC-b56eb2fe63a3bc1aaa954a24c46a1725d5bb704d.tar.xz
estate kick now just kill user connection if on same region. The teleport home we did, does not make much sense, and would need more work anyways
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs')
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs13
1 files changed, 4 insertions, 9 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
index b7d5a80..943be07 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
@@ -1677,8 +1677,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
1677 1677
1678 public void SendKillObject(List<uint> localIDs) 1678 public void SendKillObject(List<uint> localIDs)
1679 { 1679 {
1680 // foreach (uint id in localIDs) 1680 // foreach (uint id in localIDs)
1681 // m_log.DebugFormat("[CLIENT]: Sending KillObjectPacket to {0} for {1} in {2}", Name, id, regionHandle); 1681 // m_log.DebugFormat("[CLIENT]: Sending KillObjectPacket to {0} for {1} in {2}", Name, id, regionHandle);
1682 1682
1683 // remove pending entities to reduce looping chances. 1683 // remove pending entities to reduce looping chances.
1684 lock (m_entityProps.SyncRoot) 1684 lock (m_entityProps.SyncRoot)
@@ -1702,10 +1702,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
1702 1702
1703 if(++nsent >= 200) 1703 if(++nsent >= 200)
1704 { 1704 {
1705 kill.Header.Reliable = true;
1706 kill.Header.Zerocoded = true;
1707 OutPacket(kill, ThrottleOutPacketType.Task); 1705 OutPacket(kill, ThrottleOutPacketType.Task);
1708
1709 perpacket = localIDs.Count - i - 1; 1706 perpacket = localIDs.Count - i - 1;
1710 if(perpacket == 0) 1707 if(perpacket == 0)
1711 break; 1708 break;
@@ -1720,8 +1717,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP
1720 1717
1721 if(nsent != 0) 1718 if(nsent != 0)
1722 { 1719 {
1723 kill.Header.Reliable = true;
1724 kill.Header.Zerocoded = true;
1725 OutPacket(kill, ThrottleOutPacketType.Task); 1720 OutPacket(kill, ThrottleOutPacketType.Task);
1726 } 1721 }
1727 } 1722 }
@@ -10047,7 +10042,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
10047 10042
10048 UUID.TryParse(Utils.BytesToString(messagePacket.ParamList[1].Parameter), out Prey); 10043 UUID.TryParse(Utils.BytesToString(messagePacket.ParamList[1].Parameter), out Prey);
10049 10044
10050 OnEstateTeleportOneUserHomeRequest(this, invoice, SenderID, Prey); 10045 OnEstateTeleportOneUserHomeRequest(this, invoice, SenderID, Prey, false);
10051 } 10046 }
10052 return true; 10047 return true;
10053 case "teleporthomeallusers": 10048 case "teleporthomeallusers":
@@ -10195,7 +10190,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
10195 10190
10196 UUID.TryParse(Utils.BytesToString(messagePacket.ParamList[0].Parameter), out Prey); 10191 UUID.TryParse(Utils.BytesToString(messagePacket.ParamList[0].Parameter), out Prey);
10197 10192
10198 OnEstateTeleportOneUserHomeRequest(this, invoice, SenderID, Prey); 10193 OnEstateTeleportOneUserHomeRequest(this, invoice, SenderID, Prey, true);
10199 } 10194 }
10200 return true; 10195 return true;
10201 10196