aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneManager.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * Spring cleaning on Region.Environment. Adam Frisby2008-05-011-41/+41
| | | | | | | * Converted a large number of read-only fields to be actually, readonly. * Reformatted code sections. * Removed redundant code.
* From: Dr Scofield <hud@zurich.ibm.com>Justin Clarke Casey2008-04-281-13/+2
| | | | | | | | | | | | | | | | | | Note: This is the first part of some changes from Dr Scofield to support console-less operation of an OpenSim region server. The changes are not yet complete. * refactors OpenSimMain into two classes: OpenSimMain and OpenSimMainConsole. OpenSimMainConsole derives from OpenSimMain and basically is the "old" OpenSimMain * drops StartConsole from RegionApplicationBase (was only called from the "old" OpenSimMain anyhow) * reverts the changes to TryGetScene(string, out scene) as that seems to work perfectly fine * adds a check to region-remove to see whether m_sceneManger.CurrentScene is non-null before comparing it against the region-to-be-removed
* * Patch from XenReborn to make remove-region work properly without needing ↵Teravus Ovares2008-04-271-2/+13
| | | | | | | | to do a change-region first. Careful though. I still suggest you do a change-region first. * Patch from Melanie to implement touch_end. * Thanks XenReborn!. Thanks Melanie!
* * Various compiler warning cleanups.Adam Frisby2008-04-211-1/+1
|
* From: Dr Scofield <hud@zurich.ibm.com>Sean Dague2008-04-211-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | the attached patch set is centered around RemoteAdminPlugin and focuses mainly on making it more robust (i.e. more parameter checking and better error reporting) but also we've re-implemented the LoadTerrain stuff that got disabled during the terrain code reworking: * missing PostInitialize() calls on region modules that were loaded for regions created via RemoteAdmin's CreateRegion XmlRpc call * re-implements RemoteAdmin's LoadTerrain XmlRpc call (probably lost during the TerrainModule rework) * adds lots more parameter checking and error reporting to RemoteAdmin * adds a read-only property to RegionApplicationBase so that we can access the CommsManager * adds Exceptions to TerrainModule so that we get better error case feedback (and can report more meaningful errors in turn) * adds a CheckForTerrainUpdate() call to TerrainModule.LoadFromFile() to make terrain changes effective * adds TryGetCurrentScene(LLUUID) to SceneManager so that we can retrieve Scenes not only by name but also by LLUUID cheers, dr scofield
* * Optimised using statements and namespace references across entire project ↵Adam Frisby2008-04-211-3/+3
| | | | (this took a while to run).
* * Fixed two compiler warnings dealing with IPAddress equality.Adam Frisby2008-04-181-3/+1
|
* From: dirk husemann <hud@zurich.ibm.com>Sean Dague2008-04-151-2/+4
| | | | | | | | | | | | | | | | | attached is a patch set that * adds further robustness checks for the CreateUser and CreateRegion XmlRpc * fixes SceneManager.TryGetScene(IPEndPoint, Scene) --- contrary to my expectation IPEndPoint.Address is not sufficient for a comparision, IPEndPoint.Address.Address (the long representation) does work however. * add [RemoteAdmin] section to OpenSim.ini.example * fixes XML doc comments good night, dirk
* * From: Dr Scofield <hud@zurich.ibm.com>Justin Clarke Casey2008-04-111-0/+32
| | | | | | | | * This patch adds support for saving a dynamically generated region to the filesystem (as a region xml file) * Also adds some error checknig to make sure the dynamically generated region name, id or location are not already taken. * Thanks Dr Scofield
* **Big ass update warning**Adam Frisby2008-03-301-5/+3
| | | | | | | | * Renamed plugin console message, to send a message to a plugin, use either "plugin <message>", or any unrecognised message will be sent ("plugin" sends explicitly) This replaces the old "script <message>". * Terrain commands - "terrain <command>" now works again. "Script terrain <command>" does not. Many of the commands have now been reimplemented, eg load-tile. However some have new syntax. * New console command handler, you can now use things like "terrain help" or "terrain save help". See TerrainModule.cs for an example of how to use the new "Commander" class. * Commander class - advanced processing of console input and also enables a script API to be generated from registered console commands.
* Minor formatting / svn properties cleanup.Jeff Ames2008-03-251-16/+16
|
* * Tell the user what the new terrain commands format is if they try to ↵Justin Clarke Casey2008-03-221-1/+4
| | | | | | | | execute a deprecated one * As per CharlieO's suggestion in #806. Thanks!
* Formatting cleanup. Minor refactoring.Jeff Ames2008-03-181-6/+6
|
* Formatting cleanup.Jeff Ames2008-03-181-26/+25
|
* More spelling corrections in the spirit of r3771.Jeff Ames2008-03-071-4/+4
|
* * Disabled ancient TerrainEngine.Adam Frisby2008-03-061-23/+2
| | | | | | | * Enabled new TerrainModule. (The king is dead, long live the king!) * Use the console command: "script terrain save file.r32" / "script terrain load file.r32" to load/save terrain. Now uses the extension to determine file format. * MANY of the old terrain features do not have a replacement function in the new module yet, this needs to be corrected, but has not been done so far. This being said, the new module is faster and more efficient and should be a good replacement.
* Minor cleanup.Jeff Ames2008-02-201-1/+1
|
* Resolve mantis #572 - terrain help printed multiple times when change-region ↵Justin Clarke Casey2008-02-151-0/+6
| | | | has not been invoked
* Removed some ScriptEngine config debugging.Tedd Hansen2008-02-101-0/+5
| | | | | | | | Added experimental console command to: * unload module (note: module probably doesn't support it) * load module Not visible in help (needs testing first).
* Clean up logging calls using String.Format explicitlyJeff Ames2008-02-101-4/+4
|
* Minor refactoringJustin Clarke Casey2008-02-081-19/+15
|
* Minor ScenePresence related refactoringJustin Clarke Casey2008-02-081-15/+11
|
* Converted logging to use log4net.Jeff Ames2008-02-051-18/+19
| | | | | | Changed LogBase to ConsoleBase, which handles console I/O. This is mostly an in-place conversion, so lots of refactoring can still be done.
* * Optimized usingslbsa712007-12-271-5/+4
| | | | | | | * shortened references * Removed redundant 'this' * Normalized EOF
* Thank you to Kiryu for a patch to fix an out of SyncCharles Krinke2007-12-171-3/+7
| | | | | error in Scene. Affects 6 files and is Mantis#201
* more minor cleanup. added some command descriptions to region server help.Jeff Ames2007-12-061-9/+4
|
* From Gary Chernega (IBM)Sean Dague2007-12-051-2/+2
| | | | | | | | | | | | | This patch adds x, y, and z offsets to the load-xml command. If you had a prim at 100,100,20 thats where it would get loaded everytime. This patch lets you place it at an offset from 100,100,20.. as such: load-xml <filespec> -newUI 3 1 2 Loading the prim at 103, 101, 22
* keeping opensim safe for children -- made some namespace references less ↵Jeff Ames2007-12-041-4/+1
| | | | explicit
* Added a flag to load-xml console command, that will generate new uuids for ↵MW2007-12-031-2/+2
| | | | | | | | the loaded Sceneobjects (as per mantis request #53). To use append "-newUID" to the end of the command, so new format is : "load-xml <filename> -newUID". If you don't add the "-newUID", then the uuids in the xml file will be kept.
* * Fixed neighbour range buglbsa712007-11-291-3/+7
| | | | | * Various refactorings
* * Restaring the sim works fine in grid mode now. Sims announce themselves ↵Teravus Ovares2007-11-281-1/+1
| | | | | | | to their neighbors when they start up. Neighbors get this message and tell their agents that there's a new sim up. * Certain unrecoverable physics based crashes in ODE are now hooked up to the 'restart the sim' routine.
* Fixed an event in the events chain in inter-region communications.Teravus Ovares2007-11-271-0/+6
| | | | | As a consequence, restarting sims in the same process instance now shows them when they come back up in grid mode and standalone mode.
* * Restarting regions with the estate tools works in sandbox mode. I'm still ↵Teravus Ovares2007-11-261-2/+20
| | | | working on grid mode, however. It doesn't break anything, but that feature doesn't work in grid mode yet either.
* * Added the ability to restart your individual sims from within them using ↵Teravus Ovares2007-11-251-0/+56
| | | | | | | the estate tools. * The sims properly restart, however they don't yet notify the existing avatars that they are up. To see the sim again, you'll need to log-out and back in until I can figure out how to get the proper data to the sims and to the avatar so they reconnect again.
* * Added a nice 'The Region is going down.' message to the user when the sim ↵Teravus Ovares2007-11-241-1/+1
| | | | owner issues 'shutdown' on the console.
* Some work on cleanly removing Regions.MW2007-11-131-0/+29
|
* * Optimized usingslbsa712007-10-301-44/+42
| | | | | | * Shortened type references * Removed redundant 'this' qualifier
* as per the "Filesystem cleanup for OpenSim repository" mailing list thread. ↵MW2007-10-291-1/+1
| | | | | | | Have flattened the OpenSim.Framework project/namespace. The problem is that the namespace is still wrong as its "OpenSim.Framework" while the directory is "OpenSim\Framework\General" , so we need to decide if we change the directory or correct the namespace. Note this has lead to a big flat project, but I think a lot of the files we most likely don't even use any longer. And others belong in other projects/namespaces anyway.
* * ModuleLoader: Privatized some too-public fieldslbsa712007-10-291-0/+5
| | | | | | | * Scene: Changed name from MakeAvatarPhysical to MakeRootAgent and added ForEachClient * SceneManager: Added ForEachScene * Worked some on appearances.
* Started the process of cleaning up AssetCache and moving most of the code ↵MW2007-10-291-0/+17
| | | | into modules. Have moved TextureRequest handling (from the client) to a module. But even though to start with I just did a little bit of cleaning up of the existing code, it doesn't seem to work as good as the old code so I need to spend more time on it. So for now am committing my changes but with them not in use. So for now all Texture and asset requests are still handled by the old code in AssetCache.
* * Added XMLRPC Controller Module to OpenSimMain which allows XML-RPC queries ↵Adam Frisby2007-10-251-0/+8
| | | | | | | | to be sent to the core application. * Disabled by default, but has two functions so far -- shutdown (timed or now), and create-region. * Added SendGeneralAlert function to SceneManager allowing all-user alerts to be sent from OpenSimMain.
* nice catch by chi11ken that I was setting the wrong propertySean Dague2007-10-221-10/+10
|
* Made some changes to the load/save xml format, So that the old format can ↵MW2007-10-221-0/+10
| | | | still be used, I have added new console commands of "load-xml2" and "save-xml2", if the old versions worked for you then please continue using them (at least for now). The new versions haven't been tested that much, so their format could be subject to change.
* * Applied patch #418 : copyright-r2012.patch - some errors, but got most thrulbsa712007-10-151-1/+29
|
* getting all our line endings consistant againSean Dague2007-10-051-250/+250
|
* * Renamed ScriptConsole to PluginConsole for clarityAdam Frisby2007-09-241-1/+1
| | | | | * Fixed a bug where ODE tries to do a physics update for zero frames.
* * Added TryGetAvatarByNamelbsa712007-09-241-0/+14
|
* * Continuing refactoring of presencelbsa712007-09-211-3/+3
| | | | | | | | * Deleted stub ScenePresence.Body.cs * Added stub Region classes The idea is to, at first, have every ScenePresence have one RegionPresence, moving code over to it until we can detach the two classes and not have a ScenePresence for every RegionPresence.
* * even more renaming and refactoring; the cleaning woman is on call.lbsa712007-09-201-1/+1
|
* * moved SceneManager to RegionApplicationBaselbsa712007-09-201-0/+6
| | | | | | * Implemented SceneManager.StopScene() and Scene.Stop() * Some SimpleApping