diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 26 |
1 files changed, 18 insertions, 8 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 48465d9..d41df3d 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -1442,16 +1442,27 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
1442 | /// <summary> | 1442 | /// <summary> |
1443 | /// | 1443 | /// |
1444 | /// </summary> | 1444 | /// </summary> |
1445 | public void SendTeleportLocationStart() | 1445 | public void SendTeleportStart(uint flags) |
1446 | { | 1446 | { |
1447 | //TeleportStartPacket tpStart = (TeleportStartPacket)PacketPool.Instance.GetPacket(PacketType.TeleportStart); | 1447 | TeleportStartPacket tpStart = (TeleportStartPacket)PacketPool.Instance.GetPacket(PacketType.TeleportStart); |
1448 | TeleportStartPacket tpStart = new TeleportStartPacket(); | 1448 | //TeleportStartPacket tpStart = new TeleportStartPacket(); |
1449 | tpStart.Info.TeleportFlags = 16; // Teleport via location | 1449 | tpStart.Info.TeleportFlags = flags; //16; // Teleport via location |
1450 | 1450 | ||
1451 | // Hack to get this out immediately and skip throttles | 1451 | // Hack to get this out immediately and skip throttles |
1452 | OutPacket(tpStart, ThrottleOutPacketType.Unknown); | 1452 | OutPacket(tpStart, ThrottleOutPacketType.Unknown); |
1453 | } | 1453 | } |
1454 | 1454 | ||
1455 | public void SendTeleportProgress(uint flags, string message) | ||
1456 | { | ||
1457 | TeleportProgressPacket tpProgress = (TeleportProgressPacket)PacketPool.Instance.GetPacket(PacketType.TeleportProgress); | ||
1458 | tpProgress.AgentData.AgentID = this.AgentId; | ||
1459 | tpProgress.Info.TeleportFlags = flags; | ||
1460 | tpProgress.Info.Message = Util.StringToBytes256(message); | ||
1461 | |||
1462 | // Hack to get this out immediately and skip throttles | ||
1463 | OutPacket(tpProgress, ThrottleOutPacketType.Unknown); | ||
1464 | } | ||
1465 | |||
1455 | public void SendMoneyBalance(UUID transaction, bool success, byte[] description, int balance) | 1466 | public void SendMoneyBalance(UUID transaction, bool success, byte[] description, int balance) |
1456 | { | 1467 | { |
1457 | MoneyBalanceReplyPacket money = (MoneyBalanceReplyPacket)PacketPool.Instance.GetPacket(PacketType.MoneyBalanceReply); | 1468 | MoneyBalanceReplyPacket money = (MoneyBalanceReplyPacket)PacketPool.Instance.GetPacket(PacketType.MoneyBalanceReply); |
@@ -3041,7 +3052,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
3041 | { | 3052 | { |
3042 | OSDMap GroupDataMap = new OSDMap(6); | 3053 | OSDMap GroupDataMap = new OSDMap(6); |
3043 | OSDMap NewGroupDataMap = new OSDMap(1); | 3054 | OSDMap NewGroupDataMap = new OSDMap(1); |
3044 | GroupDataMap.Add("GroupPowers", OSD.FromBinary(m.GroupPowers)); | 3055 | GroupDataMap.Add("GroupPowers", OSD.FromULong(m.GroupPowers)); |
3045 | GroupDataMap.Add("AcceptNotices", OSD.FromBoolean(m.AcceptNotices)); | 3056 | GroupDataMap.Add("AcceptNotices", OSD.FromBoolean(m.AcceptNotices)); |
3046 | GroupDataMap.Add("GroupTitle", OSD.FromString(m.GroupTitle)); | 3057 | GroupDataMap.Add("GroupTitle", OSD.FromString(m.GroupTitle)); |
3047 | GroupDataMap.Add("GroupID", OSD.FromUUID(m.GroupID)); | 3058 | GroupDataMap.Add("GroupID", OSD.FromUUID(m.GroupID)); |
@@ -6332,7 +6343,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
6332 | } | 6343 | } |
6333 | #endregion | 6344 | #endregion |
6334 | 6345 | ||
6335 | ObjectDuplicatePacket.AgentDataBlock AgentandGroupData = dupe.AgentData; | 6346 | // ObjectDuplicatePacket.AgentDataBlock AgentandGroupData = dupe.AgentData; |
6336 | 6347 | ||
6337 | ObjectDuplicate handlerObjectDuplicate = null; | 6348 | ObjectDuplicate handlerObjectDuplicate = null; |
6338 | 6349 | ||
@@ -11765,8 +11776,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
11765 | { | 11776 | { |
11766 | StringBuilder sb = new StringBuilder(); | 11777 | StringBuilder sb = new StringBuilder(); |
11767 | sb.Append("["); | 11778 | sb.Append("["); |
11768 | if (this.priority != null) | 11779 | sb.Append(this.priority.ToString()); |
11769 | sb.Append(this.priority.ToString()); | ||
11770 | sb.Append(","); | 11780 | sb.Append(","); |
11771 | if (this.value != null) | 11781 | if (this.value != null) |
11772 | sb.Append(this.value.ToString()); | 11782 | sb.Append(this.value.ToString()); |