[sldev] A thought on how to lower resources used by sensors
Boroondas Gupte
sllists at boroon.dasgupta.ch
Sun May 17 13:13:55 PDT 2009
malachi at tamzap.com schrieb:
> we already know that the simulator holds the data of who is there and
> when. and given the recent addition to the lsl language for
> llGetRegionAgentCount() wouldnt it be just as easy to add some
> function to return the agent keys that are present on the region. this
> would eliminate the use of all probe scanners. and ultimately increase
> the performance of the region.
>
> [...]
>
> if this is possible could someone explain it more in detail about how
> to get started on doing this. a patch perhaps?
As most of the server side of Second Life is still closed source, only
Linden Lab could implement such an sim-to-LSL interface.
http://jira.secondlife.com/browse/SVC-58 seems to be what you request,
so you might want to vote for it.
If the data should actually be displayed to the end user and a script is
just used to fetch it (e.g. for display on a HUD), that could very well
be replaced by new functionality of the viewer, which is aware of other
avatars on the same sim even outside of draw distance (the data is
needed for the mini-map anyway). To see what's possible there, have a
look at Dale Glass' modifications to the viewer:
http://wiki.secondlife.com/wiki/Alternate_viewers#Dale_Glass_Edition
Of course, if the data for some reason has to be processed in a sim-side
script and LL doesn't implement SVC-58, you could still get a modified
viewer (or a bot) to transfer it back inworld via hidden chat channels.
http://wiki.secondlife.com/wiki/Alternate_viewers#Marine_Edition uses
this technique.
cheers
Boroondas
More information about the SLDev
mailing list