Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Jabber / SL mirroring of conversations?

Gordon Skall
Registered User
Join date: 28 Dec 2006
Posts: 2
02-13-2007 07:18
Is it possible to mirror conversations in SL into a Jabber chat-room and vice-versa? I'm working for Cambrian House, and we're trying to build a space for CH community members who also belong to Second Life to join in on our weekly meetings. We've got webcam streaming working, but not all of our community members are keen on participating through the SL client (it being heftier then running QuickTime + a chat room client).

Is it possible to have conversations running in both environments and having say SL make calls to a Jabber server to sync up the rooms?

My scripting knowledge is basic, but if someone assured me it should be possible (or pointed to an existing solution) I can try make it happen.

I imagine barriers might be:
- too many calls needed from SL to Jabber server exceeding some LL imposed limit
- impossible to monitor the conversations on our SL property

Thanks for any advice.
-Gord
RobbyRacoon Olmstead
Red warrior is hungry!
Join date: 20 Sep 2006
Posts: 1,821
02-13-2007 07:33
It is *technically* possible, but is almost certainly a heftier task than LSL would perform in a satisfactory way without creative restructuring.

Jabber is a fairly easy to understand XML-based communication protocol, so you might be able to create a custom client that could connect, parse the conversation into very simple "Bob says XXX" lines of text, and place those in a location that the in-world LSL could get to them. Similarly, the LSL component could send simple "John says XXX" to an out-of-SL site that could parse that and send it on to the jabber conf. This would save a lot of heavy lifting from the LSL component.

I strongly suspect however, that even doing all of the heavy lifting outside of SL you will still find that SL's communication speeds are limiting.

Good luck to you, would love to hear how that progresses :)
Johan Laurasia
Fully Rezzed
Join date: 31 Oct 2006
Posts: 1,394
SL/RL communications
02-13-2007 08:30
I think you're best bet would be to stay out of scripting something in SL, rather, use something like libSL instead. Download the libSL package (http://www.libsecondlife.org), and use the chat client instead. What you need is a client that connects only (and allows chat), and doesnt generate any graphics or anything, just handles chat. Then, from there, you'd need to redirect the command line output to whatever source reads the chat and mirrors it to your external location. LibSL is a work in progress, and the files that come with the distribution package are not very user friendly or documented very well, but I think that's a better option than trying to script an object to do the translation from web to SL and vice versa.