aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add a "debug scene set child-repri <double>" command that allows child ↵Justin Clark-Casey (justincc)2014-07-291-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.
* Modifications to debugging printouts. No functional changes.Robert Adams2014-05-311-9/+5
|
* varregion: many replacements of in-place arithmetic with calls toRobert Adams2013-11-281-2/+2
| | | | | the Util functions for converting world addresses to region addresses and converting region handles to locations.
* varregion: elimination of Constants.RegionSize from all over OpenSimulator.Robert Adams2013-11-081-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.
* Guard against unauthorized agent deletes.Diva Canto2013-07-131-4/+4
|
* Fix regression where multiple close agents could be sent to the wrong ↵Justin Clark-Casey (justincc)2013-06-071-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
* On closing child agents, send separate asynchronous requests to each ↵Justin Clark-Casey (justincc)2013-05-161-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.
* Missing parameter in log error message was throwing exceptionDan Lake2012-07-181-1/+1
|
* Don't cache regions data on the other unused LocalGridServiceConnector that ↵Justin Clark-Casey (justincc)2012-07-131-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.
* Fix bug with "kick user" reducing agent counts by 2 instead of 1.Justin Clark-Casey (justincc)2012-06-081-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()
* Addresses mantis #5846Diva Canto2012-04-081-1/+3
|
* Take watchdog alarm calling back outside the m_threads lock.Justin Clark-Casey (justincc)2012-02-241-2/+2
| | | | This is how it was originally. This stops a very long running alarm callback from causing a problem.
* More improvements on agent position updates: if the target sims fail, ↵Diva Canto2012-02-201-5/+2
| | | | blacklist them for 2 min, so that we don't keep doing remote calls that fail.
* A few more tweaks on position updates and create child agents. Mono hates ↵Diva Canto2012-02-191-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.
* Changed the async approach on close child agents. This may improve crossings ↵Diva Canto2011-12-161-6/+3
| | | | a little bit.
* Get rid of the spurious [WEB UTIL] couldn't decode <OpenSim agent ↵Justin Clark-Casey (justincc)2011-11-191-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
* Removed unused and mostly commented out SceneCommunicationService methodsJustin Clark-Casey (justincc)2011-11-151-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
* Remove unused RegionCommsListener/IRegionCommsListener.Justin Clark-Casey (justincc)2011-11-151-3/+0
| | | | All this is now being handled through IEntityTransferModule and SimulationService instead, and has been for some time.
* remove SceneCommunicationService.OnAvatarCrossingIntoRegion. This stuff is ↵Justin Clark-Casey (justincc)2011-11-151-5/+0
| | | | not being used any more - it's now IEntityTransferModule and SimulationService instead
* Convert SendKillObject to take a list of uint rather than sending oneMelanie2011-11-061-4/+0
| | | | packet per prim. More to come as we change to make use of this.
* Refactored "known child region" in ScenePresence. There were 4 differentDan Lake2011-10-061-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.
* Change UpdateAgent (for changes in agent position) to be sentMic Bowman2011-02-031-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.
* A bit more frugal on the caller side of closing agents, now that the ↵Diva Canto2011-01-071-16/+20
| | | | receiving end is async. No need for so much concurrency.
* Fix child agent scopingMelanie2011-01-031-4/+4
|
* Remove mono compiler warningsJustin Clark-Casey (justincc)2010-08-261-3/+3
|
* Fixes the long-standing RegionUp bug! Plus lots of other cleanups related to ↵Diva Canto2010-06-131-14/+7
| | | | neighbours.
* minor: remove some compiler warningsJustin Clark-Casey (justincc)2010-03-031-7/+7
|
* * Removed the unused GridRegion.getInternalEndPointPort() (just use ↵John Hurliman2010-02-231-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
* Merge branch 'master' into presence-refactorMelanie2010-01-161-6/+1
|\ | | | | | | | | This merge was very conflicted. I think I got them all, but I can't be sure. I had to merge to master or risk divergence to the point of unmergeability.
| * Remove "login disable", "login enable" and "login status" commands.Melanie2010-01-101-7/+0
| |
* | * General cleanup of Teleports, Crossings and Child agents. They are now in ↵Diva Canto2010-01-151-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
* | Bug in Teleport fixed -- Appearance was missing from AgentCircuitData.Diva Canto2010-01-131-0/+1
| |
* | Several more buglets removed.Diva Canto2010-01-131-16/+13
| |
* | More appearance woes fixed, this time for child agents. Tested on a grid ↵Diva Canto2010-01-121-0/+4
| | | | | | | | with 2 simulators. Everything seems to be working, including border crosses. TPs (prim crossing) need love now.
* | Fixed a couple of bugs with Appearance. Appearance is all good now.Diva Canto2010-01-111-2/+2
| |
* | OpenSim/Framework/Communications/Cache deleted. LibraryRootFolder deleted.Diva Canto2010-01-111-1/+0
| |
* | CommunicationsManager deleted.Diva Canto2010-01-111-3/+1
| |
* | CommunicationsManager is practically empty. Only NetworkServersInfo is there.Diva Canto2010-01-101-6/+1
| |
* | * Changed IPresenceService Logout, so that it takes a position and a lookatDiva Canto2010-01-101-13/+0
| | | | | | | | * CommsManager.AvatarService rerouted
* | * OMG! All but one references to UserProfileCacheService have been rerouted!Diva Canto2010-01-101-3/+4
| | | | | | | | | | * HG is seriously broken here * Compiles. Untested.
* | A few more inches... Old friends things removed. Less references to ↵Diva Canto2010-01-081-19/+0
| | | | | | | | UserProfileService.
* | Inching ahead... This compiles, but very likely does not run.Diva Canto2010-01-081-5/+0
| |
* | * Finished SimulationServiceConnectorDiva Canto2010-01-071-14/+20
|/ | | | | * Started rerouting calls to UserService. * Compiles. May run.
* Change teleports so the TeleportFlags are sent to the destination sim. ItMelanie2009-12-291-2/+2
| | | | | can now determine if a connection is from login, teleport or crossing. Needed for a meaningful banlines implementation
* Getting rid of SimpleRegionInfo and SerializableRegionInfo per MelKunnis2009-12-121-33/+4
| | | | Signed-off-by: Melanie <melanie@t-data.com>
* Remove the old remoting-type interregion code for prim/script crossingMelanie2009-11-261-72/+0
|
* refactor: move most animation methods from ScenePresence into a new ↵Justin Clark-Casey (justincc)2009-11-171-1/+1
| | | | ScenePresenceAnimator class
* Neighbours cache working.Diva Canto2009-09-271-3/+1
|
* Unpacking the mess with OtherRegionUp, so we can have a real cache of the ↵Diva Canto2009-09-271-50/+37
| | | | neighbours in the grid service modules.
* Fixed MapBlocks bug, wrong order of arguments. First version that seems ↵Diva Canto2009-09-261-7/+1
| | | | | | completely functional. Also fixed the notification of the message server in standalone -- that server doesn't usually exist.