aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-11-25Add OutgoingPacketsQueuedCount clientstack stat.Justin Clark-Casey (justincc)2-0/+53
This is the total of queued outgoing packets across all connections, as also seen in the "show queues" command. Gives some early indication of whether the simulator can't send all outgoing packets fast enough. Though then one would want to check that this isn't due to a few bad client connections.
2014-11-25minor: Remove compiler warnings from unused fields in TokenBucketJustin Clark-Casey (justincc)1-3/+0
2014-11-25refactor: Move LLUDPServer console commands into their own class.Justin Clark-Casey (justincc)3-480/+539
2014-11-25refactor: rename "debug lludp throttle status" to "debug lludp throttle get" ↵Justin Clark-Casey (justincc)1-6/+6
to match set command
2014-11-25Add "debug lludp throttle set" command to allow setting of parameters at runtimeJustin Clark-Casey (justincc)2-3/+52
Can currently only set adaptive true|false, where adaptive = false
2014-11-25Eliminate a few unnecessary calculations in the maintenance loop.Justin Clark-Casey (justincc)1-7/+17
Also uses wait event instead of sleep for periodicity control.
2014-11-25Fix recent minor regression where the default frame time wasn't being set if ↵Justin Clark-Casey (justincc)2-3/+2
there was no startup config section. Caused some regression tests to fail.
2014-11-25If Bullet is running on its own thread, use a reset event to control timing ↵Justin Clark-Casey (justincc)1-2/+9
rather than a sleep. In theory, there should be no difference between these mechanisms. However, on at least Mono 3.2.8 waiting via an event appears to be much more accurate.
2014-11-25Improve frame time stability by taking a few unnecessary repeated ↵Justin Clark-Casey (justincc)2-21/+42
calculations out of the main scene loop. Also uses a wait event to sleep rather than a Thread.Sleep to allow the loop to be interrupted in a more controlled manner when necessary.
2014-11-25Make BulletSim thread be ThreadPriority.Highest if runningJustin Clark-Casey (justincc)1-0/+2
Will only effect Windows or mono with a patch such as https://gist.github.com/justincc/31e52218d098529b4696 applied For test purposes
2014-11-25Make outboudn and packet inbox handling threads highest priority.Justin Clark-Casey (justincc)2-0/+6
Will only have any affect under Windows or mono with a patch such as https://gist.github.com/justincc/31e52218d098529b4696 (not recommended) applied. For assessment purposes.
2014-11-25Set ThreadPriority on main scene thread to highest.Justin Clark-Casey (justincc)1-0/+1
This will only have an effect on Windows systems or mono with the (not recommended) mono-3.2.8 debug patch https://gist.github.com/justincc/31e52218d098529b4696 applied
2014-11-25Temporarily add root agent rez attachments work to job engine if it is ↵Justin Clark-Casey (justincc)1-4/+8
running rather than as a fire and forget. Experiment to see if serializing attachment rez and send initial data jobs improves other parts of sim performance.
2014-11-25Add experimental job engine to see if queueing some existing async work ↵Justin Clark-Casey (justincc)1-1/+1
during root agent entry to a region improves perf rather than always attempting to execute everything concurrently Job engine is controlled via "debug jobengine start|stop|status". Can only currently be enabled and disabled dynamically at runtime. Currently only applies to code sending initial region data (objects, other avatar data) to a client.
2014-11-25Temporary hack to disable av to av collisions in bulletsim.Justin Clark-Casey (justincc)1-1/+1
Need to do this for a test. Final implementation will be properly controlled through a property.
2014-11-22Small improvements to SimulatorFeaturesModule: (1) don't overwrite extras if ↵Diva Canto1-1/+21
the grid response is invalid; (2) make the name of the config variable for destination guide consistent with the grid-wide name in LoginService; (3) account for the existence of a [USERID] in the destination guide URL
2014-11-21Cleanup extraneous comments from viewer support modulesDiva Canto2-10/+3
2014-11-20LSL key should be implicitly cast to a boolean valueCinder1-0/+10
Signed-off-by: James Hughes <jamesh@ascent.bluewallgroup.com>
2014-11-19refactor: capitalize SOP.moveToTarget() and stopMoveToTarget() in accordance ↵Justin Clark-Casey2-4/+4
with code guidelines and the rest of the methods.
2014-11-19If calling llStopMoveToTarget() on an in-world prim, don't send an ↵Justin Clark-Casey11-21/+46
unnecessary object update if the prim was not moving to target. This involves making PhysicsActor.PIDActive get as well as set. On physics components that don't implement this (all characters and some phys engines) we return false.
2014-11-19Remove SOP.StopMoveToTarget scheduled update which is now being done in ↵Justin Clark-Casey1-3/+0
SOG.stopMoveToTarget() as of last commit 67e568
2014-11-19If llStopMoveToTarget() is called on an attachment, then stop the avatar if ↵Justin Clark-Casey1-5/+19
it was moving to target. Same behaviour as on Linden Lab grid. Will probably also address http://opensimulator.org/mantis/view.php?id=7369 by not generating spurious object updates when llStopMoveToTarget() is called in attachments where the avatar is not moving.
2014-11-19Add 'terrain feature' commandDev Random4-2/+353
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-11Fix issue where llRemoteLoadScriptPin() would treat 0 (the default) as a ↵Justin Clark-Casey2-8/+60
valid set pin in a destination prim rather than the unset no pin state Adds regression test for this case.
2014-11-10Add additional viewer support modules that allow certain viewers to modify ↵Diva Canto3-0/+494
their UI on the fly.
2014-11-10minor: correct console response when setting attachments logging levelJustin Clark-Casey1-1/+1
2014-11-06Added grid information to SimFeatures response, so that the viewer can show it.Diva Canto1-1/+13
2014-10-31Actually persist a changed console set agent-limit via "region set".Justin Clark-Casey (justincc)1-2/+7
Unfortunately, it's not currently easy to do this with "max-agent-limit" - this must be separately set as MaxAgents in region config if it's to persist over restarts.
2014-10-31Add "region set" console command.Justin Clark-Casey (justincc)1-1/+73
This current allows one to set two region parameters agent-limit <int> will set the current root agent limit for the region, as also settable through the viewer, though some impose a max setting (e.g. 100). max-agent-limit <int> will set the maximum allowed root agent limit. This can also be set via the MaxAgent parameter in region config.
2014-10-31Add "region get" command as a synononym for "show region" console command.Justin Clark-Casey (justincc)1-0/+9
This matches existing similar commands and a soon to be added "region set" command.
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-10-27Add hypergrid teleporting support to user profiles picksBlueWall1-16/+97
2014-10-16Add some more llGiveInventory() regression testsJustin Clark-Casey (justincc)1-0/+71
2014-10-16Fix transferring inventory from prims to agent inventoryMelanie Thielker1-6/+11
2014-10-11Change name of just added OSSL osForceSit() to osForceOtherSit()Justin Clark-Casey (justincc)3-11/+12
This is somewhat more in keeping with something like osForceAttachToOtherAvatarFromInventory() and potentially allows a separate osForceSit() command with High threat rather than VeryHigh that only sits the owner and can be enabled without enabling sit of other avatars.
2014-10-11minor: spacing cleanup from previous commit 79a4d1eaJustin Clark-Casey (justincc)1-3/+3
2014-10-11Implements osForceSit(string avatar) & overload osForceSit(string avatar, ↵Vegaslon3-0/+64
string target) Allows a script IN the target prim to force an avatar to sit on it using normal methods as if called by the client. Overload method of osForceSit() to allow a script NOT in the target prim to force an avatar to sit on the target prim using normal methods as if called by the client. This patch is based on previous work from http://opensimulator.org/mantis/view.php?id=4492 and also includes the suggestions from justincc including change of threat level Thank you Christos Lightling.
2014-10-11minor: add --default-user option to "load oar" help long description. Do ↵Justin Clark-Casey (justincc)1-12/+13
other small tidies of "load oar" console command help.
2014-10-09Give ability to define constants that may be used throught the configurationBlueWall1-0/+2
2014-10-08Change thread of osForceAttachToOvtherAvatarFromInventory to VeryHigh from ↵Justin Clark-Casey (justincc)1-1/+1
Severe It fits much better in this category.
2014-10-08Use Scene or IEntityTransferModule directly in HGEntityTransferModule ↵Justin Clark-Casey (justincc)1-8/+7
instead of casting or re-obtaining module. This code originates from when IEntityTransferModule was shared rather than one per region. Now it's one per region we know that callers are always in the same scene as the module.
2014-10-08HG Restricted appearance checking code is only called when HG teleporting ↵AliciaRaven1-0/+8
via the map but bypassed completely when teleporting via landmarks. This fixes this by including a call when acting on landmarks. Does not affect local grid teleports as flags are checked.
2014-10-04Add LSL transaction_result event.Justin Clark-Casey (justincc)4-10406/+11382
This is cinderblocks' transaction_result.diff from http://opensimulator.org/mantis/view.php?id=7329 but I have used lsl.parser.cs and lsl.lexer.cs files generated directly from opensim-libs rather than those supplied in the patch. I also added scriptEvents.transaction_reuslt. The required parser/lexer generation file changes were made in commit d564f28 in the opensim-libs repo. Thanks!
2014-10-02minor: Comment out received seed caps request logging for nowJustin Clark-Casey (justincc)1-2/+2
2014-10-02Add "debug lludp throttle status" command to return status information about ↵Justin Clark-Casey (justincc)1-0/+36
a client's throttle (currently just whether adaptive is enabled).
2014-10-02Add "debug lludp throttle log <level> <avatar-first-name> ↵Justin Clark-Casey (justincc)3-18/+111
<avatar-last-name>" to control extra throttle related debug logging.
2014-10-02Don't unnecessarily remove from backup objects that were not directly ↵Justin Clark-Casey (justincc)2-5/+18
attached from the scene. These are never in region backup in the first place since recent 11830c43 Extend regression test to check backup status.