aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorMelanie2010-01-09 15:28:52 +0000
committerMelanie2010-01-09 15:28:52 +0000
commit332463ca94c24bf6706cd40d4c2fa89b1cd13199 (patch)
tree4bcc06e1c16a7330ba4a552986f7e6f7698a8e8f /OpenSim
parentAdd functionality to estate "Allowed Users" and "Allowed Groups". Allowed users (diff)
downloadopensim-SC_OLD-332463ca94c24bf6706cd40d4c2fa89b1cd13199.zip
opensim-SC_OLD-332463ca94c24bf6706cd40d4c2fa89b1cd13199.tar.gz
opensim-SC_OLD-332463ca94c24bf6706cd40d4c2fa89b1cd13199.tar.bz2
opensim-SC_OLD-332463ca94c24bf6706cd40d4c2fa89b1cd13199.tar.xz
Fix up the weird Lindenish "setaccess" message. Talk about strange....
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Framework/Constants.cs8
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs12
2 files changed, 15 insertions, 5 deletions
diff --git a/OpenSim/Framework/Constants.cs b/OpenSim/Framework/Constants.cs
index 632431f..5757061 100644
--- a/OpenSim/Framework/Constants.cs
+++ b/OpenSim/Framework/Constants.cs
@@ -36,10 +36,10 @@ namespace OpenSim.Framework
36 36
37 public enum EstateAccessCodex : uint 37 public enum EstateAccessCodex : uint
38 { 38 {
39 AccessOptions = 17, 39 AccessOptions = 1,
40 AllowedGroups = 18, 40 AllowedGroups = 2,
41 EstateBans = 20, 41 EstateBans = 4,
42 EstateManagers = 24 42 EstateManagers = 8
43 } 43 }
44 44
45 [Flags]public enum TeleportFlags : uint 45 [Flags]public enum TeleportFlags : uint
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
index 3d3c324..515d0ea 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
@@ -3935,7 +3935,17 @@ namespace OpenSim.Region.ClientStack.LindenUDP
3935 returnblock[j].Parameter = Utils.StringToBytes("0"); j++; 3935 returnblock[j].Parameter = Utils.StringToBytes("0"); j++;
3936 returnblock[j].Parameter = Utils.StringToBytes("0"); j++; 3936 returnblock[j].Parameter = Utils.StringToBytes("0"); j++;
3937 returnblock[j].Parameter = Utils.StringToBytes("0"); j++; 3937 returnblock[j].Parameter = Utils.StringToBytes("0"); j++;
3938 returnblock[j].Parameter = Utils.StringToBytes(Data.Length.ToString()); j++; 3938 returnblock[j].Parameter = Utils.StringToBytes("0"); j++;
3939
3940 j = 2; // Agents
3941 if ((code & 2) != 0)
3942 j = 3; // Groups
3943 if ((code & 8) != 0)
3944 j = 5; // Managers
3945
3946 returnblock[j].Parameter = Utils.StringToBytes(Data.Length.ToString());
3947 j = 6;
3948
3939 for (int i = 0; i < Data.Length; i++) 3949 for (int i = 0; i < Data.Length; i++)
3940 { 3950 {
3941 returnblock[j].Parameter = Data[i].GetBytes(); j++; 3951 returnblock[j].Parameter = Data[i].GetBytes(); j++;