aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * Add osNpcCreate(string firstname, string lastname, LSL_Vector position, ↵Justin Clark-Casey (justincc)2012-01-124-0/+15
| | | | | | | | | | | | | | | | | | | | | | string notecard, int options) variant. This will be documented soon. Options can currently be OS_NPC_CREATE_OWNED - creates a 'creator owned' avatar that will only respond to osNpc* functions made by scripts owned by the npc creator OS_NPC_NOT_OWNED - creates an avatar which will respond to any osNpc* functions that a caller has permission to make (through the usual OSSL permission mechanisms). options is being added to provide better scope for future extensibility without having to add more functions The original non-options osNpcCreate() function will continue to exist.
| * Allow all NPCs to show up on sensors as all osNpc* script methods now check ↵Justin Clark-Casey (justincc)2012-01-121-6/+9
| | | | | | | | | | | | for ownership permission before executing. As per #opensim-dev irc discussion.
| * Add permissions checks for owned avatars to all other osNpc* functions.Justin Clark-Casey (justincc)2012-01-121-20/+50
| | | | | | | | This is being done outside the npc module since the check is meaningless for region module callers, who can fake any id that they like.
| * refactor: Move existing npc owner checks to NPCModule.CheckPermissions() ↵Justin Clark-Casey (justincc)2012-01-121-5/+1
| | | | | | | | methods and expose on interface for external calls.
* | Merge branch 'master' into careminsterMelanie2012-01-071-1/+1
|\ \ | |/
| * Fix threat level setting on osNpcPlayAnimationMelanie2012-01-071-1/+1
| |
| * fix a typo "osNpcCreated" to "osNpcCreate" in OSSL threat level checknebadon2012-01-061-1/+1
| |
| * Fix some syntax issuesMelanie2012-01-062-4/+4
| |
| * Add osNpcPlayAnimation and osNpcStopAnimation which respect ownership as wellMelanie2012-01-063-0/+56
| |
| * Add osNpcCreateOwned to create an owned NPC. Those can be sensed only by the ↵Melanie2012-01-065-6/+48
| | | | | | | | owner, can be destroyed only by the owner and only the owner can save their appearance. Added "NPC" as a flag to llSensor to sense NPCs and exclude them from "AGENT" results.
* | Fix threat level setting on osNpcPlayAnimationMelanie2012-01-071-1/+1
| |
* | Force the group tag of NPCs to "- NPC -" unless the name is completely blank.Melanie2012-01-071-1/+9
| |
* | Make sure to prefix NPC names with "NPC:" so they can't be mistaken for usersMelanie2012-01-071-0/+6
| |
* | Fix some syntax issuesMelanie2012-01-062-4/+4
| |
* | Add osNpcPlayAnimation and osNpcStopAnimation which respect ownership as wellMelanie2012-01-063-0/+56
| |
* | Merge branch 'master' of ssh://3dhosting.de/var/git/careminsterMelanie2012-01-062-41/+129
|\ \
| * \ Merge branch 'master' into careminsterMelanie2012-01-062-34/+61
| |\ \ | | |/ | | | | | | | | | | | | Conflicts: OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiTest.cs
| | * Fixed llAngleBetween() to allow denormal rotationsJohn Cochran2012-01-062-20/+41
| | |
| | * Add script instruction count back to llRot2Euler. Other minor ↵Justin Clark-Casey (justincc)2012-01-062-16/+32
| | | | | | | | | | | | formatting/doc changes.
| | * Replaced llRot2Euler function.John Cochran2012-01-062-36/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The original function suffered from unexpected results due to rounding errors. An error of only 1 or 2 ulps would cause the code to not detect a singularity at Y rotation +/- PI/2 and take the non-singularity code path. The replacement code does not suffer from wildly inaccurate results at the +/- PI/2 singularity. The check in the code for the singularity isn't strictly needed, but gives more consistent results At the singularity, the X and Z rotations add. The if check simply forces the X rotation to be zero so the entirety of the X+Z rotation is carried by Z. Additionally, the test code has been updated to include test cases that caused the old code to fail. The test algorithm is also updated to perform a more meaningful test. The original code checked if the values against expected values. This could fail at +/- PI rotations since a rotation around an axis by PI causes the identical effect as a rotation by -PI. The new test code checks that the returned angles can be used to recreate a quaternion that causes the same rotation.
| * | Replaced llRot2Euler function.John Cochran2012-01-061-18/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The original function suffered from unexpected results due to rounding errors. An error of only 1 or 2 ulps would cause the code to not detect a singularity at Y rotation +/- PI/2 and take the non-singularity code path. The replacement code does not suffer from wildly inaccurate results at the +/- PI/2 singularity. The check in the code for the singularity isn't strictly needed, but gives more consistent results At the singularity, the X and Z rotations add. The if check simply forces the X rotation to be zero so the entirety of the X+Z rotation is carried by Z. Additionally, the test code has been updated to include test cases that caused the old code to fail. The test algorithm is also updated to perform a more meaningful test. The original code checked if the values against expected values. This could fail at +/- PI rotations since a rotation around an axis by PI causes the identical effect as a rotation by -PI. The new test code checks that the returned angles can be used to recreate a quaternion that causes the same rotation.
* | | Add osNpcCreateOwned to create an owned NPC. Those can be sensed only by the ↵Melanie2012-01-065-5/+45
|/ / | | | | | | owner, can be destroyed only by the owner and only the owner can save their appearance. Added "NPC" as a flag to llSensor to sense NPCs and exclude them from "AGENT" results.
* | Merge branch 'master' into careminsterMelanie2012-01-062-1/+5
|\ \ | |/
| * Add ThreatLevel.NoAccess to OSSL. This allows to enable OSSL without enablingMelanie2012-01-062-1/+5
| | | | | | | | | | any methods, even those without threat, automatically. It is for use with setups wanting to allow only specific methods to specific users.
| * Introduce a LightShare kill packet ans send it when needed. Currently onlyMelanie2011-12-281-0/+1
| | | | | | | | understood by AVN v0.3
* | Introduce a LightShare kill packet ans send it when needed. Currently onlyMelanie2011-12-241-0/+1
| | | | | | | | understood by AVN v0.3
* | Add PRIM_POS_LOCAL as an alias to PRIM_POSITION for setting the position.Melanie2011-12-241-0/+9
| | | | | | | | For SL compatibility only
* | Make raycast more efficient by checking exclusion flags earlierMelanie2011-12-171-15/+21
| |
* | Fix hit testing link sets properly. Fix raycasting for LSL.Melanie2011-12-173-98/+337
| |
* | Merge branch 'master' into careminsterMelanie2011-12-124-194/+73
|\ \ | |/ | | | | | | | | Conflicts: OpenSim/Framework/RegionInfo.cs OpenSim/Region/Framework/Scenes/ScenePresence.cs
| * Cleaned up ScenePresence parameters for Flying, WasFlying, FlyingOld and ↵Dan Lake2011-12-121-3/+1
| | | | | | | | IsColliding
| * Mantis 5816: osParseJSON Decoding Problemsnebadon2011-12-113-191/+72
| | | | | | | | | | | | | | osParseJSON uses hand-crafted decoding that has two issues * does not seem to handle top-level JSON lists * does not seem to handle unicode text thanks otakup0pe!
| * Fix CHANGED_TEXTURE and CHANGED_COLOR.Melanie2011-12-051-18/+18
| |
* | Fix llGetLinkKey to report avatars properlyMelanie2011-12-091-19/+0
| |
* | Fix task inventory givingMelanie2011-12-071-15/+23
| |
* | Add the proper result code as per the LL announcement for ↵Melanie2011-12-051-1/+1
| | | | | | | | llTransferLindenDollars
* | Merge branch 'bigmerge' of ssh://melanie@3dhosting.de/var/git/careminster ↵Melanie2011-12-051-20/+20
|\ \ | | | | | | | | | into bigmerge
| * | Fix CHANGED_TEXTURE and CHANGED_COLOR.Melanie2011-12-051-20/+20
| | |
* | | Merge branch 'master' into bigmergeMelanie2011-12-051-1/+1
|\ \ \ | |/ / |/| / | |/ | | | | Conflicts: OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs OpenSim/Region/Framework/Scenes/ScenePresence.cs
| * Use agent.Animator.CurrentMovementAnimation in llGetAgentInfo() rather than ↵Justin Clark-Casey (justincc)2011-12-031-1/+1
| | | | | | | | asking for a new determination
| * Rename ScenePresenceAnimator.GetMovementAnimation() -> ↵Justin Clark-Casey (justincc)2011-12-031-1/+1
| | | | | | | | DetermineMovementAnimation() for better code readability
* | Fix setting seated avatar position and make llSameGroup work as in SL.Melanie2011-12-051-2/+4
| |
* | Implement llTransferLindenDollarsMelanie2011-12-013-0/+83
| |
* | Merge branch 'master' into bigmergeMelanie2011-11-283-1/+5
|\ \ | |/ | | | | | | Conflicts: OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
| * Merge branch 'master' of ssh://opensimulator.org/var/git/opensimBlueWall2011-11-262-2/+2
| |\
| | * When removing an LSL sensor for a script (e.g. through llResetScript() or ↵Justin Clark-Casey (justincc)2011-11-261-1/+1
| | | | | | | | | | | | | | | | | | state change), don't also remove sensors for other scripts in the same prim. Hopefully fixes http://opensimulator.org/mantis/view.php?id=4448 and http://opensimulator.org/mantis/view.php?id=4452
| | * minor: remove mono compiler warningJustin Clark-Casey (justincc)2011-11-261-1/+1
| | |
| * | Add missing property to llGetLinkPrimitiveParamsBlueWall2011-11-262-0/+4
| |/
* | Merge branch 'master' into bigmergeMelanie2011-11-191-5/+20
|\ \ | |/ | | | | | | | | Conflicts: OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
| * If the entire simulator is shutting down then don't bother to unload the ↵Justin Clark-Casey (justincc)2011-11-171-7/+19
| | | | | | | | | | | | | | scripts from the appdomain in XEngine. All the other actions (script state save, etc.) still occur. This makes shutdown where there are many scripts vastly quicker.