From 924a89daba2fbab91acc18dfa95bfbce4c8a0234 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Fri, 1 Jan 2016 20:30:25 +1000 Subject: Added a test HTML page for bringing the design docs into the source repo. This page is the one that had the most trouble elsewhere. --- docs/LSL-functions-implemented.html | 2669 +++++++++++++++++++++++++++++++++++ 1 file changed, 2669 insertions(+) create mode 100644 docs/LSL-functions-implemented.html (limited to 'docs') diff --git a/docs/LSL-functions-implemented.html b/docs/LSL-functions-implemented.html new file mode 100644 index 0000000..622d4e3 --- /dev/null +++ b/docs/LSL-functions-implemented.html @@ -0,0 +1,2669 @@ + + + + +

This is where we can track what LSL functions are implemented in LuaSL, and what the differences are from SL and OpenSim. Note that the goal is to be SL compatible. OpenSim compatibility comes second.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 
ColourStatus
WhiteNothing done.
RedJust a stub.
OrangeStub prints debug stuff.
MagentaStub that passes details to the server and waits for the response if one is needed.
GrayStub that fakes enough for the current tests.
YellowFleshed out a bit.
GreenFully implemented, maybe.
PurpleTested and works at least.
CyanCompletely compatible with SL.
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 
CodeMeaning
LFunction can be done locally, without dealing with the sim or grid.
RFunction can be done through ROBUST.
DFunction can be done through the local sims database.
OFunction needs to deal with the world server.
DO?Can do it through the local sims database, but may need to let the world server know so it notices the change?
gGod mode function.
dObsolete function that has been depecated.
bFunction is marked as broken by LL, and may not work even in SL.
+

 

+

animation override

+ + + + + + + + + + + + + + + + + + + + + + +
 
LSL functionSL notesOpenSim notesCodes
llGetAnimationOverride   
llResetAnimationOverride   
llSetAnimationOverride   
+

 

+

avatar

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 
LSL functionSL notesOpenSim notesCodes
llAttachToAvatar  O
llAvatarOnLinkSitTarget  O
llAvatarOnSitTarget  O
llClearCameraParams  O
llDetachFromAvatar  O
llForceMouselook  O
llGetAgentInfo  R?
llGetAgentLanguage   
llGetAgentSize  R?
llGetAnimation  O
llGetAnimationList  O
llGetAttached  O
llGetCameraPos  O
llGetCameraRot  O
llGetDisplayName   
llGetPermissions  O
llGetPermissionsKey  O
llGetUsername  R
llGiveMoney  O
llKey2Name  R
llPointAt  d
llReleaseCamera  dO
llReleaseControls  O
llRequestAgentData  R?
llRequestDisplayName   
llRequestPermissions  O
llRequestUsername  R
llSameGroup  DR
llSetCameraParams  O
llSitTarget  DO?
llStartAnimation  O
llStopAnimation  O
llStopPointAt  dO
llTakeCamera  dO
llTakeControls  O
llTeleportAgentHome  O
llTransferLindenDollars  O
llUnSit  O
+

 

+

collision / detect / sensor

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 
LSL functionSL notesOpenSim notesCodes
llCastRay   
llCollisionFilter   
llCollisionSound   
llCollisionSprite  b
llDetectedGrab  O
llDetectedGroup  O
llDetectedKey  O
llDetectedLinkNumber  O
llDetectedName  O
llDetectedOwner  O
llDetectedPos  O
llDetectedRot  O
llDetectedTouchBinormal  O
llDetectedTouchFace  O
llDetectedTouchPos  O
llDetectedTouchST  O
llDetectedTouchUV  O
llDetectedType  O
llDetectedVel  O
llPassCollisions   
llPassTouches   
llSensor   
llSensorRemove   
llSensorRepeat   
llVolumeDetect   
+

 

+

communications

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 
LSL functionSL notesOpenSim notesCodes
llDialog  O
llEmail   
llGetNextEmail   
llInstantMessage  O
llListen  O
llListenControl  O
llListenRemove  O
llMessageLinked  L
llOwnerSay  O
llRegionSay  O
llRegionSayTo  O
llSay  O
llShout  O
llTextBox  O
llWhisper  O
+

 

+

inventory

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 
LSL functionSL notesOpenSim notesCodes
llAllowInventoryDrop  DO?
llGetInventoryCreator  D
llGetInventoryKey  D
llGetInventoryName  D
llGetInventoryNumber  D
llGetInventoryPermMask  D
llGetInventoryType  D
llGetNotecardLine  DR
llGetNumberOfNotecardLines  DR
llGiveInventory  O
llGiveInventoryList  O
llGodLikeRezObject  Og
llRemoveInventory  DO?
llRequestInventoryData  D?
llRezAtRoot  O
llRezObject  O
llSetInventoryPermMask  gDO?
+

 

+

JSON

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 
LSL functionSL notesOpenSim notesCodes
llJson2List   
llJsonGetValue   
llJsonSetValue   
llJsonValueType   
llList2Json   
+

 

+

land

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 
LSL functionSL notesOpenSim notesCodes
llAddToLandBanList    
llAddToLandPassList   
llEjectFromLand   
llGetLandOwnerAt   
llGetParcelDetails   
llGetParcelFlags   
llGetParcelMaxPrims   
llGetParcelMusicURL   
llGetParcelPrimCount   
llGetParcelPrimOwners   
llGetSimStats   
llGround   
llGroundContour   
llGroundNormal   
llGroundSlope   
llManageEstateAccess   
llModifyLand   
llOverMyLand   
llParcelMediaCommandList   
llParcelMediaQuery   
llRemoveFromLandBanList   
llRemoveFromLandPassList   
llResetLandBanList   
llResetLandPassList   
llReturnObjectsByID   
llReturnObjectsByOwner   
llSetParcelMusicURL   
+

 

+

list

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 
LSL functionSL notesOpenSim notesCodes
llCSV2List  L
llDeleteSubList  L
llDumpList2String  L
llGetListEntryType  L
llGetListLength  L
llList2CSV  L
llList2Float  L
llList2Integer  L
llList2Key  L
llList2List  L
llList2ListStrided  L
llList2Rot  L
llList2String  L
llList2Vector  L
llListFindList  L
llListInsertList  L
llListReplaceList  L
llListRandomize  L
llListSort  L
llListStatistics  L
llParseString2List  L
llParseStringKeepNulls   L
+

 

+

math

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 
LSL functionSL notesOpenSim notesCodes
llAbs  L
llAcos  L
llAngleBetween  L
llAsin  L
llAtan2  L
llAxes2Rot  L
llAxisAngle2Rot  L
llCeil  L
llCos  L
llEuler2Rot  L
llFabs  L
llFloor  L
llFrand  L
llLog  L
llLog10  L
llModPow  L
llPow  L
llRot2Angle  L
llRot2Axis  L
llRot2Euler  L
llRot2Fwd  L
llRot2Left  L
llRot2Up  L
llRotBetween  L
llRound  L
llSin  L
llSqrt  L
llTan  L
llVecDist  L
llVecMag  L
llVecNorm  L
+

 

+

media

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 
LSL functionSL notesOpenSim notesCodes
llAdjustSoundVolume   
llClearPrimMedia   
llClearLinkMedia   
llGetLinkMedia   
llGetParcelMusicURL   
llGetPrimMediaParams   
llLoopSound   
llLoopSoundMaster   
llLoopSoundSlave   
llPlaySound   
llPlaySoundSlave   
llPreloadSound   
llRefreshPrimURL  d
llSetLinkMedia   
llSetPrimMediaParams   
llSetPrimURL  d
llSetSoundQueueing   
llSetSoundRadius   
llStopSound   
llSound  d
llSoundPreload  d
llTriggerSound   
llTriggerSoundLimited   
+

 

+

path finding

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 
LSL functionSL notesOpenSim notesCodes
llCreateCharacter   
llDeleteCharacter   
llEvade   
llExecCharacterCmd   
llFleeFrom   
llGetClosestNavPoint   
llGetStaticPath   
llNavigateTo   
llPatrolPoints   
llPursue   
llUpdateCharacter   
llWanderWithin   
+

+

 

+

physics

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 
LSL functionSL notesOpenSim notesCodes
llApplyImpulse  DO?
llApplyRotationalImpulse  DO?
llGetAccel  D
llGetEnergy  DO?
llGetForce  D
llGetMass  D
llGetMassMKS  D
llGetObjectMass  D
llGetOmega  D
llGetTorque  D
llGetVel  D
llMoveToTarget  DO?
llPushObject  DO?
llSetAngularVelocity  DO?
llSetBuoyancy  DO?
llSetForce  DO?
llSetForceAndTorque  DO?
llSetHoverHeight  DO?
llSetTorque  DO?
llSetVelocity  DO?
llTargetOmega  DO?
+

 

+

object / prim / link

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 
LSL functionSL notesOpenSim notesCodes
llBreakAllLinks  DO?
llBreakLink  DO?
llCreateLink  DO?
llDie  DO?
llGetBoundingBox  D
llGetGeometricCenter  D
llGetKey  D
llGetLinkKey  D
llGetLinkPrimitiveParams  D
llGetLinkName  D
llGetLinkNumber  D
llGetLinkNumberOfSides  D
llGetMaxScaleFactor   
llGetMinScaleFactor   
llGetNumberOfPrims  D
llGetObjectDesc  D
llGetObjectDetails  D
llGetObjectName  D
llGetObjectPermMask  D
llGetObjectPrimCount  D
llGetOwner  D
llGetOwnerKey  D
llGetPhysicsMaterial   
llGetPrimitiveParams  D
llGetStatus  D
llLinkParticleSystem  DO?
llLinkSitTarget  DO?
llMakeExplosion  dDO?
llMakeFire  dDO?
llMakeFountain  dDO?
llMakeSmoke  dDO?
llParticleSystem  DO?
llScaleByFactor   
llSetCameraAtOffset  DO?
llSetCameraEyeOffset  DO?
llSetClickAction  DO?
llSetDamage  DO?
llSetKeyframedMotion   
llSetLinkCamera  DO?
llSetLinkPrimitiveParams  DO?
llSetLinkPrimitiveParamsFast  DO?
llSetObjectDesc  DO?
llSetObjectName  DO?
llSetObjectPermMask  gDO?
llSetPayPrice  DO?
llSetPhysicsMaterial   
llSetPrimitiveParams  DO?
llSetSitText  DO?
llSetStatus  DO?
llSetText  DO?
llSetTouchText  DO?
llSitTarget  DO?
+

 

+

rotation / scaling / translation

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 
LSL functionSL notesOpenSim notesCodes
llGetLocalPos  D
llGetLocalRot  D
llGetPos  D
llGetRootPosition  D
llGetRootRotation  D
llGetRot  D
llGetScale  D
llLookAt  DO?
llRotLookAt  DO?
llRotTarget  DO?
llRotTargetRemove  DO?
llSetLocalRot  DO?
llSetPos  DO?
llSetRegionPos  DO?
llSetRot  DO?
llSetScale  DO?
llStopLookAt  DO?
+

 

+

script

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 
LSL functionSL notesOpenSim notesCodes
llGetFreeMemory  L
llGetMemoryLimit  L
llGetScriptName  L
llGetScriptState  L
llGetSPMaxMemory  L
llGetStartParameter  L
llGetUsedMemory  L
llRemoteLoadScript  d
llRemoteLoadScriptPin   
llResetOtherScript  L
llResetScript  L
llScriptDanger   
llScriptProfiler  L
llSetMemoryLimit  L
llSetRemoteScriptAccessPin  L, but might have to tell the sim server.
llSetScriptState  L, but might have to tell the sim server.
+

 

+

simulator

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 
LSL functionSL notesOpenSim notesCodes
llCloud   
llEdgeOfWorld  R
llGetEnv  R?
llGetRegionAgentCount  O
llGetRegionCorner  R
llGetRegionFlags  RD?
llGetRegionFPS  O
llGetRegionName  R
llGetRegionTimeDilation  O
llGetSimulatorHostname  R
llGetSunDirection  R
llMapDestination  O
llRequestSimulatorData  R?
llWater   
llWind   
+

 

+

string

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 
LSL functionSL notesOpenSim notesCodes
llBase64ToString  L
llDeleteSubString  L
llGetSubString  L
llInsertString  L
llMD5String  L
llSHA1String  L
llStringLength  L
llStringToBase64  L
llStringTrim  L
llSubStringIndex  L
llToLower  L
llToUpper  L
llXorBase64   
llXorBase64StringsCorrect  L
llXorBase64Strings  Ld
+

 

+

texture

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 
LSL functionSL notesOpenSim notesCodes
llGetAlpha  D
llGetColor  D
llGetNumberOfSides  D
llGetTexture  D
llGetTextureOffset  D
llGetTextureRot  D
llGetTextureScale  D
llOffsetTexture  DO?
llRotateTexture  DO?
llScaleTexture  DO?
llSetAlpha  DO?
llSetColor  DO?
llSetLinkAlpha  DO?
llSetLinkColor  DO?
llSetLinkTexture  DO?
llSetLinkTextureAnim  DO?
llSetTexture  DO?
llSetTextureAnim  DO?
+

 

+

time

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 
LSL functionSL notesOpenSim notesCodes
llGetAndResetTime  L
llGetDate  L
lGetGMTclock  L
llGetTime  L
llGetTimeOfDay  L
llGetTimestamp  L
llGetUnixTime  L
llGetWallclock  L
llMinEventDelay   
llResetTime  L
llSetTimerEvent  L
llSleep  L
+

 

+

vehicle

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 
LSL functionSL notesOpenSim notesCodes
llRemoveVehicleFlags   
llSetVehicleFlags   
llSetVehicleFloatParam   
llSetVehicleType   
llSetVehicleRotationParam   
llSetVehicleVectorParam   
+

 

+

XML-RPC and HTTP

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 
LSL functionSL notesOpenSim notesCodes
llCloseRemoteDataChannel   
llEscapeURL   
llGetFreeURLs   
llGetHTTPHeader   
llHTTPRequest   
llHTTPResponse   
llLoadURL   
llOpenRemoteDataChannel   
llReleaseURL   
llRemoteDataReply   
llRemoteDataSetRegion  d
llRequestSecureURL   
llRequestURL   
llSendRemoteData   
llSetContentType   
llUnescapeURL   
+ + -- cgit v1.1