aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-08-18Prevent exception if inventory item in llGiveInventory() call doesn't exist.Kevin Cozens1-0/+1
2014-08-15Don't allow the last behavior to be removed from a pCampbot botJustin Clark-Casey (justincc)2-1/+4
If you want to stop existing behavious, add the None behaviour.
2014-08-15Resolve a small race condition on removing bot behaviours that might leave ↵Justin Clark-Casey (justincc)1-2/+3
previous behaviour active Also closes behaviours on disconnect instead of interrupt, though this makes no practical difference. If existing behaviour is None, other added behavious will not take affect until None is removed (as this is an infinite wait until interrupted).
2014-08-15If a user moves back in sight of a child region before the agent has been ↵Justin Clark-Casey (justincc)3-7/+9
closed on teleport, don't unnecessarily resend all avatar and object data about that region.
2014-08-15On teleport to a region that already has a child agent established (e.g. a ↵Justin Clark-Casey (justincc)7-39/+50
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-14Added RestrictEmail to make llEmail only send to avatars email address if true.Kevin Cozens1-0/+34
2014-08-14Make RootTerseUpdatePeriod and ChildTerseUpdatePeriod configurable in ↵Justin Clark-Casey (justincc)1-0/+3
[InterestManagement] in OpenSim.ini for experimental purposes. If n > 1 for RootTerseUpdatePeriod only every n terse update is actually sent to observers on same region, unless velocity is effectively zero (to stop av drift). If n > 1 for ChildTerseUpdatePeriod only every n terse update is sent to observers in other regions, unless velocity is effectively zero. Defaults are same as before (all packets are sent). Tradeoff is reduction of UDP traffic vs fidelity of observed av mvmt. Increasing n > 1 leads to jerky observed mvmt immediateley for root, though not on child, where experimentally have gone to n = 4 before jerkiness is noticeable.
2014-08-14Make some existing reprioritization values changeable outside the scene for ↵Justin Clark-Casey (justincc)1-15/+18
test purposes, and use more consise property syntax. No functional change.
2014-08-13Update OpenID server handler with proper interface. fixes ↵BlueWall1-1/+1
http://opensimulator.org/mantis/view.php?id=7301
2014-08-13On entity transfer of scene presence, replace polling sleep in ↵Justin Clark-Casey (justincc)1-14/+13
SP.WaitForUpdateAgent() with a triggered event instead. Rapid polls are more expensive than triggered events (several polls vs one trigger) and may be problematic on heavily loaded simulators where many threads are vying for processor time. A triggered event is also slightly quicker as there is no maximum 200ms wait between polls.
2014-08-13Remove redundant origin region lock in SP.CompleteMovement()Justin Clark-Casey (justincc)1-6/+1
This is already going to be correctly set by WaitForUpdateAgent() earlier on in that method, which is always called where a callback to the originating region is required.
2014-08-13Only set up the UnackedMethod for an outgoing message if that message is ↵Justin Clark-Casey (justincc)1-1/+3
actually meant to get an ack (because it's reliable).
2014-08-13Terminate 'nothing' behaviour (and potentially others) by signalling using ↵Justin Clark-Casey (justincc)5-36/+56
an event rather than polling connection state every 100ms This kind of polling is very expensive with many bots/polling threads and appears to be the primary cause of bot falloff from the client end at higher loads. Where inbound packet threads can't run in time due to contention and simulator disconnect timeout occurs.
2014-08-13Add 'server' stats information to pCampbot, as used elsewhere in OpenSimulatorJustin Clark-Casey (justincc)2-0/+25
This adds the "show stats", "stats record", etc. commands and information on available Threadpool threads, etc. It also adds the Watchdog which logs warnings if time between executions is unexpectedly large.
2014-08-12For pCampbot, set max number of permitted connections to an endpoint to ↵Justin Clark-Casey (justincc)1-0/+4
int.MaxValue This is to avoid issues where many bots connect to a single end point with multiple regions, where each region requires a long-lived poll connection for each bot.
2014-08-12Avination's Dynamic Floater Module. This works with Singularity viewer only.Melanie Thielker2-0/+290
It's WIP in that a dialog builder is on it's way. For now, the XML needs to be handmade.
2014-08-09Move the inventory request lock introduced in git master a58152bd to ↵Justin Clark-Casey (justincc)2-27/+47
HGInventoryBroker to preserve that behaviour there but allow 2 simultaneous inv requests (chiefly WebFetch) rather than 1 This lock serialized all requests and made the inventory throttling in WebFetch redundant. By moving this lock, two simultaneous requests may now take place which may help with http://opensimulator.org/mantis/view.php?id=7054
2014-08-08Change RootRotationUpdateTolerance from 0.01 to 0.1 in code as well.Justin Clark-Casey (justincc)1-1/+1
2014-08-08Change MaxPoolThreads default in code as well from 15 to 300Justin Clark-Casey (justincc)1-1/+1
2014-08-06Fix short help string for show region command.BlueWall1-1/+1
2014-08-06OpenSimExtrasBlueWall11-356/+152
Move the experimental extra features functionality into the GridService. This sends default values for map, search and destination guide, plus ExportSupported control to the region on startup. Please watch http://opensimulator.org/wiki/SimulatorFeatures_Extras for changes and documentation.
2014-08-06Fixed crash when using Allowed/Denied Viewers, and the viewer's name is ↵Oren Hurvitz1-2/+2
shorter than one of the test strings This fixes http://opensimulator.org/mantis/view.php?id=7294
2014-08-06Add RootPositionUpdateTolerance, RootRotationUpdateTolerance, and ↵Justin Clark-Casey (justincc)1-0/+7
RootVelocityUpdateTolerance parameters to [InterestManagement] in OpenSimDefaults.ini These govern when AgentUpdates are sent to observers on position, rotation and velocity changes to an avatar (including the avatar themselves). Higher values reduce AgentUpdate traffic but at a certain level will degrade smoothness of avatar and perceived avatar movement.
2014-08-06refactor: Rename recent new Client*UpdateTolerance to Root*UpdateTolerance ↵Justin Clark-Casey (justincc)3-19/+19
for better accuracy and consistency with other similar parameters
2014-08-05Fixed premature closing of the connection in DataSnapshotManagerOren Hurvitz1-14/+14
2014-08-05Go back to disconnecting bots in parallel since serially is too slow.Justin Clark-Casey (justincc)1-3/+5
However, disconnecting now halts any current connection, with the possible exception of the single currently connecting bot.
2014-08-05Put pCampbot "disconnect" command on separate thread like "connect" so that ↵Justin Clark-Casey (justincc)1-27/+35
we can continue to run status commands whilst bots are disconnecting.
2014-08-05Allow "show bots" pCampbot console command to quickly report status by not ↵Justin Clark-Casey (justincc)1-18/+20
locking entire bot list for almost 100% of connection time.
2014-08-05Make currently unfiltered EventQueue log messages only appear now at ↵Justin Clark-Casey (justincc)1-16/+24
DebugLevel 1 This covers event queue setup messages and some outgoing messages (e.g. EnableSimulator) In my experience these messages are only useful if you really know what they mean and you're looking for them Otherwise, they're quite spammy. Event queue DebugLevel 1 is enabled with the "debug eq 1" console command
2014-08-02Fix typo in log messageBlueWall1-1/+1
2014-08-01Fix regression in SimulatorFeatures module that would stop OpenSimulator ↵Justin Clark-Casey (justincc)1-12/+20
from starting if no [SimulatorFeatures] section was present in config.
2014-07-31If REMOVEAGENTFROMGROUP core groups call fails because requesting agent does ↵Justin Clark-Casey (justincc)4-10/+22
not have sufficient permission, return null failure result rather than true. On non-HG this is on the only recognized failure state so we can return more information in the error result. On HG there are multiple failure states which would require more work to distinguish, so currently return the unsatisfying "Internal Error" like some other existing calls.
2014-07-31Don't overwrite the null result with the true result is groups service ↵Justin Clark-Casey (justincc)2-2/+4
REMOVEAGENTFROMGROUP call has failed because of missing parameters
2014-07-31Add region-side extra feature setting for destination guideBlueWall1-0/+4
2014-07-30BulletSim: thread safe handling of list of avatars.Robert Adams1-3/+18
Fix for 7284 which is an enumeration exception when starting up a region.
2014-07-31Fix bug where calling PUTGROUP on the core groups service without specifying ↵Justin Clark-Casey (justincc)1-1/+1
a ServiceLocation would set the group name to an empty string. This should set the ServiceLocation to an empty string instead.
2014-07-30Add Chat module extra feature settings to GridExtraFeatures serviceBlueWall1-0/+9
2014-07-30Simulator Extra Features ServiceBlueWall4-9/+362
Provide a means for regions to fetch extra features supported by modern viewers from a central location .
2014-07-29In TerrainModule, lock m_perClientPatchUpdates when removing entries.Justin Clark-Casey (justincc)1-3/+2
This may have been the trigger CheckSendingPatchesToClients() dictionary out of sync exceptions in today's load test. Don't need to check ContainsKey() since Remove() returns false on a request to remove a key that it doesn't have
2014-07-29Implement "scene debug set root-upd-per" for dropping 1 in N root agent ↵Justin Clark-Casey (justincc)3-7/+41
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)3-1/+30
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)3-29/+79
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-29Allow the "debug scene set physics false|true" command to work when ↵Justin Clark-Casey (justincc)8-39/+78
bulletsim physics is running in a separate thread. This will also allow the "disable physics" setting in the region debug viewer dialog to work in this circumstance.
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)4-21/+79
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-26BulletSim: rearrange code for sensing whether shapes have beenRobert Adams3-60/+60
constructed. Add routine to check for failed and use that method rather than checking individual state.
2014-07-26Add inventory.<url>.RequestsMade stat.Justin Clark-Casey (justincc)1-0/+21
This gives a count of all requests made to the remote inventory service. This is finer grained than inventory.httpfetch.ProcessedFetchInventoryRequests since such a request can be comprised of many individual inv service calls. In addition, this will count requests that don't go through the HTTP inventory fetch (e.g. HG, archiving, etc.)
2014-07-26Fix issue with TestTextureNotFound in previous commit 1e3027aJustin Clark-Casey (justincc)1-1/+1
Stop failure by actually giving the test handler a path instead of null
2014-07-26Temporary stop CAPS service points from being added to stats as this can be ↵Justin Clark-Casey (justincc)1-12/+17
a huge number. A stop gap solution - a better one may be to improve stats display on simulator-side. Caps information is still accessible via the "show caps stats by user" and "show caps stats by cap" commands