aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-09-26minor: Make SP.MakeRootAgent() private - no external code has any business ↵Justin Clark-Casey (justincc)1-1/+1
calling this method
2013-09-26minor: Stop debug logging whenever an npc is moved, other npc log related ↵Justin Clark-Casey (justincc)1-16/+15
formatting cleanups
2013-09-26Revert "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-26Create 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-26minor: correct method name in commentJustin Clark-Casey (justincc)1-1/+1
2013-09-26refactor: rename *ChildAgentDataUpdate() methods to *UpdateChildAgent()Justin Clark-Casey (justincc)3-9/+10
verb-noun is consistent with other similar methods
2013-09-26minor: 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-26Double 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-26Change 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-20Reinstate 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-20Comment out warning about no grid user found in ↵Justin Clark-Casey (justincc)1-4/+4
UMM.TryGetUserNamesFromServices() for now
2013-09-20Fix 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-20Reinsert comments about possible race conditions when sending bulk inventory ↵Justin Clark-Casey (justincc)1-0/+3
updates on non-flag clothing editing
2013-09-20Fix 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-20Make 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-20To 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-206762: 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-20Allow 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-20BulletSim: remove collision cache clearing logic for physical objects.Robert Adams1-2/+5
This fixes constraints from getting messed up when properties change.
2013-09-20Change handling of the FetchInventoryDescendents2 capability configuration ↵Mic Bowman1-23/+36
to allow for external handlers.
2013-09-20BulletSim: 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-20BulletSim: add LSL function and plumbing for setting a springRobert Adams4-3/+40
equilibrium point in the physics engine constraint.
2013-09-20BulletSim: 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-20BulletSim: 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-20BulletSim: 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-20BulletSim: 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.
2013-09-20BulletSim: add requestor's ID to post taint detail log message.Robert Adams1-2/+3
2013-09-20BulletSim: remove chatty debug message from previous commit.Robert Adams1-3/+3
2013-09-20BulletSim: add position and rotation update for child prim physics update ↵Robert Adams1-0/+20
events. Normally, physics engines do not return updates for child prims so, under normal operation, this code should never execute. Will only be used when using flexible linkset linkages.
2013-09-20BulletSim: pass both root and child BSPhysObjects to Extension function. ↵Robert Adams3-35/+41
Update routines to use the new parameters list from above change.
2013-09-20BulletSim: add ID parameter to TaintedObject calls so logging will include ↵Robert Adams8-70/+89
LocalID of object which created the taint.
2013-09-20BulletSim: Extension parameters passed through the classes made to pass just ↵Robert Adams5-35/+98
and array of objects rather than a mixture of parameters and array. Makes understanding and parsing what is being passed much easier.
2013-09-20BulletSim: adjust avatar capsule height calculation to be closer to defined ↵Robert Adams2-7/+12
SL heights. Correct BSParam avatar height defaults to be what's in OpenSimDefaults.ini.
2013-09-20BulletSim: add extended physics function physGetLinkType(linkNum). Add ↵Robert Adams4-23/+163
implementation of physChangeLinkParams() in BSLinksetConstraint.
2013-09-20BulletSim: change ExtendedPhysics constants to 'const' so they can be used ↵Robert Adams2-28/+50
as case variables in switch statements.
2013-09-20BulletSim: add physChangeLinkParams to set individual parameters on link ↵Robert Adams6-167/+324
constraints. Not fully functional. Remove double definition of ExtendedPhysics parameters by having BulletSim reference the optional module (addition to prebuild.xml and usings).
2013-09-20BulletSim: update C++ HACD parameters to values that handle enclosed hollow ↵Robert Adams1-8/+8
spaces better. This shouldn't affect many since this HACD routine is off by default.
2013-09-20BulletSim: add physChangeLinkSpring to change linkset link to be a spring ↵Robert Adams5-14/+198
constraint. Add implementation to create spring constraint. Send up property updates for linkset children at the end of flexible linkset links. The simulator probably doesn't do the right thing yet.
2013-09-20BulletSim: Linkset.Refresh() calls internal ScheduleRebuild() to recreate ↵Robert Adams2-14/+14
the linkset physics at next PostTaint time. Replace the existing calls to ScheduleRebuild to be calls to Refresh(). This allows external routines to make changes to parameters and then cause the linkset to rebuild.
2013-09-20BulletSim: initial implementation of physChangeLinkFixed that resets a ↵Robert Adams3-10/+105
linkset's link back to a fixed, non-moving connection.
2013-09-20BulletSim: move linkset extension operations into BSPrimLinkable where they ↵Robert Adams2-31/+42
should be.
2013-09-20BulletSim: add unmanaged and XNA functions for hinge, slider and spring ↵Robert Adams3-2/+241
constraints.
2013-09-20BulletSim: complete linkage of spring constraint into linkset constraint.Robert Adams3-15/+77
2013-09-20BulletSim: add spring constraint to linkset constraint types.Robert Adams1-0/+85
2013-09-20BulletSim: add API and calls for spring constraint parameters.Robert Adams3-0/+82
2013-09-20BulletSim: fixes for change linkset implementation of physical linksets.Robert Adams5-18/+50
2013-09-20Change collision logic in SceneObjectPart so land_collision will happen.Robert Adams1-6/+3
The previous logic would generate land_collision_start and land_collision_end but would not generate the land_collision itself.
2013-09-05Restore group membership check for HG users in QueryAccess.Diva Canto3-12/+17
2013-09-04Stop "show client stats" from throwing an exception if somehow ↵Justin Clark-Casey (justincc)1-1/+8
Scene.m_clientManager still retains a reference to a dead client. Instead, "show client stats" now prints "Off!" so that exception is not thrown and we know which entries in ClientManager are in this state. There's a race condition which could trigger this, but the window is extremely short and exceptions would not be thrown consistently (which is the behaviour observed). It should otherwise be impossible for this condition to occur, so there may be a weakness in client manager IClientAPI removal.
2013-09-04In pCampbot PhysicsBehaviour.Close(), only cancel jumping if bot is connectedJustin Clark-Casey (justincc)1-1/+2