Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

seeing if an object in a diff sim is still alive

Zaplok Riggles
Registered User
Join date: 25 Feb 2008
Posts: 119
07-26-2008 09:32
I want to be able to periodically check to see if an object in a different sim (I have the object UUID) is still in-game. Anyone know a way to do this without the other object periodically checking in?
Laurence Corleone
Registered User
Join date: 12 Oct 2006
Posts: 126
07-26-2008 13:08
Go there and look and see?

I had a few more options here but they require the object to check in from time to time leaving this as about your only option.
_____________________
There are no stupid questions, just stupid people.
Dora Gustafson
Registered User
Join date: 13 Mar 2007
Posts: 779
07-26-2008 13:32
You expect it to die at some time? how? Will it self destroy? is it temporary? will the owner on the land it is on kill it?
If we knew more it might be possible to foresee it and send some kind of message.
_____________________
From Studio Dora
AnnMarie Otoole
Addicted scripter
Join date: 6 Jan 2007
Posts: 162
07-26-2008 14:02
You can also embed an IM script in it that sends you a report once an hour to say it is still there. When the reports stop it is no longer operating (dead or back in inventory).

If there are too many objects like this and/or you don't want to be bothered with repetitive "nothing to report" reports you can have it send an http message to a web site. The web site can do the monitoring to make sure it shows up once a minute, hour, day (as required) and send you an email when the messages cease, or re-starts.
Zaplok Riggles
Registered User
Join date: 25 Feb 2008
Posts: 119
07-26-2008 18:01
Imagine a networked vendor. When the server goes to sleep, I want the vendor to know and stop showing items. But, I'd really like to keep the server from having to send pings to the vendors or vice-versa. In the same sim, it's quite easy to do. I can just do a llKey2Name and if its blank, the server is gone (someone killed it, or re-rezzed it and its key changed)
Johan Laurasia
Fully Rezzed
Join date: 31 Oct 2006
Posts: 1,394
07-27-2008 19:03
one word.. llEmail()

Create an attachment that pings it ever so often with an email, then setups a timer that checks the email for a return 'pong'. If the pong is not received within a given amount of time (5 min or so), then it can safely be assumed the sim is down.

http://www.secondscripter.com
_____________________
My tutes
http://www.youtube.com/johanlaurasia