The error I'm getting is:
- Code: Select all
[05:28] System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> OpenSim.Region.ScriptEngine.Shared.ScriptException: OSSL Runtime Error: osMessageObject permission denied. Script creator is not in the list of users allowed to execute this function and prim owner also has no permission.
at OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.OSSLError (System.String msg) <0x41325240 + 0x00084> in <filename unknown>:0
at OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.CheckThreatLevel (ThreatLevel level, System.String function) <0x40f226b0 + 0x000ab> in <filename unknown>:0
at (wrapper remoting-invoke-with-check) OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api:CheckThreatLevel (OpenSim.Region.ScriptEngine.Shared.Api.Interfaces.ThreatLevel,string)
at OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osMessageObject (LSLString objectUUID, System.String message) <0x40fedef0 + 0x00043> in <filename unknown>:0
The script works fine for the owner of the world, but a visitor executing the script in a prim they own (as an attachment) gets that instead.
Are low-threat functions like this really not allowed except for world owners? Or is there something else happening here?