aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneBase.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-01-05Massive tab and trailing space cleanupMelanie Thielker1-9/+9
2016-11-09fix some invalid string.format argumentsUbitUmarov1-1/+1
2016-09-17 add rest of wiring for terrain bake persistent store (mantis 8024 but notUbitUmarov1-0/+1
using its code). Only did minor testing in MySQL
2015-09-02seems to compile ( tests comented out)UbitUmarov1-602/+1
2015-08-20Partial plumbing for the agent stateful module features negotiationMelanie Thielker1-0/+7
2015-08-19find sending of initial terrain using PushTerrain as os coreUbitUmarov1-1/+6
2015-08-16Create want and need lists for agent data interchange formats.Melanie Thielker1-0/+44
2014-12-03Remove long unused region parameters from SceneBase. Some of these weren't ↵Justin Clark-Casey (justincc)1-4/+0
even being set. Region parameters come from Scene.RegionInfo instead.
2014-08-26Implement experimental non-default mechanism to update scene via a timer ↵Justin Clark-Casey (justincc)1-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.
2014-08-20 Reserve a extra localID for a presence ( it will be localID + 1 )UbitUmarov1-0/+12
2014-08-04check...UbitUmarov1-580/+580
2014-08-04Revert "start sending terrain in scenePresence after well defined avatar. Minor"UbitUmarov1-580/+580
This reverts commit 05a2feba5d780c57c252891a20071800fd9f2e3e.
2014-08-04start sending terrain in scenePresence after well defined avatar. MinorUbitUmarov1-580/+580
change on significante AgentUpdate check.
2014-05-31varregion: send terrain patches from where the avatar outward if the parameterRobert Adams1-1/+6
[Terrain]SendTerrainUpdatesByViewDistance=true. This tracks which patches have been sent to each client and outputs the patches as the avatar moves.
2014-04-23Eliminated many warningsOren Hurvitz1-0/+3
2014-01-04Some missing definitions needed for successful compilation.Robert Adams1-1/+2
2013-12-26varregion: many more updates removing the constant RegionSize and replacingRobert Adams1-1/+1
with a passed region size. This time in the map code and grid services code.
2013-12-24varregion: add lots of DEBUG level log messages. Especially for teleport.Robert Adams1-1/+2
2013-09-27refactor: Rename Scene.AddNewClient() to AddNewAgent() to make it obvious in ↵Justin Clark-Casey (justincc)1-1/+1
the code that this is symmetric with CloseAgent()
2013-09-27refactor: rename Scene.IncomingCloseAgent() to CloseAgent() in order to make ↵Justin Clark-Casey (justincc)1-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()
2013-08-14Add method doc to Scene.RemoveClient() to ask any callers to use ↵Justin Clark-Casey (justincc)1-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.
2013-05-03On startup, start scenes after we're set up all local scenes, rather than ↵Justin Clark-Casey (justincc)1-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
2012-11-12Remove the old style module loader and all references to itMelanie1-69/+11
2012-07-25Make SceneManager.OnRegionsReadyStatusChange event available.Justin Clark-Casey (justincc)1-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
2012-07-19Add EventManager.OnRegionLoginsStatusChange fired whenever logins are ↵Justin Clark-Casey (justincc)1-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.
2012-07-17Fix merge artefactsMelanie1-1/+0
2012-06-29Add IScene.Name for code clarity to replace the RegionInfo.RegionName used ↵Justin Clark-Casey (justincc)1-4/+8
in many, many log messages.
2012-03-20Move frame loop entirely within Scene.Update() for better future performance ↵Justin Clark-Casey (justincc)1-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.
2012-03-08Change "help" to display categories/module list then "help ↵Justin Clark-Casey (justincc)1-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.
2011-12-09Get rid of IScene.PresenceChildStatus() which always had to execute a lookup ↵Justin Clark-Casey (justincc)1-5/+0
in favour of IClientAPI.ISceneAgent.IsChildAgent instead.
2011-12-08On a new client circuit, send the initial reply ack to let the client know ↵Justin Clark-Casey (justincc)1-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
2011-12-07Implement XMLRPCAdmin command admin_teleport_agent.Justin Clark-Casey (justincc)1-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.
2011-11-22Stop an exception being thrown and a teleport/border cross failing if the ↵Justin Clark-Casey (justincc)1-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)
2011-10-31Removed unused show commands from Scene.cs and SceneBase.cs. The show ↵Dan Lake1-21/+0
modules command in OpenSim.cs now shows both shared modules and region modules.
2011-08-18Don't try to save changed attachment states when an NPC with attachments is ↵Justin Clark-Casey (justincc)1-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
2011-08-10Stop trying to deregister caps or close child agents when an NPC is removedJustin Clark-Casey (justincc)1-11/+1
2011-03-31Remove unused Datastore parameter from RegionInfo (legacy from early 2008)Justin Clark-Casey (justincc)1-2/+0
2010-11-25Change all restarting to use the restart module. Remove hardcoded behaviorMelanie1-12/+8
2010-09-12Formatting cleanup.Jeff Ames1-1/+1
2010-06-04minor: comment out region interface registration log msg I accidentally left ↵Justin Clark-Casey (justincc)1-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
2010-05-28get TestSaveIarV0_1() uncommented but not running as a test yet since I ↵Justin Clark-Casey (justincc)1-0/+2
didn't get the authentication server to work and my brain is about to fizzle out my ears
2010-05-28Add ability to load IARs directly from URIsJustin Clark-Casey (justincc)1-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.
2010-05-15Finalized the client's TCP IP address verification process for HG1.5.Diva Canto1-0/+1
2010-03-19Renamed TryGetAvatar to TryGetScenePresence on SceneManager, SceneBase, ↵Dan Lake1-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.
2010-03-06Bug fix: store correct position information upon logout. Fixes mantis #4608Diva Canto1-0/+15
2010-02-16minor: Make SOG.DelinkFromGroup() return the newly delinked scene object ↵Justin Clark-Casey (justincc)1-1/+1
instead of void
2010-01-11OpenSim/Framework/Communications/Cache deleted. LibraryRootFolder deleted.Diva Canto1-1/+1
2009-12-31Simulation handlers (agents & objects) completed.Diva Canto1-0/+11
2009-10-27Move the calculation of time dilation from the scene to the physics engine. ↵John Hurliman1-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
2009-10-26Removing the ClientManager reference from IScene and hiding it entirely ↵John Hurliman1-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