diff options
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 8721356..aff43d5 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -436,6 +436,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
436 | kupack.TargetBlock.TargetPort = (ushort)0; | 436 | kupack.TargetBlock.TargetPort = (ushort)0; |
437 | kupack.UserInfo.Reason = Helpers.StringToField(message); | 437 | kupack.UserInfo.Reason = Helpers.StringToField(message); |
438 | OutPacket(kupack, ThrottleOutPacketType.Task); | 438 | OutPacket(kupack, ThrottleOutPacketType.Task); |
439 | // You must sleep here or users get no message! | ||
440 | Thread.Sleep(500); | ||
439 | } | 441 | } |
440 | } | 442 | } |
441 | 443 | ||
@@ -2244,6 +2246,17 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
2244 | im.Header.Zerocoded = true; | 2246 | im.Header.Zerocoded = true; |
2245 | OutPacket(im, ThrottleOutPacketType.Texture); | 2247 | OutPacket(im, ThrottleOutPacketType.Texture); |
2246 | } | 2248 | } |
2249 | public void SendShutdownConnectionNotice() | ||
2250 | { | ||
2251 | OutPacket(PacketPool.Instance.GetPacket(PacketType.DisableSimulator), ThrottleOutPacketType.Unknown); | ||
2252 | } | ||
2253 | |||
2254 | public void SendSimStats(Packet pack) | ||
2255 | { | ||
2256 | pack.Header.Reliable = false; | ||
2257 | OutPacket(pack, ThrottleOutPacketType.Task); | ||
2258 | } | ||
2259 | |||
2247 | #endregion | 2260 | #endregion |
2248 | 2261 | ||
2249 | #region Estate Data Sending Methods | 2262 | #region Estate Data Sending Methods |