aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * Added a try/catch handler around childdataupdates because the enumeration ↵Teravus Ovares2008-01-261-10/+17
| | | | is prone to modification when logging on. These can be safely ignored because the data gets old fast and new ones get generated somewhat quickly.
* * Enabled dead region tracking for ChildAgentDataUpdates Teravus Ovares2008-01-221-16/+17
| | | | | | | ** If the region fails 3 times, then ChildAgentDataUpdates no longer get sent to that region * Enabled Child_Get_Tasks in grid mode. * When Child_Get_Tasks is enabled on neighbor regions, the neighbor region uses the client's draw distance to send out prim. This is a lot less likely to flood the client now since the ChildAgentDataUpdate contains both the throttle settings and the draw distance. This means that with this enabled, you can see prim in other regions in grid mode. Very experimental.
* * Shutting down child agents properly in neighbor regions.Teravus Ovares2008-01-211-12/+52
|
* Graceful failure of teleport to unavailable regions might actually work now.Brian McBee2008-01-201-2/+14
| | | | | I blame all bugs on the age of my brain cells.
* Check if remote simulator is up before attempting teleport. Teleport to a ↵Brian McBee2008-01-201-4/+10
| | | | remote region should now fail gracefully if remote simulator is down.
* checking return code may make failed teleports fail more gracefully.Brian McBee2008-01-191-17/+19
|
* * Mother of all commits:Adam Frisby2008-01-151-1/+1
| | | | | | | * Cleaned up copyright notices in AssemblyInfo.cs's * Added Copyright headers to a bunch of files missing them * Replaced several common string instances with a static constant to prevent reallocation of the same strings thousands of times. "" -> String.Empty is the first such candidate.
* * Optimized usingslbsa712007-12-271-36/+36
| | | | | | | * shortened references * Removed redundant 'this' * Normalized EOF
* * Added a configuration parameter on the Grid Server to disallow forceful ↵Teravus Ovares2007-12-201-0/+9
| | | | | | | banlists. * Added a way for Grid based configuration parameters to (generally used in overriding functionality) to get to the regions on Registration.
* * Temporarily sisabled neighbour cache for regions in the ↵Teravus Ovares2007-12-121-0/+5
| | | | | | | SceneCommunicationService * This will fix the grid mode (not seeing regions) issue
* added copyright noticesJeff Ames2007-12-111-1/+29
|
* * Added comments to many methods in the listed files.Teravus Ovares2007-12-101-4/+19
|
* * More refactoring to prepare for draw distance based agent sim notification.Teravus Ovares2007-12-101-5/+15
|
* * Hooked up the GridComm event ChildDataUpdate to the scene.Teravus Ovares2007-12-101-0/+43
| | | | | | | | | * Added List<RegionInfo> m_neighbours to Scene * Hooked up the OnRegionUp event to m_neighbours list * Modified RegionInfo to have a bool commFailTF value so that we can skip neighbors that fail. (when the region comes up, this gets reset to false and the region will try again. * Added SetChildAgentThrottle(byte[]) to IClientAPI * Several other insignificant changes related to passing child pertanant agent data from sim to sim.
* keeping opensim safe for children -- made some namespace references less ↵Jeff Ames2007-12-041-12/+0
| | | | explicit
* * Added a 50 second restart notify timer that gets reset when new regions ↵Teravus Ovares2007-11-291-1/+5
| | | | come up to give servers that host a lot of sims a long time to start listening.
* * Locking on local scope variable does not make sense - every thread will ↵lbsa712007-11-291-28/+22
| | | | | | | | have its own * Locking on value, then changing it does not make sense - lock will happen on old reference * Taking a local copy of the shared resource then locking on the copy does not make sense - lock will happen on copy
* Changed to doing only 1 request to the grid server from main map. Hopefully ↵Brian McBee2007-11-291-9/+1
| | | | we are not requesting too much in one gulp.
* * Fixed about 7 issues with restarting sims and resolved interRegion comms ↵Teravus Ovares2007-11-291-5/+51
| | | | | | | issues. This includes the issue that MW described this morning. There's a lot of little nit picky changes that make a world of difference.
* * Restaring the sim works fine in grid mode now. Sims announce themselves ↵Teravus Ovares2007-11-281-1/+13
| | | | | | | to their neighbors when they start up. Neighbors get this message and tell their agents that there's a new sim up. * Certain unrecoverable physics based crashes in ODE are now hooked up to the 'restart the sim' routine.
* Fixed bug, where the clients in a region weren't told to kill a user's ↵MW2007-11-271-0/+9
| | | | avatar when that user teleported to a different region.
* Fixed an event in the events chain in inter-region communications.Teravus Ovares2007-11-271-2/+29
| | | | | As a consequence, restarting sims in the same process instance now shows them when they come back up in grid mode and standalone mode.
* MainMap workaround. Map still does not fill in automatically, but one click ↵Brian McBee2007-11-261-1/+9
| | | | on map should return a decent portion of it.
* * Restarting regions with the estate tools works in sandbox mode. I'm still ↵Teravus Ovares2007-11-261-6/+27
| | | | working on grid mode, however. It doesn't break anything, but that feature doesn't work in grid mode yet either.
* * Added the ability to restart your individual sims from within them using ↵Teravus Ovares2007-11-251-0/+14
| | | | | | | the estate tools. * The sims properly restart, however they don't yet notify the existing avatars that they are up. To see the sim again, you'll need to log-out and back in until I can figure out how to get the proper data to the sims and to the avatar so they reconnect again.
* * Did some initial work for prim crossing. Just glue so far.Teravus Ovares2007-11-211-0/+18
| | | | | * Added the child_get_tasks OpenSim.ini flag for testing the UDP packet sending code and packet throttler. This flag gets purposely disabled in grid mode. This flag also has the consequence that you can see the prim in neighboring regions without going into them. Be warned, this causes tons of dropped packets.
* More cleaning up when deleting regions from a instance. NOTE: ↵MW2007-11-161-1/+1
| | | | IGridServices.DeregisterRegion() method needs implementing for grid mode.
* Started to cleanup/close down childagent connections when a user teleports. ↵MW2007-11-051-7/+30
| | | | | | | As the client will not close old childagent connections without being told explicitly to do so by each region the connection is to. Currently only implemented in standalone mode. ( the TellRegionToCloseChildConnection( ) in OGS1GridServices.cs needs implementing for grid mode, and the inter region .net remoting added for the new messages). hopefully fixed the echo bug in chatmodule.
* removed duplicated BOMsJeff Ames2007-11-051-1/+1
|
* Some more refactoringMW2007-11-041-3/+4
|
* normalized line endingsJeff Ames2007-11-041-212/+212
|
* First part of Scene refactoring:MW2007-11-031-0/+212
Started the move of some of the methods from scene into a inner class (currently called InnerScene.cs), the idea being that the code related to the 3d scene (primitive/entities/Avatars etc) will be in this inner class, then what is now Scene.cs will be left as a kind of wrapper class around it. And once the spilt is complete can be renamed to something like RegionInstance (or any name that sounds good and ids it as the Region layer class that "has" a scene). Added SceneCommunicationService which at the moment is a kind of high level wrapper around commsManager. The idea being that it has a higher level API for the Region/Scene to send messages to the other regions on the grid. a Example of the API is that instead of having sendXmessage methods, it has more functional level method like PassAvatarToNeighbour. Hopefully this will allow more freedom to do changes in communications that doesn't break other things.