[Opensim-users] HGBoard fix for 0.9.2

Jeff Kelley opensim at pescadoo.net
Fri Sep 4 05:45:26 UTC 2020


The HGBoard is a multi-destination teleporter written in 2010. Since, 
it has made his way to many grids. Scripters have made their own 
versions.

The original version will stop teleporting to 0.9.2.* grids.

Here is why, and the fix for those of you using it.

The HGBoard makes a pre-jump HTTP request to check if the remote 
ROBUST server is online. ROBUST answers HTTP 404 Not Found, along 
with  the funny text "The page you requested has been obsconded with 
by knomes. Find hippos quick!".

For some unknown reason, LSL http_response returns a HTTP 200 status. 
The status is also 200 for WIFI-enabled grids. So 200 was considered 
as a proper indication that a remote ROBUST server is up and 
listening, with or without WIFI.

That worked for 10 years on a false asumption.

When querying 0.9.2.0 "Yeti Dev" ROBUST, http_response now returns 
404 (and the hippos are gone by the way).

The fix is straightforward : accept 200 and 404 to accomodate legacy 
and new grids.

Here is a revised script, HGBoard V2.0. Destinations file format has 
changed, but V2 is backward-compatible with your old files. If you 
made changes to the code, just edit the HHTP status test in state 
hippos. If you use llRequestSimulatorData, there is nothing to change.

https://pastebin.com/Fe8TxAqT

Have fun with the HGBoard.
Feedback welcome.


-- Jeff








More information about the Opensim-users mailing list