aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | 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.
* | Remove unused and broken OffsetRotation from ScenePresenceMelanie2011-11-051-1/+1
| |
* | Merge branch 'master' into bigmergeMelanie2011-11-042-7/+6
|\ \ | |/ | | | | | | | | | | | | Conflicts: OpenSim/Region/CoreModules/Avatar/Chat/ChatModule.cs OpenSim/Region/CoreModules/Avatar/Gods/GodsModule.cs OpenSim/Region/CoreModules/LightShare/LightShareModule.cs OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs
| * Rename ForEachAvatar back to ForEachScenePresence. The other changesDan Lake2011-11-033-11/+11
| | | | | | | | | | | | from previous commit which sort out which iterator is used are left intact. A discussion is needed as to what constitutes an avatar vs a ScenePresence.
| * Renamed ForEachRootScenePresence to ForEachAvatar. Cleaned up calls toDan Lake2011-11-033-15/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | the 3 iteration functions so more of them are using the correct iteration for the action they are performing. The 3 iterators that seem to fit all actions within OpenSim at this time are: ForEachAvatar: Perform an action on all avatars (root presences) ForEachClient: Perform an action on all clients (root or child clients) ForEachRootClient: Perform an action on all clients that have an avatar There are still a dozen places or so calling the old ForEachScenePresence that will take a little more refactoring to eliminate.
* | Merge branch 'master' into bigmergeMelanie2011-11-031-9/+5
|\ \ | |/ | | | | | | | | | | | | Conflicts: OpenSim/Region/Framework/Scenes/SceneGraph.cs OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs OpenSim/Region/Framework/Scenes/SceneObjectPart.cs OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
| * Merge branch 'master' of git://opensimulator.org/git/opensimDan Lake2011-11-021-315/+362
| |\
| * | Changes UpdateFlag in SOP to an enumeration of NONE, TERSE and FULL.Dan Lake2011-11-021-9/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | UpdateFlag is now referenced/used only within SOP and SOG. Outsiders are using ScheduleFullUpdate, ScheduleTerseUpdate or ClearUpdateSchedule on SOP consistently now. Also started working toward eliminating those calls to ScheduleFullUpdate, ScheduleTerseUpdate or ClearUpdateSchedule from outside SOP in favor of just setting properties on SOP and let SOP decide if an update should be scheduled. This consolidates the update policy within SOP and the client rather than everywhere that makes changes to SOP. Some places forget to call update while others call it multiple times, "just to be sure". UpdateFlag and Schedule*Update will both be made private shortly. UpdateFlag is intended to be transient and internal to SOP so it has been removed from XML serializer for SOPs.
* | | Merge branch 'master' into bigmergeMelanie2011-11-021-322/+350
|\ \ \ | | |/ | |/| | | | | | | Conflicts: OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
| * | Restore the recursive calling of PRIM_LINK_TARGET because the version I madeMelanie2011-11-021-327/+334
| | | | | | | | | | | | breaks LINK_SET et al.
| * | Some positioning fixes from AVN trunkMelanie2011-11-021-1/+42
| | |