aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/IScene.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-07-19Add EventManager.OnRegionLoginsStatusChange fired whenever logins are ↵Justin Clark-Casey (justincc)1-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.
2012-06-29Add IScene.Name for code clarity to replace the RegionInfo.RegionName used ↵Justin Clark-Casey (justincc)1-0/+5
in many, many log messages.
2011-12-09Get rid of IScene.PresenceChildStatus() which always had to execute a lookup ↵Justin Clark-Casey (justincc)1-13/+0
in favour of IClientAPI.ISceneAgent.IsChildAgent instead.
2011-12-08Remove unnecessary AgentCircuitData null check from Scene.AddNewClient().Justin Clark-Casey (justincc)1-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
2011-12-08On a new client circuit, send the initial reply ack to let the client know ↵Justin Clark-Casey (justincc)1-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
2011-12-07Implement XMLRPCAdmin command admin_teleport_agent.Justin Clark-Casey (justincc)1-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.
2011-11-22Stop an exception being thrown and a teleport/border cross failing if the ↵Justin Clark-Casey (justincc)1-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)
2011-10-25Make OpenSim.Framework.Servers.HttpServer rely on OpenSim.Framework instead ↵Justin Clark-Casey (justincc)1-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)
2011-10-03Remove vestigal RegionStatus.SlaveScene.Justin Clark-Casey (justincc)1-3/+0
This appears to be code clutter since the code that uses this has long gone.
2011-08-18Don't try to save changed attachment states when an NPC with attachments is ↵Justin Clark-Casey (justincc)1-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
2011-08-10Stop trying to deregister caps or close child agents when an NPC is removedJustin Clark-Casey (justincc)1-1/+12
2010-11-25Change all restarting to use the restart module. Remove hardcoded behaviorMelanie1-1/+1
2010-05-15Finalized the client's TCP IP address verification process for HG1.5.Diva Canto1-0/+2
2010-03-19Renamed TryGetAvatar to TryGetScenePresence on SceneManager, SceneBase, ↵Dan Lake1-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.
2010-03-06Bug fix: store correct position information upon logout. Fixes mantis #4608Diva Canto1-0/+2
2009-12-31Simulation handlers (agents & objects) completed.Diva Canto1-0/+4
2009-10-26Removing the ClientManager reference from IScene and hiding it entirely ↵John Hurliman1-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
2009-10-13* Unregister event handlers in LLUDPServer when a client logs out and ↵John Hurliman1-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
2009-10-01Formatting cleanup.Jeff Ames1-1/+1
2009-09-27Unpacking the mess with OtherRegionUp, so we can have a real cache of the ↵Diva Canto1-1/+1
neighbours in the grid service modules.
2009-06-01Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames1-1/+1
LICENSE.txt.
2009-05-02Plumb conifg into the client views. Add config option to configure packetMelanie Thielker1-0/+3
dropping.
2009-05-01Improve prim sending by combining multiple prim updates into a single packetMelanie Thielker1-0/+2
2009-04-15Another cleanup: Region_Status renamed to RegionStatus, and a usage comment ↵Johan Berntsson1-1/+1
added
2009-02-26Moved the Initialisation of the CommunicationsManager to a ApplicationPlugin. MW1-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.
2009-02-12* optimized usings.lbsa711-1/+0
2009-02-10Add proper handling for shared vs. unshared modules to the commandMelanie Thielker1-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.
2009-02-07Replace the console for all OpenSim apps with a new console featuring commandMelanie Thielker1-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.
2009-01-21* refactor: Extract caps related code from scene and put into a region moduleJustin Clarke Casey1-4/+0
* No functional changes in this revision
2008-12-17* revert r7724 so that PresenceChildStatus() starts throwing NRE's again Justin Clarke Casey1-1/+4
* apparantly logout code relies on this happening in certain circumstances. Really, the root issue needs to be investigated.
2008-12-17* Implement 'Save Object Back to My Inventory'. On the Linden client this ↵Justin Clarke Casey1-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.
2008-12-15* minor: Stop presence child status suffering an NRE if the agent uuid given ↵Justin Clarke Casey1-1/+9
is not represent at all
2008-12-14Mantis#2725. Thank you kindly, Diva, for a patch that:Charles Krinke1-0/+3
Adds missing protocol pieces for EstablishAgentCommunication event which allows the client to activate CAPS and the EQ for child agents.
2008-11-29Finally make attachments stay put. Randomize local ID generation toMelanie Thielker1-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.
2008-11-28* simplify AddNewClient since making this root without using MakeRootAgent() ↵Justin Clarke Casey1-1/+1
no longer sets everything up properly
2008-11-28* refactor: Replace derez destiation magic numbers with an enumerationJustin Clarke Casey1-1/+13
2008-11-10Restore the independent LocalID numbering for avatars. Fixes an issue whereMelanie Thielker1-0/+1
it becomes impossible to cross back into a region you came from, or freeze several seconds after region crossings.
2008-11-07* Remove next local id from SceneBaseJustin Clarke Casey1-1/+0
* This was only reference by ScenePresence and not used anyway - Scene itself had it's own copy
2008-09-25Add an extension to allow registering multiple interfaces of a type withMelanie Thielker1-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
2008-09-06* This is the fabled LibOMV update with all of the libOMV types from JHurlimanTeravus Ovares1-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.
2008-08-23Some complex re-ordering to make prebuild do what needed to be done.Melanie Thielker1-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
2008-05-14Formatting cleanup.Jeff Ames1-1/+1
2008-04-29* Spring cleaning.Adam Frisby1-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.
2008-04-17* Re-Fixed caps Teravus Ovares1-2/+1
* This fixes chi11ken's/OpenViewer's libsl cap issue.
2008-04-15* A tweak of the caps system so that new caps have random paths instead of a ↵Teravus Ovares1-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.
2008-03-20* First draft resolution of mantis 777, 734, 389 - scripts do not save in ↵Justin Clarke Casey1-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.
2008-03-18Formatting cleanup.Jeff Ames1-1/+1
2008-03-18Formatting cleanup.Jeff Ames1-27/+27
2008-03-04Merged 3Di code that provides scene and avatar serialization, and plugin ↵Johan Berntsson1-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.
2008-02-09* Fixed nebadon's UserServer crash bug from yesterday.Teravus Ovares1-0/+2
* Made Estate tools work for estate managers without needing to request admin status First * Added code to make the Simulator version to be reported in the About box of the client