[Opensim-users] problem with diva-r18222-c upgrade - OSSL functionsnot working
drwhiet at spacefriends.de
drwhiet at spacefriends.de
Mon Mar 12 18:20:19 UTC 2012
Hello Pathfinder,
besides the problems that those functions do not work for you i strongly
recommend to ! not set ! the threat level to Very High
as this is dangerous. Anybody can run Scripts with a high threat level on
your region ..
i have a section in my opensim.ini where i restrict those functions (besides
sone others) to specific user uuids
(in this case to my uuid)
e.g to prevent (bad) users to put up auto-teleport scripts on your land as
of 0.7.3 the Allow_osTeleportAgent comand must be
restricted to you ..
you can also allow several avatars by using a comma seperated list for a
specific function like
Allow_osTeleportAgent = my-avatars-uuid,second-avatars-uuid,.....
; ==== OSSL FUNCTION BLOCK ====
; OS Functions enable/disable
; For each function, you can add one line, as shown
; The default for all functions allows them if below threat level
;
;; = true allows the use of the function unconditionally
;; = false completely disallows regardles
;; = UUID allows that Individual Avatar Access to osFunction
;
; **** THREAT LEVEL NONE Functions ****
Allow_osGetCurrentSunHour = true
Allow_osSunGetParam = true
Allow_osSunSetParam = true
Allow_osWindActiveModelPluginName = true
Allow_osMovePen = true
Allow_osDrawLine = true
Allow_osDrawText = true
Allow_osDrawEllipse = true
Allow_osDrawRectangle = true
Allow_osDrawFilledRectangle = true
Allow_osSetFontSize = true
Allow_osSetPenSize = true
Allow_osSetPenColour = true
Allow_osDrawImage = true
Allow_osGetAgents = true
Allow_osTerrainGetHeight = true
Allow_osParseJSON = true
;
; **** THREAT LEVEL Nuisance Block ****
Allow_osSetRegionSunSettings = my-avatars-uuid
Allow_osSetEstateSunSettings = my-avatars-uuid
;
; **** THREAT LEVEL VeryLow Block ****
Allow_osTerrainFlush = false
Allow_osSetPrimFloatOnWater = true
Allow_osSetDynamicTextureURL = true
Allow_osSetDynamicTextureURLBlend = true
Allow_osSetDynamicTextureURLBlendFace = true
Allow_osSetDynamicTextureData = true
Allow_osSetDynamicTextureDataBlend = true
Allow_osSetDynamicTextureDataBlendFace = true
Allow_osGetDrawStringSize = true
Allow_osWindParamSet = true
Allow_osWindParamGet = true
Allow_osSetParcelMediaURL = true
;
; **** THREAT LEVEL Low Block ****
Allow_osMessageObject = true
Allow_osAvatarName2Key = true
Allow_osKey2Name = true
Allow_osFormatString = true
Allow_osLoadedCreationDate = false
Allow_osLoadedCreationTime = false
Allow_osLoadedCreationID = false
;
; **** THREAT LEVEL Moderate ****
Allow_osGetGridNick = true
Allow_osGetGridName = true
Allow_osGetGridLoginURI = true
Allow_osGetGridCustom = true
Allow_osGetGridHomeURI = true
;
; **** THREAT LEVEL HIGH Block ****
Allow_osMakeNotecard = true
Allow_osMatchString = false
Allow_osTerrainSetHeight = false
Allow_osRegionRestart = false
Allow_osGetAgentIP = true
Allow_osSetRegionWaterHeight = my-avatars-uuid
Allow_osGetScriptEngineName = true
;
; **** THREAT LEVEL VeryHigh Block ****
Allow_osRegionNotice = true
Allow_osSetRot = true
Allow_osAvatarPlayAnimation = true
Allow_osAvatarStopAnimation = true
Allow_osGetNotecardLine = true
Allow_osGetNotecard = true
Allow_osGetNumberOfNotecardLines = true
;
; **** THREAT LEVEL Severe Block****
Allow_osTeleportAgent = my-avatars-uuid
Allow_osGetSimulatorVersion = my-avatars-uuid
Allow_osConsoleCommand = my-avatars-uuid
;
; **** NPC Block ****
Allow_osNpcCreate = true
Allow_osNpcRemove = true
Allow_osNpcGetRot = true
Allow_osNpcSetRot = true
Allow_osNpcGetPos = true
Allow_osNpcMoveTo = true
Allow_osNpcMoveToTarget = true
Allow_osNpcStopMoveToTarget = true
Allow_osNpcSay = true
Allow_osOwnerSaveAppearance = true
Allow_osAgentSaveAppearance = true
Allow_osNpcSaveAppearance = true
Allow_osNpcLoadAppearance = true
Allow_osNpcSit = true
Allow_osNpcStand = true
Allow_osNpcPlayAnimation = true
Allow_osNpcPlayAnimation = true
;
; ==== END OF OSSL FUNCTION BLOCK ====
hope somebody else can help you with ideas why your functions do not work
anymore ..
best regards and greetings from the osgrid
Wordfromthe Wise ..
P:S: and mayby sometimes give my regions a HG Visit :
http://gallery.osgrid.org/main.php?g2_itemId=2691
<http://gallery.osgrid.org/main.php?g2_itemId=2691&g2_page=4> &g2_page=4
_____
Von: opensim-users-bounces at lists.berlios.de
[mailto:opensim-users-bounces at lists.berlios.de] Im Auftrag von John
"Pathfinder" Lester
Gesendet: Montag, 12. März 2012 19:02
An: Opensim Users Mailing List
Betreff: [Opensim-users] problem with diva-r18222-c upgrade - OSSL
functionsnot working
Howdy,
I just ran the auto-updater for my Diva Distro installation, which was
running 0.7.2.
Installed diva-r18222-c just fine, and everything seems ok except for OSSL
functions.
Any script that I have that requires an OSSL function throws an error
(example below with osMakeNotecard function):
"System.Reflection.TargetInvocationException: Exception has been thrown by
the target of an invocation. ---> System.Exception: OSSL Runtime Error:
osMakeNotecard permission denied. Script creator is not in the list of users
allowed to execute this function and prim owner also has no permission."
I've explicitly allowed the running of these functions in the [XEngine]
section of my OpenSim.ini file (see below), but no joy...
Enabled = true
AllowOSFunctions = true
OSFunctionThreatLevel = VeryHigh
Allow_osGetSimulatorVersion = true
Allow_osTeleportAgent = true
Allow_osMakeNotecard = true
Any suggestions?
-John
http://about.me/pathfinder
If you want to build a ship, dont drum up the men to gather wood, divide
the work and give orders. Instead, teach them to yearn for the vast and
endless sea. -Antoine de Saint-Exupéry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-users/attachments/20120312/f094b187/attachment.html>
More information about the Opensim-users
mailing list