aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* This update has good news and bad news, first the bad.Teravus Ovares2008-03-301-5/+11
| | | | | | | | | | * This update breaks inter-region communications, sorry. * You will need to run prebuild. Next, the good; * This update solves the unexpected binary element when Linux simulators inform windows simulators and vice versa. So Linux Simulators and Windows simulators are 100% compatible again. * This update introduces an Integer in the prim crossing method to tell the receiving simulator which XML method to use to load the prim that crossed the border. If the receiving prim doesn't support the method, the prim crossing fails and no prims are lost. That being said, it's best to update all your simulators to this revision at once.
* * Massaging CAPS setup/teardown log messagesJustin Clarke Casey2008-03-251-1/+1
| | | | | | * Leaving quite a few debug messages in for now to help deal with bugs arising
* * Print out the exception stacks of resolution failures, temporarilyJustin Clarke Casey2008-03-251-2/+3
|
* * Temporary hack to swallow neighbour contact problems on startup (in ↵Justin Clarke Casey2008-03-251-1/+4
| | | | | | | | response to osgrid issues) * Not sure what the effect will be, but can't be any worse than the current constant sim crashes.
* * Tear down CAPS and http handlers when an agent leaves a region (via ↵Justin Clarke Casey2008-03-251-1/+10
| | | | crossing, teleport or logout)
* * Start passing around a region server's http port in RegionInfo.Justin Clarke Casey2008-03-231-1/+2
| | | | | | | | | | | * This means that caps methods (editing scripts, poss map functions, etc) on non-home regions should now work with servers which are listening for http ports on a non default (9000) port. * If you are running a region server, this may only work properly once your grid server upgrades to this revision * PLEASE NOTE: This shouldn't cause inter-region problems if one end of the connection hasn't upgraded to this revision. However if it does, the instability will persist until the grid and region (and possibly all the region's neighbours) have upgraded to this revision. * This revision also adds extra login related messages, both for success and failure conditions
* * Miscellaneous comment before I found out that mantis 807 probably isn't an ↵Justin Clarke Casey2008-03-221-2/+6
| | | | issue worth fixing.
* * Catch the occasional resolution exception that comes out of ↵Justin Clarke Casey2008-03-221-3/+20
| | | | SceneCommunicationService.EnableChildAgents so we can see what hostname is failing
* * First draft resolution of mantis 777, 734, 389 - scripts do not save in ↵Justin Clarke Casey2008-03-201-2/+6
| | | | | | | | | | | | non-home regions * Should work in multi-region standalone and grid modes * This should also solve other non-home region caps issues (map requests, RC client inventory requests, etc) * We now pass CAPS information on to the destination region on region crossing, and set up a CAPS object when an agent becomes a master * Current limitation is that this will only work if your http_listener_port is 9000 * This is a very early code cut (lots of bad practice, hard coding and inefficiency). However, I wanted to get this out there for feedback and my own sanity. Next few patches will clean up the mess.
* Another poxy patch which consists mainly of logging changes (some already ↵Justin Clarke Casey2008-03-201-2/+1
| | | | commented out) to find out what CAPS is doing
* Formatting cleanup.Jeff Ames2008-03-181-27/+26
|
* Change handler001 through handler009 to moreCharles Krinke2008-03-021-32/+32
| | | | | | | | appropriate names consisten with their use. All done with all 94 handlers from handler001 through handler094. Hopefully we can move forward without numbered handlers.
* * Converted the last of the events to the private delegate instance method ↵Teravus Ovares2008-02-221-18/+32
| | | | to avoid race conditions.
* * Cleanup of some memory consuming items on ScenePresence.Close().Teravus Ovares2008-02-201-8/+18
| | | | | | * Untangled a tangly shutdown loop for the ScenePresence. * Suggested to the Garbage Collector that this may be a good time to >.>, <.< *gasp* collect the memory.
* Some changes to remove some of the direct calls to CommsManager from Scene, ↵MW2008-02-161-0/+40
| | | | so that they now go through the SceneCommunicationService. As a small step towards the day we can kill the CommsManager (YAY!)
* * um, Prim crossings? Experimental.Teravus Ovares2008-02-111-5/+14
| | | | | * Backup your database just in case.
* Converted logging to use log4net.Jeff Ames2008-02-051-17/+19
| | | | | | Changed LogBase to ConsoleBase, which handles console I/O. This is mostly an in-place conversion, so lots of refactoring can still be done.
* * 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.