aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/Agent (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-01-24minor: remove long unused state queue from "show queues" console reportsJustin Clark-Casey (justincc)1-5/+3
2014-01-24minor: correct the usage statement on the "show image queues" console ↵Justin Clark-Casey (justincc)1-1/+1
command - should not have been "image queues show"
2014-01-24Skip IClientAPIs that don't implement IStatsCollector (such as NPCAvatar) ↵Justin Clark-Casey (justincc)1-15/+15
from the "show queues" console report to stop screwing up formatting. "show pquques" already did this
2013-09-27refactor: Rename Scene.AddNewClient() to AddNewAgent() to make it obvious in ↵Justin Clark-Casey (justincc)1-1/+1
the code that this is symmetric with CloseAgent()
2013-09-04Stop "show client stats" from throwing an exception if somehow ↵Justin Clark-Casey (justincc)1-1/+8
Scene.m_clientManager still retains a reference to a dead client. Instead, "show client stats" now prints "Off!" so that exception is not thrown and we know which entries in ClientManager are in this state. There's a race condition which could trigger this, but the window is extremely short and exceptions would not be thrown consistently (which is the behaviour observed). It should otherwise be impossible for this condition to occur, so there may be a weakness in client manager IClientAPI removal.
2013-07-21EDIT BEAMS!!! They had been missing from OpenSim since ever. Thanks to ↵Diva Canto1-1/+1
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.
2013-07-21Manage AgentUpdates more sanely:Diva Canto1-0/+1
- 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
2013-07-21Fixed the stats in show client stats. Also left some comments with ↵Diva Canto1-4/+4
observations about AgentUpdates.
2013-07-21Make the check as to whether any particular inbound AgentUpdate packet is ↵Justin Clark-Casey (justincc)1-2/+2
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.
2013-07-21Add measure of number of inbound AgentUpdates that were seen as significant ↵Justin Clark-Casey (justincc)1-3/+9
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.
2013-07-10show client stats: Fixed the requests/min. Also changed the spelling of the ↵Diva Canto1-21/+22
command, not without the dash.
2013-07-10Added show client-stats [first last] command to expose what viewers are ↵Diva Canto1-2/+107
requesting.
2013-05-25Update the money framework to allow sending the new style linden "serverside ↵Melanie1-6/+1
is now viewerside" messages regarding currency This will require all money modules to be refactored!
2013-05-24This is an experimental patch that adds support for comparing textureMic Bowman1-1/+1
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.
2013-05-09remove pointless region handle paramter from IClientAPI.SendKillObject()Justin Clark-Casey (justincc)1-1/+1
2013-05-08Adds an event and a method so that handling of the CachedTextureMic Bowman1-0/+6
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).
2013-04-22Allow callers to set the invoice parameter for GenericMessageMelanie1-2/+2
2013-02-07Plumb the path from the client to the extra physics params and backMelanie1-0/+5
2012-11-13All optional modules' directives moved out of addin.xmlDiva Canto1-1/+1
2012-11-11One more module converted: IRCStackModule.Diva Canto1-19/+35
2012-10-25Fix script error messages not showing up in viewer 3 and associated viewers.Justin Clark-Casey (justincc)1-1/+2
Viewer 3 will discard such a message if the chat message owner does not match the avatar. We were filling the ownerID with the primID, so this never matched, hence viewer 3 did not see any script error messages. This commit fills the ownerID in with the prim ownerID so the script owner will receive script error messages. This does not affect viewer 1 and associated viewers which continue to process script errors as normal.
2012-08-20Add --force flag to "kick user" console command to allow bypassing of recent ↵Justin Clark-Casey (justincc)1-0/+5
race condition checks. This is to allow a second attempt to remove an avatar even if "show connections" shows them as already inactive (i.e. close has already been attempted once). You should only attempt --force if a normal kick fails. This is partly for diagnostics as we have seen some connections occasionally remain on lbsa plaza even if they are registered as inactive. This is not a permanent solution and may not work anyway - the ultimate solution is to stop this problem from happening in the first place.
2012-07-25Move Watchdog and MemoryWatchdog classes into OpenSim.Framework.Monitoring ↵Justin Clark-Casey (justincc)2-0/+2
with other monitoring code from OpenSim.Framework
2012-07-25Rename OpenSim.Framework.Statistics to OpenSim.Framework.Monitoring.Justin Clark-Casey (justincc)1-1/+1
This better reflects the long-term purpose of that project and matches Monitoring modules.
2012-07-24Rename "image queues clear" console command to "clear image queues"Justin Clark-Casey (justincc)1-12/+6
There is less justification for this word arrangement (verb after noun) now that command help is categorized. Also removes "image queues show" in favour of existing alias "show image queues".
2012-07-24Add information about each column to "show queues" region console command help.Justin Clark-Casey (justincc)1-2/+9
2012-07-24Extend region console "show queues" command to show already collected time ↵Justin Clark-Casey (justincc)1-18/+24
since last packeted received by the simulator from a viewer.
2012-07-12Remove IClientIPEndpoint client interface for now.Justin Clark-Casey (justincc)1-10/+1
This may well come back in the future when this subinterface is actually used but it currently isn't and I feel the name was poor. Everything uses IClientAPI.RemoveEndPoint which also returned the full endpoint rather than just the ip address.
2012-07-12Remove IClientAPI.GetClientEP() in favour of existing identical ↵Justin Clark-Casey (justincc)1-5/+0
IClientAPI.RemoteEndpoint.
2012-06-13Remove long obsolete and unused IClientAPI.KillEndDone()Justin Clark-Casey (justincc)1-5/+0
2012-03-29Add back parts of reverted changes that were not concerned with child agent ↵Justin Clark-Casey (justincc)1-2/+2
caching. This adds ScenePresence to IClientAPI.SceneAgent earlier on in the add client process so that its information is available to EventManager.OnNewClient() and OnClientLogin() Also add a code comment as to why we're caching friend information for child agents.
2012-03-29Revert "Simplify friends caching by only doing this for root agents - no ↵Justin Clark-Casey (justincc)1-2/+2
functions require caching for child agents." We need to cache child agents so that friends object edit/delete permissions will work across boarders on regions hosted by different simulators. This reverts commit d9f7b8549b3cb9699eb8bd54242d31aac0f8241a.
2012-03-28Simplify friends caching by only doing this for root agents - no functions ↵Justin Clark-Casey (justincc)1-2/+2
require caching for child agents. This allows us to avoid unnecessary multiple calls to the friends service. All friends functions originate from the root agent and only go to other root agents in existing code. This also allows us to eliminate complex ref counting.
2012-03-21Instead of loading default avatar animations in both SLUtil and ↵Justin Clark-Casey (justincc)1-5/+0
AvatarAnimations, load just in AvatarAnimations instead. This lets us remove the dependency of OpenSim.Framework.dll on data/avataranimations.xml, which is not necessary for ROBUST. This commit also takes care of the odd situation where animations are stored and used internally with uppercase names (e.g. "STAND") but scripts refer to them with lowercase names (e.g. "sit").
2012-03-08Change "help" to display categories/module list then "help ↵Justin Clark-Casey (justincc)2-8/+8
<category/module>" to display commands in a category. This is to deal with the hundred lines of command splurge when one previously typed "help" Modelled somewhat on the mysql console One can still type help <command> to get per command help at any point. Categories capitalized to avoid conflict with the all-lowercase commands (except for commander system, as of yet). Does not affect command parsing or any other aspects of the console apart from the help system. Backwards compatible with existing modules.
2012-02-24Stop spurious scene loop startup timeout alarms for scenes with many prims.Justin Clark-Casey (justincc)2-2/+2
On the first frame, all startup scene objects are added to the physics scene. This can cause a considerable delay, so we don't start raising the alarm on scene loop timeouts until the second frame. This commit also slightly changes the behaviour of timeout reporting. Previously, a report was made for the very first timed out thread, ignoring all others until the next watchdog check. Instead, we now report every timed out thread, though we still only do this once no matter how long the timeout.
2012-02-03Fix: Covenant changed time not set ↵PixelTomsen1-1/+1
http://opensimulator.org/mantis/view.php?id=5869 Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2012-02-02Replace ParcelAccessEntry with a new struct, LandAccessEntry, which moreMelanie1-1/+1
accurately reflects the data sent by the viewer. Add times bans and the expiration of timed bans. Warning: Contains a Migration (and nuts)
2012-01-24minor: correct text and usage for "image queues show" reigon console command.Justin Clark-Casey (justincc)1-2/+2
2012-01-20Telehub Support:BlueWall1-0/+6
Support for viewer side of telehub management. Can manupulate Telehubs and SpawnPoints from the viewer estate managemnt tools. This is a work in progress and does not yet persist or affect teleport routing.
2012-01-19Add "image queues clear <first-name> <last-name>" console commandJustin Clark-Casey (justincc)1-15/+60
This allows a way to manually clear pending image queue requests for debug purposes
2012-01-10minor: Fix wrong column length in image queues reportJustin Clark-Casey (justincc)1-2/+2
2012-01-10rename "show image queue" to "show image queues" in line with other udp info ↵Justin Clark-Casey (justincc)1-29/+8
commands. Eliminate redundant one line methods
2012-01-10Add "show image queue <first-name> <last-name>" region console commandJustin Clark-Casey (justincc)1-1/+88
This is so that we can inspect the image download queue (texture download via udp) for debugging purposes.
2012-01-05Improve "j2k decode" command to tell us how many layers and components were ↵Justin Clark-Casey (justincc)1-3/+13
decoded, instead of just success/failure
2012-01-05Add a "j2k decode" region console command that allows a manual request for a ↵Justin Clark-Casey (justincc)1-0/+145
JPEG2000 decode of an asset For debugging purposes.
2011-12-10Implement handler for TeleportCancel inbound packetMelanie1-0/+1
2011-12-09Get rid of IScene.PresenceChildStatus() which always had to execute a lookup ↵Justin Clark-Casey (justincc)1-3/+3
in favour of IClientAPI.ISceneAgent.IsChildAgent instead.
2011-12-08On a new client circuit, send the initial reply ack to let the client know ↵Justin Clark-Casey (justincc)1-3/+5
it's live before sending other data. This means that avatar/appearance data of other avatars and scene objects for a client will be sent after the ack rather than possibly before. This may stop some avatars appearing grey on login. This introduces a new OpenSim.Framework.ISceneAgent to accompany the existing OpenSim.Framework.ISceneObject and ISceneEntity This allows IClientAPI to handle this as it can't reference OpenSim.Region.Framework.Interfaces
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.