aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix llListFindList() returning no match when there is a match with a script ↵Justin Clark-Casey (justincc)2012-09-222-8/+150
| | | | | | | | constant component in the source list. Adds regression test for this case. Based on http://opensimulator.org/mantis/view.php?id=6156 Thanks SignpostMarv.
* passing in the function name to MOD_Api.ConvertFromLSL for more ↵SignpostMarv2012-09-101-4/+4
| | | | user-friendly error messages
* refactoring to allow Scene.GetLandData to accept Vector3 as an argument. ↵SignpostMarv2012-09-082-10/+10
| | | | Note that the prior work on LSL_Vector implicit operators means one does not need to explicitly cast a LSL_Vector to Vector3
* 4096 is used in various places as the maximum height of a region, ↵SignpostMarv2012-09-081-1/+1
| | | | refactoring to be a constant
* Enables cast from int to float for MOD* functions;Mic Bowman2012-09-051-1/+1
| | | | Thanks SignpostMarv!
* wrapping attachment functions in a regionSignpostMarv2012-09-043-2/+4
|
* Implementing functing to send messages directly to attachmentsSignpostMarv2012-09-044-0/+201
|
* 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-043-0/+55
|
* Revert "made setting rotation match Second Life"Melanie2012-09-031-1/+32
| | | | | | | | | Second Life seems to have introduced a bug, as we have confirmation that SL behavior changed recently and changed in contradiction to their stated intention This appears to be another of the bugs SL is notorious for. Signpost and I have decided to back this out until SL's intention becomes clear. This reverts commit f7b88d1c40ba06c62491d8d32809fe6c1c4d360d.
* Revert "no need to assign rotation to a variable now"Melanie2012-09-031-1/+2
| | | | This reverts commit a3d140b57c5e2ae0f3334d59b82e116d40199b49.
* Revert "formatting"Melanie2012-09-031-2/+2
| | | | This reverts commit fb211c64fd9d335f4879549023870b1e28416f74.
* formattingSignpostMarv2012-09-031-2/+2
|
* no need to assign rotation to a variable nowSignpostMarv2012-09-031-2/+1
|
* made setting rotation match Second LifeSignpostMarv2012-09-031-32/+1
|
* Implementing a vastly simpler means of allowing region modules to access ↵SignpostMarv2012-08-311-1/+1
| | | | GetLinkParts than mantis 6236
* fixing bug where last element in list is ignoredSignpostMarv2012-08-301-1/+1
|
* refactoring as the list funcs either skip invalid values or recall ToDoubleListSignpostMarv2012-08-301-12/+11
|
* This partially implements the LSL function to set the responseMic Bowman2012-08-293-1/+28
| | | | | | | | 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.
* implementing rule trackingSignpostMarv2012-08-291-6/+9
|
* track originating IScriptApi method for SL-like error messages. Will add ↵SignpostMarv2012-08-293-13/+17
| | | | rule number tracking in next commit.
* copying documentation from http://opensimulator.org/wiki/Threat_levelSignpostMarv2012-08-281-0/+59
|
* implementing PRIM_LINK_TARGET on GetPrimParams ala SetPrimParamsSignpostMarv2012-08-252-11/+60
|
* minor formattingSignpostMarv2012-08-251-2/+2
|
* 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-252-18/+22
| | | | the Set return type, we need to move the original return type to a ref param
* use SceneObjectPart instead of varSignpostMarv2012-08-251-3/+3
|
* renaming to be similar to equivalent Set commandSignpostMarv2012-08-253-8/+8
|
* stripping superfluous whitespaceSignpostMarv2012-08-241-3/+0
| | | | Signed-off-by: Melanie <melanie@t-data.com>
* immediately returning the string.Join operation instead of checking if the ↵SignpostMarv2012-08-241-11/+5
| | | | list has members
* refactoring using List.ConvertAll<string>SignpostMarv2012-08-241-6/+5
|
* Revert "implementing function to allow scripts to self-replicate as if the ↵Justin Clark-Casey (justincc)2012-08-243-62/+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-243-0/+62
| | | | 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-243-1/+28
| | | | | | | | | | | | | | | | | 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."); } }
* this should be an if-else block in case the non-phys min/max are smaller ↵SignpostMarv2012-08-221-5/+7
| | | | than the physical min/max
* refactoring out SetFaceColorSignpostMarv2012-08-201-2/+2
|
* making use of implicit operators and Util.Clip handling of Vector3SignpostMarv2012-08-201-1/+1
|
* single operation for PRIM_COLORSignpostMarv2012-08-201-2/+1
|
* 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.
* Add a reference to OpenMetaverseType.dll to compiled script assemblies.Melanie2012-08-181-0/+2
|
* integrating redundant code into operatorSignpostMarv2012-08-182-14/+7
|
* Rot2Quaternion is now redundantSignpostMarv2012-08-182-12/+11
|
* constructor means not having to manually refer to individual propertiesSignpostMarv2012-08-181-2/+2
|
* implicit operators mean one does not need to instantiate new objects manuallySignpostMarv2012-08-182-7/+5
|
* adding missing refactor for LSL_VectorSignpostMarv2012-08-181-1/+1
|
* Implementing operators & constructors for QuaternionSignpostMarv2012-08-181-0/+18
|
* Fix the whitespace formatting error introduced by the last patchMelanie2012-08-181-2/+2
|
* refactoring for Vector3 operator & constructor tweaksSignpostMarv2012-08-187-109/+111
|
* Merge branch 'master' of melanie@opensimulator.org:/var/git/opensimMelanie2012-08-183-28/+46
|\