aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/World (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-08-14add a estimator of client ping time, and painfully make it visible in showUbitUmarov1-0/+2
connections console command
2014-08-02dont fire a thread on npc creation keeping the main one just waitingUbitUmarov1-5/+6
2014-01-27Re-enabled NPCModuleTests.TestCreate()Justin Clark-Casey (justincc)1-3/+1
2013-12-14Comment out sit position checks in TestSitAndStandWithSitTarget() in SP and ↵Justin Clark-Casey (justincc)1-3/+5
NPC tests until positions are known to be stable. Also resolve issues with NoSitTarget() tests where I was trying to use a destroyed PhysActor
2013-12-14Fix TestSitAndStandWithNoSitTarget NPC and SP tests.Justin Clark-Casey (justincc)1-6/+2
These stopped working because current code calculates sit heights based on avatar physics rather than appearance data. Also changed BasicPhysics to not divide Z param of all set sizes by 2 - there's no obvious good reason for this and basicphysics is only used in tests
2013-12-11Committing the Avination Scene Presence and related texture codeMelanie1-0/+2
- Parts of region crossing code - New bakes handling code - Bakes now sent from sim to sim without central storage - Appearance handling changes - Some changes to sitting - A number of unrelated fixes and improvements
2013-10-04Add OnChatToNPC and OnInstantMessageToNPC messages to NPCAvatar to allow ↵Justin Clark-Casey (justincc)1-6/+21
region modules to directly subscribe to chat and messages received by NPCs Currently still requires INPC from NPCModule.GetNPC() to be cast to an NPCAvatar.
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-27refactor: rename Scene.IncomingCloseAgent() to CloseAgent() in order to make ↵Justin Clark-Casey (justincc)1-1/+1
it clear that all non-clientstack callers should be using this rather than RemoveClient() in order to step through the ScenePresence state machine properly. Adds IScene.CloseAgent() to replace RemoveClient()
2013-09-19minor: Stop debug logging whenever an npc is moved, other npc log related ↵Justin Clark-Casey (justincc)1-16/+15
formatting cleanups
2013-08-12Get rid of issue where removing NPCs would through an exception by routing ↵Justin Clark-Casey (justincc)1-1/+3
close through Scene.IncomingCloseAgent() and NPCAvatar.Close() rather than directly to Scene.RemoveClient(). This exception was actually harmless since it occurred at the very last stage of the remove client process.
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 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-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-08Add "show caps stats by user" and "show caps stats by cap" console commands ↵Justin Clark-Casey (justincc)1-1/+1
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-13Add a result param to te money module interfaceMelanie1-1/+2
2013-05-25Update the money framework to allow sending the new style linden "serverside ↵Melanie2-10/+10
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 ↵Melanie2-10/+10
is now viewerside" messages regarding currency This will require all money modules to be refactored!
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-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-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-22Allow callers to set the invoice parameter for GenericMessageMelanie1-2/+2
2013-04-22Allow callers to set the invoice parameter for GenericMessageMelanie1-2/+2
2013-03-23Add "show borders" command to show the borders of a region.Justin Clark-Casey (justincc)1-0/+31
This is relevant to mega-regions where the borders are very different to a regular region. Also adds some method doc and other code comments.
2013-02-07Plumb the path from the client to the extra physics params and backMelanie1-0/+5
2013-01-26minor: Call down to base OpenSimTestCase.SetUp() in NPCModuleTests to ↵Justin Clark-Casey (justincc)1-0/+2
disable any enabled logging from previous tests
2013-01-25minor: remove mono compiler warning in SceneCommandsModuleJustin Clark-Casey (justincc)1-1/+1
2013-01-19Fix use of scene debug commands when region is set to root or a specific ↵Justin Clark-Casey (justincc)1-15/+12
region where there is more than one region on the simulator.
2013-01-18Add "debug set set animations true|false" region console command.Justin Clark-Casey (justincc)1-0/+11
Setting this logs extra information about animation add/remove, such as uuid and animation name Unfortunately cannot be done per client yet
2013-01-11Fix a regression in the last few scene commands changes where setting these ↵Justin Clark-Casey (justincc)1-52/+2
via the viewer estate dialog stopped working. Forgot to register the new interface. Also removes some code which got included by adpating an existing module.
2013-01-10Add "debug scene get" console command to list current scene optionsJustin Clark-Casey (justincc)1-2/+43
2013-01-10Move scene debug commands into separate module. Command changes from "debug ↵Justin Clark-Casey (justincc)1-0/+236
scene <key> <value>" to "debug scene set <key> <value>" to accomodate future settings
2013-01-03updating documentation in SampleMoneyModule based on doxygen error log ↵SignpostMarv1-6/+8
output; changing an xml-style hint to a uri-style hint in the class summary, improving documentation of Initialise method and removing a superfluous parameter, improving documentating of ClientClosed method and documenting an omitted parameter
2012-12-21* Partial Commit for Avatar Appearance to include the functionality of ↵teravus1-1/+1
Cached Bakes.
2012-12-03Add a transaction ID to the money module path for llTransferLindenDollarsMelanie1-1/+1
2012-11-24Consistenly make NUnit test cases inherit from OpenSimTestCase which ↵Justin Clark-Casey (justincc)1-1/+1
automatically turns off any logging enabled between tests
2012-11-17* Plumbing and basic setting of the GetMesh Cap Throttler.teravus1-0/+6
* Last step is to flip the throttle distribution.
2012-11-15Revert "Merge master into teravuswork", it should have been avination, not ↵teravus2-22/+7
master. This reverts commit dfac269032300872c4d0dc507f4f9062d102b0f4, reversing changes made to 619c39e5144f15aca129d6d999bcc5c34133ee64.
2012-11-13All optional modules' directives moved out of addin.xmlDiva Canto3-0/+6
2012-11-12Cleanup on region modules: gave short node id's to all of them.Diva Canto2-2/+2
2012-11-12Remove any mention of IRegionModule from region names and comments to aidMelanie1-2/+1
grepping for remaining uses
2012-11-11document & 80-character width terminal formattingSignpostMarv1-49/+80
Signed-off-by: Diva Canto <diva@metaverseink.com>
2012-11-11converting NPC module to ISharedRegionModuleSignpostMarv1-9/+22
Signed-off-by: Diva Canto <diva@metaverseink.com>
2012-11-09One more module converted: TreePopulator.Diva Canto1-11/+19
2012-11-04Pipe Throttle Update Event to EventManager, client --> ScenePresence --> ↵teravus1-1/+1
EventManager, so that modules can know when throttles are updated. The event contains no client specific data to preserve the possibility of 'multiple clients' and you must still call ControllingClient.GetThrottlesPacked(f) to see what the throttles actually are once the event fires. Hook EventManager.OnUpdateThrottle to GetTextureModule.
2012-10-29Fix memory leak where removing an NPC did not remove its circuits.Justin Clark-Casey (justincc)1-0/+11
This was because we were removing by circuitcode where NPCs have no code. Now removing by agent ID instead. This commit also fixes the "show circuits" console command to work properly where the circuit has no associated IP address.