<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>We posted a patch to implement osGetInventoryLandmarkParams on Mantis</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span><a href="http://opensimulator.org/mantis/view.php?id=5936">http://opensimulator.org/mantis/view.php?id=5936</a></div><div><br></div><div><div>It still needs some enhancement, but it's already working and useful in lot of cases.</div></div><div><br></div><div>What's missing?</div><div><br></div><div>The function returns all values same grid landmarks and landmarks to hyperlinked region.</div><div><br></div><div>For other external regions, we couldn't fetch region, particularly "regionName", which is needed to output url, address, map search and region name.</div><div>In this case, the function returns "REGION_NOT_FOUND" instead of the answer, to allow the script to handle it.</div><div><br></div><div>Other values are returned in all cases (gatekeeper uri, position)</div><div><br></div><div>Background: in our first steps, we thought we got the url successfully, even for HG landmarks. We were wrong, it was random situation: the regions of the first landmarks we tested were already linked on server (appearing on console with "show hyperlinks").</div><div><br></div><div>We are still looking for a way to get regionName (only value needed) for external regions.</div><div><br></div><div>We use <span class="Apple-tab-span" style="white-space:pre">World.GridService.GetRegionByUUID</span> </div><div>We tried to use code from HGEntityTransferModule, but it didn't work (scene issues?)…</div><div><br></div><div>Any idea is welcome!</div><div><br></div><br><div><div><div apple-content-edited="true">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>--</div><div><a href="http://www.speculoos.net/">http://www.speculoos.net/</a></div><div><a href="secondlife://speculoos.net:8002/">secondlife://speculoos.net:8002/</a></div><div>Speculoos, the belgian cookie-flavored metaverse</div></div></span></div></span></div></span></div></div>
</div>
<br><div><div>Le 13 mars 2012 à 23:20, Gudule Lapointe a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>For now, my function returns values depending on these constants:<br><br>osGetInventoryLandmarkParams (string landmarkname, int type)<br><span class="Apple-tab-span" style="white-space:pre"> </span>LANDMARK_URL<br><span class="Apple-tab-span" style="white-space:pre"> </span><span class="Apple-tab-span" style="white-space:pre"> </span><a href="secondlife://hostname:port:region/X/Y/Z/">secondlife://hostname:port:region/X/Y/Z/</a><br><span class="Apple-tab-span" style="white-space:pre"> </span>LANDMARK_ADDRESS<br><span class="Apple-tab-span" style="white-space:pre"> </span><span class="Apple-tab-span" style="white-space:pre"> </span>hostname:port:region<br><span class="Apple-tab-span" style="white-space:pre"> </span>LANDMARK_MAPSEARCH<br><span class="Apple-tab-span" style="white-space:pre"> </span><span class="Apple-tab-span" style="white-space:pre"> </span><a href="http://hostname:port/">http://hostname:port/</a> region<br><span class="Apple-tab-span" style="white-space:pre"> </span>LANDMARK_GATEKEEPER<br><span class="Apple-tab-span" style="white-space:pre"> </span><span class="Apple-tab-span" style="white-space:pre"> </span><a href="http://hostname:port">http://hostname:port</a><br><span class="Apple-tab-span" style="white-space:pre"> </span>LANDMARK_REGION_NAME<br><span class="Apple-tab-span" style="white-space:pre"> </span><span class="Apple-tab-span" style="white-space:pre"> </span>region<br><span class="Apple-tab-span" style="white-space:pre"> </span>LANDMARK_POSITION<br><span class="Apple-tab-span" style="white-space:pre"> </span><span class="Apple-tab-span" style="white-space:pre"> </span><X,Y,Z><br></div></blockquote></div><br></div></div></body></html>