Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Central data storage and access?

Emelie Messmer
Registered User
Join date: 31 Oct 2007
Posts: 10
10-31-2007 04:36
Problem: Imagine 5 or 10 objects that all want to check the same user-list for permissions before doing something. Imagine some of these objects being hundreds of meters apart. Out of convenience, it would make sense to maintain only one user list, in one object, and have the other objects refer to this one to check for permissions.

But... How do I do that? Over shorter ranges, I suppose you could use say/shout over a channel of your choice. When ever the userlist is changed, you let the storage object shout it out for the other objects to listen to.

Over longer ranges though, that option is out. Does anyone know of a "good" way to handle this, that is also preferably *easy* and light weight? Either to get permissions when they are needed, or a way to migrate the user list to all the other objects when ever it's changed.
2fast4u Nabob
SL-ice.net
Join date: 28 Dec 2005
Posts: 542
10-31-2007 04:41
Try llRegionSay - it is a region-wide shout....

http://www.lslwiki.net/lslwiki/wakka.php?wakka=llRegionSay
Emelie Messmer
Registered User
Join date: 31 Oct 2007
Posts: 10
10-31-2007 04:47
Dang. I must have been blind to miss that. :) Wicked. Thanks mate.

Emi