aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* refactor: Rename Scene.AddNewClient() to AddNewAgent() to make it obvious in ↵Justin Clark-Casey (justincc)2013-09-271-1/+1
| | | | the code that this is symmetric with CloseAgent()
* minor: remove mono compiler warning from LLClientViewJustin Clark-Casey (justincc)2013-08-231-4/+0
|
* Don't allow users to attempt to sit on objects in a child region without ↵Justin Clark-Casey (justincc)2013-08-211-0/+20
| | | | | | | going to that region first. If this is attempted, they get a "Try moving closer. Can't sit on object because it is not in the same region as you." message instead, which is the same as current ll grid. Sitting on ground is okay, since viewer navigates avatar to required region first before sitting.
* Merge branch 'TeleportWork'Justin Clark-Casey (justincc)2013-08-091-0/+6
|\
| * Fix an issue where under teleport v2 protocol, teleporting from regions in ↵Justin Clark-Casey (justincc)2013-08-081-0/+6
| | | | | | | | | | | | | | | | | | | | an line from A->B->C would not close region A when reaching C The root cause was that v2 was only closing neighbour agents if the root connection also needed a close. However, fixing this requires the neighbour regions also detect when they should not close due to re-teleports re-establishing the child connection. This involves restructuring the code to introduce a scene presence state machine that can serialize the different add and remove client calls that are now possible with the late close of the This commit appears to fix these issues and improve teleport, but still has holes on at least quick reteleporting (and possibly occasionally on ordinary teleports). Also, has not been completely tested yet in scenarios where regions are running on different simulators
* | * This makes in-world terrain editing smoother, even in MegaRegions. This ↵teravus2013-08-071-3/+30
|/ | | | change only affects the editing user's experience. Non-editing users will see nothing different from the current 'slow' result. See comments for the thought process and how the issues surrounding terrain editing, cache, bandwidth, threading, terrain patch reliability and throttling were balanced.
* Changed the RegionHandshake packet to the Unknown queue, so that it is sent ↵Diva Canto2013-07-241-1/+1
| | | | with high priority and hopefully gets to the client before AgentMovementComplete
* Added check for user movement specification before discarding an incomingRobert Adams2013-07-221-41/+40
| | | | | | AgentUpdate packet. This fixes the problem with vehicles not moving forward after the first up-arrow. Code to fix a potential exception when using different IClientAPIs.
* Minor cosmetic changes.Diva Canto2013-07-211-27/+23
|
* The quaternion delta was a bit to high, now that the head rotation is out of ↵Diva Canto2013-07-211-1/+1
| | | | the equation. (head rotation was the problematic one)
* EDIT BEAMS!!! They had been missing from OpenSim since ever. Thanks to ↵Diva Canto2013-07-211-23/+4
| | | | lkalif for telling me how to route the information. The viewer effect is under the distance filter, so only avatars with cameras < 10m away see the beams.
* A couple of small optimizations over the previous commitDiva Canto2013-07-211-8/+10
|
* Manage AgentUpdates more sanely:Diva Canto2013-07-211-106/+108
| | | | | | - The existing event to scene has been split into 2: OnAgentUpdate and OnAgentCameraUpdate, to better reflect the two types of updates that the viewer sends. We can run one without the other, which is what happens when the avie is still but the user is camming around - Added thresholds (as opposed to equality) to determine whether the update is significant or not. I thin these thresholds are ok, but we can play with them later - Ignore updates of HeadRotation, which were problematic and aren't being used up stream
* Fixed the stats in show client stats. Also left some comments with ↵Diva Canto2013-07-211-5/+13
| | | | observations about AgentUpdates.
* furhter shorten CheckAgentUpdateSignificance(). No real perf impact.Justin Clark-Casey (justincc)2013-07-211-7/+5
|
* Remove some pointless code in CheckAgentUpdateSignificance()Justin Clark-Casey (justincc)2013-07-211-30/+20
|
* Make the check as to whether any particular inbound AgentUpdate packet is ↵Justin Clark-Casey (justincc)2013-07-211-56/+114
| | | | | | significant much earlier in UDP processing (i.e. before we pointlessly place such packets on internal queues, etc.) Appears to have some impact on cpu but needs testing.
* Add measure of number of inbound AgentUpdates that were seen as significant ↵Justin Clark-Casey (justincc)2013-07-211-0/+3
| | | | | | | | | to "show client stats" (i.e. sent on for further processing instead of being discarded) Added here since it was the most convenient place Number is in the last column, "Sig. AgentUpdates" along with percentage of all AgentUpdates Percentage largely falls over time, most cpu for processing AgentUpdates may be in UDP processing as turning this off even earlier (with "debug lludp toggle agentupdate" results in a big cpu fall Also tidies up display.
* Do some simple queue empty checks in the main outgoing udp loop instead of ↵Justin Clark-Casey (justincc)2013-07-211-0/+28
| | | | | | | always performing these on a separate fired thread. This appears to improve cpu usage since launching a new thread is more expensive than performing a small amount of inline logic. However, needs testing at scale.
* try Hacking in an AutoResetEvent to control the outgoing UDP loop instead of ↵Justin Clark-Casey (justincc)2013-07-181-0/+20
| | | | | | a continuous loop with sleeps. Does appear to have a cpu impact but may need further tweaking
* Switched UUIDNameRequest and RegionHandleRequest to Sync, because now they ↵Diva Canto2013-07-111-2/+2
| | | | are also non-blocking handlers.
* Switched TransferRequest (UDP packet handler) to sync. The permissions ↵Diva Canto2013-07-111-99/+115
| | | | checks may block, so they get a FireAndForget. Everything else is non-blocking.
* Switched RegionHandshakeReply to Sync, because it's not doing anything blocking.Diva Canto2013-07-101-1/+1
|
* EXPERIMENTAL: make RequestImage (UDP packet handler) sync instead of async. ↵Diva Canto2013-07-101-1/+1
| | | | This _shouldn't_ screw things up, given that all this does is to dump the request in a queue.
* Added show client-stats [first last] command to expose what viewers are ↵Diva Canto2013-07-101-1/+17
| | | | requesting.
* Handle UUIDNameRequest UDP packet processing async instead of within the ↵Justin Clark-Casey (justincc)2013-07-091-1/+1
| | | | | | main inbound UDP processing loop, to avoid any chance that this is delaying the main udp in loop. The potential impact of this should be lower now that these requests are being placed on a queue.
* minor: Comment out debug logging (at warn level) about number of objects ↵Justin Clark-Casey (justincc)2013-06-071-1/+1
| | | | force selected and turn down to debug level
* Update the money framework to allow sending the new style linden "serverside ↵Melanie2013-05-251-16/+14
| | | | | | is now viewerside" messages regarding currency This will require all money modules to be refactored!
* This is an experimental patch that adds support for comparing textureMic Bowman2013-05-241-5/+22
| | | | | | | | | | hashes for the purpose of accurately responding to AgentTextureCached packets. There is a change to IClientAPI to report the wearbles hashes that come in through the SetAppearance packet. Added storage of the texture hashes in the appearance. While these are added to the Pack/Unpack (with support for missing values) routines (which means Simian will store them properly), they are not currently persisted in Robust.
* remove pointless region handle paramter from IClientAPI.SendKillObject()Justin Clark-Casey (justincc)2013-05-091-3/+2
|
* Adds an event and a method so that handling of the CachedTextureMic Bowman2013-05-081-15/+43
| | | | | | | | | | | | packet can be pulled out of LLClientView and moved to AvatarFactory. The first pass at reusing textures (turned off by default) is included. When reusing textures, if the baked textures from a previous login are still in the asset service (which generally means that they are in the simulator's cache) then the avatar will not need to rebake. This is both a performance improvement (specifically that an avatars baked textures do not need to be sent to other users who have the old textures cached) and a resource improvement (don't have to deal with duplicate bakes in the asset service cache).
* Change EconomyDataRequest signature to use an IClientAPI rather than UUID. ↵Melanie2013-04-251-1/+1
| | | | | | This is needed because recent LL viewer codebases call this earlier in login when the client is not yet established in the sim and can't be found by UUID. Sending the reply requires having the IClientAPI.
* Allow callers to set the invoice parameter for GenericMessageMelanie2013-04-221-2/+12
|
* amend previous commit, a line was left outdahlia2013-04-171-0/+1
|
* Thanks lkalif for a fix to SendRegionHandshake() which fixes a potential ↵dahlia2013-04-171-2/+6
| | | | crash with Server-side baking enabled viewers
* Phase 1 of implementing a transfer permission. Overwrite libOMV's PermissionMaskMelanie2013-03-261-3/+5
| | | | with our own and add export permissions as well as a new definition for "All" as meaning "all conventional permissions" rather than "all possible permissions"
* minor: Remove mono compiler warning in LLClientViewJustin Clark-Casey (justincc)2013-03-131-1/+1
|
* * Just another one of those new packet blocks causing a null ref. ↵teravus2013-03-071-1/+1
| | | | Defaulting to zero length array.....
* * Update LibOMV to f8f8e616b37a7ea22b7922b2331999bc06725bf9teravus2013-03-041-2/+4
| | | | * Add zero length blocks to the new packet blocks to remain compatible with older viewers and avoid a NullRef when _packets_.cs calls the Length parameter.. which adds up the Length property all of the blocks.
* Add a method to IStatsCollector for returning stats as an OSDMap.Robert Adams2013-02-201-0/+5
| | | | | | Extend implementors of IStatsCollector to return an OSDMap of stats. Update UserStatsCollector and AssetStatsCollector to return both string and OSDMap data (as well as console format).
* Fix shape parameters sent for meshes tosupport the full number of facesMelanie2013-02-161-0/+8
|
* Plumb the path from the client to the extra physics params and backMelanie2013-02-071-4/+55
|
* * Adds a satisfying angular roll when an avatar is flying and turning. ↵teravus2013-01-301-1/+1
| | | | (General, not physics). Makes flying not feel as stiff.
* Merge branch 'master' of melanie@opensimulator.org:/var/git/opensimMelanie2013-01-161-12/+3
|\
| * move resit fix to ScenePresence.cs and allow for requesting sit on objects ↵dahlia2013-01-141-12/+3
| | | | | | | | other than the object currently sat on
* | Complete removal of the now unused state queueMelanie2013-01-161-1/+1
|/
* add some sanity checking to HandleAgentRequestSit handlerdahlia2013-01-101-2/+12
|
* minor: add some more detail to the logging if an LLClientView fails to ↵Justin Clark-Casey (justincc)2012-12-131-2/+4
| | | | process a packet
* Handle Map block requests on a separate thread rather than the main packet ↵Justin Clark-Casey (justincc)2012-11-151-1/+1
| | | | | | | handling thread. This prevents a slow grid information network call from holding up the main packet handling thread. There's no obvious race condition reason for not doing this asynchronously.
* Do HandleMapLayerRequest on its own thread rather than on the main inbound ↵Justin Clark-Casey (justincc)2012-11-151-1/+1
| | | | | | udp packet handling thread. There's no obvious race condition reason for doing this on the main packet handling thread.