aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix region crossings and access to inventory after changing regions withinMelanie Thielker2008-08-191-2/+3
| | | | | | the same simulator
* Formatting cleanup.Jeff Ames2008-08-181-4/+4
|
* Mantis#1965. Thank you kindly, HomerHorwitz for a patch that:Charles Krinke2008-08-161-1/+15
| | | | | | | | | | | | | | | | | | | | | | | Places touched: - Added two events for in-packets to LLCLientView: RegionHandleRequest and ParcelInfoRequest - Added sending of two out-packets to LLCLientView: RegionIDAndHandleReply and ParcelInfoReply. - Scene handles the RegionHandleRequest, LandManagementModule the ParcelInfoRequest - Added inter-region request for LandData by RegionHandle and local position. This was implemented as XML-RPC request. The returned LandData isn't complete, it only contains the data necessary for answering the ParcelInfoRequest - Added new CAPS (0009) for RemoteParcelRequest and some methods for LandData handling to LandManagementModule - Added methods for fake parcelID creation and parsing to Util - Fixed missing implementation of interface methods. - Added new file: OpenSim/Framework/Communications/Capabilities/LLSDRemoteParcelResponse.cs NOTE: This is part of the patch, too. Due to the many places touched, I would consider this patch as experimental.
* Mantis #1946Melanie Thielker2008-08-141-6/+17
| | | | | | | Thank you, HomerHorwitz, for a patch that corrects and improves TP to landmark and home position handling.
* Thanks, lulurun, for a patch that addresses inventory problems that occurMike Mazur2008-08-121-0/+5
| | | | | | | | | | | | | | | | | occasionally, but are fixed on restart (issue 1919). This patch introduces the following changes: 1. when a user teleports out of Region A, remove that user's profile from the Region A user profile cache 2. when a user crosses between regions out of Region A, remove that user's profile from the Region A user profile cache 3. the user profile cache's session ID member can now be set (written), and is updated each time a connection with a new avatar is established (ie: a new avatar enters the region) 4. when a region server looks up a user profile and a cache miss occurs, fetch the user profile from the user server first instead of immediately returning null
* * All CheckRegion within an instance would use the same, global, bool for ↵lbsa712008-08-081-2/+1
| | | | | | | 'Available', which would lead to intermittent failures on parallell teleport requests. * Solidified CheckRegion somewhat, adding a second try if the first failed.
* * Drop cached inventory from the local region when a user crosses out into a ↵Justin Clarke Casey2008-08-011-0/+2
| | | | | | | | | | remote region * May resolves inventory problems that occur when the user moves between two regions` * e.g. if the user moves to a second region, adds an inventory item, moves back to the original region then tries to manipulate that item * Not yet implemented for teleport
* mini-warnings-safari, plus cleanup of IUserServices method naming.Dr Scofield2008-07-041-1/+1
|
* plumbing for multiple inventory servers. Mostly done on the region server side. MW2008-06-281-0/+1
| | | | | | TODO next is to make the login server read/write a users inventory from the correct server (the inventory url set in a userprofile) On the region side, although not tested with multiple servers it should work if that inventory url was set, and the inventory servers urls have been added to the CommunicationsManager, using CommunicationsManager.AddInventoryService(string hostUrl)
* move along, nothing to see here. just a couple of lazy variables.Dr Scofield2008-06-271-2/+2
|
* added the flag param to IClientAPI.SendMapBlockMW2008-06-251-1/+1
|
* * 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