aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/IScene.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Make SceneManager.OnRegionsReadyStatusChange event available.Justin Clark-Casey (justincc)2012-07-251-0/+8
| | | | | This is fired when all regions are ready or when at least one region becomes not ready. Recently added EventManager.OnRegionReady becomes OnRegionReadyStatusChange to match OnLoginsEnabledStatusChange
* Add EventManager.OnRegionLoginsStatusChange fired whenever logins are ↵Justin Clark-Casey (justincc)2012-07-191-0/+5
| | | | | | | enabled or disabled at any point, not just during initial startup. This replaces EventManager.OnLoginsEnabled which only fired when logins were first enabled and was affected by a bug where it would never fire if the region started with logins disabled.
* Add IScene.Name for code clarity to replace the RegionInfo.RegionName used ↵Justin Clark-Casey (justincc)2012-06-291-0/+5
| | | | in many, many log messages.
* Get rid of IScene.PresenceChildStatus() which always had to execute a lookup ↵Justin Clark-Casey (justincc)2011-12-091-13/+0
| | | | in favour of IClientAPI.ISceneAgent.IsChildAgent instead.
* Remove unnecessary AgentCircuitData null check from Scene.AddNewClient().Justin Clark-Casey (justincc)2011-12-081-3/+1
| | | | | The only caller is the LLUDP stack and this has to validate the UDP circuit itself, so we know that it exists. This allows us to eliminate another null check elsewhere and simplifies the method contract
* On a new client circuit, send the initial reply ack to let the client know ↵Justin Clark-Casey (justincc)2011-12-081-3/+7
| | | | | | | | | it's live before sending other data. This means that avatar/appearance data of other avatars and scene objects for a client will be sent after the ack rather than possibly before. This may stop some avatars appearing grey on login. This introduces a new OpenSim.Framework.ISceneAgent to accompany the existing OpenSim.Framework.ISceneObject and ISceneEntity This allows IClientAPI to handle this as it can't reference OpenSim.Region.Framework.Interfaces
* Implement XMLRPCAdmin command admin_teleport_agent.Justin Clark-Casey (justincc)2011-12-071-2/+2
| | | | This allows someone with access to this command on the XMLRPCAdmin interface to teleport an avatar to an arbitrary region and/or position.
* Stop an exception being thrown and a teleport/border cross failing if the ↵Justin Clark-Casey (justincc)2011-11-221-3/+19
| | | | | | | desintation sim has no active script engines. This involves getting IScene.RequestModuleInterfaces() to return an empty array (as was stated in the method doc) rather than an array containing one null entry. Callers adjusted to stop checking for the list reference being null (which never happened anyway)
* Make OpenSim.Framework.Servers.HttpServer rely on OpenSim.Framework instead ↵Justin Clark-Casey (justincc)2011-10-251-2/+2
| | | | | | | | | of the other way around. This is necessary so that code in HttpServer can use framework facilities such as the thread watchdog for monitoring purposes. Doing this shuffle meant that MainServer was moved into OpenSim/Framework/Servers Also had to make OpenSim.Framework.Console rely on OpenSim.Framework rather than the other way around since it in turn relies on HttpServer MainConsole and some new interfaces had to be moved into OpenSim/Framework to allow this. This can be reverted if parts of OpenSim.Framework stop relying on console presence (cheifly RegionInfo)
* Remove vestigal RegionStatus.SlaveScene.Justin Clark-Casey (justincc)2011-10-031-3/+0
| | | | This appears to be code clutter since the code that uses this has long gone.
* Don't try to save changed attachment states when an NPC with attachments is ↵Justin Clark-Casey (justincc)2011-08-181-3/+4
| | | | | | | removed from the scene. This is done by introducing a PresenceType enum into ScenePresence which currently has two values, User and Npc. This seems better than a SaveAttachments flag in terms of code comprehension, though I'm still slightly uneasy about introducing these semantics to core objects
* Stop trying to deregister caps or close child agents when an NPC is removedJustin Clark-Casey (justincc)2011-08-101-1/+12
|
* Change all restarting to use the restart module. Remove hardcoded behaviorMelanie2010-11-251-1/+1
|
* Finalized the client's TCP IP address verification process for HG1.5.Diva Canto2010-05-151-0/+2
|
* Renamed TryGetAvatar to TryGetScenePresence on SceneManager, SceneBase, ↵Dan Lake2010-03-191-1/+1
| | | | Scene and SceneGraph. This was the only change in this patch to keep it isolated from other recent changes to the same set of files.
* Bug fix: store correct position information upon logout. Fixes mantis #4608Diva Canto2010-03-061-0/+2
|
* Simulation handlers (agents & objects) completed.Diva Canto2009-12-311-0/+4
|
* Removing the ClientManager reference from IScene and hiding it entirely ↵John Hurliman2009-10-261-1/+0
| | | | inside Scene as an implementation detail. This will reduce programming error and make it easier to refactor the avatar vs client vs presence mess later on
* * Unregister event handlers in LLUDPServer when a client logs out and ↵John Hurliman2009-10-131-1/+0
| | | | | | | | disconnects * Move ViewerEffect handling to Scene.PacketHandlers * Removing the unused CloseAllAgents function * Trimming ClientManager down. This class needs to be reworked to keep LLUDP circuit codes from intruding into the abstract OpenSim core code
* Formatting cleanup.Jeff Ames2009-10-011-1/+1
|
* Unpacking the mess with OtherRegionUp, so we can have a real cache of the ↵Diva Canto2009-09-271-1/+1
| | | | neighbours in the grid service modules.
* Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames2009-06-011-1/+1
| | | | LICENSE.txt.
* Plumb conifg into the client views. Add config option to configure packetMelanie Thielker2009-05-021-0/+3
| | | | | | dropping.
* Improve prim sending by combining multiple prim updates into a single packetMelanie Thielker2009-05-011-0/+2
|
* Another cleanup: Region_Status renamed to RegionStatus, and a usage comment ↵Johan Berntsson2009-04-151-1/+1
| | | | added
* Moved the Initialisation of the CommunicationsManager to a ApplicationPlugin. MW2009-02-261-0/+3
| | | | | | Also in that plugin it registers the IUserService with all the Scenes (as they are created). So now we can start changing over all uses of IUserService, that currently access it from the CommunicationsManager to accessing it from the Scene.RequestModuleInterface call. Once that is done we can move the UserService creation out to its own plugin and remove all references to it from the CommunicationsManager. Then we can take the next CommunicationsManager interface and repeat.
* * optimized usings.lbsa712009-02-121-1/+0
|
* Add proper handling for shared vs. unshared modules to the commandMelanie Thielker2009-02-101-1/+1
| | | | | | | | interface. Shared modules will now only get added once, so the command handler is called once per module, not once per scene. Removal of scenes has no adverse effects. Nonshared modules will be called for each scene.
* Replace the console for all OpenSim apps with a new console featuring commandMelanie Thielker2009-02-071-0/+3
| | | | | | | | | line editing, context sensitive help (press ? at any time), command line history, a new plugin command system and new appender features thet let you type while the console is scrolling. Seamlessly integrates the ICommander interfaces.
* * refactor: Extract caps related code from scene and put into a region moduleJustin Clarke Casey2009-01-211-4/+0
| | | | | | * No functional changes in this revision
* * revert r7724 so that PresenceChildStatus() starts throwing NRE's again Justin Clarke Casey2008-12-171-1/+4
| | | | | | * apparantly logout code relies on this happening in certain circumstances. Really, the root issue needs to be investigated.
* * Implement 'Save Object Back to My Inventory'. On the Linden client this ↵Justin Clarke Casey2008-12-171-0/+1
| | | | | | | | | is in the Tools menu available when editing an object * This facility allows you to save changes to an object that you've rezzed into a region back into their original inventory item without having to take a copy of the rezzed object.
* * minor: Stop presence child status suffering an NRE if the agent uuid given ↵Justin Clarke Casey2008-12-151-1/+9
| | | | is not represent at all
* Mantis#2725. Thank you kindly, Diva, for a patch that:Charles Krinke2008-12-141-0/+3
| | | | | | | Adds missing protocol pieces for EstablishAgentCommunication event which allows the client to activate CAPS and the EQ for child agents.
* Finally make attachments stay put. Randomize local ID generation toMelanie Thielker2008-11-291-1/+0
| | | | | | | | | prevent adjacent sims from using identical Local IDs for the attachment Thanks to Mana Janus (Hippo Viewer) for providing the crucial bit of information, namely that, due to a bug in the viewer, adjacent sims can't use the same local ids.
* * simplify AddNewClient since making this root without using MakeRootAgent() ↵Justin Clarke Casey2008-11-281-1/+1
| | | | no longer sets everything up properly
* * refactor: Replace derez destiation magic numbers with an enumerationJustin Clarke Casey2008-11-281-1/+13
|
* Restore the independent LocalID numbering for avatars. Fixes an issue whereMelanie Thielker2008-11-101-0/+1
| | | | | | | it becomes impossible to cross back into a region you came from, or freeze several seconds after region crossings.
* * Remove next local id from SceneBaseJustin Clarke Casey2008-11-071-1/+0
| | | | | | * This was only reference by ScenePresence and not used anyway - Scene itself had it's own copy
* Add an extension to allow registering multiple interfaces of a type withMelanie Thielker2008-09-251-0/+1
| | | | | | | | | | Scene. Make the script engines check that the engine name in the //Engine:language comment is a valid engine and treat it as a normal comment if it's not. //DotNetEngine: needs to be written as //ScriptEngine.DotNetEngine: now, since that is it's real internal name. //XEngine: still works
* * This is the fabled LibOMV update with all of the libOMV types from JHurlimanTeravus Ovares2008-09-061-4/+4
| | | | | | | * This is a HUGE OMG update and will definitely have unknown side effects.. so this is really only for the strong hearted at this point. Regular people should let the dust settle. * This has been tested to work with most basic functions. However.. make sure you back up 'everything' before using this. It's that big! * Essentially we're back at square 1 in the testing phase.. so lets identify things that broke.
* Some complex re-ordering to make prebuild do what needed to be done.Melanie Thielker2008-08-231-1/+3
| | | | | | | | | It is now possible to use module interfaces without referencing Scene. Place those interfaces in OpenSim/Region/Interfaces. They may not use any refs from OpenSim.Region.Environment as parameters. This resolves a circular library ref introduced in r5949
* Formatting cleanup.Jeff Ames2008-05-141-1/+1
|
* * Spring cleaning.Adam Frisby2008-04-291-11/+9
| | | | | * Added new generic "Location" class to handle 2D integer locations. Going to use it to replace all RegionHandle and X,Y coordinate references throughout the entire project. You have been warned.
* * Re-Fixed caps Teravus Ovares2008-04-171-2/+1
| | | | | * This fixes chi11ken's/OpenViewer's libsl cap issue.
* * A tweak of the caps system so that new caps have random paths instead of a ↵Teravus Ovares2008-04-151-1/+2
| | | | | | | | | | fixed path * This allows caps requests to be routed to regions where the agent is currently a root agent instead of the region that they logged into as it did previously. * This fixes a wide variety of bugs related to 'can't do X once i've crossed a border'. * The first seed cap request fails, the second one works. (this generates an error message on the console) * Experimental.
* * First draft resolution of mantis 777, 734, 389 - scripts do not save in ↵Justin Clarke Casey2008-03-201-0/+2
| | | | | | | | | | | | non-home regions * Should work in multi-region standalone and grid modes * This should also solve other non-home region caps issues (map requests, RC client inventory requests, etc) * We now pass CAPS information on to the destination region on region crossing, and set up a CAPS object when an agent becomes a master * Current limitation is that this will only work if your http_listener_port is 9000 * This is a very early code cut (lots of bad practice, hard coding and inefficiency). However, I wanted to get this out there for feedback and my own sanity. Next few patches will clean up the mess.
* Formatting cleanup.Jeff Ames2008-03-181-1/+1
|
* Formatting cleanup.Jeff Ames2008-03-181-27/+27
|
* Merged 3Di code that provides scene and avatar serialization, and plugin ↵Johan Berntsson2008-03-041-2/+3
| | | | support for region move/split/merge. See ThirdParty/3Di/README.txt. Unless the new modules are used there should be no noticeable changes when running OpenSim.