aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-09-25varregion: serious rework of TerrainChannel:Robert Adams7-122/+226
-- addition of varaible region size in X and Y -- internal storage of heightmap changed from double[] to short[] -- helper routines for handling internal structure while keeping existing API -- to and from XML that adds region size information (for downward compatibility, output in the legacy XML format if X and Y are 256) Updated and commented Constants.RegionSize but didn't change the name for compatibility.
2013-09-25Remove time based terrain storage in SQLite so revision number can be usedRobert Adams1-0/+21
to denote terrain format revision. Add terrain DB format revision codes to ISimulationDataStore.cs. Setup so legacy compatible terrain storage and fetch is possible while allowing future format extensions.
2013-09-25VarRegion: change RegionInfo storage of region coordinates from regionRobert Adams22-112/+112
count number to integer world coordinates. Added new methods RegionWorldLoc[XY]. Refactored name of 'RegionLoc*' to 'LegacyRegionLoc*' throughout OpenSim. Kept old 'RegionLoc*' entrypoint to RegionInfo for downward compatability of external region management packages.
2013-09-26minor: Comment out windlight log message about sending scene data for now.Justin Clark-Casey (justincc)1-1/+2
2013-09-26minor: Add scene name to baked textures in cache log messageJustin Clark-Casey (justincc)1-1/+1
2013-09-26minor: log MaxOutgoingTransferVersion at EntityTransferModule startupJustin Clark-Casey (justincc)1-0/+4
2013-09-25minor: correct spelling of Initialized in LSC connector version messageJustin Clark-Casey (justincc)1-1/+1
2013-09-25Move adding UUID.Zero -> Unknown User binding to UMM.Init() so that it's ↵Justin Clark-Casey (justincc)1-2/+1
also called by HGUserManagementModule
2013-09-25Reinsert client.SceneAgent checks into ↵Justin Clark-Casey (justincc)2-11/+29
LLUDPServer.HandleCompleteMovementIntoRegion() to fix race condition regression in commit 7dbc93c (Wed Sep 18 21:41:51 2013 +0100) This check is necessary to close a race condition where the CompleteAgentMovement processing could proceed when the UseCircuitCode thread had added the client to the client manager but before the ScenePresence had registered to process the CompleteAgentMovement message. This is most probably why the message appeared to get lost on a proportion of entity transfers. A better long term solution may be to set the IClientAPI.SceneAgent property before the client is added to the manager.
2013-09-25Reinsert 200ms sleep accidentally removed in commit 7dbc93c (Wed Sep 18 ↵Justin Clark-Casey (justincc)1-2/+2
21:41:51 2013 +0100)
2013-09-25Instead of swallowing any socket begin/end receive exceptions, log them for ↵Justin Clark-Casey (justincc)1-7/+32
debugging purposes. This may reveal why on some teleports with current code, the UseCircuitCode message gets through but CompleteMovement disappears into the ether.
2013-09-22Preserve attachment point & position when attachment is rezzed in worldAleric Inglewood7-1/+52
Patch taken from http://opensimulator.org/mantis/view.php?id=4905 originally by Greg C. Fixed to apply to r/23314 commit ba9daf849e7c8db48e7c03e7cdedb77776b2052f (cherry picked from commit 4ff9fbca441110cc2b93edc7286e0e9339e61cbe)
2013-09-21minor: Recomment out log message uncommented in previous cbdfe969Justin Clark-Casey (justincc)1-4/+4
2013-09-21When giving items between avatars in different simulators, only add the item ↵Oren Hurvitz1-9/+44
to the receiving avatar's inventory once. When a user gives an item, the user's client sends an InventoryOffered IM message to its simulator. This adds the item to the receiver's inventory. If the receiver isn't in the same simulator then XMLRPC is used to forward the IM to the correct simulator. The bug was that the receiving simulator handled the message by calling OnInstantMessage() again, which added a second copy of the item to the inventory. Instead, the receiving simulator should only notify the avatar that the item was offered.
2013-09-21minor: Add prefix to log message in LureModuleJustin Clark-Casey (justincc)1-1/+1
2013-09-20minor: Correct minor spelling mistake Reseting -> Resetting in HG Map module ↵Justin Clark-Casey (justincc)1-1/+1
log message
2013-09-20Make UUID.Zero resolve to "Unknown User" in user cache.Justin Clark-Casey (justincc)1-0/+2
This is to avoid massive numbers of 'no user found' logs when user IDs are missing for some reason. UUID.Zero should not be used for any user ID.
2013-09-20Lock around read/write of ScenePresence.m_originRegionID to make sure that ↵Justin Clark-Casey (justincc)1-5/+33
all threads are seeing the latest value and not a cached one. There is a possibilty that some V2 teleport failures are due to the viewer triggered CompleteMovement thread not seeing the change of m_originRegionID by the UpdateAgent thread.
2013-09-20Change some message log levels in Scene.IncomingUpdateChildAgent() for ↵Justin Clark-Casey (justincc)1-3/+3
debugging purposes
2013-09-20BulletSim: reduce avatar walking stopped threshold.Robert Adams2-0/+4
Add parameter for setting the walking stopped threshold. This fixes the slight jump when an avatar stops walking.
2013-09-20BulletSim: zero velocity when avatar not moving.Robert Adams1-0/+1
This fixes a movement jitter that happens when an avatar is standing on a tilted surface.
2013-09-19UUID Gatherer: find assets used in Light Projection, Particle Systems, and ↵Oren Hurvitz1-1/+14
Collision Sounds.
2013-09-19For debug purposes, allow simulators to force use of earlier SIMULATION/0.1 ↵Justin Clark-Casey (justincc)2-5/+50
teleport protocol even if SIMULATION/0.2 is available. This is specified in the MaxOutgoingTransferVersion attribute of [EntityTransfer] in OpenSim.ini, see OpenSimDefaults.ini for more details. Default remains "SIMULATION/0.2" Primarily for http://opensimulator.org/mantis/view.php?id=6755
2013-09-19minor: Make SP.MakeRootAgent() private - no external code has any business ↵Justin Clark-Casey (justincc)1-1/+1
calling this method
2013-09-19minor: Make log message at top of ScenePresence.CompleteMovement info level ↵Justin Clark-Casey (justincc)1-5/+5
and comment out later log message in ScenePresence.MakeRootAgent() Need an info message since this is currently important in detecting teleport issue when not at debug log level. CompleteMovement message occurs before MakeRootAgent() one did
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-09-19Revert "Also check user authorization if looking to upgrade from a child to ↵Justin Clark-Casey (justincc)1-13/+0
a root agent." This reverts commit c7ded0618c303f8c24a91c83c2129292beebe466. This proves not to be necessary - the necessary checks are already being done via QueryAccess() before cross or teleport
2013-09-19Create regression TestCrossOnSameSimulatorNoRootDestPerm() to check that ↵Justin Clark-Casey (justincc)2-1/+88
avatars are not allowed to cross into a neighbour where they are not authorized, even if a child agent was allowed.
2013-09-18minor: correct method name in commentJustin Clark-Casey (justincc)1-1/+1
2013-09-18refactor: rename *ChildAgentDataUpdate() methods to *UpdateChildAgent()Justin Clark-Casey (justincc)3-9/+10
verb-noun is consistent with other similar methods
2013-09-18minor: Make log message when Scene.IncomingChildAgentDateUpdate() more ↵Justin Clark-Casey (justincc)2-4/+12
explicit that there is a problem if it still finds the agent to be a child if the sender wanted to wait till it became root Add some comments about the mssage sequence, though much more data is at http://opensimulator.org/wiki/Teleports
2013-09-18Double the time spent waiting for a UseCircuitCode packet in ↵Justin Clark-Casey (justincc)1-1/+1
LLUDPServer.HandleCompleteMovementIntoRegion() This is to deal with one aspect of http://opensimulator.org/mantis/view.php?id=6755 With the V2 teleport arrangements, viewers appear to send the single UseCircuitCode and CompleteAgentMovement packets immediately after each other Possibly, on occasion a poor network might drop the initial UseCircuitCode packet and by the time it retries, the CompleteAgementMovement has timed out and the teleport fails. There's no apparant harm in doubling the wait time (most times only one wait will be performed) so trying this.
2013-09-18Change logging to provide more information on ↵Justin Clark-Casey (justincc)1-10/+39
LLUDPServer.HandleCompleteMovementIntoRegion() Add more information on which endpoint sent the packet when we have to wait and if we end up dropping the packet Only check if the client is active - other checks are redundant since they can only failed if IsActve = false
2013-09-17Reinstate insertion of "Unknown UserUMMAU4" now, as naive removing may be ↵Justin Clark-Casey (justincc)1-35/+31
generating too many repeating user requests from other sources. Leaves in the dropping of the client GUN8 (now 9) uuid binding message, since this was the much more common case from the viewer-side and this can only affect viewers.
2013-09-17Comment out warning about no grid user found in ↵Justin Clark-Casey (justincc)1-4/+4
UMM.TryGetUserNamesFromServices() for now
2013-09-17Fix issue in recent 3f0fa9f7 where the code start adding unknown user cache ↵Justin Clark-Casey (justincc)1-2/+3
entries with no name
2013-09-16Reinsert comments about possible race conditions when sending bulk inventory ↵Justin Clark-Casey (justincc)1-0/+3
updates on non-flag clothing editing
2013-09-16Fix bug where using PRIM_LINK_TARGET with only two remaining list items ↵Justin Clark-Casey (justincc)2-2/+16
(e.g. link number then PRIM_ROTATION) would not return the parameter Extended regression test for this case
2013-09-16Make llGetLinkPrimitiveParams() abort and return existing list of params ↵Justin Clark-Casey (justincc)3-239/+397
when it encounters an invalid link number, rather than throwing an exception Addresses http://opensimulator.org/mantis/view.php?id=6768 Thanks to talun for the patch on that commit - in the end I took a different approach that also deals with invalid PRIM_LINK_TARGET However, not yet generating the same warning on invalid PRIM_LINK_TARGET as seen on LL grid This commit also adds regression tests for some cases of llGetLinkPrimitiveParams()
2013-09-16To avoid viewers (particularly on the Hypergrid) from permanently caching a ↵Justin Clark-Casey (justincc)1-35/+42
UUID -> "Unknown User" binding, drop the binding request rather than replying with "Unknown User" By not binding UUID -> "Unknown User", we leave open the possibility that the binding may be correctly resolved at a later time, which can still happen in some Hypergrid situations. Observed behaviour of LL viewer 3.3.4 is that a dropped bind request is not retried until the next session.
2013-09-126762: llList2Key fails to convert a string in a list to a keyTalun1-1/+1
llGetPrimitiveParams changed to return the sculpty key as an LSL_String so that type checking in llList2Key will work
2013-09-12Allow setting the EntityTransfer-max_distance to 0 to override distance ↵BlueWall1-0/+3
checks. This is to facilitate current viewer work fixing the distance limitations for teleporting.
2013-09-11BulletSim: remove collision cache clearing logic for physical objects.Robert Adams1-2/+5
This fixes constraints from getting messed up when properties change.
2013-09-11Change handling of the FetchInventoryDescendents2 capability configuration ↵Mic Bowman1-23/+36
to allow for external handlers.
2013-09-11BulletSim: add ClearCollisionProxyCache function to API.Robert Adams4-2/+35
Add proxy cache clearing when some properties are changed. This fixes a problem where objects would stop colliding of they were moved with setPosition mulitple times.
2013-09-11BulletSim: add LSL function and plumbing for setting a springRobert Adams4-3/+40
equilibrium point in the physics engine constraint.
2013-09-11BulletSim: add extended physics LSL constants for axis specification.Robert Adams3-37/+74
Add specific error warnings for mis-matched parameter types in extended physics functions.
2013-09-11BulletSim: ability to specify groups of axis to modify in constraint ↵Robert Adams2-9/+56
parameters that control multiple axis. Add useLinearReferenceFrameA constraint parameter.
2013-09-11BulletSim: add axis parameter for specifying enable, damping, and stiffness ↵Robert Adams4-21/+44
for spring constraints. Renumber parameter ops since I can as no one is using them yet.
2013-09-11BulletSim: implementation of setting spring specific physical parameters. ↵Robert Adams4-36/+81
Add setting of linkset type to physChangeLinkParams. Lots of detail logging for setting of linkset constraint parameters.