[Opensim-dev] Test before you call OSSL function

Michel Beauregard gimisa at yahoo.fr
Tue Oct 15 10:13:10 UTC 2019


The original question was about error spamming in the following terms when an OSL function fails.

 " SPAMMING EVERY AVATAR IN THE REGION once. Which is still annoying."
And the idea original suggested is to implement a  OSL function to  test ahead the function to be used without user knowing which is unfortunately not achieved with the timer idea.  

Thinking out of the box , I believe we follow secondlife standard for the debug_channel and mechanism http://wiki.secondlife.com/wiki/DEBUG_CHANNEL . 

Would it be possible then to set the channel use for error reporting .A brand new no treat level osl function making setting  the debug channel possible  could allow us to  listen to that channel and act on, via  XENGINE  script, while region users would be unaware of these errors  ?    (equivalent of a try catch function without spamming the region ) . 

I understand that the difficulty is to set the channel for only the running script and that could prevent the idea to become applicable.
Unfortunately I dont have the knowledge necessary to test that idea or evaluate the amount of work necessary to apply it. What do you think ?

hope it helps 

GiMiSa 



More information about the Opensim-dev mailing list