Category:OSSL Functions
From OpenSimulator
(→Prim Manipulation) |
JeffKelley (Talk | contribs) m (→Prim: Adding osGetLinkInventoryKey) |
||
(120 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 == | |
+ | 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 | ||
− | + | 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> | ||
+ | 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> | ||
+ | = 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> | ||
+ | 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. | ||
− | + | == Current OSSL Functions Implemented == | |
− | + | ||
=== Avatars === | === Avatars === | ||
{{multicol}} | {{multicol}} | ||
− | *[[osAgentSaveAppearance]] | + | |
− | *[[osAvatarName2Key]] | + | * [[osAgentSaveAppearance]] |
− | *[[osAvatarPlayAnimation]] | + | * [[osAvatarName2Key]] |
− | *[[osAvatarStopAnimation]] | + | * [[osAvatarPlayAnimation]] |
− | *[[osCauseDamage]] | + | * [[osAvatarStopAnimation]] |
− | *[[osCauseHealing]] | + | * [[osAvatarType]] |
− | *[[osDetectedCountry]] | + | * [[osCauseDamage]] |
− | *[[osDropAttachment]] | + | * [[osCauseHealing]] |
− | *[[osDropAttachmentAt]] | + | * [[osDetectedCountry]] |
− | *[[osEjectFromGroup]] | + | * [[osDropAttachment]] |
− | *[[osForceAttachToAvatar]] | + | * [[osDropAttachmentAt]] |
− | *[[osForceAttachToAvatarFromInventory]] | + | * [[osEjectFromGroup]] |
− | *[[osForceAttachToOtherAvatarFromInventory]] | + | * [[osForceAttachToAvatar]] |
− | *[[osForceDetachFromAvatar]] | + | * [[osForceAttachToAvatarFromInventory]] |
− | *[[osForceDropAttachment]] | + | * [[osForceAttachToOtherAvatarFromInventory]] |
− | *[[osForceDropAttachmentAt]] | + | * [[osForceDetachFromAvatar]] |
− | *[[osForceOtherSit]] | + | * [[osForceDropAttachment]] |
− | *[[osGetAgentIP]] | + | * [[osForceDropAttachmentAt]] |
+ | * [[osForceOtherSit]] | ||
+ | * [[osGetAgentIP]] | ||
+ | * [[osGetAgents]] | ||
{{multicol-break}} | {{multicol-break}} | ||
− | + | * [[osGetAgentCountry]] | |
− | *[[osGetAgentCountry]] | + | * [[osGetAvatarHomeURI]] |
− | *[[osGetAvatarHomeURI]] | + | * [[osGetAvatarList]] |
− | *[[osGetAvatarList]] | + | * [[osGetGender]] |
− | *[[osGetGender]] | + | * [[osGetHealRate]] |
− | *[[osGetHealRate]] | + | * [[osGetHealth]] |
− | *[[osGetHealth]] | + | * [[osGetNumberOfAttachments]] |
− | *[[osGetNumberOfAttachments]] | + | * [[osGrantScriptPermissions]] |
− | *[[osInviteToGroup]] | + | * [[osInviteToGroup]] |
− | *[[osKickAvatar]] | + | * [[osKickAvatar]] |
− | *[[osOwnerSaveAppearance]] | + | * [[osOwnerSaveAppearance]] |
− | *[[osSetHealRate]] | + | * [[osRevokeScriptPermissions]] |
− | *[[osSetHealth]] | + | * [[osSetHealRate]] |
− | *[[osSetOwnerSpeed]] | + | * [[osSetHealth]] |
− | *[[osSetSpeed]] | + | * [[osSetOwnerSpeed]] |
− | *[[osLocalTeleportAgent]] | + | * [[osSetSpeed]] |
− | *[[osTeleportAgent]] | + | * [[osLocalTeleportAgent]] |
− | *[[osTeleportOwner]] | + | * [[osTeleportAgent]] |
+ | * [[osTeleportOwner]] | ||
+ | * [[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]] |
− | *[[osDie]] | + | * [[osClearObjectAnimations]] |
− | *[[osForceBreakAllLinks]] | + | * [[osDie]] |
− | *[[osForceBreakLink]] | + | * [[osForceBreakAllLinks]] |
− | *[[osForceCreateLink]] | + | * [[osForceBreakLink]] |
− | *[[osGetInertiaData]] | + | * [[osForceCreateLink]] |
− | *[[osGetInventoryItemKey]] {{new}} | + | * [[osGetInertiaData]] |
− | *[[ | + | * [[osGetInventoryItemKey]] |
− | *[[osGetInventoryDesc]] | + | * [[osGetInventoryName]] |
− | *[[osGetInventoryLastOwner]] | + | * [[osGetInventoryNames]] {{new}} |
− | *[[ | + | * [[osGetInventoryItemKeys]] {{new}} |
− | *[[ | + | * [[osGetInventoryDesc]] |
− | *[[ | + | * [[osGetInventoryLastOwner]] |
− | *[[ | + | * [[osGetLinkInventoryName]] {{new}} |
− | *[[ | + | * [[osGetLinkInventoryNames]] {{new}} |
+ | * [[osGetInventoryItemKey| osGetLinkInventoryItemKey]] {{new}} | ||
+ | * [[osGetInventoryItemKeys | osGetLinkInventoryItemKeys]] {{new}} | ||
+ | * [[osGetLinkInventoryKey]] {{new}} | ||
+ | * [[osGetLinkInventoryDesc]] {{new}} | ||
+ | * [[osGiveLinkInventory]] {{new}} | ||
+ | * [[osGiveLinkInventoryList]] {{new}} | ||
+ | * [[osRemoveLinkInventory]] {{new}} | ||
+ | * [[osGetLastChangedEventKey]] | ||
+ | * [[osGetLinkNumber]] | ||
+ | * [[osGetLinkPrimitiveParams]] | ||
+ | * [[osGetPrimitiveParams]] | ||
{{multicol-break}} | {{multicol-break}} | ||
− | *[[osGetSitActiveRange]] {{new}} | + | * [[osGetRezzingObject]] |
− | *[[ | + | * [[osGetSitActiveRange]] |
− | *[[osGetStandTarget]] {{new}} | + | * [[osGetLinkSitActiveRange]] |
− | *[[ | + | * [[osGetSitTargetPos]] {{new}} |
− | *[[ | + | * [[osGetSitTargetRot]] {{new}} |
− | *[[ | + | * [[osGetStandTarget]] |
− | *[[osSetInertia]] | + | * [[osGetLinkStandTarget]] |
− | *[[osSetInertiaAsBox]] | + | * [[osLinkParticleSystem]] {{new}} |
− | *[[osSetInertiaAsCylinder]] | + | * [[osMessageAttachments]] |
− | *[[osSetInertiaAsSphere]] | + | * [[osMessageObject]] |
− | *[[osSetPrimitiveParams]] | + | * [[osParticleSystem]] {{new}} |
− | *[[osSetProjectionParams]] | + | * [[osSetInertia]] |
− | *[[osSetSitActiveRange]] | + | * [[osSetInertiaAsBox]] |
− | *[[osSetLinkSitActiveRange]] | + | * [[osSetInertiaAsCylinder]] |
− | *[[osSetStandTarget]] {{new}} | + | * [[osSetInertiaAsSphere]] |
− | *[[ | + | * [[osSetPrimitiveParams]] |
+ | * [[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}} | ||
− | + | * [[osMovePen]] | |
− | *[[osMovePen]] | + | * [[osSetFontName]] |
− | *[[osSetFontName]] | + | * [[osSetFontSize]] |
− | *[[osSetFontSize]] | + | * [[osSetPenCap]] |
− | *[[osSetPenCap]] | + | * [[osSetPenColor]] |
− | *[[osSetPenColor]] | + | * [[osSetPenSize]] |
− | *[[osSetPenSize]] | + | * [[osSetDynamicTextureData]] |
− | *[[osSetDynamicTextureData]] | + | * [[osSetDynamicTextureDataFace]] |
− | *[[osSetDynamicTextureDataFace]] | + | * [[osSetDynamicTextureDataBlend]] |
− | *[[osSetDynamicTextureDataBlend]] | + | * [[osSetDynamicTextureDataBlendFace]] |
− | *[[osSetDynamicTextureDataBlendFace]] | + | * [[osSetDynamicTextureURL]] |
− | *[[osSetDynamicTextureURL]] | + | * [[osSetDynamicTextureURLBlend]] |
− | *[[osSetDynamicTextureURLBlend]] | + | * [[osSetDynamicTextureURLBlendFace]] |
− | *[[osSetDynamicTextureURLBlendFace]] | + | |
{{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 / Parcel Environment === |
{{multicol}} | {{multicol}} | ||
− | *[[osGetCurrentSunHour]] | + | * [[osGetCurrentSunHour]] |
− | *[[ | + | * [[osGetApparentTime]] |
− | *[[ | + | * [[osGetApparentTimeString]] |
− | *[[ | + | * [[osGetApparentRegionTime]] |
− | *[[ | + | * [[osGetApparentRegionTimeString]] |
+ | * [[osGetWindParam]] | ||
{{multicol-break}} | {{multicol-break}} | ||
− | *[[osSetRegionWaterHeight]] | + | * [[osSetRegionWaterHeight]] |
− | *[[ | + | * [[osSetWindParam]] |
− | *[[ | + | * [[osWindActiveModelPluginName]] |
− | *[[ | + | * [[osReplaceParcelEnvironment]] |
+ | * [[osReplaceRegionEnvironment]] | ||
+ | * [[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]] |
− | *[[ | + | * [[osSetParcelSIPAddress]] |
=== Script === | === Script === | ||
− | *[[osResetAllScripts]] | + | *[[osResetAllScripts]] |
=== String Manipulation === | === String Manipulation === | ||
{{multicol}} | {{multicol}} | ||
* [[osFormatString]] | * [[osFormatString]] | ||
+ | * [[osListenRegex]] | ||
* [[osMatchString]] | * [[osMatchString]] | ||
* [[osRegexIsMatch]] | * [[osRegexIsMatch]] | ||
* [[osReplaceString]] | * [[osReplaceString]] | ||
− | * [[osStringSubString]] | + | * [[osStringSubString]] |
− | + | ||
{{multicol-break}} | {{multicol-break}} | ||
− | * [[osStringEndsWith]] | + | * [[osStringStartsWith]] |
− | * [[osStringIndexOf]] | + | * [[osStringEndsWith]] |
− | * [[osStringLastIndexOf]] | + | * [[osStringIndexOf]] |
− | * [[osStringRemove]] | + | * [[osStringLastIndexOf]] |
− | * [[osStringReplace]] | + | * [[osStringRemove]] |
+ | * [[osStringReplace]] | ||
{{multicol-end}} | {{multicol-end}} | ||
=== Misc === | === Misc === | ||
{{multicol}} | {{multicol}} | ||
− | *[[ | + | * [[osAESEncrypt]] {{new}} |
− | *[[ | + | * [[osAESDecrypt]] {{new}} |
− | *[[ | + | * [[osAESEncryptTo]] {{new}} |
− | *[[ | + | * [[osAESDecryptFrom]] {{new}} |
− | *[[ | + | * [[osAngleBetween]] |
− | *[[ | + | * [[osApproxEquals]] |
− | *[[ | + | * [[osGetPSTWallclock]] |
− | *[[ | + | * [[osListSortInPlace]] |
− | *[[ | + | * [[osListSortInPlaceStrided]] {{new}} |
+ | * [[osIsUUID]] | ||
{{multicol-break}} | {{multicol-break}} | ||
− | *[[osRound]] | + | * [[osIsNotValidNumber]] |
− | *[[ | + | * [[osKey2Name]] |
− | *[[ | + | * [[osMax]] |
− | *[[ | + | * [[osMin]] |
− | *[[ | + | * [[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]] | ||
+ | * [[osList2Double|<strike>osList2Double</strike>]] - Use llList2Float | ||
+ | * [[osGetSunParam]] | ||
+ | * [[osSetEstateSunSettings]] | ||
+ | * [[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 315: | 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
Languages: |
English Deutsch |
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
- osConsoleCommand
- osRegionNotice
- osRegionRestart
- osSetParcelMediaURL
- osSetParcelMusicURL
- osSetParcelSIPAddress
[edit] Script
[edit] String Manipulation
[edit] Misc
[edit] Deprecated
-
osParcelSetDetails- Use osSetParcelDetails -
osSetPenColour- Use osSetPenColor -
osSunGetParam- Use osGetSunParam -
osSunSetParam- Use osSetSunParam -
osTerrainGetHeight- Use osGetTerrainHeight -
osTerrainSetHeight- Use osSetTerrainHeight osWindParamGet- Use osGetWindParamosWindParamSet- Use osSetWindParam-
osList2Double- Use llList2Float - osGetSunParam
- osSetEstateSunSettings
- osSetRegionSunSettings
- osSetSunParam
- osSetPrimFloatOnWater
[edit] See Also
- LSL&OSSL : Neighbour functions, similarities and differences
- LSL&OSSL : Guide to prims addressing (by linknum, by uuid)
- LSL/OSSL Status Page
- OSSL
Subcategories
This category has the following 11 subcategories, out of 11 total.
O |
O cont. |
O cont. |
Pages in category "OSSL Functions"
The following 200 pages are in this category, out of 256 total.
(previous 200) (next 200)