aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-12-04Allow scripts in attachments on an owned NPC to call NPC functions on that NPCJustin Clark-Casey (justincc)1-1/+8
2014-11-25refactor: Move methods to start a monitored thread, start work in its own ↵Justin Clark-Casey (justincc)3-3/+3
thread and run work in the jobengine from Watchdog to a WorkManager class. This is to achieve a clean separation of concerns - the watchdog is an inappropriate place for work management. Also adds a WorkManager.RunInThreadPool() class which feeds through to Util.FireAndForget. Also switches around the name and obj arguments to the new RunInThread() and RunJob() methods so that the callback obj comes after the callback as seen in the SDK and elsewhere
2014-11-25Label all threadpool calls being made in core OpenSimulator. This is to add ↵Justin Clark-Casey (justincc)2-8/+16
problem diagnosis. "show threadpool calls" now also returns named (labelled), anonymous (unlabelled) and total call stats.
2014-11-25Add "wearables check" console commandJustin Clark-Casey (justincc)1-9/+87
This checks that all the wearable assets and any assets for a given logged in avatar exist in the asset service
2014-11-25Add "wearables show" console command.Justin Clark-Casey (justincc)1-3/+97
This shows summary wearables information (shape, hair, etc.) for all avatars in the scene or specific information about a given avatar's wearables. Similar to the existing "attachments show" command.
2014-11-25Fix setting of max scene throttle so that setting it restricts the child ↵Justin Clark-Casey (justincc)1-2/+4
client throttles properly. In "show throttles", also renames 'total' column to 'actual' to reflect that it is not necessarily the throttles requested for/by the client. Also fills out 'target' in non-adapative mode to the actual throttle requested for/by the client.
2014-11-25minor: In "show client stats" command, properly handle the case where a ↵Justin Clark-Casey (justincc)1-1/+3
client has made no AgentUpdate requests (as is the case with agents that have only even been child) rather than throwing an exception
2014-11-25Fix an issue where specifying both max client and server outgoing UDP ↵Justin Clark-Casey (justincc)1-7/+8
throttles would cause client throttles to be lower than expected when total requests exceeded the scene limit. This was because specifying a max client throttle would always request the max from the parent server throttle, no matter the actual total requests on the client throttle. This would lead to a lower server multiplier than expected. This change also adds a 'target' column to the "show throttles" output that shows the target rate (as set by client) if adaptive throttles is active. This commit also re-adds the functionality lost in recent 5c1a1458 to set a max client throttle when adaptive is active. This commit also adds TestClientThrottlePerClientAndRegionLimited and TestClientThrottleAdaptiveNoLimit regression tests
2014-11-25refactor: consistently put all test classes in the OpenSim.Tests.Common ↵Justin Clark-Casey (justincc)3-3/+0
package rather than some in OpenSim.Tests.Common.Mock the separate mock package was not useful and was just another using line to always add
2014-11-25Move information about "server agent rate" throttles into "show server ↵Justin Clark-Casey (justincc)1-39/+0
throttles" command rather than "show throttles" THis allows us to see the rates when no client is connected to the region.
2014-11-25Fix recent minor regression where the default frame time wasn't being set if ↵Justin Clark-Casey (justincc)1-1/+1
there was no startup config section. Caused some regression tests to fail.
2014-11-21Cleanup extraneous comments from viewer support modulesDiva Canto2-10/+3
2014-11-16Improved SpecialUIModule so that it sends the floater data properly.Diva Canto1-2/+21
2014-11-11Fix the fetching of module references in the viewer support modules.Diva Canto3-9/+15
Remove the detachment of attachments in camera-only, because it doesn't work for HG people, and it's too drastic of a move.
2014-11-10Add additional viewer support modules that allow certain viewers to modify ↵Diva Canto3-0/+494
their UI on the fly.
2014-10-30Revert my commit that fixed unexpected behaviour re: parcel prim limits.Kevin Cozens1-1/+1
Others think different about how limits work so another solution is needed. This reverts commit ff62b90636e13e531b95bbb7699b130909fc70f2.
2014-10-30Use parcel prim limit (not region limit) when checking if area is full.Kevin Cozens1-1/+1
2014-09-12When osNpcMoveToTarget() is called for a sitting avatar then silently do ↵Justin Clark-Casey (justincc)1-0/+3
nothing rather than throwing an error. Resolves http://opensimulator.org/mantis/view.php?id=7311
2014-09-04Start long-lived thread in IRCConnector via watchdog rather than ↵Justin Clark-Casey (justincc)1-13/+5
indepedently, so that it can be seen in "show threads" and stats
2014-08-26Implement experimental non-default mechanism to update scene via a timer ↵Justin Clark-Casey (justincc)1-31/+50
rather than a persistent thread with sleep. This is to see if an inaccuracy in sleep times under load is responsible for increase in frame times even when there is spare time still available. Can currently only be activated by setting "debug scene set update-on-timer true". Can be switched between timer and thread with sleep updates whilst the scene is running.
2014-08-15On teleport to a region that already has a child agent established (e.g. a ↵Justin Clark-Casey (justincc)1-1/+1
neighbour) don't resend all the initial avatar and object data again. This is unnecessary since it has been received (and data continues to be received) in the existing child connection.
2014-08-12Avination's Dynamic Floater Module. This works with Singularity viewer only.Melanie Thielker1-0/+238
It's WIP in that a dialog builder is on it's way. For now, the XML needs to be handmade.
2014-08-06refactor: Rename recent new Client*UpdateTolerance to Root*UpdateTolerance ↵Justin Clark-Casey (justincc)1-6/+6
for better accuracy and consistency with other similar parameters
2014-07-29Implement "scene debug set root-upd-per" for dropping 1 in N root agent ↵Justin Clark-Casey (justincc)1-5/+17
updates except to originator For experimental purposes. Also corrects a previous bug where each terse update sent was counted rather than each set of terse updates to agents.
2014-07-29Add debug mechanism for only sending 1 in N AgentUpdate packets to child agents.Justin Clark-Casey (justincc)1-0/+12
Allows experiments in manually reducing updates under heavy load. Activated by "debug scene set client-upd-per" console command. In a simple test, can send as few as every 4th update before observed movement starts becoming disturbingly rubber-banded.
2014-07-29Add "debug scene set appear-refresh true|false" to control whether periodic ↵Justin Clark-Casey (justincc)1-0/+12
appearance refresh is active. Corresponds to ResendAppearnceUpdates setting in [Appearance] in OpenSim.ini This was originally implemented to alleviate cloud appearance problems but could be too expensive with large numbers of avatars.
2014-07-29Make it possible to change avatar position update, rotation and velocity ↵Justin Clark-Casey (justincc)1-21/+57
tolerances on the fly. This is done via "debug scene set client-pos-upd, client-rot-upd, client-vel-upd". For testing purposes.
2014-07-29minor: make "debug scene set" usage command accurate again from last commit ↵Justin Clark-Casey (justincc)1-2/+1
f6f7585
2014-07-29Add a "debug scene set child-repri <double>" command that allows child ↵Justin Clark-Casey (justincc)1-16/+28
reprioritization distance to be changed on the fly. This governs when child agent position changes are sent to neighbouring regions. Corresponding config parameter is ChildReprioritizationDistance in [InterestManagement] in OpenSim.ini For test purposes.
2014-07-25Revert "Write UDP statistics to the log, not just the console (e.g., "show ↵Justin Clark-Casey (justincc)1-37/+32
queues")" Fixes http://opensimulator.org/mantis/view.php?id=7280 It can't be done this way because the stats data needs to show up on the console at all log levels, not just debug. But this means setting it to log at fatal, which is not appropriate for this stuff in the log. I understand the desire but this has to be done some other way, perhaps by (yet another) config parameter. Also, this was already being done with the ClientStatsReport but that also should be done in another way, I think. This reverts commit 5d534127663899cd5592c865b1d00855fce25854.
2014-07-21In "show throttles", show the maximum drip rate. This shows whether a client ↵Oren Hurvitz1-4/+8
is being throttled due to past poor performance.
2014-07-21Write UDP statistics to the log, not just the console (e.g., "show queues")Oren Hurvitz1-32/+37
2014-07-17fix all instances of "non-existant" to "non-existent" (spelling mistakes) ↵Michael Cerquoni1-3/+3
thanks Ai Austin for pointing this out.
2014-07-04Include option to remove auto backup files older than given number of days. ↵AliciaRaven2-2/+52
New property created to specify how many days to keep files for. Off by default, also made sure only oar files will be removed.
2014-06-17Change assembly versions to 0.8.1Justin Clark-Casey (justincc)1-1/+1
2014-06-16If MaterialsModule unexpected sees a part with DefaultTexture of null, log ↵Justin Clark-Casey (justincc)1-0/+4
this with a warning.
2014-06-16In materials module, if a texture entry somehow has no default entry then ↵Justin Clark-Casey (justincc)1-1/+2
don't try to extract materials data rather than throw an exception
2014-06-04Fix AutoBackupModule and include option to skip saving assets.AliciaRaven2-3/+39
Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
2014-05-27Make RegionReady login disabled during initialization message a console ↵Justin Clark-Casey (justincc)1-2/+4
messages instead of a warning message. Same justification as earlier commit 996a6c2. These are not warnings but should still be visible to the user at any log level.
2014-05-19On verbose groups messaging logging, count all operations in reported time ↵Justin Clark-Casey (justincc)1-3/+3
when sending group messages, not just those after get group members and get presence status, as applicable
2014-05-19Split verbose groups messaging logging into its own setting separate from ↵Justin Clark-Casey (justincc)1-23/+77
that of the groups module. This is to allow us to get useful information on messaging without being overwhelmed by the rest of groups debug. Enabled with [Groups] DebugMessagingEnabled = true in config (default false) Or "debug groups messaging verbose true|false on the console" (similar to existing groups setting). Done for both xmlrpc and V2 groups.
2014-05-19Fix recent regression from 77e7bbc where an attachment on a received group ↵Justin Clark-Casey (justincc)3-4/+27
notice with XmlRpcGroups messaging did not appear in the user's inventory. This was because the "session ID" when the message template was copied was always replaced with the group ID, whereas a notice requires this to be the notice ID. Instead just copy the "session ID" as is - other callers already have this set properly so replacing with group ID was redundant anyway. Relates to http://opensimulator.org/mantis/view.php?id=7037
2014-05-12For XmlRpcGroups (Flotsam) module, when MessageOnlineUsersOnly = true, ↵Justin Clark-Casey (justincc)1-13/+26
handle notices to offline users directly as known undeliverable messages rather than discarding or attempting delivery. Offline notices can still be controlled with the [Messaging] ForwardOfflineGroupMessages setting. Looks to address more of http://opensimulator.org/mantis/view.php?id=7037 Only for Flotsam now for testing, but if approach works should be possible with core offline notices as well.
2014-05-12Add send group notice regression test for when MessageOnlineUsersOnly=trueJustin Clark-Casey (justincc)1-0/+71
2014-05-12minor: eliminate unused UUID in xmlrpc ↵Justin Clark-Casey (justincc)1-2/+0
GroupsMessagingModule.ProcessMessageFromGroupSession()
2014-05-06Show more meaningful error messages when failed to give an item to another userOren Hurvitz1-2/+3
2014-05-01Fix issue where only one of multiple attachments on the same attachpoint for ↵Justin Clark-Casey (justincc)2-2/+54
NPCs would be seen by other viewers. It appears that at least Singularity 1.8.5 (but probably others) rely on attachment FromItemIDs being different to display more than one. This commit resolves this by generating random IDs instead of always using UUID.Zero for NPCs. Resolves http://opensimulator.org/mantis/view.php?id=7110
2014-04-29Add regression test for NPC movement on a variable region.Justin Clark-Casey (justincc)1-5/+72
Extends basic physics to allow av movement on a varregion (basic physics is only really useful for regression test purposes).
2014-04-23Eliminated many warningsOren Hurvitz6-7/+9
2014-04-12Tweak to PrimLimits and add missing Regions.ini exampleDev Random1-16/+5
Signed-off-by: Melanie <melanie@t-data.com>