[sldev] New viewer released with logging of the owners of speaking
objects and their location
John Hurliman
jhurliman at wsu.edu
Fri Aug 31 13:09:00 PDT 2007
Dale Glass wrote:
> Here's the current plan (slightly updated):
>
> Viewer will ship with region_names.xml, which contains the info. This will
> include the complete list of sims seen on the map. This currently includes
> region name, key and handle. Entry will be included even if the key couldn't
> be obtained.
>
> Viewer uses this for doing lookups. If it's an entry with a key, no DB hits
> are needed. If it's an entry with no key (eg, region was down at the time),
> then it will do a RegionHandleRequest and check if the handle can be found in
> the file. This will be displayed as an uncertain result, as the handle might
> have changed.
>
> Usage of the world map will also update the cache, which should compensate.
>
> If that still doesn't work, it'll do a MapBlockRequest for the whole grid, and
> use that to update all the listed handles. This will be limited to one time
> per run.
>
> This, I think, is about as low of an impact I can manage to do without some
> help from LL.
>
> A RegionNameRequest would save me the trouble of implementing all this, as
> well as the DB impact. The file shipped with the viewer could be kept, so the
> very rare cache miss (I'd expect more than 99% hits) would result in a lookup
> of a single sim, instead of a huge MapBlockRequest.
>
It is either that, or grab http://secondlife.com/apps/mapapi/ and parse
the second to last line to get an up to date, complete database of
handle to name mappings (and vice versa) that removes the need for all
of the other steps. In an ideal world the Lindens would implement every
new packet we think of, but I've requested at least a half dozen over
the last year and have slowly become fond of finding ways to make things
work without changing the grid backend.
John Hurliman
More information about the SLDev
mailing list