aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Framework/EntityTransfer (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-12-29Added UserManagementModule.IsLocalGridUser(UUID) to be used throughout ↵Diva Canto1-3/+4
region Scenes and Modules. Changed existing modules to use it instead of assuming that foreign = null account.
2011-12-29HG: more adjustments for making HG Simian work. Added server_uri as new key ↵Diva Canto1-2/+3
on get_agent_home in UAS.
2011-12-23remove the old region crossing handlerMic Bowman1-10/+0
2011-12-22Fixes some problems with objects that attempt to cross a region boundaryMic Bowman1-0/+24
into a region that does not exist. This is particularly problematic for physical objects where the velocity continues to move them out of the region causing an infinite number of failed region crossings. The patch forces an object that fails a crossing to be non-physical and moves it back into the starting region.
2011-12-22Region crossings redone: (1) removed WaitForCallback. Now that we are ↵Diva Canto1-39/+32
passing the entire agent with attachs in one big message we don't necessarily need to wait for confirmation. The callback sometimes is problematic and it adds delay to the process. (2) Z velocity sent to the viewer = 0. This is an heuristic; the Z velocity usually is negative, and it makes the viewer move the avie down. This only matters while the agent is in transit and therefore not being physically simulated by neither region. As soon as the receiving region receives CompleteMovement from the viewer, the position and velocity get corrected.
2011-12-16Sends the consistent child agent position upon creation of the child agent ↵Diva Canto1-1/+12
in other regions, as opposed to <128, 128, 70>
2011-12-16HG minor bug fix and marked one method obsolete in UAS.Diva Canto1-1/+4
2011-12-03Add beginning of ScenePresenceAgentTests.TestCreateChildScenePresence()Justin Clark-Casey (justincc)1-1/+0
This required an option to be added to NullRegionData via ConnectionString for it to act as a non-static instance, so that regression tests (which only load this class once) don't get hopeless confused and complex to compensate. Normal standalone operation unaffected.
2011-12-02Stop some places where we're trying to reset animations in child agents ↵Justin Clark-Casey (justincc)1-100/+110
where such requests are ignored.
2011-11-06Convert SendKillObject to take a list of uint rather than sending oneMelanie1-1/+1
packet per prim. More to come as we change to make use of this.
2011-11-02Changes UpdateFlag in SOP to an enumeration of NONE, TERSE and FULL.Dan Lake1-1/+1
UpdateFlag is now referenced/used only within SOP and SOG. Outsiders are using ScheduleFullUpdate, ScheduleTerseUpdate or ClearUpdateSchedule on SOP consistently now. Also started working toward eliminating those calls to ScheduleFullUpdate, ScheduleTerseUpdate or ClearUpdateSchedule from outside SOP in favor of just setting properties on SOP and let SOP decide if an update should be scheduled. This consolidates the update policy within SOP and the client rather than everywhere that makes changes to SOP. Some places forget to call update while others call it multiple times, "just to be sure". UpdateFlag and Schedule*Update will both be made private shortly. UpdateFlag is intended to be transient and internal to SOP so it has been removed from XML serializer for SOPs.
2011-10-28set grp.RootPart.GroupPosition for code consistency (and readability) rather ↵Justin Clark-Casey (justincc)1-2/+2
than calling SOP.OffsetForNewRegion
2011-10-06Refactored "known child region" in ScenePresence. There were 4 differentDan Lake1-1/+1
ways to access the list/dictionary of child regions and locking was inconsistent. There are now public properties which enforce locks. Callers are no longer required to create new copies of lists.
2011-10-06Simplified IsInTransit property on ScenePresence and removed InTransit() ↵Dan Lake1-6/+6
which called IsInTransit=true which called m_inTransit=true. Also removed NotInTransit().
2011-09-10Add extra log information when attachments fail validationJustin Clark-Casey (justincc)1-5/+11
2011-09-10reinstate the validation logging on teleport. A 'fail' of validation still ↵Justin Clark-Casey (justincc)1-0/+2
doesn't prevent the actual teleport.
2011-09-05Try disabling the inconsistent attachment state check to see if this ↵Justin Clark-Casey (justincc)1-13/+18
actually has an impact. The code in question is over three years old and just be catching an inconsistency rather than being wholly necessary. This commit still carries out the check and prints all the previous log warnings but a 'failure' no longer prevents avatar region crossing or teleport, and it doesn't give the client the error message. This will have some kind of impact on http://opensimulator.org/mantis/view.php?id=5672
2011-09-02Comment out Scene.CleanDroppedAttachments() and calls.Justin Clark-Casey (justincc)1-1/+1
This method wasn't actually doing anything since dropped attachments retain a PCode of 9. Also, behaviour of dropped attachments in other places appears to be that they persist after avatar logout rather than get deleted.
2011-09-01Eliminate pointless checks of SOG.RootPart != nullJustin Clark-Casey (justincc)1-1/+1
It's never possible for SOG to have no RootPart, except in the first few picosends of the big bang when it's pulled from region persistence or deserialized
2011-08-31move common code into AttachmentsModule.DeleteAttachmentsFromScene()Justin Clark-Casey (justincc)1-5/+1
2011-08-31Make SP.Attachments available as sp.GetAttachments() instead.Justin Clark-Casey (justincc)1-29/+32
The approach here, as in other parts of OpenSim, is to return a copy of the list rather than the attachments list itself This prevents callers from forgetting to lock the list when they read it, as was happening in various parts of the codebase. It also improves liveness. This might improve attachment anomolies when performing region crossings.
2011-08-27refactor: move SOP.IsAttachment and AttachmentPoint up into SOG to avoid ↵Justin Clark-Casey (justincc)1-1/+1
pointless duplication of identical values
2011-08-09When an NPC is created, stop telling neighbouring regions to expect a child ↵Justin Clark-Casey (justincc)1-1/+5
agent
2011-07-07Ensure that the max transfer distance is initialized correctly.Mic Bowman1-1/+7
2011-06-24Tell hypergridders when their teleports fail because of the 4096 limit ↵Justin Clark-Casey (justincc)2-11/+47
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.
2011-06-103rd way of reseting the HG Map. This time, don't use the grid service; ↵Diva Canto1-25/+0
instead keep track of which map blocks each client has seen in the region, and reset exactly those when the client closes.
2011-06-10New method for resetting the map on HG: do it only once upon changing grids, ↵Diva Canto1-0/+26
and reset only exactly the map blocks that had regions in them. WARNING: this fetches all the regions from the Grid service, so there is a chance that this is a really bad idea in large grids. Pushing it for testing.
2011-06-03oopsDiva Canto1-1/+1
2011-06-03HG Landmarks now working.Diva Canto2-1/+81
2011-05-27HG lures working! Friends can offer friends HG teleports via the profile. ↵Diva Canto1-1/+1
WARNING: additional configuration for HG inis -- see *Common.ini.example
2011-05-08Remove a spammy debug I left in. Disable TP cancel button at the pointMelanie1-1/+2
of no return.
2011-05-08Enable compressed (gzip) fatpack transfers.Melanie1-0/+1
2011-05-08Mantis #5472Diva Canto1-6/+15
2011-05-04Put the previous state back in the attachments in case the agent transfer fails.Diva Canto1-0/+4
2011-04-29Remove the scripts of the attachments in the departing region and recreate ↵Diva Canto1-2/+10
them if fail.
2011-04-28Fatpack message on agent transfers: 1 message only (UpdateAgent) containing ↵Diva Canto2-29/+37
the agent and all attachments. Preserves backwards compatibility -- older sims get passed attachments one by one. Meaning that I finally introduced versioning in the simulation service.
2011-03-09Add log messages on teleport failure to better pin down the cause.Justin Clark-Casey (justincc)1-3/+9
2011-02-22Parameterizes the view distance used to compute and manageMic Bowman2-13/+28
child agents in neighbor regions. This means you can extend the view on a simulator beyond the default 3x3 regions. This uses a region default draw distance and should be replaced at some point by the avatar specified draw distance. That will require more careful, dynamic recomputation of child agents every time the draw distance changes. WARNING: this is experimental and has known instabilities. specifically all regions "within site" should be running the same default draw distance or agents will not be closed correctly.
2011-02-16Change the QUERYACCESS method to eliminate spurious access denied messagesMelanie1-5/+5
2011-02-12Improved error message on TP failureDiva Canto1-1/+1
2011-02-04minor: Correct misspelling of neighbour in log messages.Justin Clark-Casey (justincc)1-1/+1
Thanks Fly-Man-
2011-01-28Fix up QueryAccess to also check parcelsMelanie1-1/+8
2011-01-28Fix bumping into sim borders and check estate bans for walking crossingsMelanie1-18/+69
2011-01-07Minor additional debug message.Diva Canto1-0/+2
2011-01-03Fix scoping for prim region crossingsMelanie1-1/+1
2010-12-09Normalized ALL URLs with trailing /'s hopefully. Fixed show hyperlinks ↵Diva Canto1-1/+1
command. mantis #5259
2010-12-05Fixed some inconsistency with trailing /. Made debug messages consistent. ↵Diva Canto2-6/+6
Changed the stored region names of HG regions. Increased the size of regionName in DB.
2010-11-27Refactor appearance and avatar data sending code. Paritioning the routines ↵Mic Bowman1-1/+3
into "one-to-many" and "many-to-one" makes it possible to call the right function on presence creation (both child and root) and when a child agent is promoted to root. This brings the total number of appearance sends down to one or two on login. Cleaned up the avatar update calls in the groups code. Cleaned up some commented and debugging code, and a few formating fixes.
2010-11-17minor: add some method commentsJustin Clark-Casey (justincc)1-2/+7
2010-11-08Call attachment cleanup when an agent crosses outMelanie Thielker1-0/+2