aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-06-17 split ugly expression in a if making it simpler to readUbitUmarov1-3/+5
2012-06-17Don't let scripts rotate root part of physical linksets like SL, Update ↵UbitUmarov1-35/+66
client rotation of avatars 'linked' to child parts. (put back some 'cosmetics' from previus commit). Still let lsl api use physics engine ideia of part Physical state on this where it should be SOP ideia, so is that is clear that sync with engine is SOP responsability.
2012-06-15Reapply the one change that was in the revert that was actually function, notMelanie1-1/+1
form
2012-06-15Revert changes...UbitUmarov1-55/+34
This reverts commit c8227e1bb70817351de283fb647ec39f090fc9f1.
2012-06-15 SL doesn't let scripts rotate root part of physical linksets also fix ↵UbitUmarov1-16/+27
sitting avatars rotations broken in previus commit, forcing send of updates.
2012-06-15 only rotation of root part change parts positions, so only call ↵UbitUmarov1-21/+31
ResetChildPrimPhysicsPositions() if root part. Plus 'cosmetics'
2012-06-13 Changed t adding the avatar dependent sit offset and not subtracting, so ↵UbitUmarov1-25/+42
not to break inworld contents. SL ported scripts will show a sit error around 0.1m. Added respective compensation in LSL api to maintain coerence. Fixed several bugs still on SET/GET[link]PrimitiveParams[fast] and llGetObjectDetails()
2012-06-13 convert a LSL rotation of <0,0,0,0> to <0,0,0,1> and not <0,0,1,0> in ↵UbitUmarov1-1/+1
SitTarget. Something seems to be doing that before this gets called, but just in case...
2012-06-13Fixed llGetObjectDetails(), OBJECT_ROT for sitting avatars case, plus ↵UbitUmarov1-9/+23
'cosmetics' and added some parts costs information.
2012-06-13*TEST this will affect inworld sittargets by +-0.1m, so may be very BAD *. ↵UbitUmarov1-9/+17
Changed the sign of the sitoffset dependent on avatar size in SP.cs. Removed that offset correction from SET/GET..primitiveParams in LSL api. If the sign needs to be the previus one, then all references to avatar positions on LSL api need to be fixed with that correction, not only SET/GETprimitiveParams.
2012-06-13Add detecting non-physical phantoms back into raycastMelanie1-3/+11
2012-06-12 try to replicate SL bug of PRIM_ROTATION also for avas, est a fix to other ↵UbitUmarov1-3/+10
cases
2012-06-12fix the try.. finally in SetPrimitiveParams i did mess and add one for the ↵UbitUmarov1-188/+156
avatars case, so to optimize a bit 'warp' scripts.
2012-06-12 more changes to Get and Get primitiveparams: Let Get remove avatarheight ↵UbitUmarov1-26/+94
adjust,add Get PRIM_LINK_TARGET handling, changed avatar Set positions code...
2012-06-12 Moved auxiliar funtions of last commit from sop to lsl api since they are ↵UbitUmarov1-5/+22
only used on one place each
2012-06-12*UNTESTED* extended llGet*PrimitiveParam() to support avatars. Some auxiliar ↵UbitUmarov1-3/+238
code in SOP.cs
2012-06-08Make llTeleportAgent conform to Magnum SL Server and add ↵Melanie3-5/+73
llTeleportAgentGlobalCoords()
2012-06-08*UNTESTED* fix PRIM_LINK_TARGET. Make it work on avatars, set any pending ↵UbitUmarov1-7/+37
position change on others; don't assume m_host is in same grp that part (possible always is)...
2012-06-08*UNTESTED* let SetPrimParams for avatars parse even unsupported parameters ↵UbitUmarov1-2/+84
so that if a supported one is in the middle of then it still works.
2012-06-08*UNTESTED* added PRIM_POS_LOCAL and PRIM_ROT_LOCAL in SetPrimParams for ↵UbitUmarov1-6/+46
avatars. Stopped setting position twice in normal SetPrimParams
2012-06-07Typo correctionMelanie1-1/+1
2012-06-07Set collision sound type so custom sound types are recognizedMelanie1-0/+2
2012-06-07Prevent a null ref when getting the velocity of an avatar during login orMelanie1-2/+3
logout.
2012-06-05 revert last bad commit but fix recoil directionUbitUmarov1-4/+4
2012-06-05 Stop llRezAtRoot() from applying velocity setting impulse in ↵UbitUmarov1-2/+3
World.RezObject, doing it only in itself, so its applyed after resuming scripts etc. It was giving twice the requested velocity.
2012-06-04Fix llAttachToAvatar and "Attach" viewer option to preserve saved attach ↵Melanie1-1/+1
positions.
2012-06-01Fix LSL animation state reporting and animation state transitions on crossingMelanie1-7/+33
2012-05-30Prevent multiple requests to go physical from reaching the physics pluginMelanie1-0/+4
2012-05-16 Added a invalidCollisionSoundUUID so that scripts can stop all collision ↵UbitUmarov2-2/+10
sounds with llCollisionSound("",...). UUID.Zero means defaults should be used. In case part has several scripts with confliting llCollisionSound result depende on exec order. Specially on reset the efect of "" depends on reset order, it should override the others. This is intermediate improve(?) since collisions sounds seem to need a deaper revision.
2012-05-14make llGetCameraPos and llGetCameraRot apply to avatar that granted ↵UbitUmarov1-4/+14
permission and not owner
2012-05-14Completely revamp collision handling. Now works as it is supposed to.Melanie1-10/+11
2012-05-11Mantis 6015 new LSL function llGetAgentList.Talun4-0/+96
Details in the lsl wiki
2012-04-29 llGetGeometricCenter...UbitUmarov1-1/+2
2012-04-28fix llGetCenterOfMass ( checked with ubitODE only)UbitUmarov1-1/+1
2012-04-16fix (http://opensimulator.org/mantis/view.php?id=5965) llGetObjectMass was ↵UbitUmarov1-2/+23
bad for sitted avatars not checking for the null physicsactor
2012-04-16 Let llCastRay use ubitODE raycast if avaiable plus a few changes/fixes that ↵UbitUmarov1-22/+86
should be checked. PROBLEM: it will not detect nonphysical phantons :(
2012-04-09 llGetMass and llGetObjectMass (and push estimation) always use object mass ↵UbitUmarov3-9/+30
as in current SL ( push is what makes sense or impulse will depend on what prim it is and not object). Added llGetMassMKS() that just returns 100 x llGetMass() as it seems to be in SL.
2012-04-08Fix a LSL merge artefactMelanie1-10/+2
2012-04-07Store FromItemID for attachments once on SOG instead of on every SOP and ↵Justin Clark-Casey (justincc)1-1/+1
only ever using the root part entry. This eliminates some pointless memory use.
2012-04-06Implement PRIM_POS_LOCAL on llSetPrimitiveParams() and other prim params LSL ↵Justin Clark-Casey (justincc)1-0/+1
functions. This is the same as PRIM_POSITION
2012-04-06refactor: Use clearer part.ParentGroup.IsAttachment in LSL_Api.GetPartLocalPos()Justin Clark-Casey (justincc)1-4/+4
2012-04-06Fix llGetLinkPrimParams for PRIM_POS_LOCAL for child prims whether in scene ↵Justin Clark-Casey (justincc)1-10/+11
or attachments. Return relative position to root prim rather than 0,0,0. Should fix same issue with llGetLocalPos() http://opensimulator.org/mantis/view.php?id=5951
2012-04-06For llGetMass(), return the mass of the avatar is the object is attached.Justin Clark-Casey (justincc)1-3/+24
As per http://lslwiki.net/lslwiki/wakka.php?wakka=llGetMass This is the mass as used by the physics engine (ODE or Bullet).
2012-04-06Addition of missing constants for llGetObjectDetails including for Mantis 5502Talun2-0/+82
Signed-off-by: nebadon <michael@osgrid.org>
2012-04-06Make llGetMass() return total mass of object when called on root prim.Justin Clark-Casey (justincc)1-1/+4
As per http://lslwiki.net/lslwiki/wakka.php?wakka=llGetMass Aims to resolve http://opensimulator.org/mantis/view.php?id=5954
2012-04-03Fix more SOP.PhysActor race conditions in LSL_ApiJustin Clark-Casey (justincc)1-7/+19
2012-03-31Rename SOG.HasChildPrim(uint) to SOG.ContainsPart(uint) to match existing ↵Justin Clark-Casey (justincc)1-3/+3
ContainsPart method and remove method duplication. HasChildPrim is also misleading since the 'root' prim can also be returned.
2012-03-29Allow llTeleportAgent to work in attachmentsMelanie1-0/+10
2012-03-27Two new scripting functions osInviteToGroup(userID) and ↵Snoopy Pfeffer3-0/+82
osEjectFromGroup(userID) that invite/eject users to/from groups the object containing the script is set to. These functions also work for closed groups.
2012-03-27User level based restrictions for HyperGrid teleports, asset uploads, group ↵Snoopy Pfeffer1-0/+3
creations and getting contacted from other grids. Incoming HyperGrid teleports can also be restricted to local users.