This does NOT address the issue in mantis #3940, but it may avoid the exception reported there by WiLLuMPJuH Huisman pertaining to TeleportFailedPacket.
parent
d21da7aa2b
commit
5ca02f0a08
|
@ -1750,6 +1750,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
TeleportFailedPacket tpFailed = (TeleportFailedPacket)PacketPool.Instance.GetPacket(PacketType.TeleportFailed);
|
TeleportFailedPacket tpFailed = (TeleportFailedPacket)PacketPool.Instance.GetPacket(PacketType.TeleportFailed);
|
||||||
tpFailed.Info.AgentID = AgentId;
|
tpFailed.Info.AgentID = AgentId;
|
||||||
tpFailed.Info.Reason = Utils.StringToBytes(reason);
|
tpFailed.Info.Reason = Utils.StringToBytes(reason);
|
||||||
|
tpFailed.AlertInfo = new TeleportFailedPacket.AlertInfoBlock[0];
|
||||||
|
|
||||||
// Hack to get this out immediately and skip throttles
|
// Hack to get this out immediately and skip throttles
|
||||||
OutPacket(tpFailed, ThrottleOutPacketType.Unknown);
|
OutPacket(tpFailed, ThrottleOutPacketType.Unknown);
|
||||||
|
|
Loading…
Reference in New Issue