aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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."); } }
* If a script state save fails for some reason on shutdown/region removal, get ↵Justin Clark-Casey (justincc)2012-08-231-2/+25
| | | | xengine to spit out some useful information and continue to save other script states
* 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-183-6/+6
|
* 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-189-125/+119
|
* Merge branch 'master' of melanie@opensimulator.org:/var/git/opensimMelanie2012-08-184-35/+55
|\
| * adding null return to fix buildingSignpostMarv2012-08-171-1/+1
| |
| * fixing bug that get/set the wrong property for prim types other than sphere ↵SignpostMarv2012-08-171-2/+4
| | | | | | | | & box
| * implementedSignpostMarv2012-08-172-0/+14
| |
| * attempt to handle InvalidCastException in a manner similar to Second LifeSignpostMarv2012-08-172-2/+17
| |
| * minor: Make xengine debug message on script load a scripting loading message ↵Justin Clark-Casey (justincc)2012-08-171-7/+9
| | | | | | | | | | | | instead. This is more useful if compilation fails due to an uncatchable exception since we know what was being compiled.
| * adding a clip method to handle Vector3 objects to enable a minor amount of ↵SignpostMarv2012-08-171-6/+5
| | | | | | | | refactoring
| * enables configurable minimum sizes for physical & non-physical primsSignpostMarv2012-08-151-20/+8
| |
* | Do a proper null check to avoid the overloaded operator == trapMelanie2012-08-161-1/+1
|/
* Merge branch 'master' of melanie@opensimulator.org:/var/git/opensimMelanie2012-08-151-0/+2
|\
| * adding ATTACH_*_PEC constantsSignpostMarv2012-08-151-0/+2
| |
* | Implementing PRIM_LINK_TARGET in a non-recursive fashionSignpostMarv2012-08-151-49/+74
|/
* Let the temp attachment module add a command to allow attaching without ↵Melanie2012-08-151-31/+39
| | | | permissions and add support for this (incomplete!) to LSL
* 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.
* Lay some groundwork for temp attachments. Decouple attachments from inventory.Melanie2012-08-141-1/+1
|
* attempt at replicating behaviour of llList2thing functions in SLSignpostMarv2012-08-131-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>
* Release http-in URLs when llResetScript is calledMelanie2012-08-071-0/+6
|
* 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-023-0/+19
| | | | Signed-off-by: Melanie <melanie@t-data.com>
* Look up the NPC module when the SensorRepeat class is created, rather than ↵Justin Clark-Casey (justincc)2012-08-011-5/+6
| | | | on every single sensor sweep.
* Resolve a deadlock between INPCModule and SensorRepeat by replacing the ↵Justin Clark-Casey (justincc)2012-07-311-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.
* Adds support to ScriptModuleComms for region modules to exportMic Bowman2012-07-311-2/+37
| | | | constants to the script engine.
* Return world rotation on llGetObjectDetails()'s OBJECT_ROTMelanie2012-07-291-1/+11
|
* LSL/OSSL lacks Math.Min & Math.Max implementations.SignpostMarv2012-07-283-0/+54
|
* Remove a couple of compiler warnings pointed out by SignpostMarvJustin Clark-Casey (justincc)2012-07-271-2/+0
|
* Move Watchdog and MemoryWatchdog classes into OpenSim.Framework.Monitoring ↵Justin Clark-Casey (justincc)2012-07-251-0/+1
| | | | with other monitoring code from OpenSim.Framework
* Make SceneManager.OnRegionsReadyStatusChange event available.Justin Clark-Casey (justincc)2012-07-251-1/+1
| | | | | This is fired when all regions are ready or when at least one region becomes not ready. Recently added EventManager.OnRegionReady becomes OnRegionReadyStatusChange to match OnLoginsEnabledStatusChange
* As per opensim-dev mailing list discussion, extend llGetDetectedType() to ↵Justin Clark-Casey (justincc)2012-07-201-5/+28
| | | | | | return OS_NPC if an OS npc is detected. The detection will also return agent is the NPC has been created with the OS_NPC_SENSE_AS_AGENT option.
* As per opensim-dev mailing list conversation, introduce OS_NPC constant for ↵Justin Clark-Casey (justincc)2012-07-202-2/+4
| | | | | | | | | 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.
* Enables support for UUIDs to be returned in lists fromMic Bowman2012-07-201-3/+13
| | | | | | modInvoke commands. Thanks SignpostMarv!!!
* Implements a very useful OSSL function to test a string to seeMic Bowman2012-07-203-0/+26
| | | | | | if it is a UUID. The function is osIsUUID(). Thanks SignpostMarv!
* Stop the 15 second initial script compile wait if a script is being rezzed ↵Justin Clark-Casey (justincc)2012-07-181-0/+4
| | | | on a previously empty region.