aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-07-28Added BasicSearchModule.cs which handles OnDirFindQuery events. Removed that ↵Diva Canto1-16/+6
handler from both Groups modules in core, and replaced them with an operation on IGroupsModule.
2013-07-26Commented out ChatSessionRequest capability in Vivox and Freeswitch. We ↵Diva Canto2-18/+18
aren't processing it in any meaningful way, and it seems to get invoked everytime someone types a message in group chat.
2013-07-26Fix NPC regression test failures.Justin Clark-Casey (justincc)1-1/+1
These were genuine failures caused by ScenePresence.CompleteMovement() waiting for an UpdateAgent from NPC introduction that would never come. Instead, we do not wait if the agent is an NPC.
2013-07-21EDIT BEAMS!!! They had been missing from OpenSim since ever. Thanks to ↵Diva Canto2-2/+2
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 Canto2-0/+2
- 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-16Attachments module only registers when enabled. This enables alternative ↵Dan Lake1-2/+4
attachments module implementations. All calls to Scene.AttachmentsModule are checking for null. Ideally, if we support disabling attachments then we need a null attachments module to register with the scene.
2013-07-11Try naming the materials handlers again, this time registering the POST as ↵Justin Clark-Casey (justincc)1-3/+6
RenderMaterials This was probably the mistake. The other handlers are named RenderMaterials as well but this actully has no affect apart from on stats, due to a (counterintuitive) disconnect between the registration name and the name of the request handler. Will be tested very soon and reverted if this still does not work.
2013-07-10remove names from Capability handlers (added by justincc in commit ↵dahlia1-7/+4
013710168b3878fc0a93a92a1c026efb49da9935) as they seem to disable the use of multiple access methods for a single Capability in MaterialsDemoModule
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-07-08remove some cruft and trigger a rebuilddahlia1-1/+0
2013-07-08remove an invalid null UUID check which caused a warningdahlia1-8/+1
2013-07-08For stat purposes, add names to capability request handlers where these were ↵Justin Clark-Casey (justincc)1-4/+7
not set
2013-07-08Add "show caps stats by user" and "show caps stats by cap" console commands ↵Justin Clark-Casey (justincc)2-2/+2
to print various counts of capability invocation by user and by cap This currently prints caps requests received and handled, so that overload of received compared to handled or deadlock can be detected. This involves making BaseStreamHandler and BaseOutputStream record the ints, which means inheritors should subclass ProcessRequest() instead of Handle() However, existing inheriting classes overriding Handle() will still work, albeit without stats recording. "show caps" becomes "show caps list" to disambiguate between show caps commands
2013-06-28add some locking to materials storage dictionarydahlia1-30/+42
2013-06-28Reinsert code for gathering uuids reference by materials back directly into ↵Justin Clark-Casey (justincc)1-67/+69
UuidGatherer for now. This cannot be triggered as an event from Scene.EventManager since some invocations of UuidGatherer (e.g. IAR saving) use scene objects which are not in scenes. There needs to be some way for modules to register for events which are not connected with a particular scene.
2013-06-27and yet another check for null returned from DynAttrs.GetStore()dahlia1-0/+4
2013-06-27test for null return from DynAttrs.GetStore()dahlia1-0/+3
2013-06-27refactor: Move code for gathering textures referenced by materials into ↵Justin Clark-Casey (justincc)1-2/+70
MaterialsDemoModule from UuidGatherer This code is now triggered via EventManager.OnGatherUuids which modules can subscribe to.
2013-06-27Make the concept of namespaces explicit in dynamic attributesJustin Clark-Casey (justincc)1-16/+10
This is in order to reduce the likelihood of naming clashes, make it easier to filter in/out attributes, ensure uniformity, etc. All dynattrs in the opensim distro itself or likely future ones should be in the "OpenSim" namespace. This does alter the underlying dynattrs data structure. All data in previous structures may not be available, though old structures should not cause errors. This is done without notice since this feature has been explicitly labelled as experimental, subject to change and has not been in a release. However, existing materials data is being preserved by moving it to the "Materials" store in the "OpenSim" namespace.
2013-06-17Make general server stats available on the robust console as well as the ↵Justin Clark-Casey (justincc)1-339/+0
simulator console This means the "show stats" command is now active on the robust console.
2013-06-13Add a result param to te money module interfaceMelanie1-1/+2
2013-05-30Fix passing of voice distance attenuation to the Vivox voice server.Justin Clark-Casey (justincc)1-1/+1
Because of a typo, this wasn't being done at all - now the 'default' value as described in OpenSimDefaults.ini of 10m is passed (vivox_channel_clamping_distance) Thanks to Ai Austin for spotting this.
2013-05-28First change in Vivox for ages! -- added a lock to serialize calls to vivox ↵Diva Canto1-14/+25
servers. This may ameliorate things when lots of avies arrive in a sim at about the same time. Turns out that there are 4 http requests per avie to Vivox.
2013-05-25Update the money framework to allow sending the new style linden "serverside ↵Melanie4-17/+12
is now viewerside" messages regarding currency This will require all money modules to be refactored!
2013-05-25Update the money framework to allow sending the new style linden "serverside ↵Melanie4-17/+12
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-13Small adjustments to the floater moduleMelanie1-1/+4
2013-05-09remove pointless region handle paramter from IClientAPI.SendKillObject()Justin Clark-Casey (justincc)2-2/+2
2013-05-08Adds an event and a method so that handling of the CachedTextureMic Bowman2-0/+12
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-05-04Add RegionManager level and the ability to use literal XML to the dynamic ↵Melanie2-5/+15
floater module
2013-04-27Unbreak the sample money moduleMelanie1-0/+2
2013-04-27Small oversight in EconomyDataRequest - this would have affected everyone ↵Melanie1-2/+0
NOT using a money module.
2013-04-27Controller module for dynamic floaters (WIP)Melanie1-0/+228
2013-04-25Change EconomyDataRequest signature to use an IClientAPI rather than UUID. ↵Melanie1-11/+6
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.
2013-04-25Change EconomyDataRequest signature to use an IClientAPI rather than UUID. ↵Melanie1-11/+6
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.
2013-04-25Change copyright notice on DynamicMenuModule to proper BSDMelanie1-5/+26
2013-04-25Adding the dynamic menu module which allows registering new menu options in ↵Melanie1-0/+282
compliant viewers
2013-04-25Adding the dynamic menu module which allows registering new menu options in ↵Melanie1-0/+282
compliant viewers
2013-04-23Fix issue in ConciergeModule where UpdateBroker was sending malformed XML if ↵Justin Clark-Casey (justincc)1-2/+4
any number of avatars other than 1 was in the region. I don't know how well the rest of ConiergeModule works since I've practically never looked at this code. Addresses http://opensimulator.org/mantis/view.php?id=6605
2013-04-22Allow callers to set the invoice parameter for GenericMessageMelanie2-4/+4
2013-04-22Allow callers to set the invoice parameter for GenericMessageMelanie2-4/+4
2013-04-20Materials persistence via SceneObjectPart.dynAttrs. This appears to work ↵dahlia1-8/+154
across region restarts and taking objects into inventory, but probably will not work across archiving via OAR or IAR as materials texture assets may not be adequately referenced to trigger archiving.
2013-04-20handle PUT verb for RenderMaterials Capdahlia1-1/+5
2013-04-19RenderMaterials POST Cap now return material entries when invoked with an ↵dahlia1-61/+108
OSDArray of MaterialIDs
2013-04-18remove default parameter value that apparently mono cant handledahlia1-1/+1
2013-04-18Initial experimental support for materials-capable viewers. This is in a ↵dahlia1-0/+382
very early stage and this module is disabled by default and should only be used by developers for testing as this module could cause data corruption and/or viewer crashes. No materials are persisted yet.