diff --git a/indra/lscript/lscript_library/lscript_library.cpp b/indra/lscript/lscript_library/lscript_library.cpp
index c78a72cdb..ffbb91340 100644
--- a/indra/lscript/lscript_library/lscript_library.cpp
+++ b/indra/lscript/lscript_library/lscript_library.cpp
@@ -1,11 +1,11 @@
-/**
+/**
* @file lscript_library.cpp
* @brief external library interface
*
* $LicenseInfo:firstyear=2002&license=viewergpl$
- *
+ *
* Copyright (c) 2002-2009, Linden Research, Inc.
- *
+ *
* Second Life Viewer Source Code
* The source code in this file ("Source Code") is provided by Linden Lab
* to you under the terms of the GNU General Public License, version 2.0
@@ -13,17 +13,17 @@
* ("Other License"), formally executed by you and Linden Lab. Terms of
* the GPL can be found in doc/GPL-license.txt in this distribution, or
* online at http://secondlifegrid.net/programs/open_source/licensing/gplv2
- *
+ *
* There are special exceptions to the terms and conditions of the GPL as
* it is applied to this Source Code. View the full text of the exception
* in the file doc/FLOSS-exception.txt in this software distribution, or
* online at
* http://secondlifegrid.net/programs/open_source/licensing/flossexception
- *
+ *
* By copying, modifying or distributing this software, you acknowledge
* that you have read and understood your obligations described above,
* and agree to abide by those obligations.
- *
+ *
* ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
* WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
* COMPLETENESS OR PERFORMANCE.
@@ -37,7 +37,7 @@
// ## ## ## ## ## ######## ## ## ## ## ## ## ## ## #### ## ##
// ## ## ## ######### ## ## ## #### ## ## #### ## ##
// ## ## ## ## ## ## ## ## ### ## ## ### ## ## #### ####
-// ### ### ## ## ## ## ## ## #### ## ## ###### #### ####
+// ### ### ## ## ## ## ## ## #### ## ## ###### #### ####
//
// When adding functions, they MUST be appended to the end of
// the init() method. The init() associates the name with a number,
@@ -327,7 +327,7 @@ void LLScriptLibrary::init()
addFunction(10.f, 0.2f, dummy_func, "llSetRemoteScriptAccessPin", NULL, "i");
addFunction(10.f, 3.f, dummy_func, "llRemoteLoadScriptPin", NULL, "ksiii");
-
+
addFunction(10.f, 1.f, dummy_func, "llOpenRemoteDataChannel", NULL, NULL);
addFunction(10.f, 3.f, dummy_func, "llSendRemoteData", "k", "ksis");
addFunction(10.f, 3.f, dummy_func, "llRemoteDataReply", NULL, "kksi");
@@ -343,7 +343,7 @@ void LLScriptLibrary::init()
addFunction(10.f, 0.f, dummy_func, "llLog", "f", "f");
addFunction(10.f, 0.f, dummy_func, "llGetAnimationList", "l", "k");
addFunction(10.f, 2.f, dummy_func, "llSetParcelMusicURL", NULL, "s");
-
+
addFunction(10.f, 0.f, dummy_func, "llGetRootPosition", "v", NULL);
addFunction(10.f, 0.f, dummy_func, "llGetRootRotation", "q", NULL);
@@ -362,7 +362,7 @@ void LLScriptLibrary::init()
addFunction(10.f, 0.0f, dummy_func, "llBase64ToInteger", "i", "s");
addFunction(10.f, 0.f, dummy_func, "llGetGMTclock", "f", "");
addFunction(10.f, 10.f, dummy_func, "llGetSimulatorHostname", "s", "");
-
+
addFunction(10.f, 0.2f, dummy_func, "llSetLocalRot", NULL, "q");
addFunction(10.f, 0.f, dummy_func, "llParseStringKeepNulls", "l", "sll");
@@ -385,12 +385,12 @@ void LLScriptLibrary::init()
addFunction(10.f, 2.f, dummy_func, "llParcelMediaQuery", "l", "l");
addFunction(10.f, 1.f, dummy_func, "llModPow", "i", "iii");
-
+
addFunction(10.f, 0.f, dummy_func, "llGetInventoryType", "i", "s");
addFunction(10.f, 0.f, dummy_func, "llSetPayPrice", NULL, "il");
addFunction(10.f, 0.f, dummy_func, "llGetCameraPos", "v", "");
addFunction(10.f, 0.f, dummy_func, "llGetCameraRot", "q", "");
-
+
addFunction(10.f, 20.f, dummy_func, "llSetPrimURL", NULL, "s");
addFunction(10.f, 20.f, dummy_func, "llRefreshPrimURL", NULL, "");
addFunction(10.f, 0.f, dummy_func, "llEscapeURL", "s", "s");
@@ -403,7 +403,7 @@ void LLScriptLibrary::init()
addFunction(10.f, 0.f, dummy_func, "llSetCameraParams", NULL, "l");
addFunction(10.f, 0.f, dummy_func, "llClearCameraParams", NULL, NULL);
-
+
addFunction(10.f, 0.f, dummy_func, "llListStatistics", "f", "il");
addFunction(10.f, 0.f, dummy_func, "llGetUnixTime", "i", NULL);
addFunction(10.f, 0.f, dummy_func, "llGetParcelFlags", "i", "v");
@@ -425,7 +425,7 @@ void LLScriptLibrary::init()
addFunction(10.f, 0.2f, dummy_func, "llSetLinkPrimitiveParams", NULL, "il");
addFunction(10.f, 0.2f, dummy_func, "llSetLinkTexture", NULL, "isi");
-
+
addFunction(10.f, 0.f, dummy_func, "llStringTrim", "s", "si");
addFunction(10.f, 0.f, dummy_func, "llRegionSay", NULL, "is");
addFunction(10.f, 0.f, dummy_func, "llGetObjectDetails", "l", "kl");
@@ -470,11 +470,135 @@ void LLScriptLibrary::init()
addFunction(10.f, 0.f, dummy_func, "llGetEnv", "s", "s");
addFunction(10.f, 0.f, dummy_func, "llRegionSayTo", NULL, "kis");
+ // Adding missing (more recent) LSL functions.
+
+ addFunction(10.f, 0.f, dummy_func, "llCastRay", "l", "vvl");
+ addFunction(10.f, 0.f, dummy_func, "llGetSPMaxMemory", "i", NULL);
+ addFunction(10.f, 0.f, dummy_func, "llGetUsedMemory", "i", NULL);
+ addFunction(10.f, 0.f, dummy_func, "llGodLikeRezObject", NULL, "kv");
+ addFunction(10.f, 0.f, dummy_func, "llScriptProfiler", NULL, "i");
+ addFunction(10.f, 0.f, dummy_func, "llSetInventoryPermMask", NULL, "sii");
+ addFunction(10.f, 0.f, dummy_func, "llSetObjectPermMask", NULL, "ii");
+
// energy, sleep, dummy_func, name, return type, parameters, help text, gods-only
// IF YOU ADD NEW SCRIPT CALLS, YOU MUST PUT THEM AT THE END OF THIS LIST.
// Otherwise the bytecode numbers for each call will be wrong, and all
// existing scripts will crash.
+
+ // REGARDING OSSL FUNCTIONS
+ // These additions should be posted underneath the llFunctions
+ // These functions pertain to OpenSimulator and are in no part applicable to SecondLife by Linden Labs
+ // The Current State of these functions are in flux and development is ongoing. Not all the functions are presently
+ // documented and therefore the description may be incomplete and require further attention.
+ // OpenSimulator is written in C# and not CPP therefore some values for example "double = float" etc. are different.
+
+ // OSSL corrections and syntax additions added + set in same order as found in OSSL_stub.cs of OpenSim Source (Updated PM October-21-2010
+ // based on OpenSimulator Ver. 0.7.x DEV/Master Git # a7acb650d400a280a7b9edabd304376dff9c81af - a7acb65-r/14142
+ // Updates by WhiteStar Magic
+
+ addFunction(10.f, 0.f, dummy_func, "osSetRegionWaterHeight", NULL, "f");
+ addFunction(10.f, 0.f, dummy_func, "osSetRegionSunSettings", NULL, "iif");
+ addFunction(10.f, 0.f, dummy_func, "osSetEstateSunSettings", NULL, "if");
+ addFunction(10.f, 0.f, dummy_func, "osGetCurrentSunHour", "f", NULL);
+ addFunction(10.f, 0.f, dummy_func, "osSunGetParam","f", "s"); // Deprecated. Use osGetSunParam instead
+ addFunction(10.f, 0.f, dummy_func, "osSunSetParam", "sf", NULL); // Deprecated. Use osSetSunParam instead
+ addFunction(10.f, 0.f, dummy_func, "osWindActiveModelPluginName", "s", NULL);
+ addFunction(10.f, 0.f, dummy_func, "osParcelJoin", NULL, "vv");
+ addFunction(10.f, 0.f, dummy_func, "osParcelSubdivide", NULL, "vv");
+ addFunction(10.f, 0.f, dummy_func, "osParcelSetDetails", NULL, "vv"); // Deprecated. Use osSetParcelDetails instead.
+ // addFunction(10.f, 0.f, dummy_func, "osWindParamSet", NULL, "ssf"); // This function was renamed before it was implemented. Leaving this in for now.
+ // addFunction(10.f, 0.f, dummy_func, "osWindParamGet", "f", "ss"); // This function was renamed before it was implemented. Leaving this in for now.
+ addFunction(10.f, 0.f, dummy_func, "osList2Double", "f", "li");
+ addFunction(10.f, 0.f, dummy_func, "osSetDynamicTextureURL", NULL, "ksssi");
+ addFunction(10.f, 0.f, dummy_func, "osSetDynamicTextureData", NULL, "ksssi");
+ addFunction(10.f, 0.f, dummy_func, "osSetDynamicTextureURLBlend", NULL, "ksssii");
+ addFunction(10.f, 0.f, dummy_func, "osSetDynamicTextureDataBlend", NULL, "ksssii");
+ addFunction(10.f, 0.f, dummy_func, "osSetDynamicTextureURLBlendFace", NULL, "ksssfiiii");
+ addFunction(10.f, 0.f, dummy_func, "osSetDynamicTextureDataBlendFace", NULL, "ksssfiiii");
+ addFunction(10.f, 0.f, dummy_func, "osTerrainGetHeight", "f", "ii"); // Deprecated. Use osGetTerrainHeight instead
+ addFunction(10.f, 0.f, dummy_func, "osTerrainSetHeight", NULL, "iif"); // Deprecated. Use osSetTerrainHeight instead
+ addFunction(10.f, 0.f, dummy_func, "osTerrainFlush", NULL, NULL);
+ addFunction(10.f, 0.f, dummy_func, "osRegionRestart", "i", "f");
+ addFunction(10.f, 0.f, dummy_func, "osRegionNotice",NULL, "s");
+ addFunction(10.f, 0.f, dummy_func, "osConsoleCommand", NULL, "s");
+ addFunction(10.f, 0.f, dummy_func, "osSetParcelMediaURL", NULL, "s");
+ addFunction(10.f, 0.f, dummy_func, "osSetParcelSIPAddress", NULL, "s");
+ addFunction(10.f, 0.f, dummy_func, "osSetPrimFloatOnWater", NULL, "i");
+ addFunction(10.f, 0.f, dummy_func, "osTeleportAgent", NULL, "ksvv");
+ addFunction(10.f, 0.f, dummy_func, "osGetAgentIP", "s", "k");
+ addFunction(10.f, 0.f, dummy_func, "osGetAgents", "l", NULL);
+ addFunction(10.f, 0.f, dummy_func, "osAvatarPlayAnimation", NULL, "ks");
+ addFunction(10.f, 0.f, dummy_func, "osAvatarStopAnimation", NULL, "ks");
+ addFunction(10.f, 0.f, dummy_func, "osMovePen", NULL, "sii");
+ addFunction(10.f, 0.f, dummy_func, "osDrawLine", NULL, "siiii");
+ addFunction(10.f, 0.f, dummy_func, "osDrawText", NULL, "ss");
+ addFunction(10.f, 0.f, dummy_func, "osDrawEllipse", NULL, "sii");
+ addFunction(10.f, 0.f, dummy_func, "osDrawRectangle", NULL, "sii");
+ addFunction(10.f, 0.f, dummy_func, "osDrawFilledRectangle", NULL, "sii");
+ addFunction(10.f, 0.f, dummy_func, "osDrawPolygon", "s", "sll");
+ addFunction(10.f, 0.f, dummy_func, "osDrawFilledPolygon", "s", "sll");
+ addFunction(10.f, 0.f, dummy_func, "osSetFontSize", NULL, "si");
+ addFunction(10.f, 0.f, dummy_func, "osSetFontName", NULL, "ss");
+ addFunction(10.f, 0.f, dummy_func, "osSetPenSize", NULL, "si");
+ addFunction(10.f, 0.f, dummy_func, "osSetPenCap", NULL, "sss");
+ addFunction(10.f, 0.f, dummy_func, "osSetPenColour", NULL, "ss"); // Deprecated. Use osSetPenColor instead
+ addFunction(10.f, 0.f, dummy_func, "osDrawImage", NULL, "siis");
+ addFunction(10.f, 0.f, dummy_func, "osGetDrawStringSize", "v", "sssi");
+ addFunction(10.f, 0.f, dummy_func, "osSetStateEvents", NULL, "i");
+ addFunction(10.f, 0.f, dummy_func, "osGetScriptEngineName", "s", NULL);
+ addFunction(10.f, 0.f, dummy_func, "osGetSimulatorVersion", "s", NULL);
+ addFunction(10.f, 0.f, dummy_func, "osParseJSON", "s", "s");
+ addFunction(10.f, 0.f, dummy_func, "osMessageObject", NULL, "ks");
+ addFunction(10.f, 0.f, dummy_func, "osMakeNotecard", NULL, "sl");
+ addFunction(10.f, 0.f, dummy_func, "osGetNotecardLine", "s", "si");
+ addFunction(10.f, 0.f, dummy_func, "osGetNotecard", "s", "s");
+ addFunction(10.f, 0.f, dummy_func, "osGetNumberOfNotecardLines", "i", "s");
+ addFunction(10.f, 0.f, dummy_func, "osAvatarName2Key", "k", "ss");
+ addFunction(10.f, 0.f, dummy_func, "osKey2Name", "s", "k");
+ addFunction(10.f, 0.f, dummy_func, "osGetGridNick", "s", NULL);
+ addFunction(10.f, 0.f, dummy_func, "osGetGridName", "s", NULL);
+ addFunction(10.f, 0.f, dummy_func, "osGetGridLoginURI", "s", NULL);
+ addFunction(10.f, 0.f, dummy_func, "osFormatString", "s", "sl");
+ addFunction(10.f, 0.f, dummy_func, "osMatchString", "l", "ssi");
+ addFunction(10.f, 0.f, dummy_func, "osLoadedCreationDate", "s", NULL);
+ addFunction(10.f, 0.f, dummy_func, "osLoadedCreationTime", "s", NULL);
+ addFunction(10.f, 0.f, dummy_func, "osLoadedCreationID", "s", NULL);
+ addFunction(10.f, 0.f, dummy_func, "osGetLinkPrimitiveParams", "l", "il");
+ addFunction(10.f, 0.f, dummy_func, "osNpcCreate", "k", "ssvk");
+ addFunction(10.f, 0.f, dummy_func, "osNpcMoveTo", NULL, "kv");
+ addFunction(10.f, 0.f, dummy_func, "osNpcSay", NULL, "ks");
+ addFunction(10.f, 0.f, dummy_func, "osNpcRemove", NULL, "k");
+ addFunction(10.f, 0.f, dummy_func, "osGetMapTexture", "k", NULL);
+ addFunction(10.f, 0.f, dummy_func, "osGetRegionMapTexture", "k", "s");
+ addFunction(10.f, 0.f, dummy_func, "osGetRegionStats", "l", NULL);
+ addFunction(10.f, 0.f, dummy_func, "osGetSimulatorMemory", "i", NULL);
+ addFunction(10.f, 0.f, dummy_func, "osKickAvatar", NULL, "sss");
+ addFunction(10.f, 0.f, dummy_func, "osSetSpeed", NULL, "kf");
+ addFunction(10.f, 0.f, dummy_func, "osCauseDamage", NULL, "kf");
+ addFunction(10.f, 0.f, dummy_func, "osCauseHealing", NULL, "kf");
+ addFunction(10.f, 0.f, dummy_func, "osGetPrimitiveParams", "l", "kl");
+ addFunction(10.f, 0.f, dummy_func, "osSetPrimitiveParams", NULL, "kl");
+ addFunction(10.f, 0.f, dummy_func, "osSetProjectionParams", NULL, "kikfff");
+ addFunction(10.f, 0.f, dummy_func, "osUnixTimeToTimestamp", "s", "i");
+ addFunction(10.f, 0.f, dummy_func, "osSetPenColor", NULL, "ss");
+ addFunction(10.f, 0.f, dummy_func, "osGetSunParam","f", "s");
+ addFunction(10.f, 0.f, dummy_func, "osSetSunParam", "sf", NULL);
+ addFunction(10.f, 0.f, dummy_func, "osSetParcelDetails", NULL, "vl");
+ addFunction(10.f, 0.f, dummy_func, "osGetTerrainHeight", "f", "ii");
+ addFunction(10.f, 0.f, dummy_func, "osSetTerrainHeight", NULL, "iif");
+ addFunction(10.f, 0.f, dummy_func, "osGetAvatarList", "l", NULL);
+ addFunction(10.f, 0.f, dummy_func, "osTeleportOwner", NULL, "svv");
+
+ // LightShare functions
+ addFunction(10.f, 0.f, dummy_func, "cmSetWindlightScene", "i", "l");
+ addFunction(10.f, 0.f, dummy_func, "cmSetWindlightSceneTargeted", "i", "lk");
+ addFunction(10.f, 0.f, dummy_func, "cmGetWindlightScene", "l", "l");
+ // LightShare functions - alternate versions
+ // don't ask me why they renamed 'em, but we need to include both versions -- MC
+ addFunction(10.f, 0.f, dummy_func, "lsSetWindlightScene", "i", "l");
+ addFunction(10.f, 0.f, dummy_func, "lsSetWindlightSceneTargeted", "i", "lk");
+ addFunction(10.f, 0.f, dummy_func, "lsGetWindlightScene", "l", "l");
}
LLScriptLibraryFunction::LLScriptLibraryFunction(F32 eu, F32 st, void (*exec_func)(LLScriptLibData *, LLScriptLibData *, const LLUUID &), const char *name, const char *ret_type, const char *args, BOOL god_only)
@@ -494,7 +618,7 @@ void LLScriptLibrary::addFunction(F32 eu, F32 st, void (*exec_func)(LLScriptLibD
void LLScriptLibrary::assignExec(const char *name, void (*exec_func)(LLScriptLibData *, LLScriptLibData *, const LLUUID &))
{
- for (std::vector::iterator i = mFunctions.begin();
+ for (std::vector::iterator i = mFunctions.begin();
i != mFunctions.end(); ++i)
{
if (!strcmp(name, i->mName))
@@ -503,7 +627,7 @@ void LLScriptLibrary::assignExec(const char *name, void (*exec_func)(LLScriptLib
return;
}
}
-
+
llerrs << "Unknown LSL function in assignExec: " << name << llendl;
}
diff --git a/indra/newview/skins/default/xui/en-us/strings.xml b/indra/newview/skins/default/xui/en-us/strings.xml
index ba0074d58..83db17102 100644
--- a/indra/newview/skins/default/xui/en-us/strings.xml
+++ b/indra/newview/skins/default/xui/en-us/strings.xml
@@ -1,10 +1,10 @@
-
+
free
week
@@ -12,7 +12,7 @@
[NAME]'s teleport lure is to [DESTINATION]
-
+
Logging in. [APP_NAME] may appear frozen. Please wait.
@@ -36,8 +36,8 @@
This region may be experiencing trouble. Please check your connection to the Internet.
-
-
+
+
Person
(no name)
@@ -63,9 +63,9 @@
Group Scripts
No Scripts
Land:
- Only a single item can be dragged here
+ Only a single item can be dragged here
+
-
Retrieving...
@@ -73,21 +73,21 @@
Loading...
-
-
+
+
(nobody)
-
+
(waiting)
(hippos)
-
+
(none)
-
+
No error
Asset request: failed
@@ -100,7 +100,7 @@
Circuit gone
Viewer and server do not agree on price
Unknown status
-
+
(Editing Appearance)
Away
@@ -177,24 +177,24 @@
Worry
Yes (Happy)
Yes
-
+
Loading...
Offline
-
+
whispers:
shouts:
-
+
PG
Mature
Adult
Offline
Unknown
-
+
(unknown)
-
+
Last Modified: (never)
Last Modified:
@@ -215,7 +215,7 @@
Compressed Images
Load Files
Choose Directory
-
+
Sleeps script for [SLEEP_TIME] seconds.
@@ -1650,8 +1650,8 @@ string llGetHTTPHeader(key request_id, string header)
Returns the value for header for request_id
- integer llSetPrimMediaParams(integer face, list params)
- Returns an integer that is a STATUS_* flag which details the success/failure of the operation(s).
+integer llSetPrimMediaParams(integer face, list params)
+Returns an integer that is a STATUS_* flag which details the success/failure of the operation(s).
list llGetPrimMediaParams(integer face, list params)
@@ -1659,54 +1659,589 @@ Returns the media params for a particular face on an object, given the desired l
(Returns an empty list if no media exists on the face.)
- integer llClearPrimMedia(integer face)
- Returns an integer that is a STATUS_* flag which details the success/failure of the operation.
+integer llClearPrimMedia(integer face)
+Returns an integer that is a STATUS_* flag which details the success/failure of the operation.
- llSetLinkPrimitiveParamsFast(integer linknumber, list rules)
- Set primitive parameters for linknumber based on rules with no built-in script sleep.
+llSetLinkPrimitiveParamsFast(integer linknumber, list rules)
+Set primitive parameters for linknumber based on rules with no built-in script sleep.
- list llGetLinkPrimitiveParams(integer linknumber,list rules)
+list llGetLinkPrimitiveParams(integer linknumber,list rules)
Get primitive parameters for linknumber based on rules.
- list llLinkParticleSystem(integer linknumber, list rules)
+list llLinkParticleSystem(integer linknumber, list rules)
Creates a particle system based on rules. Empty list removes particle system from object.
List format is [ rule1, data1, rule2, data2 . . . rulen, datan ].
- llSetLinkTextureAnim(integer link, integer mode, integer face, integer sizex, integer sizey, float start, float length, float rate)
- Animate the texture on the specified face/faces of the specified prim/prims by setting the texture scale and offset.
+llSetLinkTextureAnim(integer link, integer mode, integer face, integer sizex, integer sizey, float start, float length, float rate)
+Animate the texture on the specified face/faces of the specified prim/prims by setting the texture scale and offset.
- integer llGetLinkNumberOfSides(integer link)
- Returns the number of sides of the specified linked prim.
+integer llGetLinkNumberOfSides(integer link)
+Returns the number of sides of the specified linked prim.
- string llGetUsername(key id)
- Returns the single-word username of an avatar, iff the avatar is in the current region, otherwise the empty string.
+string llGetUsername(key id)
+Returns the single-word username of an avatar, if the avatar is in the current region, otherwise the empty string.
- key llRequestUsername(key id)
- Requests single-word username of an avatar. When data is available the dataserver event will be raised.
+key llRequestUsername(key id)
+Requests single-word username of an avatar. When data is available the dataserver event will be raised.
- string llGetDisplayName(key id)
- Returns the name of an avatar, iff the avatar is in the current simulator, and the name has been cached, otherwise the same as llGetUsername. Use llRequestDisplayName if you absolutely must have the display name.
+string llGetDisplayName(key id)
+Returns the name of an avatar, if the avatar is in the current simulator, and the name has been cached, otherwise the same as llGetUsername. Use llRequestDisplayName if you absolutely must have the display name.
- key llRequestDisplayName(key id)
- Requests name of an avatar. When data is available the dataserver event will be raised.
+key llRequestDisplayName(key id)
+Requests name of an avatar. When data is available the dataserver event will be raised.
-
+
llRegionSayTo(key target, integer channel, string msg)
Sends msg on channel (not DEBUG_CHANNEL) directly to prim or avatar target anywhere within the region
-
-
+
+
string llGetEnv(string name)
Returns a string with the requested data about the region
-
+
+
+list llCastRay( Vector start, Vector end, list options )
+Returns a list consisting of the following three values for each hit: UUID, Link number, Hit position.
+
+
+integer llGetSPMaxMemory( )
+Returns the integer of the most bytes used while llScriptProfiler was last active.
+
+
+integer llGetUsedMemory( )
+Returns the integer of the number of bytes of memory currently in use by the script.
+
+
+llGodLikeRezObject( key inventory, vector pos )
+Rez directly off of UUID if owner has god-bit set.
+(Requires god mode)
+
+
+llScriptProfiler( integer flags )
+Enables or disables the scripts profiling state.
+
+
+llSetInventoryPermMask( string item, integer mask, integer value )
+Sets the given permission mask to the new value on the inventory item.
+(Requires god mode)
+
+
+llSetObjectPermMask( integer mask, integer value )
+Sets the given permission mask to the new value on the root object the task is attached to.
+(Requires god mode)
+
+
+
+
+osSetRegionWaterHeight(float height)
+Adjusts water height on region.
+(OpenSim only.)
+
+
+osSetRegionSunSettings(integer useEstateSun, integer sunFixed, float sunHour)
+Changes the estate sun settings, then triggers a sun update
+'sunFixed' TRUE to keep the sun stationary, FALSE to use global time
+'sunHour' The sun hour that is desired, 0...24, 0 is sunrise.
+(OpenSim only.)
+
+
+osSetEstateSunSettings(integer sunFixed, float sunHour)
+sunFixed = TRUE or FALSE, sunHour = 00.00 to 24.00.
+(OpenSim only.)
+
+
+float osGetCurrentSunHour()
+Returns float value of current sun hour 0...24 0 is sunrise.
+(OpenSim only.)
+
+
+*DEPRECATED* Use osGetSunParam instead.
+(OpenSim only.)
+
+
+*DEPRECATED* Use osSetSunParam instead.
+(OpenSim only.)
+
+
+string osWindActiveModelPluginName()
+Returns the current working wind module installed
+These are SimpleRandomWind or ConfigurableWind.
+(OpenSim only.)
+
+
+osParcelJoin(vector pos1, vector pos2))
+Joins parcels @ X,Y coordinates.
+(OpenSim only.)
+
+
+osParcelSubdivide(vector pos1, vector pos2))
+Subdivides parcels @ X,Y coordinates.
+(OpenSim only.)
+
+
+*DEPRECATED* Use osSetParcelDetails instead.
+(OpenSim only.)
+
+
+*DEPRECATED* Use osSetWindParam instead.
+(OpenSim only.)
+
+
+*DEPRECATED* Use osGetWindParam instead.
+(OpenSim only.)
+
+
+double osList2Double(list src, integer index)
+Returns double-precision value from src at index.
+(OpenSim only.)
+
+
+osSetDynamicTextureURL(key dynamicID, string contentType, string url, string extraParams, integer timer )
+Renders a web texture on the prim containing the script, and returns the UUID of the newly created texture.
+(OpenSim only.)
+
+
+osSetDynamicTextureData(key dynamicID, string contentType, string data, string extraParams, integer timer)
+Writes text and vector graphics onto a prim face.
+(OpenSim only.)
+
+
+osSetDynamicTextureURLBlend(key dynamicID, string contentType, string url, string extraParams, integer timer, integer alpha)
+Allows for two dynamic textures to blend on the prim containing this script.
+(OpenSim only.)
+
+
+osSetDynamicTextureDataBlend(key dynamicID, string contentType, string data, string extraParams, integer timer, integer alpha)
+Allows for two dynamic textures to blend on the prim containing this script.
+(OpenSim only.)
+
+
+osSetDynamicTextureURLBlendFace(key dynamicID, string contentType, string url, string extraParams, integer blend, integer disp, integer timer, integer alpha, integer face)
+Loads a web texture on a prim.
+(OpenSim only.)
+
+
+osSetDynamicTextureDataBlendFace(key dynamicID, string contentType, string data, string extraParams, integer blend, integer disp, integer timer, integer alpha, integer face)
+(OpenSim only.)
+
+
+*DEPRECATED* Use osGetTerrainHeight instead.
+(OpenSim only.)
+
+
+*DEPRECATED* Use osSetTerrainHeight instead.
+(OpenSim only.)
+
+
+osTerrainFlush()
+Updates terrain data. Call this after you are done using osTerrainSetHeight.
+(OpenSim only.)
+
+
+integer osRegionRestart(float seconds)
+Restart the current region in the specified number of seconds from now.
+(OpenSim only.)
+
+
+osRegionNotice(string msg)
+Broadcasts a notification message to all agents on the current region.
+(OpenSim only.)
+
+
+osConsoleCommand(string command)
+Issues commands directly to the OpenSim server console.
+(OpenSim only.)
+
+
+osSetParcelMediaURL(string url)
+Sets parcel media URL.
+(OpenSim only.)
+
+
+osSetParcelSIPAddress(string SIPAddress)
+Sets parcel SIP Address for Voice.
+(OpenSim only.)
+
+
+osSetPrimFloatOnWater(integer floatYN)
+Make physical prims float at the water level, TRUE or FALSE.
+(OpenSim only.)
+
+
+osTeleportAgent(key agent, integer regionX, integer regionY, vector position, vector lookat)
+ or
+osTeleportAgent(key agent, string regionName, vector position, vector lookat)
+ or
+osTeleportAgent(key agent, vector position, vector lookat)
+Teleports the specified agent to a specified location in the region, the grid, or the hypergrid. See documentation for details.
+(OpenSim only.)
+
+
+string osGetAgentIP(key agent)
+Returns the Avatars IP Address
+Allows in-world tools be used to coordinate out of world network services that need access to client IP addresses.
+Should *ONLY* be used by Region Server Owner.
+(OpenSim only.)
+
+
+list osGetAgents()
+Returns a list of all avatars in the region in which the script is running.
+(OpenSim only.)
+
+
+osAvatarPlayAnimation(key UUID, string animation)
+Triggers animations contained within the same prim as the script. Does not need the target avatar's permission.
+(OpenSim only.)
+
+
+osAvatarStopAnimation(key UUID, string animation)
+Stops specified animation on the specified avatar.
+(OpenSim only.)
+
+
+osMovePen(string drawList, integer x, integer y)
+Moves the pen's location to the coordinates specified by the x and y parameters, without drawing anything.
+(OpenSim only.)
+
+
+osDrawLine(string drawList, integer startX, integer startY, integer endX, integer endY)
+osDrawLine(string drawList, integer endX, integer endY)
+Draws a line on a dynamic texture.
+(OpenSim only.)
+
+
+osDrawText(string drawList, string text)
+Renders text on a dynamic texture.
+(OpenSim only.)
+
+
+osDrawEllipse(string drawList, integer width, integer height)
+Draws an ellipse on a dynamic texture.
+(OpenSim only.)
+
+
+osDrawRectangle(string drawList, integer width, integer height)
+Draws a rectangle on a dynamic texture.
+(OpenSim only.)
+
+
+osDrawFilledRectangle(string drawList, integer width, integer height)
+Draws a rectangle on a dynamic texture, and fills it with the current pen color.
+(OpenSim only.)
+
+
+string osDrawPolygon (string drawList, list x, list y)
+Draws a polygon on a dynamic texture.
+(OpenSim only.)
+
+
+string osDrawFilledPolygon (string drawList, list x, list y)
+Draws a polygon on a dynamic texture, and fills it with the current pen color.
+(OpenSim only.)
+
+
+osSetFontSize(string drawList, integer fontSize)
+Sets the font size to be used in osDrawText.
+(OpenSim only.)
+
+
+osSetFontName(string drawList, string fontName)
+Sets current font to be used by osDrawText.
+(OpenSim only.)
+
+
+osSetPenSize(string drawList, integer penSize)
+Sets the pen size (line thickness) that is to be used when drawing dynamic textures.
+(OpenSim only.)
+
+
+osSetPenCap(string drawList, string direction, string type)
+Apply a shape on the end of a line. This allows using arrow, diamond, round and flat caps.
+(OpenSim only.)
+
+
+*DEPRECATED* Use osSetPenColor instead
+(OpenSim only.)
+
+
+osDrawImage(string drawList, integer width, integer height, string imageUrl)
+Retrieves an image specified by the imageUrl parameter and draws it at the specified height and width.
+(OpenSim only.)
+
+
+vector osGetDrawStringSize(string contentType, string text, string fontName, integer fontSize)
+Returns a vector containing the horizontal and vertical dimensions in pixels of the specified text
+(OpenSim only.)
+
+
+osSetStateEvents(integer events)
+Used in the past as a workaround for a bug with Opensim, which has long since been fixed.
+(OpenSim only.)
+
+
+string osGetScriptEngineName()
+Returns the name of the script engine which is currently enabled on the server.
+(OpenSim only.)
+
+
+string osGetSimulatorVersion()
+Returns OpenSim server version information as a string.
+(OpenSim only.)
+
+
+string osParseJSON(string JSON)
+Returns a hashtable containing the structured JSON contents.
+(OpenSim only.)
+
+
+osMessageObject(key UUID, string message)
+Sends a string to the object identified by UUID.
+The receiving object requires a dataserver(key queryid, string data) in a contained script(s).
+The queryid passed will be the id of the calling object.
+(OpenSim only.)
+
+
+osMakeNotecard(string notecardName, list contents)
+Write a Notecard contained in Prim with contents of list.
+(OpenSim only.)
+
+
+string osGetNotecardLine(string name, integer line)
+Reads the requested notecard line and return its data as a string.
+(OpenSim only.)
+
+
+string osGetNotecard(string name)
+Reads the entire notecard and return its data as a string.
+(OpenSim only.)
+
+
+integer osGetNumberOfNotecardLines(string name)
+Returns total number of lines in a notecard.
+(OpenSim only.)
+
+
+key osAvatarName2Key(string firstname, string lastname)
+Returns the avatar's UUID from their firstname, lastname.
+(OpenSim only.)
+
+
+string osKey2Name(key UUID)
+Returns avatar name from their UUID key.
+(OpenSim only.)
+
+
+string osGetGridNick()
+Returns the grid's nickname.
+(OpenSim only.)
+
+
+string osGetGridName()
+Returns the grid's name.
+(OpenSim only.)
+
+
+string osGetGridLoginURI()
+Returns the grid's LoginURI.
+(OpenSim only.)
+
+
+string osFormatString(string str, list strings)
+Return the string with parameters substituted into it (format comes from .NET String.Format class)
+Parameters are specified positionally.
+(OpenSim only.)
+
+
+list osMatchString(string src, string pattern, integer start)
+Return a list of matches for the pattern and its components inside the source string.
+The pattern is a regular expression. Each match in the result is the string that matched and its position in the source.
+(OpenSim only.)
+
+
+string osLoadedCreationDate()
+Returns Creation Date from meta data of OAR.
+(OpenSim only.)
+
+
+string osLoadedCreationTime()
+Returns Creation Time from meta data of OAR.
+(OpenSim only.)
+
+
+string osLoadedCreationID()
+Returns creation ID from meta data of OAR. Can not be used to identify a machine.
+(OpenSim only.)
+
+
+list osGetLinkPrimitiveParams(integer linknumber, list rules)
+Returns the primitive parameters for the linkset prims specified by linknumber. If using linkset constants (e.g. LINK_SET, LINK_ALL_CHILDREN, etc), the requested parameters of each relevant prim are concatenated to the end of the list. Otherwise, usage is identical to llGetPrimitiveParams().
+(OpenSim only.)
+
+
+key osNpcCreate(string firstname, string lastname, vector position, key UUID)
+Creates an NPC (Non Player Character) clone named firstname lastname at position from an already existing avatar specified by UUID.
+(OpenSim only.)
+
+
+osNpcMoveTo(key npc, vector position)
+Moves an NPC to a location within the region.
+(OpenSim only.)
+
+
+osNpcSay(key npc, string message)
+Makes an NPC say something.
+(OpenSim only.)
+
+
+osNpcRemove(key npc)
+Removes an NPC.
+(OpenSim only.)
+
+
+key osGetMapTexture()
+Returns the map texture UUID.
+(OpenSim only.)
+
+
+key osGetRegionMapTexture(string regionName)
+Returns the map texture UUID for the regionName requested.
+(OpenSim only.)
+
+
+list osGetRegionStats()
+Returns a list of float values representing a number of region statistics (21 of the values shown in the statistics bar of LL-based clients).
+(OpenSim only.)
+
+
+integer osGetSimulatorMemory()
+Returns the current amount of RAM used by the current OpenSim instance.
+(OpenSim only.)
+
+
+osKickAvatar(string FirstName, string LastName, string alert)
+Kicks avatar from region with an alert message.
+(OpenSim only.)
+
+
+osSetSpeed(key UUID, float SpeedModifier)
+Multiplies the normal running, walking, and flying speed of the specified avatar.
+(OpenSim only.)
+
+
+osCauseDamage(key UUID, float damage)
+Causes damage to specified avatar.
+(OpenSim only.)
+
+
+osCauseHealing(key UUID, float healing)
+Causes healing to specified avatar.
+(OpenSim only.)
+
+
+list osGetPrimitiveParams(key prim, list rules)
+Gets the parameters of the primitive, specified by key.
+(OpenSim only.)
+
+
+osSetPrimitiveParams(key prim, list rules)
+Sets primitive Params.
+(OpenSim only.)
+
+
+osSetProjectionParams(key prim. integer projection, key texture, float fov, float focus, float amb)
+Set projection paramaters for light sources.
+(OpenSim only.)
+
+
+string osUnixTimeToTimestamp(integer unixtime)
+Converts unixtime to an llGetTimeStamp() formated string.
+(OpenSim only.)
+
+
+osSetPenColor(string drawList, string color)
+Sets the pen color that is to be used when drawing dynamic textures.
+(OpenSim only.)
+
+
+float osGetSunParam(string param)
+Returns current float values for param, where param = day_length, year_length, day_night_offset, update_interval.
+(OpenSim only.)
+
+
+osSetSunParam(string param, float value)
+Sets region's sun parameters, where param = day_length, year_length, day_night_offset, update_interval.
+(OpenSim only.)
+
+
+osSetParcelDetails(vector pos, list rules)
+Set parcel details.
+(OpenSim only.)
+
+
+float osGetTerrainHeight(integer x, integer y)
+Returns current terrain height at the given coordinates.
+(OpenSim only.)
+
+
+osSetTerrainHeight(integer x, integer y, float val)
+Sets terrain height at the given coordinates. Use osTerrainFlush() afterwards.
+(OpenSim only.)
+
+
+list osGetAvatarList()
+Returns a strided list of the UUID, position, and name of each avatar in the region, except the owner.
+(OpenSim only.)
+
+
+osTeleportOwner(integer regionX, integer regionY, vector position, vector lookat)
+ or
+osTeleportOwner(string regionName, vector position, vector lookat)
+ or
+osTeleportOwner(vector position, vector lookat)
+Teleports the owner of the object that holds the script to a specified location in the region, the grid, or the hypergrid. See documentation for details.
+(OpenSim only.)
+
+
+
+
+integer cmSetWindlightScene(list rules)
+Set the current WindLight scene. Estate managers and owners only.
+(Reguires LightShare)
+
+
+integer cmSetWindlightSceneTargeted(list rules, key target)
+Set the current WindLight scene directed at a specific avatar. Estate managers and owners only.
+(Reguires LightShare)
+
+
+list cmGetWindlightScene(list rules)
+Get the current WindLight settings.
+(Reguires LightShare)
+
+
+
+
+integer lsSetWindlightScene(list rules)
+Set the current WindLight scene. Estate managers and owners only.
+(Reguires LightShare)
+
+
+integer lsSetWindlightSceneTargeted(list rules, key target)
+Set the current WindLight scene directed at a specific avatar. Estate managers and owners only.
+(Reguires LightShare)
+
+
+list lsGetWindlightScene(list rules)
+Get the current WindLight settings.
+(Reguires LightShare)
+
-