aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/World/Estate (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-10-09Move OpenSim.Data.RegionFlags -> OpenSim.Framework.RegionFlags to make it ↵Justin Clark-Casey (justincc)1-0/+1
easier for other code to use (e.g. LSL_Api) without having to reference OpenSim.Data just for this.
2012-06-06enabling all corners of a sim to be set in one callSignpostMarv1-1/+11
2012-04-17refactor: Rename EstateSettings.IsEstateManager() to ↵Justin Clark-Casey (justincc)1-1/+1
EstateSettings.IsEstateManagerOrOwner() to reflect what it actually does. This makes it consistent with other parts of OpenSimulator that are treating ESTATE_MANAGER and ESTATE_OWNER as different entities. As per opensim-dev mailing list.
2012-04-10New OS scripting functions osSetTerrainTexture and osSetTerrainHeight as ↵Snoopy Pfeffer1-2/+13
originally proposed in SL Jira (https://jira.secondlife.com/browse/SVC-244).
2012-03-21Replace "scene debug true false true" console command with "scene debug ↵Justin Clark-Casey (justincc)1-1/+7
scripting true" or other parameters as appropriate. This is to allow individual switching of scene debug settings and to provide flexibiltiy for additional settings.
2012-03-21fix compile error from last commitJustin Clark-Casey (justincc)1-1/+1
2012-03-21refactor: simplify EstateManagementModule.handleEstateDebugRegionRequest()Justin Clark-Casey (justincc)1-18/+7
2012-03-20remove some mono compiler warningsJustin Clark-Casey (justincc)1-2/+0
2012-03-16In Top Scripts report, don't show scripts with no or less than 1 microsecond ↵Justin Clark-Casey (justincc)1-0/+6
of execution time. This is to make the report clearer and less confusing.
2012-03-16Fix owner name display in "Top Colliders" and "Top Script" region reports.Justin Clark-Casey (justincc)1-45/+1
2012-03-16Replace script-lines-per-second with the script execution time scaled by its ↵Justin Clark-Casey (justincc)1-30/+47
measurement period and an idealised frame time. The previous lines-per-second measurement used for top scripts report was inaccurate, since lines executed does not reflect time taken to execute. Also, every fetch of the report would reset all the numbers limiting its usefulness and we weren't even guaranteed to see the top 100. The actual measurement value should be script execution time per frame but XEngine does not work this way. Therefore, we use actual script execution time scaled by the measurement period and an idealised frame time. This is still not ideal but gives reasonable results and allows scripts to be compared. This commit moves script execution time calculations from SceneGraph into IScriptModule implementations.
2012-03-08Uses shorter AddCommand form for "show estates"Justin Clark-Casey (justincc)1-1/+1
2012-03-08Display help commander topics in capitalized form - the commands themselves ↵Justin Clark-Casey (justincc)1-40/+7
are still lowercase. Also convert the estate commands to simply AddCommand() calls so that commands from two different modules can be placed in the same category
2012-03-08Change "help" to display categories/module list then "help ↵Justin Clark-Casey (justincc)1-2/+2
<category/module>" to display commands in a category. This is to deal with the hundred lines of command splurge when one previously typed "help" Modelled somewhat on the mysql console One can still type help <command> to get per command help at any point. Categories capitalized to avoid conflict with the all-lowercase commands (except for commander system, as of yet). Does not affect command parsing or any other aspects of the console apart from the help system. Backwards compatible with existing modules.
2012-02-03Fix: Covenant changed time not set ↵PixelTomsen1-0/+2
http://opensimulator.org/mantis/view.php?id=5869 Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2012-01-24Simplify and streamline telehub editing code. Verify rotations and fixMelanie2-58/+30
spwan point positioning on rotated telehubs.
2012-01-24Reverse the spawn point distance vectorMelanie1-1/+1
2012-01-24Correct a coordinate to make the viewer like itMelanie1-1/+1
2012-01-24Change Telehubs to store only the data that is really needed and notMelanie2-83/+65
additional redundant information.
2012-01-23Add update to Telehub position and rotation before adding SpawnPointsBlueWall1-4/+11
2012-01-23Cleanup BlueWall1-3/+6
2012-01-23Cleanup unused parts, add some error handlingBlueWall1-53/+52
2012-01-22Move Telehub tables and data from EstateSettings to RegionSettings.Melanie2-30/+28
This is damage control es EstateSettings is not the place this can be put. EstateSettings is nt unique to a region and therefore would introduce a hard limit of one telehub per estate, completely shutting off the option of having SL style telehubs, e.g. one per region. Whole estate teleport routing can still be implemented id desiresd, this way all options are open while the other way most options get closed off.
2012-01-21Telehub Support:BlueWall2-69/+92
Telehub settings now persist to the database and are saved across sim restarts. So-far this only works on MySQL. this is a work in progress, teleport routing is not yet implemented.
2012-01-20Telehub Support:BlueWall2-1/+194
Support for viewer side of telehub management. Can manupulate Telehubs and SpawnPoints from the viewer estate managemnt tools. This is a work in progress and does not yet persist or affect teleport routing.
2011-11-03Renamed ForEachRootScenePresence to ForEachAvatar. Cleaned up calls toDan Lake1-5/+5
the 3 iteration functions so more of them are using the correct iteration for the action they are performing. The 3 iterators that seem to fit all actions within OpenSim at this time are: ForEachAvatar: Perform an action on all avatars (root presences) ForEachClient: Perform an action on all clients (root or child clients) ForEachRootClient: Perform an action on all clients that have an avatar There are still a dozen places or so calling the old ForEachScenePresence that will take a little more refactoring to eliminate.
2011-10-27Added new ForEachRootScenePresence to Scene since almost every delegate ↵Dan Lake1-8/+5
passed to ForEachScenePresence checks for !IsChildAgent first. It consolidates child and root handling for coming refactors.
2011-09-12comment out some recent terrain texture loggingJustin Clark-Casey (justincc)1-4/+4
2011-09-09Save the default terrain texture UUIDs for a new region instead of leaving ↵Justin Clark-Casey (justincc)1-0/+5
them as UUID.Zero. Leaving them at UUID.Zero meant that when a viewer 2 logged into a region that had been freshly created, it received UUID.Zero for these textures, and hence display the land as plain white. On a simulator restart, the problem would go away since when the database adapators loaded the new region settings, RegionSettings itself has code to use default textures instead of UUID.Zero. This commit resolves the problem by saving the default texture UUIDs instead of Zero. However, we currently have to do this in a roundabout way by resaving once the RegionSettings have been created by the database for the first time. This needless complexity should be addressed. This change will also have the effect of replacing any existing UUID.Zero terrain textures with the default ones. However, this shouldn't have any effect since the UUID.Zeros were already being replaced in memory with those same UUIDs.
2011-09-01Remove pointless cluttering SOP.ParentGroup != null checks.Justin Clark-Casey (justincc)1-28/+22
The only times when ParentGroup might be null is during regression tests (which might not be a valid thing) and when scene objects are being constructed from the database. At all other times it's not possible for a SOP not to have a SOG parent.
2011-04-23Added MaxAgents configuration option to RegionConfig.ini allowing region ↵E. Allen Soard1-1/+4
hosters to setup regions maintaining more control over system resources.
2011-04-13Add a regression test for rezzing a single object into a scene from user ↵Justin Clark-Casey (justincc)1-0/+4
inventory
2011-04-05Make the "All Estates" option work from the client (this makes chosen ↵Justin Clark-Casey (justincc)1-4/+145
changes to all the estates that the user owns). This applies to adding/removing estate users, groups, managers and bans. This is the application of the AllEstates_0.5.patch from http://opensimulator.org/mantis/view.php?id=5420 Thanks very much, Snoopy!
2011-02-12Hack in a crude temporary "estate show" commandJustin Clark-Casey (justincc)2-21/+93
This will show the estate for each region, along with that estate's id and the estate owner. This is temporary because the command output might change. This commit also converts the estate module from the old to the new region module format
2011-02-11refactor: split out estate management commands into separate classJustin Clark-Casey (justincc)2-340/+400
2011-01-28Added loading and saving of terrain files using Terragen format (Mantis #1564)Kevin Cozens1-30/+5
Terrain files can now be loaded and saved using the Terragen (.ter) format. Selection of the terrain file loader to use is now based on the extension of the filename being loaded and the data is loaded using a memory stream instead of writing it to a file and then loading it from the file.
2011-01-21remove some mono compiler warningsJustin Clark-Casey (justincc)1-2/+4
2010-11-25Change all restarting to use the restart module. Remove hardcoded behaviorMelanie1-1/+17
2010-11-21Global creator information working on MySQL DB and on load/save OARs. ↵Diva Canto1-1/+7
Creator name properly shown on the viewer as first.last @authority. New option added to save oar -profile=url. Migration on RegionStore making CreatorID be 255 chars. Moved Handling of user UUID -> name requests to a new module UserManagement/UserManagementModule.
2010-11-09Although the Allow Voice setting is per estate rather than per region,Melanie1-1/+3
apparently it is required in the region handshake to let the client enable parcel voice controls. So, send it.
2010-09-27Restrict top colliders / top scripts to estate managersMelanie1-0/+3
2010-08-24Plumb the region type through to the ProductName field in estate messagesMelanie1-0/+1
2010-08-16Work on TeleportStart: renamed method from TeleportLocationStart to ↵Diva Canto1-3/+0
TeleportStart, and now sending this upon all teleports, not just some, and in the right place (EntityTransferModule).
2010-05-04Add perms check to the teleport home client command handlers.Melanie Thielker1-0/+6
2010-05-04Strip estate message sending out from the estate management module andMelanie Thielker1-4/+10
the dialog module. Convert it to an event on the estate module interface. The old implementation did the same as message to region, a button that is right next to it on the UI. This implementation prevented people from adding a more sane one in a module.
2010-05-04make the events more useful by providing the source regionMelanie Thielker1-2/+2
2010-05-04Add events to the estate interface to let interested modules know ofMelanie Thielker1-0/+36
changes to estate settings
2010-05-04Allow reloading of estate settings into a running region. Move sun updateMelanie Thielker1-37/+3
helper into Scene, since that is less evil than exposing m_storageManager to the public.
2010-03-19Cleaned up access to scenepresences in scenegraph. GetScenePresences and ↵Dan Lake1-19/+12
GetAvatars have been removed to consolidate locking and iteration within SceneGraph. All callers which used these to then iterate over presences have been refactored to instead pass their delegates to Scene.ForEachScenePresence(Action<ScenePresence>).
2010-03-17Inconsistent locking of ScenePresence array in SceneGraph. Fixed by ↵Dan Lake1-4/+2
eliminating option to return the actual list. Callers can now either request a copy of the array as a new List or ask the SceneGraph to call a delegate function on every ScenePresence. Iteration and locking of the ScenePresences now takes place only within the SceneGraph class. This patch also applies a fix to Combat/CombatModule.cs which had unlocked iteration of the ScenePresences and inconsistent try/catch around the use of those ScenePresences.