Hello -
An attempt to use llRequestURL() returned:
http://127.0.0.1:9999/lslhttp/0a1ab4aa- ... 459441f7b/
This is sort of ..unusable.. for an off-grid browser to contact an in-world server. 127.0.0.1 is being returned for the sandboxes where I had access, objects could be created, and scripting was permitted.
On a wild guess, an attempt to determine the off-world IP address of the simulator was tried by a request to http://checkip.dyndns.org .
That produced 62.75.221.49 (that's Startregion). A little scripting later and I had:
http://62.75.221.49:9999/lslhttp/0a1ab4 ... 459441f7b/
And that works. Having the script output that into the local chat window and left-clicking it caused the viewer (Singularity) to start Firefox. Firefox makes the request.. and "This is a test string" appears shortly afterwards.
I'm okay with scripting for replacing 127.0.0.1 with the IP produced by checkip.dyndns.org . But there are a few grids in the MultiVerse where requests to checkip.dyndns.org are trapped to produce some truly odd address. Is this likely to occur here?
--Frigid
llRequestURL() returns 127.0.0.1 ?
-
- Posts: 1
- Joined: Mon Oct 06, 2014 3:14 am
- Has thanked: 0
- Been thanked: 0
- Ilan Tochner
- Posts: 6524
- Joined: Sun Dec 23, 2012 8:44 am
- Has thanked: 4986 times
- Been thanked: 4473 times
- Contact:
Re: llRequestURL() returns 127.0.0.1 ?
Hi Frigid,
That function should result in usable URLs in Kitely. Did you get the 127.0.0.1 result inside Kitely or in a sim running somewhere else?
That function should result in usable URLs in Kitely. Did you get the 127.0.0.1 result inside Kitely or in a sim running somewhere else?