aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Implementation (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-08-25refactoring to local variable for cleaner codeSignpostMarv1-2/+5
2012-08-25since we will be making the Get return type the remaining ruleset as with ↵SignpostMarv2-18/+22
the Set return type, we need to move the original return type to a ref param
2012-08-25use SceneObjectPart instead of varSignpostMarv1-3/+3
2012-08-25renaming to be similar to equivalent Set commandSignpostMarv2-7/+7
2012-08-24stripping superfluous whitespaceSignpostMarv1-3/+0
Signed-off-by: Melanie <melanie@t-data.com>
2012-08-24immediately returning the string.Join operation instead of checking if the ↵SignpostMarv1-11/+5
list has members
2012-08-24refactoring using List.ConvertAll<string>SignpostMarv1-6/+5
2012-08-24Revert "implementing function to allow scripts to self-replicate as if the ↵Justin Clark-Casey (justincc)1-50/+0
owner duplicated them, using the same script delay as llRezObject()" This reverts commit 2ad9d656b3a1a0c519c9599d7680f98eba7e82b8. Reverted pending consideration of associated issues.
2012-08-24implementing function to allow scripts to self-replicate as if the owner ↵SignpostMarv1-0/+50
duplicated them, using the same script delay as llRezObject()
2012-08-24Removed land checking as suggested by SignpostMarv.TBG Renfold1-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.
2012-08-24Adds osGetHealth.TBG Renfold1-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."); } }
2012-08-22this should be an if-else block in case the non-phys min/max are smaller ↵SignpostMarv1-5/+7
than the physical min/max
2012-08-20refactoring out SetFaceColorSignpostMarv1-2/+2
2012-08-20making use of implicit operators and Util.Clip handling of Vector3SignpostMarv1-1/+1
2012-08-20single operation for PRIM_COLORSignpostMarv1-2/+1
2012-08-20Add --force flag to "kick user" console command to allow bypassing of recent ↵Justin Clark-Casey (justincc)1-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.
2012-08-18integrating redundant code into operatorSignpostMarv1-13/+1
2012-08-18Rot2Quaternion is now redundantSignpostMarv2-12/+11
2012-08-18constructor means not having to manually refer to individual propertiesSignpostMarv1-2/+2
2012-08-18implicit operators mean one does not need to instantiate new objects manuallySignpostMarv2-7/+5
2012-08-18adding missing refactor for LSL_VectorSignpostMarv1-1/+1
2012-08-18Fix the whitespace formatting error introduced by the last patchMelanie1-2/+2
2012-08-18refactoring for Vector3 operator & constructor tweaksSignpostMarv5-90/+63
2012-08-17adding null return to fix buildingSignpostMarv1-1/+1
2012-08-17fixing bug that get/set the wrong property for prim types other than sphere ↵SignpostMarv1-2/+4
& box
2012-08-17implementedSignpostMarv1-0/+13
2012-08-17attempt to handle InvalidCastException in a manner similar to Second LifeSignpostMarv1-0/+4
2012-08-17adding a clip method to handle Vector3 objects to enable a minor amount of ↵SignpostMarv1-6/+5
refactoring
2012-08-16Do a proper null check to avoid the overloaded operator == trapMelanie1-1/+1
2012-08-15enables configurable minimum sizes for physical & non-physical primsSignpostMarv1-20/+8
2012-08-15Implementing PRIM_LINK_TARGET in a non-recursive fashionSignpostMarv1-49/+74
2012-08-15Let the temp attachment module add a command to allow attaching without ↵Melanie1-31/+39
permissions and add support for this (incomplete!) to LSL
2012-08-14Prevent race conditions when one thread removes an NPC SP before another ↵Justin Clark-Casey (justincc)1-5/+20
thread has retreived it after checking whether the NPC exists.
2012-08-14Lay some groundwork for temp attachments. Decouple attachments from inventory.Melanie1-1/+1
2012-08-13attempt at replicating behaviour of llList2thing functions in SLSignpostMarv1-7/+69
Committed with changes. Please don't sign comments with your name. Please don't use your own coding style, use the OpenSim project style. Please don't modify unrelated whitespace. Signed-off-by: Melanie <melanie@t-data.com>
2012-08-07Release http-in URLs when llResetScript is calledMelanie1-0/+6
2012-08-03refactor: rename SOG.RezzingObjectID to SOG.FromPartID to match ↵Justin Clark-Casey (justincc)1-1/+1
FromFolderID, FromItemID and to reflect that it's a SOP ID rather than a SOG ID.
2012-08-02reduced-complexity implementation of function to get rezzing object keySignpostMarv1-0/+8
Signed-off-by: Melanie <melanie@t-data.com>
2012-08-01Look up the NPC module when the SensorRepeat class is created, rather than ↵Justin Clark-Casey (justincc)1-5/+6
on every single sensor sweep.
2012-07-31Resolve a deadlock between INPCModule and SensorRepeat by replacing the ↵Justin Clark-Casey (justincc)1-35/+43
SensorRepeat list with a new list on add/removes rather than locking it for the duration of the sensor sweep. A deadlock was observed today where NPC removal on a script thread would lock the NPC list and then try to lock the sensor list via scripted attachment removal. Concurrently, the sensor sweep thread would lock the sensor list and then try to lock the NPC list to check NPC status. This commit resolves the deadlock by replacing the sensor list on update rather than locking it for the duration of the sweep.
2012-07-29Return world rotation on llGetObjectDetails()'s OBJECT_ROTMelanie1-1/+11
2012-07-28LSL/OSSL lacks Math.Min & Math.Max implementations.SignpostMarv1-0/+28
2012-07-27Remove a couple of compiler warnings pointed out by SignpostMarvJustin Clark-Casey (justincc)1-2/+0
2012-07-25Move Watchdog and MemoryWatchdog classes into OpenSim.Framework.Monitoring ↵Justin Clark-Casey (justincc)1-0/+1
with other monitoring code from OpenSim.Framework
2012-07-20As per opensim-dev mailing list conversation, introduce OS_NPC constant for ↵Justin Clark-Casey (justincc)1-2/+3
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.
2012-07-20Enables support for UUIDs to be returned in lists fromMic Bowman1-3/+13
modInvoke commands. Thanks SignpostMarv!!!
2012-07-20Implements a very useful OSSL function to test a string to seeMic Bowman1-0/+14
if it is a UUID. The function is osIsUUID(). Thanks SignpostMarv!
2012-07-17Revert "Revert "refactor: make llGiveInventory() use existing ↵Justin Clark-Casey (justincc)1-24/+9
GetInventoryItem() method rather than iterate through TaskInventory itself."" This reverts commit 59a29f5f221a1ffe4e22c63ef9da82270442b213. The original revert was committed by mistake - it turns out this was not the cause of Mantis 6089 Conflicts: OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
2012-07-17Fix regression where llGiveInventory() had stopped asking non-owner ↵Justin Clark-Casey (justincc)1-29/+29
receivers to accept/decline. This appears to be a regression from back in commit db91044 (Mon Aug 22 2011) where we started to send TaskInventoryOffered msg dialog rather than InventoryOffered dialog. This is probably correct, but failed because the bucket was too large and because we wouldn't have handled the TaskInventoryDeclined option anyway. This patch handles both of these and make llGiveInventoryList() use TaskInventoryOffered as well Fixes http://opensimulator.org/mantis/view.php?id=6089
2012-07-17Revert "refactor: make llGiveInventory() use existing GetInventoryItem() ↵Justin Clark-Casey (justincc)1-11/+24
method rather than iterate through TaskInventory itself." This reverts commit 58b13d51a7eddb442e38e6dc6790a9e7cf68bad7.