Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

"Linkdead Indicator"

Travis Lambert
White dog, red collar
Join date: 3 Jun 2004
Posts: 2,819
09-23-2005 08:25
Using the current toolset, anyone know of a creative way to ping a host/IP via LSL, and get a response?

I was trying to run a game show last night in the middle of a bad thunderstorm. My DSL connection kept dropping - but when that happens, there's no way for those around me to know I'm incommunicado until my connection either times out completely (which takes minutes), or it is restored.

It would be sweet if it were possible to create something similar to the "AFK" indicators that some have made - only this one indicating "LINKDEAD".

I thought about using llRequestAgentData and checking for Online status - but I'm not sure if that's responsive enough to show a connection that is linkdead, but not timed out yet.

I'm thinking something akin to Everquest - where, just like we have AWAY and BUSY tags here - a LINKDEAD tag appears whenever client/server communication is temporarily lost.

Any Ideas?
_____________________
------------------
The Shelter

The Shelter is a non-profit recreation center for new residents, and supporters of new residents. Our goal is to provide a positive & supportive social environment for those looking for one in our overwhelming world.
Adam Zaius
Deus
Join date: 9 Jan 2004
Posts: 1,483
09-23-2005 08:50
Could be done, (easier if you have a static IP) using XMLRPC/Email.

Either, have a third party server ping you every X seconds, and have the response sent inworld; or;

Make a dead-mans-switch program that you run from outside of SL (on your machine), that keeps telling SL 'I'm not dead.', when no response is recieved, assume link death.

-Adam
_____________________
Co-Founder / Lead Developer
GigasSecondServer