aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-01-05Massive tab and trailing space cleanupMelanie Thielker1-3/+3
2015-09-15avoid a null ref (that should not happen after last commit), also reduce use ↵UbitUmarov1-20/+28
of thread jobs, where one is good enought
2015-09-04Deleted OpenSim.Framework.Communications. Moved its two remaining files to ↵Diva Canto1-1/+0
OpenSim.Framework.
2015-03-29varregion: any conversions of use of Constants.RegionSize converted intoRobert Adams1-3/+6
Util.cs routines to convert region coords to and from world coords or handles.
2015-01-20minor: correct SceneCommunicationService.LogHeader spellingJustin Clark-Casey (justincc)1-1/+1
Relates to http://opensimulator.org/mantis/view.php?id=7337
2015-01-14Stop simulators attempting to contact registered but offline regions ↵Justin Clark-Casey (justincc)1-1/+26
(RegionFlags.Persistent but not RegioNFlags.RegionOnline) on startup and when an avatar completes a teleport. This eliminates spurious network calls and failure reporting. This is done by adding RegionFlags to the GridRegion returned data in a backward compatible way as an alternative to multiple IGridService.GetRegionFlags() calls Using a simulator or a grid service older than this commit will just see previous behaviour.
2014-11-25Label all threadpool calls being made in core OpenSimulator. This is to add ↵Justin Clark-Casey (justincc)1-1/+4
problem diagnosis. "show threadpool calls" now also returns named (labelled), anonymous (unlabelled) and total call stats.
2014-07-29Add a "debug scene set child-repri <double>" command that allows child ↵Justin Clark-Casey (justincc)1-0/+4
reprioritization distance to be changed on the fly. This governs when child agent position changes are sent to neighbouring regions. Corresponding config parameter is ChildReprioritizationDistance in [InterestManagement] in OpenSim.ini For test purposes.
2014-05-31Modifications to debugging printouts. No functional changes.Robert Adams1-9/+5
2013-11-28varregion: many replacements of in-place arithmetic with calls toRobert Adams1-2/+2
the Util functions for converting world addresses to region addresses and converting region handles to locations.
2013-11-08varregion: elimination of Constants.RegionSize from all over OpenSimulator.Robert Adams1-2/+2
Routines in Util to compute region world coordinates from region coordinates as well as the conversion to and from region handles. These routines have replaced a lot of math scattered throughout the simulator. Should be no functional changes.
2013-07-13Guard against unauthorized agent deletes.Diva Canto1-4/+4
2013-06-07Fix regression where multiple close agents could be sent to the wrong ↵Justin Clark-Casey (justincc)1-1/+6
neighbour region on root agent close. This was introduced in git master d214e2d0 (Thu May 16 17:12:02 2013) Caught out by the fact that value types used in iterators act like references and this was dispatched asynchronously. Should address http://opensimulator.org/mantis/view.php?id=6658
2013-05-16On closing child agents, send separate asynchronous requests to each ↵Justin Clark-Casey (justincc)1-3/+1
neighbour rather than sending all closes concurrently on a separate thread. This is to reduce race conditions where neighbours may be responding erratically, thus mixing up create and close agent requests in time. This mirrors OpenSimulator behaviour on enabling child agents where each region is contacted separately.
2012-07-29Fix an exception while outputting a log messageMelanie1-1/+1
2012-07-18Missing parameter in log error message was throwing exceptionDan Lake1-1/+1
2012-07-13Don't cache regions data on the other unused LocalGridServiceConnector that ↵Justin Clark-Casey (justincc)1-5/+17
the module code still sets up even if we're using one directly instantiated from the RemoteGridServiceConnector. Also improves log messages to indicate which regions are sending/receiving various neighbour protocol messages.
2012-06-08Fix bug with "kick user" reducing agent counts by 2 instead of 1.Justin Clark-Casey (justincc)1-6/+5
This is done by making the kick user command call IClientAPI.Close() rather than routing through Scene.IncomingCloseAgent(), which also called IClientAPI.Close() DisableSimulator for child agents is moved from IncomingCloseAgent() to RemoveClient(), this is not a functional change since IncomingCloseAgent() always ends up calling RemoveClient()
2012-04-08Addresses mantis #5846Diva Canto1-1/+3
2012-02-24Take watchdog alarm calling back outside the m_threads lock.Justin Clark-Casey (justincc)1-2/+2
This is how it was originally. This stops a very long running alarm callback from causing a problem.
2012-02-20More improvements on agent position updates: if the target sims fail, ↵Diva Canto1-5/+2
blacklist them for 2 min, so that we don't keep doing remote calls that fail.
2012-02-19A few more tweaks on position updates and create child agents. Mono hates ↵Diva Canto1-6/+13
concurrent uses of the same TCP connection, and even of the connections to the same server. So let's stop doing it. This patch makes movement much smoother when there are lots of neighbours.
2011-12-16Changed the async approach on close child agents. This may improve crossings ↵Diva Canto1-6/+3
a little bit.
2011-11-19Get rid of the spurious [WEB UTIL] couldn't decode <OpenSim agent ↵Justin Clark-Casey (justincc)1-2/+6
57956c4b-ff2e-4fc1-9995-613c6256cc98>: Invalid character 'O' in input string messages These are just the result of an attempt to canonicalize received messages - it's not important that we constantly log them. Also finally get the deregister grid service message working properly
2011-11-15Removed unused and mostly commented out SceneCommunicationService methodsJustin Clark-Casey (justincc)1-80/+1
As far as I can see, the SCS is only now used for informing neighbours of up/down status and possibly sending child agent updates and close requests
2011-11-15Remove unused RegionCommsListener/IRegionCommsListener.Justin Clark-Casey (justincc)1-3/+0
All this is now being handled through IEntityTransferModule and SimulationService instead, and has been for some time.
2011-11-15remove SceneCommunicationService.OnAvatarCrossingIntoRegion. This stuff is ↵Justin Clark-Casey (justincc)1-5/+0
not being used any more - it's now IEntityTransferModule and SimulationService instead
2011-11-06Convert SendKillObject to take a list of uint rather than sending oneMelanie1-4/+0
packet per prim. More to come as we change to make use of this.
2011-10-06Refactored "known child region" in ScenePresence. There were 4 differentDan Lake1-1/+1
ways to access the list/dictionary of child regions and locking was inconsistent. There are now public properties which enforce locks. Callers are no longer required to create new copies of lists.
2011-02-03Change UpdateAgent (for changes in agent position) to be sentMic Bowman1-21/+22
once to each simulator rather than once to each region. This should help with some of the delays caused by multiple outstanding requests to a single service point.
2011-01-07A bit more frugal on the caller side of closing agents, now that the ↵Diva Canto1-16/+20
receiving end is async. No need for so much concurrency.
2011-01-03Fix child agent scopingMelanie1-4/+4
2010-12-31Fix child agent scopingMelanie1-4/+4
2010-10-08Make SendKillObject send multiple localIDs in one packet. This avoids theMelanie1-4/+0
halting visual behavior of large group deletes and eliminates the packet flood
2010-08-26Remove mono compiler warningsJustin Clark-Casey (justincc)1-3/+3
2010-08-07removing more stains ...sacha1-3/+3
2010-06-13Fixes the long-standing RegionUp bug! Plus lots of other cleanups related to ↵Diva Canto1-14/+7
neighbours.
2010-06-07reapply fix for double sending of attachment update on standalone region ↵Justin Clark-Casey (justincc)1-2/+2
crossing
2010-06-07commit code which stops full updates being fired multiple times when ↵Justin Clark-Casey (justincc)1-0/+2
attachments cross standalone region boundaries lots of messy debug code here too which would need to be removed
2010-06-04Revert "commit code which stops full updates being fired multiple times when ↵Justin Clark-Casey (justincc)1-2/+0
attachments cross standalone region boundaries" This reverts commit 5074d290e4aeb583560272cadc8ba09aa8337210. This gets rid of the massive amount of scene object log spam - sorry about that, folks
2010-05-27commit code which stops full updates being fired multiple times when ↵Justin Clark-Casey (justincc)1-0/+2
attachments cross standalone region boundaries lots of messy debug code here too which would need to be removed
2010-05-18Fix to the scenario where we send an agent to a neighbouring sim (via ↵Tom Grimshaw1-1/+1
teleport), then tell our neighbours to close the agents.. thereby disconnecting the user. Added a new CloseChildAgent method in lieu of CloseAgent. This has been a long standing problem - with any luck this will cure it.
2010-04-07Increase the amount of time we wait for a teleport to complete. This allows ↵Thomas Grimshaw1-1/+1
teleportation to a remote region without a local connection to the asset server without timing out.
2010-03-03minor: remove some compiler warningsJustin Clark-Casey (justincc)1-7/+7
2010-02-25Disable blocking teleports within the same parcel for now; it's not ↵CasperW1-2/+4
implemented correctly. Will review soon.
2010-02-23* Removed the unused GridRegion.getInternalEndPointPort() (just use ↵John Hurliman1-1/+1
InternalEndPoint.Port). This class is complex enough as it is * Changed the failed to inform neighbor message from a warning to info, since this will fire for every empty neighbor space * Made the EnableSimulator/EstablishAgentCommunication log message more verbose and more clear about what is happening
2010-02-08Add EventManager.OnIncomingSceneObject event which is triggered by an ↵Justin Clark-Casey (justincc)1-1/+0
incoming scene object Add a read-only Attachments property to ScenePresence
2010-02-04Line endings cleanupMelanie1-36/+36
2010-01-15* General cleanup of Teleports, Crossings and Child agents. They are now in ↵Diva Canto1-1149/+0
the new AgentTransferModule, in line with what MW started implementing back in May -- ITeleportModule. This has been renamed IAgentTransferModule, to be more generic. * HGSceneCommunicationService has been deleted * SceneCommunicationService will likely be deleted soon too
2010-01-13Bug in Teleport fixed -- Appearance was missing from AgentCircuitData.Diva Canto1-0/+1