From 12c5bfa3e0f42232035d74b3768ea98211dc5e18 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Fri, 1 Aug 2008 21:08:00 +0000 Subject: Estate series, patch 9 (#9157) Adds the new access semantics and the new flag (allow only age verified) Plumbs in the abuse email address from sim to viewer. The other way around, libomv appears to be lacking support for the data field in the packet. Includes a migration, run prebuild! --- .../Environment/Modules/World/Estate/EstateManagementModule.cs | 10 +++++++++- OpenSim/Region/Environment/Modules/World/NPC/NPCAvatar.cs | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/Environment/Modules/World') diff --git a/OpenSim/Region/Environment/Modules/World/Estate/EstateManagementModule.cs b/OpenSim/Region/Environment/Modules/World/Estate/EstateManagementModule.cs index 7ca1f3a..44f9a93 100644 --- a/OpenSim/Region/Environment/Modules/World/Estate/EstateManagementModule.cs +++ b/OpenSim/Region/Environment/Modules/World/Estate/EstateManagementModule.cs @@ -60,7 +60,8 @@ namespace OpenSim.Region.Environment.Modules.World.Estate m_scene.RegionInfo.EstateSettings.ParentEstateID, GetEstateFlags(), sun, - m_scene.RegionInfo.RegionSettings.Covenant); + m_scene.RegionInfo.RegionSettings.Covenant, + m_scene.RegionInfo.EstateSettings.AbuseEmail); remote_client.SendEstateManagersList(invoice, m_scene.RegionInfo.EstateSettings.EstateManagers, @@ -628,6 +629,11 @@ namespace OpenSim.Region.Environment.Modules.World.Estate else m_scene.RegionInfo.EstateSettings.DenyTransacted = false; + if ((parms1 & 0x40000000) != 0) + m_scene.RegionInfo.EstateSettings.DenyMinors = true; + else + m_scene.RegionInfo.EstateSettings.DenyMinors = false; + m_scene.RegionInfo.EstateSettings.Save(); float sun = (float)m_scene.RegionInfo.RegionSettings.SunPosition; @@ -797,6 +803,8 @@ namespace OpenSim.Region.Environment.Modules.World.Estate flags |= Simulator.RegionFlags.ResetHomeOnTeleport; if (m_scene.RegionInfo.EstateSettings.TaxFree) flags |= Simulator.RegionFlags.TaxFree; + if (m_scene.RegionInfo.EstateSettings.DenyMinors) + flags |= (Simulator.RegionFlags)(1 << 30); return (uint)flags; } diff --git a/OpenSim/Region/Environment/Modules/World/NPC/NPCAvatar.cs b/OpenSim/Region/Environment/Modules/World/NPC/NPCAvatar.cs index 357e454..4c28361 100644 --- a/OpenSim/Region/Environment/Modules/World/NPC/NPCAvatar.cs +++ b/OpenSim/Region/Environment/Modules/World/NPC/NPCAvatar.cs @@ -781,7 +781,7 @@ namespace OpenSim.Region.Environment.Modules.World.NPC public void SendEstateCovenantInformation(LLUUID covenant) { } - public void SendDetailedEstateData(LLUUID invoice, string estateName, uint estateID, uint parentEstate, uint estateFlags, uint sunPosition, LLUUID covenant) + public void SendDetailedEstateData(LLUUID invoice, string estateName, uint estateID, uint parentEstate, uint estateFlags, uint sunPosition, LLUUID covenant, string abuseEmail) { } -- cgit v1.1