aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Runtime (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Adding dynamic ossl permission control"BlueWall2015-02-271-10/+0
| | | | | This reverts commit a3681f3052fb5e98e31e7051329a5b748a8bdd8d until further testing. Jenkins now fails ossl tests.
* Adding dynamic ossl permission controlBlueWall2015-02-271-0/+10
| | | | | | | | | | | Add permission by identifying uuid (owner/creator/group) and function. Revoke permission in the same manner. Permission adjustments immediately effect running scripts ability to call os functions. osGrantScriptPermissions(UUID key,string function) Threat Level Severe osRevokeScriptPermissions(UUID key,string function) Threat Level Severe work sponsored by: Rage
* Change name of just added OSSL osForceSit() to osForceOtherSit()Justin Clark-Casey (justincc)2014-10-111-4/+5
| | | | | This is somewhat more in keeping with something like osForceAttachToOtherAvatarFromInventory() and potentially allows a separate osForceSit() command with High threat rather than VeryHigh that only sits the owner and can be enabled without enabling sit of other avatars.
* Implements osForceSit(string avatar) & overload osForceSit(string avatar, ↵Vegaslon2014-10-111-0/+9
| | | | | | | | | | | | | string target) Allows a script IN the target prim to force an avatar to sit on it using normal methods as if called by the client. Overload method of osForceSit() to allow a script NOT in the target prim to force an avatar to sit on the target prim using normal methods as if called by the client. This patch is based on previous work from http://opensimulator.org/mantis/view.php?id=4492 and also includes the suggestions from justincc including change of threat level Thank you Christos Lightling.
* Add LSL transaction_result event.Justin Clark-Casey (justincc)2014-10-041-0/+2
| | | | | | | This is cinderblocks' transaction_result.diff from http://opensimulator.org/mantis/view.php?id=7329 but I have used lsl.parser.cs and lsl.lexer.cs files generated directly from opensim-libs rather than those supplied in the patch. I also added scriptEvents.transaction_reuslt. The required parser/lexer generation file changes were made in commit d564f28 in the opensim-libs repo. Thanks!
* Implement STATUS_BLOCK_GRAB_OBJECT in llSetStatus()/llGetStatus() and ↵Justin Clark-Casey (justincc)2014-08-291-0/+1
| | | | | | | | | correct effect of STATUS_BLOCK_GRAB As per http://wiki.secondlife.com/wiki/LlSetStatus Setting STATUS_BLOCK_GRAB_OBJECT prevents or allows move of a physical linkset by grab on any prim. Setting STATUS_BLOCK_GRAB prevents or allows move of a physical linkset by grab on a particular prim. Previously, setting STATUS_BLOCK_GRAB would prevent drag via all prims of the linkset.
* add LSL constant PRIM_ALPHA_MODEdahlia2014-06-271-0/+1
|
* add LSL constants PRIM_SPECULAR and PRIM_NORMALdahlia2014-06-231-0/+2
|
* Mantis 7146 The lsl function llGetMassMKS is not implementedTalun2014-05-061-0/+5
| | | | | This patch implements llGetMassMKS as it is described in the wiki http://wiki.secondlife.com/wiki/LlGetMassMKS
* Mantis 7144 missing ATTACH_AVATAR_CENTER constantTalun2014-05-011-0/+2
| | | | This patch adds ATTACH_AVATAR_CENTER and ATTACH_NECK
* Remove unmaintained and unused YieldProlog scripting languageJustin Clark-Casey (justincc)2014-03-2616-15874/+0
| | | | | | | This hasn't been mainntained since 2008 and has not been kept up with the rest of the language infrastructure. Hence, it almost certainly doesn't work and has never been used, afaik If this is wrong, please say on the opensim-users/dev mailing list. Removing to reduce maintenance burden (since it still needs to be made to compile).
* Implement osForceBreakAllLinks().Justin Clark-Casey (justincc)2014-03-131-0/+5
| | | | Identical to llBreakAllLinks() except that it doesn't require the script to have link permissions.
* Implement osForceCreateLink() and osForceBreakLink()Justin Clark-Casey (justincc)2014-03-121-0/+10
| | | | | | | These are identical to llCreateLink() and llBreakLink() except that they don't require script permissions. However, osForceCreateLink() still requires that linked and linkee still have the same owner. There's also an AutomaticLinkPermission setting in [XEngine] that could be set to true to prevent the LSL function checks. But this doesn't allow the finer control over which users/scripts, etc. can do this that the OSSL functions provide.
* Merge branch 'master' into varregionRobert Adams2014-01-281-0/+5
|\
| * Added osGetRegionSize(), which returns the region size in meters and ↵Oren Hurvitz2014-01-281-0/+5
| | | | | | | | recognizes megaregions
* | varregion: many more updates removing the constant RegionSize and replacingRobert Adams2013-12-261-4/+6
| | | | | | | | with a passed region size. This time in the map code and grid services code.
* | varregion: elimination of Constants.RegionSize from all over OpenSimulator.Robert Adams2013-11-081-2/+2
|/ | | | | | | Routines in Util to compute region world coordinates from region coordinates as well as the conversion to and from region handles. These routines have replaced a lot of math scattered throughout the simulator. Should be no functional changes.
* add new LSL constants associated with new "ribbon", "glow", and "blend" ↵dahlia2013-10-311-0/+13
| | | | particle system functionality. Note that this does *not* complete required server side changes for implementing the new particle system
* Add implementations for llSetVelocity and llSetAngularVelocity.Robert Adams2013-07-061-0/+10
|
* Mantis 6280: llSetContentType(). An implementation.Talun2013-06-152-0/+16
| | | | | An implimentation of llSetContentType including all of the new constants added since the mantis was raised.
* Hook up Keyframe motion to almost everything. Failing to cross a sim borderMelanie2013-06-062-0/+18
| | | | may yield unexpected results in some cases. No database persistence yet,
* Added missing functionality (mainly custom headers) to llHTTPRequest.Kevin Cozens2013-03-291-6/+9
|
* Partial port of Avination's support for the new physics parameters.Melanie2013-02-061-0/+11
| | | | | | | | Implements the parameters as properties, the serialization and database storage (MySQL only). Implements llSetPrimitiveParams for prim physics shape and the other 4 extra params. Only the prim shape type "None" is currently functional. No support for the Viewer UI (yet), that will be ported in due course. Lots more to port, this is a large-ish changeset.
* Bump version and assembly version numbers from 0.7.5 to 0.7.6Justin Clark-Casey (justincc)2013-02-052-2/+2
| | | | | | | | This is mostly Bluewall's work but I am also bumping the general version number OpenSimulator 0.7.5 remains in the release candidate stage. I'm doing this because master is significantly adding things that will not be in 0.7.5 This update should not cause issues with existing external binary DLLs because our DLLs do not have strong names and so the exact version match requirement is not in force.
* Remove the return value from llGiveMoney and add llTransferLindenDollars. AlsoMelanie2013-01-231-2/+7
| | | | | make llGiveMoney async so the script thread is not held up waiting for comms to an external server.
* New constants for llGetObjectDetailsTalun2013-01-191-0/+17
| | | | | | | New constants for llGetObjectDetails OBJECT_CHARACTER_TIME, OBJECT_ROOT, OBJECT_ATTACHED_POINT, OBJECT_PATHFINDING_TYPE, OBJECT_PHYSICS, OBJECT_PHANTOM and OBJECT_TEMP_ON_REZ also Pathfining constants, 3 of which are used by llGetObjectDetails
* BulletSim: add osGetPhysicsEngineType() LSL function and updateRobert Adams2013-01-111-0/+5
| | | | | | | | the physics engines to return the name that is specified in the INI file ("physics = XXX") as the type of engine. This os function is a little different than the others in that it does not throw an exception of one is not privilaged to use it. It merely returns an empty string.
* Added AssemblyInfos to every dll in the OpenSim.Region namespace.Diva Canto2012-11-142-0/+66
|
* llSetLinkCamera implementationPixelTomsen2012-11-091-0/+5
| | | | | | wiki: http://wiki.secondlife.com/wiki/LlSetLinkCamera mantis: http://opensimulator.org/mantis/view.php?id=6397
* adding ability for listeners to be filtered by regular expressions and a ↵SignpostMarv2012-10-262-0/+20
| | | | general-purpose function to see if a given string matches a given regex
* Add CLICK_ACTION_ZOOMBlueWall2012-10-201-0/+1
| | | | Add support for V2/3 CLICK_ACTION_ZOOM to llSetClickAction
* added perms checking, duplicated functionality to methods that do not ↵SignpostMarv2012-10-021-0/+10
| | | | require perms and have higher threat level
* implementing osDropAttachment & osDropAttachmentAtSignpostMarv2012-10-021-0/+10
|
* wrapping attachment functions in a regionSignpostMarv2012-09-041-1/+1
|
* Implementing functing to send messages directly to attachmentsSignpostMarv2012-09-042-0/+57
|
* implementing a function to get the number of attachments wornSignpostMarv2012-09-041-0/+7
|
* This partially implements the LSL function to set the responseMic Bowman2012-08-291-0/+5
| | | | | | | | type for an HTTP request. Since the "official" LSL function limits the use of the response type, it is implemented as osSetContentType with a string for the content mime type and a threat level of high. With this function you should be able to implement rather functional media-on-a-prim application with much less difficulty.
* Revert "implementing function to allow scripts to self-replicate as if the ↵Justin Clark-Casey (justincc)2012-08-241-5/+0
| | | | | | | | owner duplicated them, using the same script delay as llRezObject()" This reverts commit 2ad9d656b3a1a0c519c9599d7680f98eba7e82b8. Reverted pending consideration of associated issues.
* implementing function to allow scripts to self-replicate as if the owner ↵SignpostMarv2012-08-241-0/+5
| | | | duplicated them, using the same script delay as llRezObject()
* Adds osGetHealth.TBG Renfold2012-08-241-1/+6
| | | | | | | | | | | | | | | | | Returns the amount of health (in an integer) that an avatar has left in the scene. If an avatar is not found or safe is enabled on a region, -1 is returned. Example usage: default { touch_end(integer _t) { key agentID = llDetectedKey(0); osCauseDamage(agentID, 50); llSay(0, llKey2Name(agentID) + " has " + (string)osGetHealth(agentID) + "% health left."); } }
* implementedSignpostMarv2012-08-171-0/+1
|
* adding ATTACH_*_PEC constantsSignpostMarv2012-08-151-0/+2
|
* reduced-complexity implementation of function to get rezzing object keySignpostMarv2012-08-021-0/+5
| | | | Signed-off-by: Melanie <melanie@t-data.com>
* LSL/OSSL lacks Math.Min & Math.Max implementations.SignpostMarv2012-07-281-0/+10
|
* As per opensim-dev mailing list conversation, introduce OS_NPC constant for ↵Justin Clark-Casey (justincc)2012-07-201-0/+1
| | | | | | | | | use with llSensor() This same constant will later be used with llGetDetectedType(). This constant has a different name from NPC to avoid possible conflict with future LSL changes. This constant has a different value to try and avoid unnecessary conflict with future constants that may use the same value. Using the 'NPC' constant with llSensor() will remain valid but is deprecated.
* Implements a very useful OSSL function to test a string to seeMic Bowman2012-07-201-0/+5
| | | | | | if it is a UUID. The function is osIsUUID(). Thanks SignpostMarv!
* Implementation of llSetRegionPos(). Does not implement failure on object ↵SignpostMarv2012-07-141-0/+5
| | | | | | entry/prim limit/access restrictions. Signed-off-by: SignpostMarv <github@signpostmarv.name>
* This script allows an object to be attached directly from prim inventory to ↵Justin Clark-Casey (justincc)2012-07-091-0/+5
| | | | | | | another avatar in the scene. Very useful in serious game/environment scenarios where its only allowed for trusted creators. Threat level Severe
* Mantis 6063 osNpcTouch.Talun2012-07-061-0/+5
| | | | Allow NPCS to touch obects.
* Add OSSL function osForceAttachToAvatarFromInventory()Justin Clark-Casey (justincc)2012-07-051-0/+5
| | | | | | | This works like osForceAttachToAvatar() but allows an object to be directly specified from the script object's inventory rather than forcing it to be rezzed in the scene first. Still only attaches objects to the owner of the script. This allows one to bypass the complicated co-ordination of first rezzing objects in the scene before attaching them. Threat level high.