aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Revert " lltargetomega efective spinrate now multiplied by gain ( need check )"Melanie2012-07-131-1/+0
| | | | | | | Undo figuring gain into spinrate in llTargetOmega. In SL, gain has null effect on nonphysical spinning objects. This reverts commit df55de5b3d88e241f35217d5c08d02b921991513.
* remove expensive and leaked ( in Xengine at least) SayShout timer andUbitUmarov2012-07-111-5/+23
| | | | | replace it by a simpler function that should do the same (?) (don't like much those 10 + 1 bursts)
* lltargetomega efective spinrate now multiplied by gain ( need check )UbitUmarov2012-07-101-0/+1
|
* more work on llSetAngularVelocity()UbitUmarov2012-07-101-3/+1
|
* added llSetVelocity. will refuse to work on vehicles and on attachments ( ↵UbitUmarov2012-07-063-1/+29
| | | | this last may need fix) added also some code for llSetAngularVelocity but not working still
* Add an EventType enum and Type field to the poll service event args. This allowsMelanie2012-07-051-1/+1
| | | | | the manager to tell what type of event it is. All events except for lsl http in go to the "slow queue" which is run once per second as before.
* Implement the buggy version of llXorBase64Strings() for compatibility's sakeMelanie2012-07-021-3/+84
|
* Bring casing of llSHA1String in line with SLMelanie2012-07-011-1/+1
|
* don't recoil attachments doing llRezObject()UbitUmarov2012-06-291-2/+8
|
* Merge branch 'avination' into ubitworkUbitUmarov2012-06-291-0/+2
|\
| * Return NPC instead of AGENT in the detect parameters for touch, collision andMelanie2012-06-281-0/+2
| | | | | | | | sensor.
* | reactivate physics raycasts on llCastRay() until it's clear what is its ↵UbitUmarov2012-06-281-1/+1
| | | | | | | | problem if any...
* | Merge branch 'avination' into ubitworkUbitUmarov2012-06-282-3/+4
|\ \ | |/
| * Disable physics raycast until it can be seen to. Fix distance calculationMelanie2012-06-261-2/+3
| | | | | | | | for some results.
| * Correct a wrong error constantMelanie2012-06-261-1/+1
| |
* | don't send a lot of avatar data when we are just changing position or ↵UbitUmarov2012-06-171-4/+8
| | | | | | | | rotation ( SendTerseUpdateToAllClients() in place of SendAvatarDataToAllAgents() )
* | split ugly expression in a if making it simpler to readUbitUmarov2012-06-171-3/+5
| |
* | Don't let scripts rotate root part of physical linksets like SL, Update ↵UbitUmarov2012-06-171-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.
* Reapply the one change that was in the revert that was actually function, notMelanie2012-06-151-1/+1
| | | | form
* Revert changes...UbitUmarov2012-06-151-55/+34
| | | | This reverts commit c8227e1bb70817351de283fb647ec39f090fc9f1.
* SL doesn't let scripts rotate root part of physical linksets also fix ↵UbitUmarov2012-06-151-16/+27
| | | | sitting avatars rotations broken in previus commit, forcing send of updates.
* only rotation of root part change parts positions, so only call ↵UbitUmarov2012-06-151-21/+31
| | | | ResetChildPrimPhysicsPositions() if root part. Plus 'cosmetics'
* Merge branch 'avination' into ubitworkUbitUmarov2012-06-131-3/+11
|\
| * Add detecting non-physical phantoms back into raycastMelanie2012-06-131-3/+11
| |
* | Changed t adding the avatar dependent sit offset and not subtracting, so ↵UbitUmarov2012-06-131-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()
* | convert a LSL rotation of <0,0,0,0> to <0,0,0,1> and not <0,0,1,0> in ↵UbitUmarov2012-06-131-1/+1
| | | | | | | | SitTarget. Something seems to be doing that before this gets called, but just in case...
* | Fixed llGetObjectDetails(), OBJECT_ROT for sitting avatars case, plus ↵UbitUmarov2012-06-131-9/+23
| | | | | | | | 'cosmetics' and added some parts costs information.
* | *TEST this will affect inworld sittargets by +-0.1m, so may be very BAD *. ↵UbitUmarov2012-06-131-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.
* | try to replicate SL bug of PRIM_ROTATION also for avas, est a fix to other ↵UbitUmarov2012-06-121-3/+10
| | | | | | | | cases
* | fix the try.. finally in SetPrimitiveParams i did mess and add one for the ↵UbitUmarov2012-06-121-188/+156
| | | | | | | | avatars case, so to optimize a bit 'warp' scripts.
* | more changes to Get and Get primitiveparams: Let Get remove avatarheight ↵UbitUmarov2012-06-121-26/+94
| | | | | | | | adjust,add Get PRIM_LINK_TARGET handling, changed avatar Set positions code...
* | Moved auxiliar funtions of last commit from sop to lsl api since they are ↵UbitUmarov2012-06-121-5/+22
| | | | | | | | only used on one place each
* | *UNTESTED* extended llGet*PrimitiveParam() to support avatars. Some auxiliar ↵UbitUmarov2012-06-121-3/+238
| | | | | | | | code in SOP.cs
* | Merge branch 'avination' into ubitworkUbitUmarov2012-06-113-5/+73
|\ \ | |/
| * Make llTeleportAgent conform to Magnum SL Server and add ↵Melanie2012-06-083-5/+73
| | | | | | | | llTeleportAgentGlobalCoords()
* | *UNTESTED* fix PRIM_LINK_TARGET. Make it work on avatars, set any pending ↵UbitUmarov2012-06-081-7/+37
| | | | | | | | position change on others; don't assume m_host is in same grp that part (possible always is)...
* | *UNTESTED* let SetPrimParams for avatars parse even unsupported parameters ↵UbitUmarov2012-06-081-2/+84
| | | | | | | | so that if a supported one is in the middle of then it still works.
* | *UNTESTED* added PRIM_POS_LOCAL and PRIM_ROT_LOCAL in SetPrimParams for ↵UbitUmarov2012-06-081-6/+46
|/ | | | avatars. Stopped setting position twice in normal SetPrimParams
* Typo correctionMelanie2012-06-071-1/+1
|
* Set collision sound type so custom sound types are recognizedMelanie2012-06-071-0/+2
|
* Prevent a null ref when getting the velocity of an avatar during login orMelanie2012-06-071-2/+3
| | | | logout.
* revert last bad commit but fix recoil directionUbitUmarov2012-06-051-4/+4
|
* Stop llRezAtRoot() from applying velocity setting impulse in ↵UbitUmarov2012-06-051-2/+3
| | | | World.RezObject, doing it only in itself, so its applyed after resuming scripts etc. It was giving twice the requested velocity.
* Fix llAttachToAvatar and "Attach" viewer option to preserve saved attach ↵Melanie2012-06-041-1/+1
| | | | positions.
* Fix LSL animation state reporting and animation state transitions on crossingMelanie2012-06-011-7/+33
|
* Prevent multiple requests to go physical from reaching the physics pluginMelanie2012-05-301-0/+4
|
* Added a invalidCollisionSoundUUID so that scripts can stop all collision ↵UbitUmarov2012-05-162-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.
* Merge branch 'avination' into ubitworkUbitUmarov2012-05-151-10/+11
|\
| * Completely revamp collision handling. Now works as it is supposed to.Melanie2012-05-141-10/+11
| |
* | make llGetCameraPos and llGetCameraRot apply to avatar that granted ↵UbitUmarov2012-05-141-4/+14
|/ | | | permission and not owner