aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * Implements UserServer logoff in a few situationsTeravus Ovares2008-05-311-0/+13
| | | | | | | * User tries to log-in but is already logged in. Userserver will send message to simulator user was in to log the user out there. * From the UserServer, admin types 'logoff-user firstname lastname message'. * Some regions may not get the message because they're not updated yet.
* Mantis#1411. Thank you kindly for Dataserver.cs and a patchCharles Krinke2008-05-291-0/+5
| | | | | | that adds function stub to request region info by name and adds llRequestSimulatorData() and the dataserver event
* Formatting cleanup.Jeff Ames2008-05-161-30/+30
|
* From: Dr Schofield <hud@zurich.ibm.com>Justin Clarke Casey2008-05-141-2/+2
| | | | | | Rename SearializableRegionInfo to SerializableRegionInfo (class was already named correctly)
* Formatting cleanup.Jeff Ames2008-05-141-2/+3
|
* * Implemented ChildAgentDataUpdate throttle multiplier based on an ↵Teravus Ovares2008-05-131-0/+7
| | | | | | | | inaccurate count of neighbors. * The neighbor count is always lower then the actual number of neighbors unless your region was up the longest. * The region you're in is un-affected by this, though, you'll get less packet loss, maybe not get logged off immediately when you log in, and possibly see more prim if your internet connection is semi-unreliable.
* * If a region running in grid mode fails to login to the grid service, ↵Justin Clarke Casey2008-05-121-0/+5
| | | | startup will now terminate instead of carrying on (and thus burying the error message)
* * Rolled back a few changes.Adam Frisby2008-05-011-265/+269
|
* * Spring cleaning on Region.Environment. Adam Frisby2008-05-011-269/+265
| | | | | | | * Converted a large number of read-only fields to be actually, readonly. * Reformatted code sections. * Removed redundant code.
* * Assorted spring cleanings.Adam Frisby2008-05-011-1/+2
|
* * Ooops, attachments now teleport/cross region borders along with your ↵Teravus Ovares2008-04-261-0/+2
| | | | avatar. Those dastardly objects stick to you.
* * Optimised using statements and namespace references across entire project ↵Adam Frisby2008-04-211-3/+4
| | | | (this took a while to run).
* 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.