aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Adjust OS script functions threat levels, and don't bother wasting time ↵David Walter Seikel2016-11-071-139/+39
| | | | | | checking those with no threat level. Some went up, some went down. Should be more sane now.
* Remove silly rezzing distance limits. They just make scripters work around ↵David Walter Seikel2016-11-071-4/+0
| | | | them.
* Excess white space removal.David Walter Seikel2016-11-071-9/+9
|
* Sleep is for the weak. No wonder the standard script engines are so slow.David Walter Seikel2016-11-051-19/+0
|
* Initial update to OpenSim 0.8.2.1 source code.David Walter Seikel2016-11-031-95/+393
|
* Restore previous client AO behaviour by not allowing them to remove the ↵Justin Clark-Casey (justincc)2013-01-251-1/+1
| | | | | | | | | default animation but continue to allow scripts to do so. This keeps the fix from http://opensimulator.org/mantis/view.php?id=6327 and fixes the behaviour regression in http://opensimulator.org/mantis/view.php?id=6483 Animations may still exhibit different behaviour if both scripts and clients are adjusting animations. A change in the behaviour of client AO to not remove all animations may be a better long term approach.
* adding ability for listeners to be filtered by regular expressions and a ↵SignpostMarv2012-10-261-0/+63
| | | | general-purpose function to see if a given string matches a given regex
* Formatting and casing correction in WorldCommModule, trailing new line in ↵SignpostMarv2012-10-261-1/+1
| | | | OSSL to get git diff to not complain
* Get osNpcCreate() and osNpcLoadAppearance() to generate a script error if ↵Justin Clark-Casey (justincc)2012-10-251-5/+6
| | | | appearance notecard does not exist, rather than returning UUID.Zero or silently failing.
* When scripts generate expected exceptions (e.g. due to checked bad ↵Justin Clark-Casey (justincc)2012-10-251-1/+1
| | | | | | | parameter) throw ScriptException instead of just a plain old exception. This is to make it easier to distinguish these exceptions from unexpected OpenSimulator problems internally and in regression tests. No functional changes.
* Make osNpcCreate() return UUID.Zero instead of throwing an exception if ↵Justin Clark-Casey (justincc)2012-10-251-8/+18
| | | | notecard name is invalid. Make osNpcLoadAppearance() fail silently in same circumstance rather than throwing exception.
* Correct osSetContentType() threat check to query osSetContentType rather ↵Justin Clark-Casey (justincc)2012-10-101-1/+3
| | | | than osSetResponseType
* Remove osDropAttachment threat level check wrongly placed in ↵Justin Clark-Casey (justincc)2012-10-101-1/+0
| | | | OSSL_Api.ShoutErrorOnLackingOwnerPerms.
* correcting typoSignpostMarv2012-10-021-3/+3
|
* taking into account the recent introduction of implicit operatorsSignpostMarv2012-10-021-3/+1
|
* added perms checking, duplicated functionality to methods that do not ↵SignpostMarv2012-10-021-6/+64
| | | | require perms and have higher threat level
* fixing copypastaSignpostMarv2012-10-021-1/+1
|
* implementing osDropAttachment & osDropAttachmentAtSignpostMarv2012-10-021-2/+31
|
* refactoring to allow Scene.GetLandData to accept Vector3 as an argument. ↵SignpostMarv2012-09-081-1/+1
| | | | Note that the prior work on LSL_Vector implicit operators means one does not need to explicitly cast a LSL_Vector to Vector3
* wrapping attachment functions in a regionSignpostMarv2012-09-041-0/+2
|
* Implementing functing to send messages directly to attachmentsSignpostMarv2012-09-041-0/+131
|
* refactoring the grunt work of MessageObject into a private method with a ↵SignpostMarv2012-09-041-0/+5
| | | | UUID argument
* implementing a function to get the number of attachments wornSignpostMarv2012-09-041-0/+38
|
* This partially implements the LSL function to set the responseMic Bowman2012-08-291-1/+17
| | | | | | | | 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.
* track originating IScriptApi method for SL-like error messages. Will add ↵SignpostMarv2012-08-291-1/+1
| | | | rule number tracking in next commit.
* implementing PRIM_LINK_TARGET on GetPrimParams ala SetPrimParamsSignpostMarv2012-08-251-1/+12
|
* refactoring to local variable for cleaner codeSignpostMarv2012-08-251-2/+5
|
* since we will be making the Get return type the remaining ruleset as with ↵SignpostMarv2012-08-251-1/+1
| | | | the Set return type, we need to move the original return type to a ref param
* renaming to be similar to equivalent Set commandSignpostMarv2012-08-251-2/+2
|
* Revert "implementing function to allow scripts to self-replicate as if the ↵Justin Clark-Casey (justincc)2012-08-241-50/+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/+50
| | | | duplicated them, using the same script delay as llRezObject()
* Removed land checking as suggested by SignpostMarv.TBG Renfold2012-08-241-12/+2
| | | | | | | Now whatever remaining health the avatar has is displayed (float). This will be 100% (100.000000) if no damage has occurred (as what the viewer should really be seeing anyway). Returns -1.000000 if the avatar is not found.
* Adds osGetHealth.TBG Renfold2012-08-241-0/+21
| | | | | | | | | | | | | | | | | 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."); } }
* Add --force flag to "kick user" console command to allow bypassing of recent ↵Justin Clark-Casey (justincc)2012-08-201-2/+2
| | | | | | | | | race condition checks. This is to allow a second attempt to remove an avatar even if "show connections" shows them as already inactive (i.e. close has already been attempted once). You should only attempt --force if a normal kick fails. This is partly for diagnostics as we have seen some connections occasionally remain on lbsa plaza even if they are registered as inactive. This is not a permanent solution and may not work anyway - the ultimate solution is to stop this problem from happening in the first place.
* Rot2Quaternion is now redundantSignpostMarv2012-08-181-1/+1
|
* refactoring for Vector3 operator & constructor tweaksSignpostMarv2012-08-181-13/+9
|
* Prevent race conditions when one thread removes an NPC SP before another ↵Justin Clark-Casey (justincc)2012-08-141-5/+20
| | | | thread has retreived it after checking whether the NPC exists.
* refactor: rename SOG.RezzingObjectID to SOG.FromPartID to match ↵Justin Clark-Casey (justincc)2012-08-031-1/+1
| | | | FromFolderID, FromItemID and to reflect that it's a SOP ID rather than a SOG ID.
* reduced-complexity implementation of function to get rezzing object keySignpostMarv2012-08-021-0/+8
| | | | Signed-off-by: Melanie <melanie@t-data.com>
* LSL/OSSL lacks Math.Min & Math.Max implementations.SignpostMarv2012-07-281-0/+28
|
* Remove a couple of compiler warnings pointed out by SignpostMarvJustin Clark-Casey (justincc)2012-07-271-2/+0
|
* Implements a very useful OSSL function to test a string to seeMic Bowman2012-07-201-0/+14
| | | | | | if it is a UUID. The function is osIsUUID(). Thanks SignpostMarv!
* sending more user-friendly messages to the script error window rather than ↵SignpostMarv2012-07-161-1/+14
| | | | | | the thrown exceptions. Signed-off-by: Melanie <melanie@t-data.com>
* Remove IClientAPI.GetClientEP() in favour of existing identical ↵Justin Clark-Casey (justincc)2012-07-121-6/+2
| | | | IClientAPI.RemoteEndpoint.
* Where possible, use the system Encoding.ASCII and Encoding.UTF8 rather than ↵Justin Clark-Casey (justincc)2012-07-111-2/+1
| | | | | | | constructing fresh copies. The encodings are thread-safe and already used in such a manner in other places. This isn't done where Byte Order Mark output is suppressed, since Encoding.UTF8 is constructed to output the BOM.
* This script allows an object to be attached directly from prim inventory to ↵Justin Clark-Casey (justincc)2012-07-091-3/+22
| | | | | | | 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/+35
| | | | Allow NPCS to touch obects.
* regrade osFormatString, osMatchString and osReplaceString to VeryLow.Justin Clark-Casey (justincc)2012-07-051-3/+3
| | | | I can't see that these present any real hazard to sim functioning.
* Add OSSL function osForceAttachToAvatarFromInventory()Justin Clark-Casey (justincc)2012-07-051-1/+53
| | | | | | | 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.
* In the osGetGrid functions, if the [GridInfo] section does not exist then ↵Justin Clark-Casey (justincc)2012-06-131-1/+6
| | | | return "Configuration Error", as already happens if there is no GridInfoURI