aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack
diff options
context:
space:
mode:
authormeta72010-08-18 02:53:27 -0700
committermeta72010-08-18 02:53:27 -0700
commitca8b1e488c167e5644567cb001c9c2a6504f15f7 (patch)
tree2a99b396dd4ccbd6c801efc0890fad1bd94b45e2 /OpenSim/Region/ClientStack
parentFix a nullref exception in the prioritizer (diff)
parentMerge branch 'master' into careminster-presence-refactor (diff)
downloadopensim-SC-ca8b1e488c167e5644567cb001c9c2a6504f15f7.zip
opensim-SC-ca8b1e488c167e5644567cb001c9c2a6504f15f7.tar.gz
opensim-SC-ca8b1e488c167e5644567cb001c9c2a6504f15f7.tar.bz2
opensim-SC-ca8b1e488c167e5644567cb001c9c2a6504f15f7.tar.xz
Merge branch 'careminster-presence-refactor' of ssh://3dhosting.de/var/git/careminster into careminster-presence-refactor
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs26
-rw-r--r--OpenSim/Region/ClientStack/RegionApplicationBase.cs5
2 files changed, 23 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());
diff --git a/OpenSim/Region/ClientStack/RegionApplicationBase.cs b/OpenSim/Region/ClientStack/RegionApplicationBase.cs
index e683821..46b68ec 100644
--- a/OpenSim/Region/ClientStack/RegionApplicationBase.cs
+++ b/OpenSim/Region/ClientStack/RegionApplicationBase.cs
@@ -58,6 +58,11 @@ namespace OpenSim.Region.ClientStack
58 58
59 protected StorageManager m_storageManager; 59 protected StorageManager m_storageManager;
60 60
61 public StorageManager StorageManager
62 {
63 get { return m_storageManager; }
64 }
65
61 protected ClientStackManager m_clientStackManager; 66 protected ClientStackManager m_clientStackManager;
62 67
63 public SceneManager SceneManager 68 public SceneManager SceneManager