aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region (follow)
Commit message (Collapse)AuthorAgeFilesLines
* refactor: Rename recent new Client*UpdateTolerance to Root*UpdateTolerance ↵Justin Clark-Casey (justincc)2014-08-063-19/+19
| | | | for better accuracy and consistency with other similar parameters
* Fixed premature closing of the connection in DataSnapshotManagerOren Hurvitz2014-08-051-14/+14
|
* Make currently unfiltered EventQueue log messages only appear now at ↵Justin Clark-Casey (justincc)2014-08-051-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
* Fix typo in log messageBlueWall2014-08-021-1/+1
|
* Fix regression in SimulatorFeatures module that would stop OpenSimulator ↵Justin Clark-Casey (justincc)2014-08-011-12/+20
| | | | from starting if no [SimulatorFeatures] section was present in config.
* Add region-side extra feature setting for destination guideBlueWall2014-07-311-0/+4
|
* BulletSim: thread safe handling of list of avatars.Robert Adams2014-07-301-3/+18
| | | | Fix for 7284 which is an enumeration exception when starting up a region.
* Simulator Extra Features ServiceBlueWall2014-07-302-9/+194
| | | | | Provide a means for regions to fetch extra features supported by modern viewers from a central location .
* In TerrainModule, lock m_perClientPatchUpdates when removing entries.Justin Clark-Casey (justincc)2014-07-291-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
* Implement "scene debug set root-upd-per" for dropping 1 in N root agent ↵Justin Clark-Casey (justincc)2014-07-293-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.
* Add debug mechanism for only sending 1 in N AgentUpdate packets to child agents.Justin Clark-Casey (justincc)2014-07-293-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.
* Add "debug scene set appear-refresh true|false" to control whether periodic ↵Justin Clark-Casey (justincc)2014-07-291-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.
* Make it possible to change avatar position update, rotation and velocity ↵Justin Clark-Casey (justincc)2014-07-293-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.
* Allow the "debug scene set physics false|true" command to work when ↵Justin Clark-Casey (justincc)2014-07-296-29/+66
| | | | | | 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.
* minor: make "debug scene set" usage command accurate again from last commit ↵Justin Clark-Casey (justincc)2014-07-291-2/+1
| | | | f6f7585
* Add a "debug scene set child-repri <double>" command that allows child ↵Justin Clark-Casey (justincc)2014-07-293-19/+37
| | | | | | | | 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.
* BulletSim: rearrange code for sensing whether shapes have beenRobert Adams2014-07-263-60/+60
| | | | | | constructed. Add routine to check for failed and use that method rather than checking individual state.
* Revert "Write UDP statistics to the log, not just the console (e.g., "show ↵Justin Clark-Casey (justincc)2014-07-251-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.
* Fix recent regression in 3c6becd5 where login or hg login to variable sized ↵Justin Clark-Casey (justincc)2014-07-222-16/+12
| | | | | | | | | regions failed with outdated simulator message. I forgot that a null 'their version' would not be passed over the wire and ends up as an empty string instead (like older simulators). So instead pass through the correct simulator protcol version instead (SIMULATOR/0.3) when querying from login or hg login. Also removes a debug console write for agent limit accidentally left in for the same commit. Relates to mantis 7276
* On login and first HG entrance to a foreign grid, perform query access ↵Justin Clark-Casey (justincc)2014-07-212-11/+16
| | | | checks before proceeding.
* Fixed: after a Hypergrid teleport, attachments often either disappear, or ↵Oren Hurvitz2014-07-211-10/+13
| | | | | | | | | | | appear both on the avatar AND as in-world objects. Another manifestation of this bug is that after a Hypergrid teleport, when you click on one of the avatar's attachments the object doesn't show its name. This means that the viewer knows the attachment is there, but the simulator does not. The problem was caused by treating Hypergrid teleports as if they're Logins (because the teleport flag ViaLogin is enabled). This may fix: http://opensimulator.org/mantis/view.php?id=7238 This may fix: http://opensimulator.org/mantis/view.php?id=7220
* Fixed avatar hovering above the ground. The avatar physics capsule was too tall.Oren Hurvitz2014-07-211-2/+4
| | | | | This is related to http://opensimulator.org/mantis/view.php?id=7067 . But that bug complains about BulletSim, and this fix is for ODE.
* Allow reading the BulletSim detail log while the sim is runningOren Hurvitz2014-07-211-2/+2
|
* XBakes: store the assets only in the sim's local assets cache; not in the ↵Oren Hurvitz2014-07-212-90/+39
| | | | main assets server. Also, some cleanup.
* Fixed problems if an avatar tries to cross regions when the previous cross ↵Oren Hurvitz2014-07-212-136/+134
| | | | | | hasn't completed yet This caused the client to stop responding, and even the simulators to have problems. The solution is to disallow crossing before the previous cross has completed.
* Added locking in AccessModule to prevent possible errors when shutting down ↵Oren Hurvitz2014-07-211-3/+7
| | | | a simulator that has >1 region
* Eliminated common but un-useful log messagesOren Hurvitz2014-07-212-3/+7
|
* Minor: changed "existant" to "existent"Oren Hurvitz2014-07-212-3/+3
|
* In "show throttles", show the maximum drip rate. This shows whether a client ↵Oren Hurvitz2014-07-213-14/+19
| | | | is being throttled due to past poor performance.
* Write UDP statistics to the log, not just the console (e.g., "show queues")Oren Hurvitz2014-07-211-32/+37
|
* Added "debug packet --all" option, which changes the packet logging level ↵Oren Hurvitz2014-07-211-8/+26
| | | | | | for both current and future clients The existing "--default" option only changes the logging level for future clients.
* Fixed the logic that decides if a packet was queued (it was reversed)Oren Hurvitz2014-07-211-5/+6
|
* Eliminated some warningsOren Hurvitz2014-07-212-2/+1
|
* Close streams immediately when we finish using themOren Hurvitz2014-07-2112-147/+143
|
* Set "[Terrain]SendTerrainUpdatesByViewDistance=true" by default.Robert Adams2014-07-201-1/+1
| | | | | | | | This, by default, enables terrain patches being sent to each avatar from the avatar away (rather than the old outside-in pattern), only sending terrain patches within the avatars view distance (making view loading quicker), and sending multiple terrain patches per protocol packet (making terrain loading and editing quicker).
* BulletSim: Modify first and default vehicle vertical attractor to be feature ↵Vegaslon2014-07-181-0/+14
| | | | | | complete with use of the Limit Roll Only Flag. Signed-off-by: Robert Adams <misterblue@misterblue.com>
* minor: Add meters unit to water height console displayJustin Clark-Casey (justincc)2014-07-181-1/+1
|
* Add "show region" command which will show parameters for current region.Justin Clark-Casey (justincc)2014-07-181-1/+73
| | | | This shows static data (e.g. region agent limit) whereas "show scene" shows live data (sim fps, current prims, etc.)
* In grid mode, add SuppressConsoleCommands flag to [GridService] so that we ↵Justin Clark-Casey (justincc)2014-07-181-4/+3
| | | | | | can stop misleading grid service only console commands from registering. We need to do this because the simulator initializes and internal copy of the GridService in grid mode for internal purposes
* refactor: slightly adjust some code in ODECharacter.Move() to eliminate a ↵Justin Clark-Casey (justincc)2014-07-181-18/+19
| | | | condition check without changing the logic
* With ODE physics, fix an issue where the avatar couldn't jump and then move ↵Justin Clark-Casey (justincc)2014-07-181-18/+5
| | | | | | | forward when moving south or west. Addresses http://opensimulator.org/mantis/view.php?id=5003 Thanks to UbitUmarov for this fix.
* BulletSim: rearrange code to prevent using null pointers when aRobert Adams2014-07-171-11/+10
| | | | child mesh is not available when building a linkset.
* fix all instances of "non-existant" to "non-existent" (spelling mistakes) ↵Michael Cerquoni2014-07-174-6/+6
| | | | thanks Ai Austin for pointing this out.
* Change default script stop method to co-op instead of abort.Justin Clark-Casey (justincc)2014-07-161-1/+5
| | | | | | | co-op should be more stable as it doesn't abort threads, which can trigger virtual machine instability This change will be invisible to users as script DLLs are recompiled automatically where necessary, though the change won't take affect until the next simulator restart. This change has no effect on existing script state. If you want to continue using abort, set ScriptStopStrategy = abort in the [XEngine] section of OpenSim.ini
* Use thread-safe version of .NET Random as the SDK class is not thread-safe.Justin Clark-Casey (justincc)2014-07-141-4/+2
| | | | | | | | As per http://msdn.microsoft.com/en-us/library/system.random%28v=vs.100%29.aspx, the .NET Random class is not thread-safe. If called by multiple threads at once, methods may return 0. Except for llRand(), other OpenSimulator code did not lock before calling a shared Random instance. This commit adds a ThreadSafeRandom class that extends Random but does internal locking so that it is thread-safe. This change is invisible to existing callers and the explicit locking in the llFrand() implementation is now redundant.
* Call RemoveScriptInstance when removing from inventoryDev Random2014-07-141-2/+2
|
* minor: Move debug xengine script console command to Debug help section where ↵Justin Clark-Casey (justincc)2014-07-111-1/+1
| | | | other debug commands live.
* minor: further cleanup of old vb and yield prolog script engine references ↵Justin Clark-Casey (justincc)2014-07-113-20/+2
| | | | that were removed some time ago
* If [XEngine] ScriptStopStrategy is changed between abort and co-op, for the ↵Justin Clark-Casey (justincc)2014-07-116-67/+111
| | | | | | | existing session use the previous strategy for that script rather than not starting the script at all. We have to do this since we can't unload existing DLLs if they're all in the same AppDomain. But we can still update the underlying DLL which will be used in the next simulator session.
* refactor: use existing Compiler.CreateScriptsDirectory() (renamed to ↵Justin Clark-Casey (justincc)2014-07-101-26/+4
| | | | | | | CheckOrCreateScriptsDirectory()) when checking that scripts directory exists on compile. Code was identical apart from error logging, but if there are failures creating these directories then you'll be seeing lots of errors anyway, and these will be more informative