aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/IClientAPI.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-09-22Reinstate option to land an npc when it reaches a target.Justin Clark-Casey (justincc)1-1/+1
This is moved into ScenePresence for now as a general facility
2011-08-30refactor: migrate DropObject handling fully into AttachmentsModule from SceneJustin Clark-Casey (justincc)1-1/+1
2011-08-10early code to allow scripts to force npcs not to fly when moving to targetJustin Clark-Casey (justincc)1-1/+1
this is to allow walking on prims. it will be up to the script writer to be sure that there is a continuous path. currently implemented in osNpcMoveToTarget(), but none of this is final.
2011-08-09When an NPC is created, stop telling neighbouring regions to expect a child ↵Justin Clark-Casey (justincc)1-1/+1
agent
2011-08-03get rid of vestigal move to parametersJustin Clark-Casey (justincc)1-1/+1
2011-07-23Fix LLTextBox to work with the updated libOMVMelanie1-1/+1
2011-07-23Fix LLTextBox to work with the updated libOMVMelanie1-1/+1
2011-07-01Add an async inventory details sender to respond to FetchInventory packets.Justin Clark-Casey (justincc)1-1/+1
If a user with a very large inventory right-clicks on their "My Inventory" folder, viewer 1 code will send a massive number of Fetchinventory requests. Even though each is handled asynchronously via a pool thread, the sheer frequency of requests overwhelms the pool and freezes inbound packet handling. This change makes the first Fetchinventory thread also handle subsequent requests, freeing up the other threads. Further efficiencies could be made by handling all the items in a particular FetchInventory request together, rather than separately.
2011-06-03HG Landmarks now working.Diva Canto1-1/+1
2011-05-31Fill in the new OwnerData field in the LLUDP ScriptDialog message.Justin Clark-Casey (justincc)1-1/+13
If we don't do this then viewer 2.8 crashes. Resolves http://opensimulator.org/mantis/view.php?id=5510
2011-05-08The map is seriously broken. This doesn't fix it, but at least provides one ↵Diva Canto1-1/+1
more piece of data that seems to be required -- agent flags, which seem to be different in Viewer 2. WARNING: changes IClientAPI.
2011-04-19Requeue unacknowledged entity updates rather than resend then "as is".Dan Lake1-12/+47
Often, by the time the UDPServer realizes that an entity update packet has not been acknowledged, there is a newer update for the same entity already queued up or there is a higher priority update that should be sent first. This patch eliminates 1:1 packet resends for unacked entity update packets. Insteawd, unacked update packets are decomposed into the original entity updates and those updates are placed back into the priority queues based on their new priority but the original update timestamp. This will generally place them at the head of the line to be put back on the wire as a new outgoing packet but prevents the resend queue from filling up with multiple stale updates for the same entity. This new approach takes advantage of the UDP nature of the Linden protocol in that the intent of a reliable update packet is that if it goes unacknowledge, SOMETHING has to happen to get the update to the client. We are simply making sure that we are resending current object state rather than stale object state. Additionally, this patch includes a generalized callback mechanism so that any caller can specify their own method to call when a packet expires without being acknowledged. We use this mechanism to requeue update packets and otherwise use the UDPServer default method of just putting expired packets in the resend queue.
2011-04-18Requeue unacknowledged entity updates rather than resend then "as is".Dan Lake1-12/+47
Often, by the time the UDPServer realizes that an entity update packet has not been acknowledged, there is a newer update for the same entity already queued up or there is a higher priority update that should be sent first. This patch eliminates 1:1 packet resends for unacked entity update packets. Insteawd, unacked update packets are decomposed into the original entity updates and those updates are placed back into the priority queues based on their new priority but the original update timestamp. This will generally place them at the head of the line to be put back on the wire as a new outgoing packet but prevents the resend queue from filling up with multiple stale updates for the same entity. This new approach takes advantage of the UDP nature of the Linden protocol in that the intent of a reliable update packet is that if it goes unacknowledge, SOMETHING has to happen to get the update to the client. We are simply making sure that we are resending current object state rather than stale object state. Additionally, this patch includes a generalized callback mechanism so that any caller can specify their own method to call when a packet expires without being acknowledged. We use this mechanism to requeue update packets and otherwise use the UDPServer default method of just putting expired packets in the resend queue.
2011-04-17Correct the delegate for classified deletesMelanie1-1/+2
2011-04-13Fixed the update of items in the priority queue to enable bothMic Bowman1-0/+5
types of property updates to be specified. Not sure if one form of property update should supercede another. But for now the old OpenSim behavior is preserved by sending both.
2011-04-13First pass at moving object property requests into a queue similarMic Bowman1-18/+21
to the entity update queue. The number of property packets can become significant when selecting/deselecting large numbers of objects. This is experimental code.
2011-04-12Fixed the update of items in the priority queue to enable bothMic Bowman1-0/+5
types of property updates to be specified. Not sure if one form of property update should supercede another. But for now the old OpenSim behavior is preserved by sending both.
2011-04-12First pass at moving object property requests into a queue similarMic Bowman1-18/+21
to the entity update queue. The number of property packets can become significant when selecting/deselecting large numbers of objects. This is experimental code.
2011-04-12Fixed the update of items in the priority queue to enable bothMic Bowman1-0/+5
types of property updates to be specified. Not sure if one form of property update should supercede another. But for now the old OpenSim behavior is preserved by sending both.
2011-04-12First pass at moving object property requests into a queue similarMic Bowman1-18/+21
to the entity update queue. The number of property packets can become significant when selecting/deselecting large numbers of objects. This is experimental code.
2011-03-25Start using IPrimCounts populated by PrimCountModule instead of LandData ↵Justin Clark-Casey (justincc)1-1/+11
counts populated by LandManagementModule. In order to pass ILandObject into IClientAPI.SendLandProperties(), had to push ILandObject and IPrimCounts into OpenSim.Framework from OpenSim.Region.Framework.Interfaces, in order to avoid ci Counts are showing odd behaviour at the moment, this will be addressed shortly.
2010-12-30Implement SendPlacesReplyMelanie1-0/+19
2010-12-30Implement SendPlacesReplyMelanie1-0/+19
2010-12-24Change the mute list parts of the client interface so that all data is providedMelanie1-2/+2
to the module
2010-12-23* Re-Adding Scene TimeDilation to Object Update Packets.Teravus Ovares (Dan Olivares)1-1/+3
* Added Calculating Time Dilation in the OdePlubin * When multiple object updates are stuffed into one packet, average the time dilation between them as a compromise. * Time Dilation on the update is calculated when the EntityUpdate object is created. The pre-calc-ed TD is stored in the Entity update and used when it goes out on the wire. Previously, it was 1.0 all the time. The time dilation is tied to when the update is created, not when the update is sent.
2010-12-21* Adds AbortXfer to the ClientAPI mixTeravus Ovares (Dan Olivares)1-0/+2
* Adds an item that checks to see if the top request has been there for longer then 30 seconds without an update and sends an AbortXfer if it encounters one. This allows the client to cancel the Xfer on it's side so you can re-select the prim and get the inventory when it fails the first time. * Some interesting locking... Using NewFiles to lock the rest of them. We'll see how that goes. * The goal of this is to ensure that Xfers are restartable when they fail. The client will not do that on it's own.
2010-12-13Revamp the viewer -> banlist packet processing so fix a number of bugs.Melanie1-3/+4
Remove the too coarse CanEditParcel method in favor of a CanEditParcelProperties method that takes a GroupPowers argument to specify what action is to be taken. Also, make the method to set parcel data much more granular. Permissions in a deeded setting should now work.
2010-12-13Revamp the viewer -> banlist packet processing so fix a number of bugs.Melanie1-3/+4
Remove the too coarse CanEditParcel method in favor of a CanEditParcelProperties method that takes a GroupPowers argument to specify what action is to be taken. Also, make the method to set parcel data much more granular. Permissions in a deeded setting should now work.
2010-11-05Revert "Fix for hanging on "Connecting to region".. caused by packets being ↵Melanie1-1/+0
processed before the presence has bound to receive events. Fixed this by adding packets to a queue and then processing them when the presence is ready." This reverts commit 91b1d17e5bd3ff6ed006744bc529b53a67af1a64. Conflicts: OpenSim/Client/Sirikata/ClientStack/SirikataClientView.cs OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs OpenSim/Region/Framework/Scenes/ScenePresence.cs
2010-10-20Major refactoring of appearance handling.Master ScienceSim1-3/+3
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.
2010-10-08Make SendKillObject send multiple localIDs in one packet. This avoids theMelanie1-1/+1
halting visual behavior of large group deletes and eliminates the packet flood
2010-08-16Added SendTeleportProgress to IClientAPI. Ya know what that means... 8 files ↵Diva Canto1-0/+2
affected.
2010-08-16Work on TeleportStart: renamed method from TeleportLocationStart to ↵Diva Canto1-1/+1
TeleportStart, and now sending this upon all teleports, not just some, and in the right place (EntityTransferModule).
2010-08-06Implement CreateNewOutfitAttachments. This addresses mantis #199.Tom1-0/+4
2010-07-14Major attachments cleanup. Remove unused AttachObject ClientView methodMelanie1-1/+0
Clean up use of AttachObject throughout, reduce number of overloads and number of parameters
2010-07-14Remove useless quaternion parameter from AttachObject sigMelanie Thielker1-1/+1
2010-07-14Major attachments cleanup. Remove unused AttachObject ClientView methodMelanie Thielker1-1/+0
Clean up use of AttachObject throughout, reduce number of overloads and number of parameters
2010-07-14Remove useless quaternion parameter from AttachObject sigMelanie Thielker1-1/+1
2010-06-12Move "StopFlying()" into LLSpace. Try to reinstate the carefully crafted packetMelanie1-0/+2
we used to send before slimupdates and explicitly send it
2010-05-21Added overload of SendGenericMessage to LLClientView with string list as ↵Mikko Pallari1-0/+1
parameter. Now modules themselfs don't necessarily need to convert strings to byte arrays. Added this as it was removed in LightShare patch.
2010-05-21* Moving all of the prioritization/reprioritization code into a new file ↵John Hurliman1-12/+9
Prioritizer.cs * Simplified the interest management code to make it easier to add new policies. Prioritization and reprioritization share code paths now * Improved the distance and front back policies to always give your avatar the highest priority
2010-05-18Fix for hanging on "Connecting to region".. caused by packets being ↵Tom Grimshaw1-0/+1
processed before the presence has bound to receive events. Fixed this by adding packets to a queue and then processing them when the presence is ready.
2010-05-17Provide interface to prevent the client close function from sending the stop ↵Tom Grimshaw1-0/+1
packet
2010-05-17When killing a zombie session, don't send the stop packet since it often has ↵Tom Grimshaw1-0/+1
the effect of killing a newly connected client.
2010-05-12* Initial commit of the slimupdates2 rewrite. This pass maintains the ↵unknown1-217/+41
original behavior of avatar update sending and has a simplified set of IClientAPI methods for sending avatar/prim updates
2010-04-30Fix link security issueMelanie1-1/+1
2010-04-30Fix link security issueMelanie1-1/+1
2010-04-12thanks lkalif for Mantis #4676 - a patch that adds support for inventory linksdahlia1-0/+5
Signed-off-by: dahlia <dahliaTrimble@gmail.removeme.com>
2010-03-31Committing the LightShare code, which was developed by TomMeta of Meta7.Melanie1-1/+1
This allows scripts to set WindLight parameters for clients connecting to a region. Currently, this is only supported by the Meta7 viewer.
2010-03-09- parcel blocking, region crossing blocking, teleport blockingunknown1-0/+1
Signed-off-by: Melanie <melanie@t-data.com>