aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-08-28copying documentation from http://opensimulator.org/wiki/Threat_levelSignpostMarv1-0/+59
2012-08-25implementing PRIM_LINK_TARGET on GetPrimParams ala SetPrimParamsSignpostMarv2-11/+60
2012-08-25minor formattingSignpostMarv1-2/+2
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 commandSignpostMarv3-8/+8
2012-08-25Log initial script startup info notice when xengine actually starts to do ↵Justin Clark-Casey (justincc)1-2/+4
this for debugging purposes, rather than before it actually starts to do this.
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)3-62/+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 ↵SignpostMarv3-0/+62
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 Renfold3-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."); } }
2012-08-23If a script state save fails for some reason on shutdown/region removal, get ↵Justin Clark-Casey (justincc)1-2/+25
xengine to spit out some useful information and continue to save other script states
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-18Add a reference to OpenMetaverseType.dll to compiled script assemblies.Melanie1-0/+2
2012-08-18integrating redundant code into operatorSignpostMarv2-14/+7
2012-08-18Rot2Quaternion is now redundantSignpostMarv2-12/+11
2012-08-18constructor means not having to manually refer to individual propertiesSignpostMarv3-6/+6
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-18Implementing operators & constructors for QuaternionSignpostMarv1-0/+18
2012-08-18Fix the whitespace formatting error introduced by the last patchMelanie1-2/+2
2012-08-18refactoring for Vector3 operator & constructor tweaksSignpostMarv9-125/+119
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-17implementedSignpostMarv2-0/+14
2012-08-17attempt to handle InvalidCastException in a manner similar to Second LifeSignpostMarv2-2/+17
2012-08-17minor: Make xengine debug message on script load a scripting loading message ↵Justin Clark-Casey (justincc)1-7/+9
instead. This is more useful if compilation fails due to an uncatchable exception since we know what was being compiled.
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-15adding ATTACH_*_PEC constantsSignpostMarv1-0/+2
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 keySignpostMarv3-0/+19
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-31Adds support to ScriptModuleComms for region modules to exportMic Bowman1-2/+37
constants to the script engine.