aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules
diff options
context:
space:
mode:
authormingchen2008-05-04 19:19:18 +0000
committermingchen2008-05-04 19:19:18 +0000
commitddb3a9bdf8a2726d41b94397ac8455bc07e35c09 (patch)
tree3ed7f8980d7a252919ff68bb293a033a738cab9a /OpenSim/Region/Environment/Modules
parent*Fixed up EstateManagementModule to the module standard - no more packets all... (diff)
downloadopensim-SC_OLD-ddb3a9bdf8a2726d41b94397ac8455bc07e35c09.zip
opensim-SC_OLD-ddb3a9bdf8a2726d41b94397ac8455bc07e35c09.tar.gz
opensim-SC_OLD-ddb3a9bdf8a2726d41b94397ac8455bc07e35c09.tar.bz2
opensim-SC_OLD-ddb3a9bdf8a2726d41b94397ac8455bc07e35c09.tar.xz
*Fixed a mistake in the EstateManagementModule that messed up the trunk.
Diffstat (limited to 'OpenSim/Region/Environment/Modules')
-rw-r--r--OpenSim/Region/Environment/Modules/World/Estate/EstateManagementModule.cs30
1 files changed, 1 insertions, 29 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/Estate/EstateManagementModule.cs b/OpenSim/Region/Environment/Modules/World/Estate/EstateManagementModule.cs
index e0bf11b..e15602a 100644
--- a/OpenSim/Region/Environment/Modules/World/Estate/EstateManagementModule.cs
+++ b/OpenSim/Region/Environment/Modules/World/Estate/EstateManagementModule.cs
@@ -51,35 +51,7 @@ namespace OpenSim.Region.Environment.Modules.World.Estate
51 private void sendDetailedEstateData(IClientAPI remote_client, LLUUID invoice) 51 private void sendDetailedEstateData(IClientAPI remote_client, LLUUID invoice)
52 { 52 {
53 53
54 EstateOwnerMessagePacket packet = new EstateOwnerMessagePacket(); 54 remote_client.sendDetailedEstateData(invoice);
55 packet.MethodData.Invoice = invoice;
56 packet.AgentData.TransactionID = LLUUID.Random();
57 packet.MethodData.Method = Helpers.StringToField("estateupdateinfo");
58 EstateOwnerMessagePacket.ParamListBlock[] returnblock = new EstateOwnerMessagePacket.ParamListBlock[9];
59
60 for (int i = 0; i < 9; i++)
61 {
62 returnblock[i] = new EstateOwnerMessagePacket.ParamListBlock();
63 }
64
65 //Sending Estate Settings
66 returnblock[0].Parameter = Helpers.StringToField(m_scene.RegionInfo.EstateSettings.estateName);
67 returnblock[1].Parameter = Helpers.StringToField(m_scene.RegionInfo.MasterAvatarAssignedUUID.ToString());
68 returnblock[2].Parameter = Helpers.StringToField(m_scene.RegionInfo.EstateSettings.estateID.ToString());
69
70 // TODO: Resolve Magic numbers here
71 returnblock[3].Parameter = Helpers.StringToField("269516800");
72 returnblock[4].Parameter = Helpers.StringToField("0");
73 returnblock[5].Parameter = Helpers.StringToField("1");
74 returnblock[6].Parameter = Helpers.StringToField(m_scene.RegionInfo.RegionID.ToString());
75 returnblock[7].Parameter = Helpers.StringToField("1160895077");
76 returnblock[8].Parameter = Helpers.StringToField("1");
77
78 packet.ParamList = returnblock;
79 packet.Header.Reliable = false;
80 //System.Console.WriteLine("[ESTATE]: SIM--->" + packet.ToString());
81 remote_client.OutPacket(packet, ThrottleOutPacketType.Task);
82
83 remote_client.sendEstateManagersList(invoice); 55 remote_client.sendEstateManagersList(invoice);
84 56
85 } 57 }