[sldev] making a conection with a region?

Anna Gulaev annagulaev at gmail.com
Sun Feb 17 18:16:51 PST 2008


I'm receiving object updates from regions that are not in my region list.
Sometimes just checking again later will work, but sometimes these regions
never do make it into my region list. Is there a way to force them to
communicate with me? It looks like connections are things that are offered,
not requested. Is that right?

What I'm looking for is region name and ParcelProperties given a global
position. I'm currently getting the name from the region

        LLViewerRegion *region = gWorldp->getRegionFromHandle(
pri->regionHandle);
        if ( region)
            pri->regionName = region->getName();

and I'm making a request for parcel properties from the region like this:

        msg->newMessageFast( _PREHASH_ParcelPropertiesRequest);
        ...other fields...
        msg->sendReliable( region->getHost());

Is there a way to get this info from a region not in my list? Or a way to
force a region into my list?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.secondlife.com/pipermail/sldev/attachments/20080217/5b48d48b/attachment.htm


More information about the SLDev mailing list