[sldev] Script to client channel.

Lawson English lenglish5 at cox.net
Mon Feb 16 00:13:00 PST 2009


Henri Beauchamp wrote:
> On Sun, 15 Feb 2009 19:58:55 +0000, ordinal.malaprop at fastmail.fm wrote:
>
>   
>> I am generally in favour of allowing more interaction between LSL and  
>> the client, but I have to say that for something as basic and general  
>> as a HUD, the method would give me pause.
>>
>> .../...
>>
>> What we _really_ need is a thorough overhaul of scriptable UI methods  
>> so that scripts can expect consistent results between clients, whether  
>> that means some sort of toolkit along the lines of Tk, or perhaps web  
>> forms - but chat commands and blue button windows are not sufficient.  
>> At the very least we need a way to enter text in a dialog box.
>>     
>
> Something like this is apparently already planned:
> https://wiki.secondlife.com/wiki/LlTextBox
>
>   


Both llTextBox and llFloaterHUD 
(http://wiki.secondlife.com/wiki/LSL_Browser_HUD) have one flaw, IMHO:

they use the existing chat channels (which are all public) to pass 
information back and forth. Given that a HUD can only be used by one 
avatar at a time, it seems worthwhile to implement a set of private HUD 
channels that offer a direct HUD <=> client connection without 
rebroadcast to the rest of the sim. A given HUD could reserve one or 
more channels that can't be intercepted by other prims/avatars, thereby 
providing a greater level of privacy and virtually no chance of spoofing 
the server or client unless you have physical access to the network 
connections.

Lawson


More information about the SLDev mailing list