[Opensim-users] Set whisper distance to zero ? Alternative debug channel ?

Justin Clark-Casey jjustincc at googlemail.com
Fri May 13 02:49:23 UTC 2011


There is an LSL print() method

http://wiki.secondlife.com/wiki/Print

implemented in OpenSim which will print the text to the OpenSim.log if the OSSL threat level is set high, with text 
beginning LSL print():

Crudely, you could scan the log and extract lines beginning with this.

The heavyweight solution would be to write a region module that could log text sent to it via the modSendCommand() function

http://justincc.org/blog/2010/07/16/passing-data-between-a-script-and-a-region-module-with-modsendcommand/

Another complex solution would be to have scripts which interface with an external webserver via the http LSL methods.

Writing to a notecard via osMakeNotecard might be another approach, though surprisingly there doesn't appear to be an 
OSSL function that writes lines to an existing notecard.  Maybe there should be one.


On 12/05/11 14:17, Simon Slavin wrote:
> I'm trying to use OpenSim for unusual purposes: psychological testing.  In order to give me information about what the user (or, more precisely, their avatar) does, I need to be able to log various things to a text file which can be processed afterwards.  The way I've been doing this without messing with how OpenSim works is to use llSay() with mute on, so that the text doesn't appear on the screen.
>
> I'm not particularly happy with this solution so I thought of whispering instead.  I could use llWhisper() and in the configuration file set the whisper distance to 0.  Does anyone know if this would cause problems with anything else that goes on ?  Perhaps I should set the whisper distance to 0.000001 instead.  Or someone may know of a completely different way to make a text log file.
>
> Ideally I'd be using a special chat channel to do this: perhaps talk to channel 0x7FFFFFFE might just put text directly in a file on disk without showing it on the screen.  It occurs to me that this could be a useful debugging tool for many users, not just myself, and should not interfer with much code which has already been written.  Perhaps it could be added to a future version of OpenSim.  Does anyone think this could be a reasonable feature request ?
>
> Simon.
> _______________________________________________
> Opensim-users mailing list
> Opensim-users at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-users
>


-- 
Justin Clark-Casey (justincc)
http://justincc.org/blog
http://twitter.com/justincc



More information about the Opensim-users mailing list