Category:OSSL Functions

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
(Current OSSL Functions Implemented)
m (Prim: Adding osGetLinkInventoryKey)
 
(88 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 +
{{Quicklinks}}
 +
<br />
 +
<div style="background-color:#FFA500; padding:10px; padding-bottom:5px; border: 1px #FF544F solid">
 +
This information is relative to (almost) the last OpenSimulator Development version. In some cases it may not apply to older versions.
 +
</div>
 +
 
== OSSL function permissions ==
 
== OSSL function permissions ==
 +
Several OSSL functions have execution permission control to prevent abusive or dangerous use.
  
 +
This is controlled by files osslDefaultEnable.ini and osslEnable.ini, by default in folder bin/config-include<br>
 +
The use logic of these two files is identical to OpenSimDefaults.ini and OpenSim.ini
  
== Current OSSL Functions Implemented  ==
+
Older OpenSimulator versions only used file osslEnable.ini.<br>
 +
Some older OpenSimulator versions had checks for all OSSLfunctions.<br>
 +
That made no sense for many functions, so now many are always allowed wasting no time on useless checks.<br>
  
'''!''' Partial Update OpenSim DEV 0.9.2
+
For details about these permissions, please read file OpenSimDefaults.ini
  
 +
= osslDefaultEnable.ini =
 +
This file contains the defaults for OSSL execution permissions set by OpenSimulator dev team.<br>
 +
Instead of changing defaults defined in code, the OpenSimulator dev team may decide to just make changes in this file.<br>
 +
This file was not present on older OpenSimulator versions.<br>
 +
If you need to change permissions, copy the respective entry to osslEnable.ini and modify there.<br>
  
'''!''' Partial Update OpenSim DEV 0.9.1
+
= osslEnable.ini =
 
+
This file contains the local overrides for OSSL permissions.<br>
 
+
It is read after osslDefaultEnable.ini, and any entry on it replaces the old one.<br>
'''!''' Partial Update OpenSim DEV 0.9.0 #2c8c25a0 August 15, 2017
+
This file is not provided on code packages, an osslEnable.ini.example is.<br>
 
+
At first time setup, you will need to copy the example file to osslEnable.ini and then edit it for your needs, using osslDefaults.ini as reference.<br>
 
+
This was the only file used on older OpenSimulator versions.
'''!''' Partial Update December.10.2010 With commits of this date some functions have been corrected to use standard OSSL conventions. The previous functions are tagged as deprecated with their replacement shown. The deprecated functions will advise you with a message that they have been deprecated and to use the new os function name instead. Further updates are needed to complete the existing list of os functions.
+
 
+
 
+
Each of these functions may have threat level associated with it. See [[Threat level]] for more information and an overview of each function's level.
+
  
 +
== Current OSSL Functions Implemented  ==
  
 
=== Avatars ===
 
=== Avatars ===
 
{{multicol}}
 
{{multicol}}
*[[osAddAgentToGroup]]
+
 
*[[osAgentSaveAppearance]]
+
* [[osAgentSaveAppearance]]
*[[osAvatarName2Key]]
+
* [[osAvatarName2Key]]
*[[osAvatarPlayAnimation]]  
+
* [[osAvatarPlayAnimation]]  
*[[osAvatarStopAnimation]]  
+
* [[osAvatarStopAnimation]]  
*[[osCauseDamage]]  
+
* [[osAvatarType]]
*[[osCauseHealing]]
+
* [[osCauseDamage]]  
*[[osDetectedCountry]]
+
* [[osCauseHealing]]
*[[osDropAttachment]]
+
* [[osDetectedCountry]]
*[[osDropAttachmentAt]]
+
* [[osDropAttachment]]
*[[osEjectFromGroup]]
+
* [[osDropAttachmentAt]]
*[[osForceAttachToAvatar]]
+
* [[osEjectFromGroup]]
*[[osForceAttachToAvatarFromInventory]]
+
* [[osForceAttachToAvatar]]
*[[osForceAttachToOtherAvatarFromInventory]]
+
* [[osForceAttachToAvatarFromInventory]]
*[[osForceDetachFromAvatar]]
+
* [[osForceAttachToOtherAvatarFromInventory]]
*[[osForceDropAttachment]]
+
* [[osForceDetachFromAvatar]]
*[[osForceDropAttachmentAt]]
+
* [[osForceDropAttachment]]
*[[osForceOtherSit]]
+
* [[osForceDropAttachmentAt]]
*[[osGetAgentIP]]  
+
* [[osForceOtherSit]]
*[[osGetAgents]]
+
* [[osGetAgentIP]]  
 +
* [[osGetAgents]]
 
{{multicol-break}}
 
{{multicol-break}}
*[[osGetAgentCountry]] {{new}}
+
* [[osGetAgentCountry]]
*[[osGetAvatarHomeURI]]
+
* [[osGetAvatarHomeURI]]
*[[osGetAvatarList]]  
+
* [[osGetAvatarList]]  
*[[osGetGender]]
+
* [[osGetGender]]
*[[osGetHealRate]]
+
* [[osGetHealRate]]
*[[osGetHealth]]
+
* [[osGetHealth]]
*[[osGetNumberOfAttachments]]
+
* [[osGetNumberOfAttachments]]
*[[osGrantScriptPermissions]]
+
* [[osGrantScriptPermissions]]
*[[osInviteToGroup]]
+
* [[osInviteToGroup]]
*[[osKickAvatar]]
+
* [[osKickAvatar]]
*[[osOwnerSaveAppearance]]
+
* [[osOwnerSaveAppearance]]
*[[osRevokeScriptPermissions]]
+
* [[osRevokeScriptPermissions]]
*[[osSetHealRate]]
+
* [[osSetHealRate]]
*[[osSetHealth]]
+
* [[osSetHealth]]
*[[osSetOwnerSpeed]]
+
* [[osSetOwnerSpeed]]
*[[osSetSpeed]]
+
* [[osSetSpeed]]
*[[osLocalTeleportAgent]] {{E}}
+
* [[osLocalTeleportAgent]]
*[[osTeleportAgent]]  
+
* [[osTeleportAgent]]  
*[[osTeleportOwner]]  
+
* [[osTeleportOwner]]  
*[[osReplaceAgentEnvironment]] {{new}}
+
* [[osReplaceAgentEnvironment]]
 
{{multicol-end}}
 
{{multicol-end}}
  
 
=== NPCs ===
 
=== NPCs ===
 
{{multicol}}
 
{{multicol}}
*[[osIsNpc]]
+
* [[osIsNpc]]
*[[osNpcCreate]]
+
* [[osNpcCreate]]
*[[osGetNpcList]]
+
* [[osGetNpcList]]
*[[osNpcGetPos]]
+
* [[osNpcGetPos]]
*[[osNpcGetRot]]
+
* [[osNpcGetRot]]
*[[osNpcGetOwner]]
+
* [[osNpcGetOwner]]
*[[osNpcLoadAppearance]]
+
* [[osNpcLookAt]] {{E}}
*[[osNpcMoveTo]]
+
* [[osNpcLoadAppearance]]
*[[osNpcMoveToTarget]]
+
* [[osNpcMoveTo]]
*[[osNpcPlayAnimation]]
+
* [[osNpcMoveToTarget]]
*[[osNpcRemove]]
+
* [[osNpcPlayAnimation]]
*[[osNpcSaveAppearance]]
+
* [[osNpcRemove]]
 +
* [[osNpcSaveAppearance]]
 
{{multicol-break}}
 
{{multicol-break}}
*[[osNpcSay]]
+
* [[osNpcSay]]
*[[osNpcSayTo]]
+
* [[osNpcSayTo]]
*[[osNpcSetProfileAbout]]
+
* [[osNpcSetProfileAbout]]
*[[osNpcSetProfileImage]]
+
* [[osNpcSetProfileImage]]
*[[osNpcSetRot]]
+
* [[osNpcSetRot]]
*[[osNpcShout]]
+
* [[osNpcShout]]
*[[osNpcSit]]
+
* [[osNpcSit]]
*[[osNpcStand]]
+
* [[osNpcStand]]
*[[osNpcStopMoveToTarget]]
+
* [[osNpcStopMoveToTarget]]
*[[osNpcStopAnimation]]
+
* [[osNpcStopAnimation]]
*[[osNpcTouch]]
+
* [[osNpcTouch]]
*[[osNpcWhisper]]
+
* [[osNpcWhisper]]
 
{{multicol-end}}
 
{{multicol-end}}
  
 
=== Prim ===
 
=== Prim ===
 
{{multicol}}
 
{{multicol}}
*[[osClearInertia]]
+
* [[osClearInertia]]
*[[osClearObjectAnimations]] {{new}}
+
* [[osClearObjectAnimations]]
*[[osDie]]
+
* [[osDie]]
*[[osForceBreakAllLinks]]
+
* [[osForceBreakAllLinks]]
*[[osForceBreakLink]]  
+
* [[osForceBreakLink]]  
*[[osForceCreateLink]]
+
* [[osForceCreateLink]]
*[[osGetInertiaData]]
+
* [[osGetInertiaData]]
*[[osGetInventoryItemKey]]
+
* [[osGetInventoryItemKey]]
*[[osGetInventoryName]]
+
* [[osGetInventoryName]]
*[[osGetInventoryDesc]]
+
* [[osGetInventoryNames]] {{new}}
*[[osGetInventoryLastOwner]]
+
* [[osGetInventoryItemKeys]] {{new}}
*[[osGetLastChangedEventKey]]
+
* [[osGetInventoryDesc]]
*[[osGetLinkNumber]]
+
* [[osGetInventoryLastOwner]]
*[[osGetLinkPrimitiveParams]]  
+
* [[osGetLinkInventoryName]] {{new}}
*[[osGetPrimitiveParams]]  
+
* [[osGetLinkInventoryNames]] {{new}}
*[[osGetRezzingObject]]
+
* [[osGetInventoryItemKey| osGetLinkInventoryItemKey]] {{new}}
*[[osGetSitActiveRange]] {{new}}
+
* [[osGetInventoryItemKeys | osGetLinkInventoryItemKeys]] {{new}}
*[[osGetLinkSitActiveRange]] {{new}}
+
* [[osGetLinkInventoryKey]] {{new}}
 +
* [[osGetLinkInventoryDesc]] {{new}}
 +
* [[osGiveLinkInventory]] {{new}}
 +
* [[osGiveLinkInventoryList]] {{new}}
 +
* [[osRemoveLinkInventory]] {{new}}
 +
* [[osGetLastChangedEventKey]]
 +
* [[osGetLinkNumber]]
 +
* [[osGetLinkPrimitiveParams]]
 +
* [[osGetPrimitiveParams]]
 
{{multicol-break}}
 
{{multicol-break}}
*[[osGetStandTarget]] {{new}}
+
* [[osGetRezzingObject]]
*[[osGetLinkStandTarget]] {{new}}
+
* [[osGetSitActiveRange]]
*[[osListenRegex]]
+
* [[osGetLinkSitActiveRange]]
*[[osMessageAttachments]]
+
* [[osGetSitTargetPos]] {{new}}
*[[osMessageObject]]
+
* [[osGetSitTargetRot]] {{new}}
*[[osSetInertia]]
+
* [[osGetStandTarget]]
*[[osSetInertiaAsBox]]
+
* [[osGetLinkStandTarget]]
*[[osSetInertiaAsCylinder]]
+
* [[osLinkParticleSystem]] {{new}}
*[[osSetInertiaAsSphere]]
+
* [[osMessageAttachments]]
*[[osSetPrimitiveParams]]  
+
* [[osMessageObject]]
*[[osSetProjectionParams]]
+
* [[osParticleSystem]] {{new}}
*[[osSetSitActiveRange]] {{new}}
+
* [[osSetInertia]]
*[[osSetLinkSitActiveRange]] {{new}}
+
* [[osSetInertiaAsBox]]
*[[osSetStandTarget]] {{new}}
+
* [[osSetInertiaAsCylinder]]
*[[osSetLinkStandTarget]] {{new}}
+
* [[osSetInertiaAsSphere]]
*[[osTeleportObject]]
+
* [[osSetPrimitiveParams]]  
*[[osVolumeDetect]]
+
* [[osSetProjectionParams]]
 +
* [[osSetSitActiveRange]]
 +
* [[osSetLinkSitActiveRange]]
 +
* [[osSetStandTarget]]
 +
* [[osSetLinkStandTarget]]
 +
* [[osTeleportObject]]
 +
* [[osVolumeDetect]]
 +
* [[osGetPrimCount]] {{new}}
 +
* [[osGetSittingAvatarsCount]] {{new}}
 +
 
 
{{multicol-end}}
 
{{multicol-end}}
  
 
=== Prim Drawing / Dynamic Texture ===
 
=== Prim Drawing / Dynamic Texture ===
 
{{multicol}}
 
{{multicol}}
*[[osDrawEllipse]]
+
* [[osDrawEllipse]]
*[[osDrawFilledEllipse]]
+
* [[osDrawFilledEllipse]]
*[[osDrawFilledPolygon]]
+
* [[osDrawFilledPolygon]]
*[[osDrawFilledRectangle]]
+
* [[osDrawFilledRectangle]]
*[[osDrawImage]]
+
* [[osDrawImage]]
*[[osDrawLine]]
+
* [[osDrawLine]]
*[[osDrawPolygon]]
+
* [[osDrawPolygon]]
*[[osDrawRectangle]]
+
* [[osDrawRectangle]]
*[[osDrawResetTransform]]
+
* [[osDrawResetTransform]]
*[[osDrawRotationTransform]]
+
* [[osDrawRotationTransform]]
*[[osDrawScaleTransform]]
+
* [[osDrawScaleTransform]]
*[[osDrawText]]
+
* [[osDrawText]]
*[[osDrawTranslationTransform]]
+
* [[osDrawTranslationTransform]]
 +
* [[osGetDrawStringSize]]
 
{{multicol-break}}
 
{{multicol-break}}
*[[osGetDrawStringSize]]
+
* [[osMovePen]]
*[[osMovePen]]
+
* [[osSetFontName]]
*[[osSetFontName]]
+
* [[osSetFontSize]]
*[[osSetFontSize]]
+
* [[osSetPenCap]]
*[[osSetPenCap]]
+
* [[osSetPenColor]]
*[[osSetPenColor]]
+
* [[osSetPenSize]]
*[[osSetPenSize]]
+
* [[osSetDynamicTextureData]]
*[[osSetDynamicTextureData]] {{new}}
+
* [[osSetDynamicTextureDataFace]]
*[[osSetDynamicTextureDataFace]] {{new}}
+
* [[osSetDynamicTextureDataBlend]]
*[[osSetDynamicTextureDataBlend]] {{new}}
+
* [[osSetDynamicTextureDataBlendFace]]  
*[[osSetDynamicTextureDataBlendFace]]  
+
* [[osSetDynamicTextureURL]]
*[[osSetDynamicTextureURL]] {{new}}
+
* [[osSetDynamicTextureURLBlend]]
*[[osSetDynamicTextureURLBlend]] {{new}}
+
* [[osSetDynamicTextureURLBlendFace]]
*[[osSetDynamicTextureURLBlendFace]] {{new}}
+
 
{{multicol-end}}
 
{{multicol-end}}
  
 
=== Notecard ===
 
=== Notecard ===
*[[osGetNotecard]]  
+
* [[osGetNotecard]]  
*[[osGetNotecardLine]]  
+
* [[osGetNotecardLine]]  
*[[osGetNumberOfNotecardLines]]
+
* [[osGetNumberOfNotecardLines]]
*[[osMakeNotecard]]
+
* [[osMakeNotecard]]
  
 
=== Sound ===
 
=== Sound ===
 
{{multicol}}
 
{{multicol}}
*[[osAdjustSoundVolume]]
+
* [[osAdjustSoundVolume]]
*[[osCollisionSound]]
+
* [[osCollisionSound]]
*[[osLoopSound]]
+
* [[osLoopSound]]
*[[osLoopSoundMaster]]
+
* [[osLoopSoundMaster]]
*[[osLoopSoundSlave]]
+
* [[osLoopSoundSlave]]
*[[osPlaySound]]
+
* [[osPlaySound]]
 
{{multicol-break}}
 
{{multicol-break}}
*[[osPlaySoundSlave]]
+
* [[osPlaySoundSlave]]
*[[osPreloadSound]]
+
* [[osPreloadSound]]
*[[osSetSoundRadius]]
+
* [[osSetSoundRadius]]
*[[osStopSound]]
+
* [[osStopSound]]
*[[osTriggerSound]]
+
* [[osTriggerSound]]
*[[osTriggerSoundLimited]]
+
* [[osTriggerSoundLimited]]
 
{{multicol-end}}
 
{{multicol-end}}
  
 
=== HTTP ===
 
=== HTTP ===
*[[osRequestSecureURL]]
+
* [[osRequestSecureURL]]
*[[osRequestURL]]
+
* [[osRequestURL]]
*[[osSetContentType]]
+
* [[osSetContentType]]
  
 
=== Parcel ===
 
=== Parcel ===
*[[osParcelJoin]]  
+
{{multicol}}
*[[osParcelSubdivide]]  
+
* [[osParcelJoin]]  
*[[osGetParcelDwell]]
+
* [[osParcelSubdivide]]  
*[[osSetParcelDetails]]
+
* [[osGetParcelDwell]]
 +
{{multicol-break}}
 +
* [[osSetParcelDetails]]
 +
* [[osGetParcelDetails]]
 +
* [[osGetParcelIDs]]
 +
* [[osGetParcelID]]
 +
{{multicol-end}}
  
 
=== Terrain ===
 
=== Terrain ===
*[[osGetTerrainHeight]]  
+
* [[osGetTerrainHeight]]  
*[[osSetTerrainHeight]]  
+
* [[osSetTerrainHeight]]  
*[[osSetTerrainTexture]]
+
* [[osSetTerrainTexture]]
*[[osSetTerrainTextureHeight]]
+
* [[osSetTerrainTextureHeight]]
*[[osTerrainFlush]]
+
* [[osTerrainFlush]]
  
=== Region Environment ===
+
=== Region / Parcel Environment ===
 
{{multicol}}
 
{{multicol}}
*[[osGetCurrentSunHour]]  
+
* [[osGetCurrentSunHour]]  
*[[osGetApparentTime]] {{new}}
+
* [[osGetApparentTime]]
*[[osGetApparentTimeString]] {{new}}
+
* [[osGetApparentTimeString]]
*[[osGetApparentRegionTime]] {{new}}
+
* [[osGetApparentRegionTime]]
*[[osGetApparentRegionTimeString]] {{new}}
+
* [[osGetApparentRegionTimeString]]
 
+
* [[osGetWindParam]]  
*[[osGetWindParam]]  
+
 
{{multicol-break}}
 
{{multicol-break}}
*[[osSetRegionWaterHeight]]  
+
* [[osSetRegionWaterHeight]]  
*[[osSetWindParam]]
+
* [[osSetWindParam]]
*[[osWindActiveModelPluginName]]
+
* [[osWindActiveModelPluginName]]
*[[osReplaceParcelEnvironment]] {{new}}
+
* [[osReplaceParcelEnvironment]]
*[[osReplaceRegionEnvironment]] {{new}}
+
* [[osReplaceRegionEnvironment]]
*[[osResetEnvironment]] {{new}}
+
* [[osResetEnvironment]]
 
{{multicol-end}}
 
{{multicol-end}}
  
 
=== Grid / Region Information ===
 
=== Grid / Region Information ===
 
{{multicol}}
 
{{multicol}}
*[[osCheckODE]]
+
* [[osCheckODE]]
*[[osGetGridCustom]]
+
* [[osGetGridCustom]]
*[[osGetGridGatekeeperURI]]
+
* [[osGetGridGatekeeperURI]]
*[[osGetGridHomeURI]]
+
* [[osGetGridHomeURI]]
*[[osGetGridLoginURI]]
+
* [[osGetGridLoginURI]]
*[[osGetGridName]]  
+
* [[osGetGridName]]  
*[[osGetGridNick]]  
+
* [[osGetGridNick]]  
*[[osGetMapTexture]]  
+
* [[osGetMapTexture]]  
*[[osGetPhysicsEngineName]]
+
* [[osGetPhysicsEngineName]]
*[[osGetPhysicsEngineType]]
+
* [[osGetPhysicsEngineType]]
 
{{multicol-break}}
 
{{multicol-break}}
*[[osGetRegionMapTexture]]  
+
* [[osGetRegionMapTexture]]  
*[[osGetRegionSize]]
+
* [[osGetRegionSize]]
*[[osGetRegionStats]]  
+
* [[osGetRegionStats]]  
*[[osGetScriptEngineName]]  
+
* [[osGetScriptEngineName]]  
*[[osGetSimulatorMemory]]  
+
* [[osGetSimulatorMemory]]  
*[[osGetSimulatorMemoryKB]]
+
* [[osGetSimulatorMemoryKB]]
*[[osGetSimulatorVersion]]  
+
* [[osGetSimulatorVersion]]  
*[[osLoadedCreationDate]]  
+
* [[osLoadedCreationDate]]  
*[[osLoadedCreationID]]  
+
* [[osLoadedCreationID]]  
*[[osLoadedCreationTime]]  
+
* [[osLoadedCreationTime]]  
 
{{multicol-end}}
 
{{multicol-end}}
  
 
=== Administration ===
 
=== Administration ===
*[[osConsoleCommand]]  
+
* [[osConsoleCommand]]  
*[[osRegionNotice]]
+
* [[osRegionNotice]]
*[[osRegionRestart]]  
+
* [[osRegionRestart]]  
*[[osSetParcelMediaURL]]  
+
* [[osSetParcelMediaURL]]  
*[[osSetParcelMusicURL]] {{new}}
+
* [[osSetParcelMusicURL]]
*[[osSetParcelSIPAddress]]
+
* [[osSetParcelSIPAddress]]
*[[osSetPrimFloatOnWater]]
+
  
 
=== Script ===
 
=== Script ===
Line 264: Line 300:
 
{{multicol}}
 
{{multicol}}
 
* [[osFormatString]]
 
* [[osFormatString]]
 +
* [[osListenRegex]]
 
* [[osMatchString]]
 
* [[osMatchString]]
 
* [[osRegexIsMatch]]
 
* [[osRegexIsMatch]]
 
* [[osReplaceString]]
 
* [[osReplaceString]]
 
* [[osStringSubString]]
 
* [[osStringSubString]]
* [[osStringStartsWith]]
 
 
{{multicol-break}}
 
{{multicol-break}}
 +
* [[osStringStartsWith]]
 
* [[osStringEndsWith]]
 
* [[osStringEndsWith]]
 
* [[osStringIndexOf]]
 
* [[osStringIndexOf]]
Line 279: Line 316:
 
=== Misc ===
 
=== Misc ===
 
{{multicol}}
 
{{multicol}}
*[[osAngleBetween]]
+
* [[osAESEncrypt]] {{new}}
*[[osApproxEquals]]
+
* [[osAESDecrypt]] {{new}}
*[[osGetPSTWallclock]]
+
* [[osAESEncryptTo]] {{new}}
*[[osIsUUID]]
+
* [[osAESDecryptFrom]] {{new}}
*[[osIsNotValidNumber]]
+
* [[osAngleBetween]]
*[[osKey2Name]]  
+
* [[osApproxEquals]]
*[[osList2Double]]  
+
* [[osGetPSTWallclock]]
*[[osMax]]
+
* [[osListSortInPlace]]
*[[osMin]]
+
* [[osListSortInPlaceStrided]] {{new}}
 +
* [[osIsUUID]]
 
{{multicol-break}}
 
{{multicol-break}}
*[[osRound]]
+
* [[osIsNotValidNumber]]
*[[osSlerp]]
+
* [[osKey2Name]]
*[[osUnixTimeToTimestamp]]  
+
* [[osMax]]
*[[osVecDistSquare]]
+
* [[osMin]]
*[[osVecMagSquare]]
+
* [[osRound]]
 +
* [[osSHA256]]
 +
* [[osSlerp]]
 +
* [[osUnixTimeToTimestamp]]  
 +
* [[osVecDistSquare]]
 +
* [[osVecMagSquare]]
 
{{multicol-end}}
 
{{multicol-end}}
  
 
=== Deprecated ===
 
=== Deprecated ===
*[[osParcelSetDetails|<strike>osParcelSetDetails</strike>]] - Use [[osSetParcelDetails]]  
+
* [[osParcelSetDetails|<strike>osParcelSetDetails</strike>]] - Use [[osSetParcelDetails]]  
*[[osSetPenColour|<strike>osSetPenColour</strike>]] - Use [[osSetPenColor]]  
+
* [[osSetPenColour|<strike>osSetPenColour</strike>]] - Use [[osSetPenColor]]  
*[[osSunGetParam|<strike>osSunGetParam</strike>]] - Use [[osGetSunParam]]  
+
* [[osSunGetParam|<strike>osSunGetParam</strike>]] - Use [[osGetSunParam]]  
*[[osSunSetParam|<strike>osSunSetParam</strike>]] - Use [[osSetSunParam]]  
+
* [[osSunSetParam|<strike>osSunSetParam</strike>]] - Use [[osSetSunParam]]  
*[[osTerrainGetHeight|<strike>osTerrainGetHeight</strike>]] - Use [[osGetTerrainHeight]]  
+
* [[osTerrainGetHeight|<strike>osTerrainGetHeight</strike>]] - Use [[osGetTerrainHeight]]  
*[[osTerrainSetHeight|<strike>osTerrainSetHeight</strike>]] - Use [[osSetTerrainHeight]]
+
* [[osTerrainSetHeight|<strike>osTerrainSetHeight</strike>]] - Use [[osSetTerrainHeight]]
 
*<strike>osWindParamGet</strike> - Use [[osGetWindParam]]
 
*<strike>osWindParamGet</strike> - Use [[osGetWindParam]]
 
*<strike>osWindParamSet</strike> - Use [[osSetWindParam]]
 
*<strike>osWindParamSet</strike> - Use [[osSetWindParam]]
*[[osGetSunParam]]
+
* [[osList2Double|<strike>osList2Double</strike>]] - Use llList2Float
*[[osSetEstateSunSettings]]
+
* [[osGetSunParam]]
*[[osSetRegionSunSettings]]
+
* [[osSetEstateSunSettings]]
*[[osSetSunParam]]
+
* [[osSetRegionSunSettings]]
 +
* [[osSetSunParam]]
 +
* [[osSetPrimFloatOnWater]]
  
 
== See Also  ==
 
== See Also  ==
  
*[[LSL Status|LSL/OSSL Status Page]]  
+
* [[OSSL_vs_LSL|LSL&OSSL : Neighbour functions, similarities and differences]]
 +
* [[Accessing_Prim_Properties|LSL&OSSL : Guide to prims addressing (by linknum, by uuid)]]
 +
* [[LSL Status|LSL/OSSL Status Page]]  
 
*OSSL  
 
*OSSL  
**[[OSSL_Implemented|OSSL Implemented Functions]]  
+
** [[OSSL_Implemented|OSSL Implemented Functions]]  
**[[OSSL Constants|OSSL Constants]]  
+
** [[OSSL Constants|OSSL Constants]]  
**[[OSSL Status/Types|OSSL Types Status Page]]  
+
** [[OSSL Status/Types|OSSL Types Status Page]]  
**[[OSSL Status/Events|OSSL Events Status Page]]  
+
** [[OSSL Status/Events|OSSL Events Status Page]]  
  
**[[Dynamic_textures|OSSL osDynamicTextures Functions Index Page]]
+
** [[Dynamic_textures|OSSL osDynamicTextures Functions Index Page]]
**[[OSSL TextureDrawing|OSSL TextureDrawing Extended Information]]
+
** [[OSSL TextureDrawing|OSSL TextureDrawing Extended Information]]
**[[OSSLNPC|OSSL functions for working with NPCs]]
+
** [[OSSLNPC|OSSL functions for working with NPCs]]
  
**[[OSSL Proposals|OSSL Proposed Functions]]  
+
** [[OSSL Proposals|OSSL Proposed Functions]]  
**[[OSSL Enabling Functions]]  
+
** [[OSSL Enabling Functions]]  
**[[OSSL Standards|OSSL Standards]]
+
** [[OSSL Standards|OSSL Standards]]
  
 
* LS
 
* LS
Line 337: Line 384:
 
** [[Appearance_Formats|Appearance Notecard Format]]
 
** [[Appearance_Formats|Appearance Notecard Format]]
  
 +
[[Category:Scripting]]
 +
[[Category:Scripts]]
 
[[Category:OSSL]]
 
[[Category:OSSL]]

Latest revision as of 10:45, 20 June 2024


This information is relative to (almost) the last OpenSimulator Development version. In some cases it may not apply to older versions.

Contents

[edit] OSSL function permissions

Several OSSL functions have execution permission control to prevent abusive or dangerous use.

This is controlled by files osslDefaultEnable.ini and osslEnable.ini, by default in folder bin/config-include
The use logic of these two files is identical to OpenSimDefaults.ini and OpenSim.ini

Older OpenSimulator versions only used file osslEnable.ini.
Some older OpenSimulator versions had checks for all OSSLfunctions.
That made no sense for many functions, so now many are always allowed wasting no time on useless checks.

For details about these permissions, please read file OpenSimDefaults.ini

[edit] osslDefaultEnable.ini

This file contains the defaults for OSSL execution permissions set by OpenSimulator dev team.
Instead of changing defaults defined in code, the OpenSimulator dev team may decide to just make changes in this file.
This file was not present on older OpenSimulator versions.
If you need to change permissions, copy the respective entry to osslEnable.ini and modify there.

[edit] osslEnable.ini

This file contains the local overrides for OSSL permissions.
It is read after osslDefaultEnable.ini, and any entry on it replaces the old one.
This file is not provided on code packages, an osslEnable.ini.example is.
At first time setup, you will need to copy the example file to osslEnable.ini and then edit it for your needs, using osslDefaults.ini as reference.
This was the only file used on older OpenSimulator versions.

[edit] Current OSSL Functions Implemented

[edit] Avatars

[edit] NPCs

[edit] Prim

[edit] Prim Drawing / Dynamic Texture

[edit] Notecard

[edit] Sound

[edit] HTTP

[edit] Parcel

[edit] Terrain

[edit] Region / Parcel Environment

[edit] Grid / Region Information

[edit] Administration

[edit] Script

[edit] String Manipulation

[edit] Misc

[edit] Deprecated

[edit] See Also

Personal tools
General
About This Wiki