aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneBase.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Implement experimental non-default mechanism to update scene via a timer ↵Justin Clark-Casey (justincc)2014-08-261-1/+2
| | | | | | | | rather than a persistent thread with sleep. This is to see if an inaccuracy in sleep times under load is responsible for increase in frame times even when there is spare time still available. Can currently only be activated by setting "debug scene set update-on-timer true". Can be switched between timer and thread with sleep updates whilst the scene is running.
* varregion: send terrain patches from where the avatar outward if the parameterRobert Adams2014-05-311-1/+6
| | | | | | [Terrain]SendTerrainUpdatesByViewDistance=true. This tracks which patches have been sent to each client and outputs the patches as the avatar moves.
* Eliminated many warningsOren Hurvitz2014-04-231-0/+3
|
* varregion: many more updates removing the constant RegionSize and replacingRobert Adams2013-12-261-1/+1
| | | | with a passed region size. This time in the map code and grid services code.
* varregion: add lots of DEBUG level log messages. Especially for teleport.Robert Adams2013-12-241-1/+2
|
* refactor: Rename Scene.AddNewClient() to AddNewAgent() to make it obvious in ↵Justin Clark-Casey (justincc)2013-09-271-1/+1
| | | | the code that this is symmetric with CloseAgent()
* refactor: rename Scene.IncomingCloseAgent() to CloseAgent() in order to make ↵Justin Clark-Casey (justincc)2013-09-271-13/+1
| | | | | | it clear that all non-clientstack callers should be using this rather than RemoveClient() in order to step through the ScenePresence state machine properly. Adds IScene.CloseAgent() to replace RemoveClient()
* Add method doc to Scene.RemoveClient() to ask any callers to use ↵Justin Clark-Casey (justincc)2013-08-141-0/+13
| | | | | | | | Scene.IncomingCloseAgent() instead. IncomingCloseAgent() now sets the scene presence state machine properly, which is necessary to avoid races between multiple sources of close. Hence, it's also necessary for everyone to consistently call IncomingCloseAgent() Calling RemoveClient() directly is currently generating an attention-grabbing exception though this right now this is harmless.
* On startup, start scenes after we're set up all local scenes, rather than ↵Justin Clark-Casey (justincc)2013-05-031-0/+4
| | | | | | | starting scenes before others have been created. This aims to avoid a race condition where scenes could look to inform neighbours that they were up before those neighbours had been created. http://opensimulator.org/mantis/view.php?id=6618
* Remove the old style module loader and all references to itMelanie2012-11-121-69/+11
|
* Make SceneManager.OnRegionsReadyStatusChange event available.Justin Clark-Casey (justincc)2012-07-251-0/+18
| | | | | 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/+18
| | | | | | | 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-4/+8
| | | | in many, many log messages.
* Move frame loop entirely within Scene.Update() for better future performance ↵Justin Clark-Casey (justincc)2012-03-201-2/+6
| | | | | | | | analysis and stat accuracy. Update() now accepts a frames parameter which can control the number of frames updated. -1 will update until shutdown. The watchdog updating moves above the maintc recalculation for any required sleep since it should be accounted for within the frame.
* Change "help" to display categories/module list then "help ↵Justin Clark-Casey (justincc)2012-03-081-7/+64
| | | | | | | | | | | <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.
* Get rid of IScene.PresenceChildStatus() which always had to execute a lookup ↵Justin Clark-Casey (justincc)2011-12-091-5/+0
| | | | in favour of IClientAPI.ISceneAgent.IsChildAgent instead.
* On a new client circuit, send the initial reply ack to let the client know ↵Justin Clark-Casey (justincc)2011-12-081-1/+1
| | | | | | | | | 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-0/+6
| | | | 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-1/+1
| | | | | | | 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)
* Removed unused show commands from Scene.cs and SceneBase.cs. The show ↵Dan Lake2011-10-311-21/+0
| | | | modules command in OpenSim.cs now shows both shared modules and region modules.
* Don't try to save changed attachment states when an NPC with attachments is ↵Justin Clark-Casey (justincc)2011-08-181-1/+1
| | | | | | | 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-11/+1
|
* Remove unused Datastore parameter from RegionInfo (legacy from early 2008)Justin Clark-Casey (justincc)2011-03-311-2/+0
|
* Change all restarting to use the restart module. Remove hardcoded behaviorMelanie2010-11-251-12/+8
|
* Formatting cleanup.Jeff Ames2010-09-121-1/+1
|
* minor: comment out region interface registration log msg I accidentally left ↵Justin Clark-Casey (justincc)2010-06-041-2/+2
| | | | | | in last week also changes one log message to print out full exception stack trace on both mono/.net instead of just .net
* get TestSaveIarV0_1() uncommented but not running as a test yet since I ↵Justin Clark-Casey (justincc)2010-05-281-0/+2
| | | | didn't get the authentication server to work and my brain is about to fizzle out my ears
* Add ability to load IARs directly from URIsJustin Clark-Casey (justincc)2010-05-281-1/+25
| | | | | | | | So, something like load iar Justin Clark-Casey / PASSWORD http://justincc.org/downloads/iars/my-great-items.iar Will load my IAR directly from the web.
* Finalized the client's TCP IP address verification process for HG1.5.Diva Canto2010-05-151-0/+1
|
* Renamed TryGetAvatar to TryGetScenePresence on SceneManager, SceneBase, ↵Dan Lake2010-03-191-3/+3
| | | | 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/+15
|
* Merge branch 'master' into presence-refactorMelanie2010-02-221-1/+1
|\ | | | | | | This brings presence-refactor up to master again
| * minor: Make SOG.DelinkFromGroup() return the newly delinked scene object ↵Justin Clark-Casey (justincc)2010-02-161-1/+1
| | | | | | | | instead of void
* | OpenSim/Framework/Communications/Cache deleted. LibraryRootFolder deleted.Diva Canto2010-01-111-1/+1
| |
* | Simulation handlers (agents & objects) completed.Diva Canto2009-12-311-0/+11
|/
* Move the calculation of time dilation from the scene to the physics engine. ↵John Hurliman2009-10-271-2/+1
| | | | The scene is still the one reporting dilation so this does not break the API or remove flexibility, but it gets the calculation happening in the right place for the normal OpenSim usage. The actual calculation of physics time dilation probably needs tweaking
* Removing the ClientManager reference from IScene and hiding it entirely ↵John Hurliman2009-10-261-6/+1
| | | | 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-2/+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-4/+4
|
* Unpacking the mess with OtherRegionUp, so we can have a real cache of the ↵Diva Canto2009-09-271-1/+2
| | | | neighbours in the grid service modules.
* Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames2009-06-011-1/+1
| | | | LICENSE.txt.
* Remove some no longer needed debug.Melanie Thielker2009-05-131-6/+2
| | | | | | Fixes Mantis #9520
* Fix interface registration/deregistration mechanicsMelanie Thielker2009-05-121-9/+14
|
* Bug fix in SceneBase.RequestModuleInterface. Check that the list's count is ↵diva2009-05-121-1/+2
| | | | greater than 0.
* * minor: remove some mono compiler warnings, minor cleanupJustin Clarke Casey2009-05-041-2/+2
|
* Create a working configuration hook to allow LLClient parameters fromMelanie Thielker2009-05-041-1/+6
| | | | | | Opensim.ini to take force
* Plumb conifg into the client views. Add config option to configure packetMelanie Thielker2009-05-021-0/+6
| | | | | | dropping.
* Improve prim sending by combining multiple prim updates into a single packetMelanie Thielker2009-05-011-0/+5
|
* Another cleanup: Region_Status renamed to RegionStatus, and a usage comment ↵Johan Berntsson2009-04-151-2/+2
| | | | added
* Remove m_moduleCommands. It wasn't used anywhere; probably a left-over from ↵Homer Horwitz2009-04-131-31/+8
| | | | before ICommander times