|
Christif Vaher
Registered User
Join date: 24 Jun 2008
Posts: 51
|
09-26-2008 13:37
Scenario: User A has a HUD, when he clicks on the GO button a message is sent to User B, User C, User D who are all in different parts of the grid way more than 1000m away from User A.
User B, User C, User D can receive this communication through a receiving HUD or as an IM. Prefer HUD since there is little value for the message to be saved if user os offline.
llInstantMessage would work except User A's HUD would have to continually receive an updated list of UUID's to which it needs to send the message.
There doesn't appear to be a llInstantMessageGroup function but that would work great if it were there since everyone who needs to send and receive the message are in the same group.
Ultimately I would like to use a relay type system. User A's HUD sends message to Central Box. Central Box sends the message to User B, User C, User D's HUD.
Any suggestions on a starter script if such a thing exists for what I am trying to accomplish or suggestions period?
|
|
Ruthven Willenov
Darkness in your light
Join date: 16 Jan 2008
Posts: 965
|
09-26-2008 14:28
i've never worked with emails before. but from what i've read in past threads, the only way for objects outside of the same sim to communicate is with emails or outside servers. unless you use relay objects in each sim. for that to work you would need a network of objects that use llRegionSay, to talk to the whole sim, and llSay, llShout, or llWhisper to commuicate across region edges. here's a link for some hearing aids that speak to each other across the sim. the scripts in them are pretty basic and full perms, but can probably give you an idea.  you could possibly use that and have the hud send an email to "receivers" in each sim, and when those "receivers' get the email, they can send out a region say for anyone in the sim using the hud to receive it.. the problem with that is, they obviously won't receive it if they aren't in the same sim as the email receiver
|
|
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
|
09-26-2008 15:24
HTTP. Activated HUD sends new message to web server; all HUDs poll occasionally for new messages on the server. Downside is that it takes setting up a web service outside SL somewhere with adequate bandwidth and CGI capabilities.
|
|
Nexii Malthus
[Cubitar]Mothership
Join date: 24 Apr 2006
Posts: 400
|
09-26-2008 16:00
Hewee to the rescue, yet again to save the day!
_____________________
 Geometric Library, for all your 3D maths needs. https://wiki.secondlife.com/wiki/Geometric Creator of the Vertical Life Client
|