aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/IClientAPI.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* early code to allow scripts to force npcs not to fly when moving to targetJustin Clark-Casey (justincc)2011-08-101-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.
* When an NPC is created, stop telling neighbouring regions to expect a child ↵Justin Clark-Casey (justincc)2011-08-091-1/+1
| | | | agent
* get rid of vestigal move to parametersJustin Clark-Casey (justincc)2011-08-031-1/+1
|
* Fix LLTextBox to work with the updated libOMVMelanie2011-07-231-1/+1
|
* Add an async inventory details sender to respond to FetchInventory packets.Justin Clark-Casey (justincc)2011-07-011-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.
* HG Landmarks now working.Diva Canto2011-06-031-1/+1
|
* Fill in the new OwnerData field in the LLUDP ScriptDialog message.Justin Clark-Casey (justincc)2011-05-311-1/+13
| | | | | If we don't do this then viewer 2.8 crashes. Resolves http://opensimulator.org/mantis/view.php?id=5510
* The map is seriously broken. This doesn't fix it, but at least provides one ↵Diva Canto2011-05-081-1/+1
| | | | more piece of data that seems to be required -- agent flags, which seem to be different in Viewer 2. WARNING: changes IClientAPI.
* Requeue unacknowledged entity updates rather than resend then "as is".Dan Lake2011-04-191-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.
* Fixed the update of items in the priority queue to enable bothMic Bowman2011-04-121-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.
* First pass at moving object property requests into a queue similarMic Bowman2011-04-121-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.
* Start using IPrimCounts populated by PrimCountModule instead of LandData ↵Justin Clark-Casey (justincc)2011-03-251-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.
* Implement SendPlacesReplyMelanie2010-12-301-0/+19
|
* * Re-Adding Scene TimeDilation to Object Update Packets.Teravus Ovares (Dan Olivares)2010-12-231-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.
* * Adds AbortXfer to the ClientAPI mixTeravus Ovares (Dan Olivares)2010-12-211-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.
* Revamp the viewer -> banlist packet processing so fix a number of bugs.Melanie2010-12-131-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.
* Major refactoring of appearance handling.Master ScienceSim2010-10-201-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.
* Added SendTeleportProgress to IClientAPI. Ya know what that means... 8 files ↵Diva Canto2010-08-161-0/+2
| | | | affected.
* Work on TeleportStart: renamed method from TeleportLocationStart to ↵Diva Canto2010-08-161-1/+1
| | | | TeleportStart, and now sending this upon all teleports, not just some, and in the right place (EntityTransferModule).
* Major attachments cleanup. Remove unused AttachObject ClientView methodMelanie2010-07-141-1/+0
| | | | | Clean up use of AttachObject throughout, reduce number of overloads and number of parameters
* Remove useless quaternion parameter from AttachObject sigMelanie Thielker2010-07-141-1/+1
|
* Move "StopFlying()" into LLSpace. Try to reinstate the carefully crafted packetMelanie2010-06-121-0/+2
| | | | we used to send before slimupdates and explicitly send it
* Added overload of SendGenericMessage to LLClientView with string list as ↵Mikko Pallari2010-05-211-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.
* * Moving all of the prioritization/reprioritization code into a new file ↵John Hurliman2010-05-211-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
* * Initial commit of the slimupdates2 rewrite. This pass maintains the ↵unknown2010-05-121-217/+41
| | | | original behavior of avatar update sending and has a simplified set of IClientAPI methods for sending avatar/prim updates
* Fix link security issueMelanie2010-04-301-1/+1
|
* thanks lkalif for Mantis #4676 - a patch that adds support for inventory linksdahlia2010-04-121-0/+5
| | | | Signed-off-by: dahlia <dahliaTrimble@gmail.removeme.com>
* Committing the LightShare code, which was developed by TomMeta of Meta7.Melanie2010-03-311-1/+1
| | | | | This allows scripts to set WindLight parameters for clients connecting to a region. Currently, this is only supported by the Meta7 viewer.
* - parcel blocking, region crossing blocking, teleport blockingunknown2010-03-091-0/+1
| | | | Signed-off-by: Melanie <melanie@t-data.com>
* - supporting llTextBoxunknown2010-03-061-0/+1
| | | | Signed-off-by: Melanie <melanie@t-data.com>
* Change the signature of SendChangeUserRights, because we have to sendMelanie2010-02-281-1/+1
| | | | this to both parties
* Add missing ChangeUserRights packet senderMelanie2010-02-281-0/+1
|
* Initial Online friends notification seems to be working reliably now. All ↵Diva Canto2010-02-281-1/+3
| | | | this needs more testing, but everything is there.
* Merge branch 'master' into presence-refactorMelanie2010-02-151-2/+6
|\
| * Revolution is on the roll again! :)Revolution2010-02-141-2/+6
| | | | | | | | | | | | | | | | Fixes: Undo, T-pose of others on login, modifiedBulletX works again, feet now stand on the ground instead of in the ground, adds checks to CombatModule. Adds: Redo, Land Undo, checks to agentUpdate (so one can not fall off of a region), more vehicle parts. Finishes almost all of LSL (1 function left, 2 events). Direct flames and kudos to Revolution, please Signed-off-by: Melanie <melanie@t-data.com>
| * * a few more endlines..Teravus Ovares (Dan Olivares)2010-01-261-4/+4
| |
* | * HGGridConnector is no longer necessary.Diva Canto2010-01-291-4/+9
|/ | | | * Handle logout properly. This needed an addition to IClientAPI, because of how the logout packet is currently being handled -- the agent is being removed from the scene before the different event handlers are executed, which is broken.
* Add functionality to estate "Allowed Users" and "Allowed Groups". Allowed usersMelanie2010-01-091-1/+1
| | | | | will be honored now, while allowed groups will not. This requires additional groups module integration work
* Adds IClientAPI voids for GroupProposals.Revolution2010-01-081-1/+6
| | | | Signed-off-by: Melanie <melanie@t-data.com>
* Fixes the newly added packets as per Melanie's request.Revolution2010-01-071-11/+11
| | | | | | Provisionally applied to fix the naming. Signatures are still subject to change. Signed-off-by: Melanie <melanie@t-data.com>
* Formatting cleanup. Add copyright headers.Jeff Ames2010-01-041-1/+1
|
* Whitespace cleanup (changed hard tabs to 4 spaces)Melanie2009-12-311-61/+61
|
* Adds tons of packets.Revolution2009-12-311-0/+68
| | | | | | Applied with change: Changed spelling to Summary (from Summery) Signed-off-by: Melanie <melanie@t-data.com>
* Add AvatarInterestsReplyMelanie2009-12-261-0/+2
|
* * Removing the redundant SendPrimitiveTerseData.State field, it duplicates ↵John Hurliman2009-11-091-3/+1
| | | | | | AttachPoint * LLClientView.CreateImprovedTerseBlock() now uses AttachPoint and does the proper high-low swap (this should fix disappearing attachment pieces)
* Patch by revolution, thank you. Mantis #1789 . Implement friends permissions.Melanie2009-11-051-0/+2
| | | | | Applied with major changes. Core functionality commented pending review for possible rights escalation. No user functionality yet.
* Backport the fixes to WebFetchInventoryDescendents to the UDPMelanie2009-11-041-1/+1
| | | | | | | InventoryDescendents packet. Testing has shown that UDP inventory now works flawlessly and, unlike CAPS inventory, doesn't download the entire agent inventory on start. Neither does it incessantly re-request folder NULL_KEY. Therefore, I have disabled CAPS inventory.
* * Rewrote the methods that build ObjectUpdate and ImprovedTerseObjectUpdate ↵John Hurliman2009-10-181-105/+81
| | | | | | | | | | packets to fill in the data more accurately and avoid allocating memory that is immediately thrown away * Changed the Send*Data structs in IClientAPI to use public readonly members instead of private members and getters * Made Parallel.ProcessorCount public * Started switching over packet building methods in LLClientView to use Util.StringToBytes[256/1024]() instead of Utils.StringToBytes() * More cleanup of the ScenePresences vs. ClientManager nightmare * ScenePresence.HandleAgentUpdate() will now time out and drop incoming AgentUpdate packets after three seconds. This fixes a deadlock on m_AgentUpdates that was blocking up the LLUDP server
* * Big performance increase in loading prims from the region database with MySQLJohn Hurliman2009-10-181-0/+2
| | | | | | * Handle the AgentFOV packet * Bypass queuing and throttles for ping checks to make ping times more closely match network latency * Only track reliable bytes in LLUDPCLient.BytesSinceLastACK
* Committing the second part of Jim Greensky @ Intel Lab's patch, ↵John Hurliman2009-10-171-0/+27
| | | | re-prioritizing updates