aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/ChildAgentDataUpdate.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Assume childreen don't need to know caps seedsUbitUmarov2014-10-201-0/+37
|
* try to fix propagation of seeds to all relevante regionsUbitUmarov2014-10-191-0/+38
|
* send motion control state in update to childs. Reset CollisionPlane onUbitUmarov2014-10-171-0/+9
| | | | makechild
* *test*UbitUmarov2014-09-091-0/+36
|
* remove duplication of textures, wearables and attachments on crossings.UbitUmarov2014-08-151-34/+49
| | | | receiver checks old method if it doesnt get packed appeareace
* add limites checks on wearables size, revert to max 15 forUbitUmarov2014-08-071-1/+6
| | | | compatibility/testing
* Merge branch 'master' into careminsterMelanie2013-08-071-0/+6
|\ | | | | | | | | | | | | Conflicts: OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs OpenSim/Region/Framework/Scenes/Scene.Inventory.cs OpenSim/Region/Framework/Scenes/Scene.cs
| * minor: add some method doc to ScenePresence fields used for entity transfer, ↵Justin Clark-Casey (justincc)2013-08-071-0/+6
| | | | | | | | | | | | add minor details to some log messages, rename a misleading local variable name. No functional changes.
* | Merge branch 'master' into careminsterMelanie2013-07-251-5/+6
|\ \ | |/ | | | | | | | | | | | | Conflicts: OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs OpenSim/Region/Framework/Scenes/Scene.cs OpenSim/Region/Framework/Scenes/ScenePresence.cs bin/OpenSimDefaults.ini
| * New Teleport protocol (V2), still compatible with V1 and older. (version of ↵Diva Canto2013-07-241-5/+6
| | | | | | | | | | | | | | | | the destination is being checked) In this new protocol, and as committed before, the viewer is not sent EnableSimulator/EstablishChildCommunication for the destination. Instead, it is sent TeleportFinish directly. TeleportFinish, in turn, makes the viewer send a UserCircuitCode packet followed by CompleteMovementIntoRegion packet. These 2 packets tend to occur one after the other almost immediately to the point that when CMIR arrives the client is not even connected yet and that packet is ignored (there might have been some race conditions here before); then the viewer sends CMIR again within 5-8 secs. But the delay between them may be higher in busier regions, which may lead to race conditions. This commit improves the process so there are are no race conditions at the destination. CompleteMovement (triggered by the viewer) waits until Update has been sent from the origin. Update, in turn, waits until there is a *root* scene presence -- so making sure CompleteMovement has run MakeRoot. In other words, there are two threadlets at the destination, one from the viewer and one from the origin region, waiting for each other to do the right thing. That makes it safe to close the agent at the origin upon return of the Update call without having to wait for callback, because we are absolutely sure that the viewer knows it is in th new region. Note also that in the V1 protocol, the destination was getting UseCircuitCode from the viewer twice -- once on EstablishAgentCommunication and then again on TeleportFinish. The second UCC was being ignored, but it shows how we were not following the expected steps...
* | Merge branch 'master' into careminsterMelanie2013-07-181-1/+2
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs OpenSim/Region/ClientStack/Linden/Caps/UploadBakedTextureModule.cs OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs OpenSim/Region/CoreModules/Framework/Caps/CapabilitiesModule.cs OpenSim/Region/CoreModules/Scripting/HttpRequest/ScriptsHttpRequests.cs OpenSim/Region/CoreModules/ServiceConnectorsOut/Simulation/LocalSimulationConnector.cs OpenSim/Region/Framework/Scenes/Scene.cs OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs OpenSim/Region/Framework/Scenes/SceneObjectPart.cs OpenSim/Region/Framework/Scenes/ScenePresence.cs OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/SensorRepeat.cs OpenSim/Server/Handlers/Simulation/AgentHandlers.cs OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs OpenSim/Services/HypergridService/UserAgentService.cs
| * Authenticate ChildAgentUpdate too.Diva Canto2013-07-141-1/+2
| |
* | Merge branch 'master' into careminsterMelanie2012-10-311-0/+18
|\ \ | |/ | | | | | | | | Conflicts: OpenSim/Framework/ChildAgentDataUpdate.cs OpenSim/Region/Framework/Scenes/ScenePresence.cs
| * Add AnimState to CADUMelanie2012-10-301-0/+36
| |
* | Fix teleporting from older to newer regionsMelanie2012-05-041-1/+8
| |
* | Add the default animation to the child agent data updateMelanie2012-05-041-0/+11
| |
* | Clear permissions given to the object we stand up fromMelanie2012-05-031-1/+6
| |
* | Implement region crossing of sitting avatars. Edit mode and llSetPos workMelanie2012-02-141-0/+11
|/ | | | | but unscripted default sit anim is lost. Still some Gfx glitching. Physical crossing doesn't work yet.
* Commented a couple of verbose debug messages.Diva Canto2011-12-161-1/+1
|
* Comment out ChildAgentDataUpdate.Pack() "Pack data" message for now.Justin Clark-Casey (justincc)2011-12-091-1/+1
|
* lock attachments when enumerating through them in ScenePresence.CopyTo().Justin Clark-Casey (justincc)2011-09-101-1/+0
| | | | May have some effect on http://opensimulator.org/mantis/view.php?id=5644
* In SetAttachment, if the existing attachment has no asset id then carry on ↵Justin Clark-Casey (justincc)2011-09-061-0/+1
| | | | | | | | | | | rather than abort. When a user logs in, the attachment item ids are pulled from persistence in the Avatars table. However, the asset ids are not saved. When the avatar enters a simulator the attachments are set again. If we simply perform an item check then the asset ids (which are now present) are never set, and NPC attachments later fail unless the attachment is detached and reattached. Hopefully resolves part of http://opensimulator.org/mantis/view.php?id=5653
* Get rid of AvatarAppearance.Owner to simplify the code.Justin Clark-Casey (justincc)2011-08-021-2/+2
| | | | This is not used for anything - appearances are always properties of objects with ids (ScenePresence, AgentCircuitData) and just has the potential to get out of sync when the appearance is cloned.
* minor: remove mono compiler warningsJustin Clark-Casey (justincc)2011-05-061-1/+1
|
* Removed XXX Debug. Increased ReadWriteTimeout on ServiceOSDRequest, because ↵Diva Canto2011-04-301-1/+0
| | | | it was _way_ too low and is probably making writes abort in the middle.
* XXX DEBUGGING!Diva Canto2011-04-301-1/+2
|
* Fatpack message on agent transfers: 1 message only (UpdateAgent) containing ↵Diva Canto2011-04-281-5/+52
| | | | 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.
* Refactor appearance and avatar data sending code. Paritioning the routines ↵Mic Bowman2010-11-271-8/+2
| | | | | | | 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.
* Formatting cleanup.Jeff Ames2010-11-081-3/+3
|
* READ CAREFULLY!!! This is a BROKEN commit. It is UNTESTED and INCOMPLETE.Melanie2010-10-301-6/+4
| | | | | | | | | It contains a major interface version bump and will NOT work with earlier grid services. This is preliminary work that will lead to layers support. Rest appearance services are commented out completely, they will have to be adapted by someone who actually uses them. Remote admin is working, but has no layers support. There is no layers support in the database. Login likely won't work. You have been warned.
* Small cleanup and add more debugging informationMaster ScienceSim2010-10-261-6/+21
|
* Half of the compatibility is working. Login into a new region withMaster ScienceSim2010-10-251-11/+22
| | | | | | old data works. Teleport out of a new region with old data works. Teleport into a new region with old data does not trigger the necessary rebake.
* Intermediate commit for backward compatability; does not compile yetMic Bowman2010-10-251-29/+41
|
* Major refactoring of appearance handling.Master ScienceSim2010-10-201-49/+21
| | | | | | | | | | | | | | | | | | | AvatarService -- add two new methods, GetAppearance and SetAppearance to get around the lossy encoding in AvatarData. Preseve the old functions to avoid changing the behavior for ROBUST services. AvatarAppearance -- major refactor, moved the various encoding methods used by AgentCircuitData, ClientAgentUpdate and ScenePresence into one location. Changed initialization. AvatarAttachments -- added a class specifically to handle attachments in preparation for additional functionality that will be needed for viewer 2. AvatarFactory -- removed a number of unused or methods duplicated in other locations. Moved in all appearance event handling from ScenePresence. Required a change to IClientAPI that propogated throughout all the IClientAPI implementations.
* * Fixed and re-enabled CacheTestsTeravus Ovares (Dan Olivares)2010-09-171-2/+2
| | | | | * Added MundaneFrameworkTests.cs for the really mundane tests like testing properties,constructors, etc in OpenSim.Framework. * Fixed LeftAxis and UpAxis unpacking from OSD to AgentPosition (copy and paste error caught while writing mundane test) (Good thing nobody uses the camera frustum from remote regions yet)
* Add scripted controllers into agent intersim messagingMelanie Thielker2010-07-111-0/+65
|
* Removing the sLLVector3 dinosaurJohn Hurliman2010-03-031-7/+6
|
* Fixed more appearance woes that showed up using remote connectors. ↵Diva Canto2010-01-121-1/+6
| | | | Appearance is now being passed with AgentCircuitData, as it should be.
* * Finished SimulationServiceConnectorDiva Canto2010-01-071-5/+5
| | | | | * Started rerouting calls to UserService. * Compiles. May run.
* Making attachments work again. Tons of debug more. This needs more testing ↵Diva Canto2009-08-161-1/+63
| | | | and a lot of cleaning.
* Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames2009-06-011-1/+1
| | | | LICENSE.txt.
* Refactoring, no functional changes. Moved ChildAgentDataUpdate data ↵diva2009-04-011-125/+68
| | | | structures from OpenSim.Region.Framework.Scenes back to OpenSim.Framework, so they can be referenced more broadly. This involved having to move the small Animation data structure to OpenSim.Framework too.
* Mantis#3218. Thank you kindly, TLaukkan (Tommil) for a patch that:Charles Krinke2009-02-221-4/+4
| | | | | | | | | * Added log4net dependency to physxplugin in prebuild.xml. * Added missing m_log fields to classes. * Replaced Console.WriteLine with appropriate m_log.Xxxx * Tested that nant test target runs succesfully. * Tested that local opensim sandbox starts up without errors.
* Adds support for preserving animations on region crossings and TPs. diva2009-02-181-28/+30
| | | | | | | Known issue: after TP, the self client doesn't see the animations going, but others can see them. So there's a bug there (TPs only, crossings seem to be all fine). Untested: did not test animation overriders; only tested playing animations from the viewer.
* * optimized usings.lbsa712009-02-121-11/+7
|
* Split agent updates into two messages: full update and position+camera ↵diva2009-01-031-5/+23
| | | | update. They're both sent over HTTP PUT. The full update is sent on TPs, for now; later it will also be sent on region crossings.
* Some plumbing for additional agent update messages. Not used yet. Removed ↵diva2009-01-031-14/+236
| | | | the compilation warnings on this file, and completed the packing/unpacking of AgentData (VisualParams, Anims and Groups).
* Major changes in interregion communications. This breaks compatibility with ↵diva2009-01-011-0/+7
| | | | | | | | | older versions, and may result is all sorts of weirdnesses when interacting with sims in older versions. Changes: - Introducing synchronous Teleports. Now the receiving region calls back the sending region after the client has been made a root agent there, that is, after client sends CompleteMovement to the destination. - SendCloseAgent moved from OGS1 Remoting to RESTComms.
* Removing unnecessary null checks on structs in AgentsData pack/unpack.diva2008-12-301-43/+21
|
* Merged the InterregionData that Melanie had placed there onto the existing ↵diva2008-12-291-0/+312
| | | | ChildAgentDataUpdate. This commit involves a change in prebuild.xml, because ChildAgentDataUpdate uses OpenMetaverse.StructuredData. Still no use of this data structure, though. Crossing my fingers that this partial commit will compile ok...