aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Framework/EntityTransfer/HGEntityTransferModule.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Eliminated many warningsOren Hurvitz2014-04-231-1/+1
|
* In teleports, when sending the Source region, set its ServerURI to the ↵Oren Hurvitz2014-04-131-1/+1
| | | | Gatekeeper URI (which is used with Regions); not the Home URI (which is used with Users)
* In teleports, pass the source region to the destination (similar to an HTTP ↵Oren Hurvitz2014-04-091-10/+4
| | | | referrer)
* Refactored: use Scene.GetAgentHomeURI() to get the Home URI of a userOren Hurvitz2014-04-071-5/+1
|
* Fixed: during a teleport we always sent the error "The teleport destination ↵Oren Hurvitz2014-04-061-6/+0
| | | | | | could not be found" to the client. This happened on both success and failure. On successful teleports this error wasn't actually shown to the user. But on failed teleports this error could hide the true cause of the failure. For example, attempting to use a Landmark that's more than 4095 regions away would result in two warnings appearing in the viewer: "Region too far" and "Destination could not be found". The second message hid the first one, so it wasn't obvious to the user what is actually the problem.
* When preparing a Hypergrid teleport, tell the receiving grid which user is ↵Oren Hurvitz2014-04-061-3/+9
| | | | | | entering the grid. This can affect which region to use. E.g., returning users may be allowed to enter any region, whereas users from other grids will have to enter a gateway region. Previously per-user decisions were only made later, but by then it's too late to change which region the user enters.
* When teleporting using Hypergrid, show more informative error messages in ↵Oren Hurvitz2014-04-031-5/+17
| | | | case of error
* Merge branch 'justincc-master'Justin Clark-Casey (justincc)2014-02-141-2/+12
|\
| * Change warns associated with UserAgentServiceConnector to debugs, as this is ↵Justin Clark-Casey (justincc)2014-02-141-1/+1
| | | | | | | | | | | | not necessarily a problen with the source simulator (e.g. someone else's remote simulator cannot be contacted). This is Oren Hurvitz's second patch from http://opensimulator.org/mantis/view.php?id=6956 with a small amount of correction
| * If calls to UserAgentServiceConnector fail then throw an exception. This ↵Justin Clark-Casey (justincc)2014-02-141-2/+12
| | | | | | | | | | | | lets the caller decide whether to discard the error or not. This is Oren Hurvitz's 0001 patch from http://opensimulator.org/mantis/view.php?id=6956 but I ended up doing some tweaking to resolve patch application issues.
* | Materials module: a) Store materials as assets; b) Finalized it (removed the ↵Oren Hurvitz2014-01-201-2/+2
|/ | | | | | "Demo" label; removed most of the logging); c) Enabled by default Changed UuidGatherer to use 'sbyte' to identify assets instead of 'AssetType'. This lets UuidGatherer handle Materials, which are defined in a different enum from 'AssetType'.
* minor: correct attachment spelling mistake in log message in ↵Justin Clark-Casey (justincc)2013-09-261-1/+1
| | | | HGEntityTransferModule.OnIncomingSceneObject()
* Cleanup old hg sessions (older than 2 days)Diva Canto2013-07-141-2/+5
|
* Put guards on a bunch of exception-inducing code, as seen in logs from load ↵Diva Canto2013-07-091-3/+3
| | | | test.
* HG: avoid call on localhost between sim and UAS for standalone.Diva Canto2013-06-221-1/+20
|
* Finally moved HG agent transfers to use agent fatpacks.Diva Canto2013-06-211-1/+1
|
* Step one of estate settings sharing - port the Avination Estate module ↵Melanie2013-05-071-8/+13
| | | | (complete module) as changes are too extensive to apply manually
* Fix a bug in HGEntityTransferModule to call base.RemoveRegion() when a ↵Justin Clark-Casey (justincc)2013-03-281-1/+1
| | | | region is removed rather than base.AddRegion()
* Changed a couple of debug messages at the request of osgrid.Diva Canto2013-01-161-2/+2
|
* More module cleanup: removed the CoreModules.Framework modules directives ↵Diva Canto2012-11-121-0/+2
| | | | out of .addin.xml.
* HG: flip all configs to HG2.0. PLEASE CHECK YOUR EXISTING HG CONFIGS AGAINST ↵Diva Canto2012-11-021-2/+2
| | | | THESE.
* Move OpenSim.Data.RegionFlags -> OpenSim.Framework.RegionFlags to make it ↵Justin Clark-Casey (justincc)2012-10-091-4/+4
| | | | easier for other code to use (e.g. LSL_Api) without having to reference OpenSim.Data just for this.
* Use GridUser properly for foreign users.Diva Canto2012-09-261-0/+2
|
* Oops, that should be inside the curly bracket.Diva Canto2012-09-251-3/+3
|
* This fixes HG attachments' missing assets (textures, etc).Diva Canto2012-09-211-0/+28
| | | | Also, further improvements on HGUuidGatherer: if the assets are already in this grid don't fetch them again.
* HG2.0: Generalized the allowed HG appearances to be more than 1.Diva Canto2012-09-161-31/+59
|
* More on HG2.0: added the possibility of controlling the appearance that ↵Diva Canto2012-09-151-0/+154
| | | | avies use to visit other grids. Not as good as I wanted, but good enough. Unfortunately we can't switch the appearance from under the avie without getting into a lot of weirdnesses because appearance is viewer-controlled. So instead, when this control is on, I'm disallowing HG-TP unless the user is wearing an allowed HG appearance -- the user gets a warning and needs to switch appearance. WARNING: I'm still not committing the config vars because this is still not ready for ppl to test.
* OnConnectionClosed listeners, retrieve data from IClientAPI.SceneAgent ↵Justin Clark-Casey (justincc)2012-06-121-25/+21
| | | | | | | rather than scanning all scene for the presence with the right id Stop checking IsLoggingOut on these listeners, if called with a root agent then we always want to perform these actions. This covers cases where the client is closed due to manual kick, simulator shutdown, etc.
* refactor: factor out entity transfer state machine into a separate class to ↵Justin Clark-Casey (justincc)2012-05-281-8/+8
| | | | make code more analyzable
* Resolve some mono compiler warnings.Justin Clark-Casey (justincc)2012-05-251-1/+1
|
* If an agent is still registered as 'in transit' by the source region, don't ↵Justin Clark-Casey (justincc)2012-05-241-27/+28
| | | | | | | | | | | | allow an immediate teleport back. This is to help relieve a race condition when an agent teleports then immediately attempts to teleport back before the source region has properly cleaned up/demoted the old ScenePresence. This is rare in viewers but much more possible via scripting or region module. However, more needs to be done since virtually all clean up happens after the transit flag is cleared . Possibly need to add a 'cleaning up' state to in transit. This change required making the EntityTransferModule and HGEntityTransferModule per-region rather than shared, in order to allow separate transit lists. Changes were also required in LocalSimulationConnector. Tested in standalone, grid and with local and remote region crossings with attachments.
* refactor: Split most of EntityTransferModule.Teleport() into its same region ↵Justin Clark-Casey (justincc)2012-05-011-7/+8
| | | | | | and different region teleport components. DoTeleport() now retrives IEventQueue itself rather than requiring it to be passed in.
* Merge branch 'master' of ssh://opensimulator.org/var/git/opensimDiva Canto2012-04-271-1/+2
|\
| * Tweak log messages on local region to region teleport path to help with ↵Justin Clark-Casey (justincc)2012-04-261-1/+2
| | | | | | | | problem resolution.
* | Minor change in error message (HG teleport failures)Diva Canto2012-04-271-1/+1
|/
* Slight rewording of output messages.Diva Canto2012-04-241-1/+1
|
* HG: Moved User-level code down to the HGEntityTransferModule where it belongs.Diva Canto2012-04-241-0/+13
|
* Moved the inventory manipulation from HGEntityTransferModule to ↵Diva Canto2012-04-061-146/+3
| | | | HGInventoryAccessModule where it belongs. They need to exchange some events, so added those to EventManager. Those events (TeleportStart and TeleportFail) are nice to have anyway.
* Deleted the unused and commented code from 2 commits ago.Diva Canto2012-04-061-241/+1
|
* WARNING: LOTS OF COMMENTED AND UNUSED CODE IN THIS COMMIT. This is on ↵Diva Canto2012-04-061-21/+295
| | | | purpose; it's an historical record of what works and what doesn't wrt manipulating inventory at the viewer. I'll remove the unused code in a subsequent commit, but wanted to place it in history. The uncommented code works.
* HG 2.0 Suitcase inventory: proof of concept now working properly with the ↵Diva Canto2012-03-281-10/+11
| | | | heavy SendBulkInventoryUpdate message. Waiting for Melanie to finish the light-weight version of that message.
* HG 2.0: added the beginning of HGSuitcaseInventoryService. Plus moved the ↵Diva Canto2012-03-281-7/+61
| | | | hack away from ScenePresence. This is better but it still doesn't restore the inventory upon arrival.
* HG: Switch root folders from under the viewer. Towards HG 2.0. This is ↵Diva Canto2012-03-271-10/+44
| | | | guarded by an obscure config that no one but me should be using at this point.
* HG: beginning of a more restrictive inventory access procedure (optional). ↵Diva Canto2012-03-271-0/+26
| | | | Experimental: we'll try switching the root folder from under the viewer.
* HG: This hopefully fixes the HG teleports back home to OSGrid. Looks like ↵Diva Canto2012-01-311-1/+1
| | | | Uri.ToString() drops the port when it's port 80.
* Added UserManagementModule.IsLocalGridUser(UUID) to be used throughout ↵Diva Canto2011-12-291-3/+4
| | | | region Scenes and Modules. Changed existing modules to use it instead of assuming that foreign = null account.
* HG: more adjustments for making HG Simian work. Added server_uri as new key ↵Diva Canto2011-12-291-2/+3
| | | | on get_agent_home in UAS.
* HG minor bug fix and marked one method obsolete in UAS.Diva Canto2011-12-161-1/+4
|
* Tell hypergridders when their teleports fail because of the 4096 limit ↵Justin Clark-Casey (justincc)2011-06-241-4/+2
| | | | | | | | | | | rather than just saying "destination not found" Instead of performing the 4096 check when the region is linked (and subsequently removing the link), leave the link in place and perform the check in the entity transfer module This allows us to explicitly tell the hypergridder why the teleport failed (region out of range). It also allows people on regions that are within range (on a large source grid) to teleport. The Check4096 config parameter in the [GridService] section is replaced by a max_distance paramter in a new [EntityTransfer] section in OpenSimDefaults.ini Since the parameter is in OpenSimDefaults.ini no action needs to be taken unless you want to increase this limit. It could also be decreased. The check is being made in the base entity transfer module, since I believe the viewer problem occurs both on extremely large grids and while hypergridding.
* 3rd way of reseting the HG Map. This time, don't use the grid service; ↵Diva Canto2011-06-101-25/+0
| | | | instead keep track of which map blocks each client has seen in the region, and reset exactly those when the client closes.