Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

llRequestAgentData DATA_ONLINE reports agent still online after they log off

Hooten Haller
Wonder and Joy
Join date: 5 Feb 2007
Posts: 45
08-02-2009 06:26
My agent tracker is good about reporting when people log on, but take several minutes to notice when people have logged off. Is that a known behavior of llRequestAgentData, not being accurate up to the second when people log off?
Ruthven Willenov
Darkness in your light
Join date: 16 Jan 2008
Posts: 965
08-02-2009 06:34
there's a 0.1 second delay for llRequestAgentData, you also need to account for how often you're checking, lag, etc. i notice when my friends log out, i can still see their avatar for up to a minute, and llSensor still picks them up. and i'm in a very low lag sim. there's even been instances when they crash, i didn't realize they were gone until they log back in. i get the pop-up saying they logged in, but never got the one saying they logged out
_____________________
Dark Heart Emporium

http://www.xstreetsl.com/modules.php?name=Marketplace&MerchantID=133020

want more layers for tattoos, specifically for the head? vote here
http://jira.secondlife.com/browse/VWR-1449?

llDetectedCollision* Functions similar to touch
http://jira.secondlife.com/browse/SVC-3369
Hooten Haller
Wonder and Joy
Join date: 5 Feb 2007
Posts: 45
08-02-2009 06:40
I check for about 20 avatars. The check repeats 60 seconds after the last avatar is checked, so not very frequently (by my sense of "frequent";). I check for one avatar at a time, I do not issue multiple requests all at once.

When a person logs out the status is reported as ONLINE ("1";) for a few minutes more (several cycles of my 60 second delay timer). It is almost as if there is some lag in the database used by llRequestAgentData
Qie Niangao
Coin-operated
Join date: 24 May 2006
Posts: 7,138
08-02-2009 06:50
From: Hooten Haller
My agent tracker is good about reporting when people log on, but take several minutes to notice when people have logged off. Is that a known behavior of llRequestAgentData, not being accurate up to the second when people log off?
Yeah, that's the behavior I've seen, too.
Ruthven Willenov
Darkness in your light
Join date: 16 Jan 2008
Posts: 965
08-02-2009 07:01
From: Hooten Haller
I check for about 20 avatars. The check repeats 60 seconds after the last avatar is checked, so not very frequently (by my sense of "frequent";). I check for one avatar at a time, I do not issue multiple requests all at once.

When a person logs out the status is reported as ONLINE ("1";) for a few minutes more (several cycles of my 60 second delay timer). It is almost as if there is some lag in the database used by llRequestAgentData


so your cycles runs like this?

check avatar
wait 60 seconds
check next avatar
wait 60 seconds
check next avatar
etc.

right?

if so, then each avatar is only being checked every 20 minutes
_____________________
Dark Heart Emporium

http://www.xstreetsl.com/modules.php?name=Marketplace&MerchantID=133020

want more layers for tattoos, specifically for the head? vote here
http://jira.secondlife.com/browse/VWR-1449?

llDetectedCollision* Functions similar to touch
http://jira.secondlife.com/browse/SVC-3369
Rolig Loon
Not as dumb as I look
Join date: 22 Mar 2007
Posts: 2,482
08-02-2009 07:33
From: Ruthven Willenov
i notice when my friends log out, i can still see their avatar for up to a minute, and llSensor still picks them up. and i'm in a very low lag sim. there's even been instances when they crash, i didn't realize they were gone until they log back in. i get the pop-up saying they logged in, but never got the one saying they logged out

I think we've probably all had the experience of crashing but not knowing it, too. You can be disconnected from the system as far as everyone else is aware, yet your screen stays alive, you see life going on normally in SL, and you think you're still there. It's only when you try to move that you discover you're really logged out. Quite obviously, SL has multiple ways of defining "log in" and "log out," and they don't always agree with each other.
_____________________
It's hard to tell gender from names around here but if you care, Rolig = she. And I exist only in SL, so don't ask.... ;)

Look for my work in XStreetSL at
Hooten Haller
Wonder and Joy
Join date: 5 Feb 2007
Posts: 45
08-02-2009 08:18
Cycle is check avatar, check avatar, check avatar, wait 60, repeat.

I'm starting to feel reassured if someone else sees this too, and it is not just the way I use the call.
Darien Caldwell
Registered User
Join date: 12 Oct 2006
Posts: 3,127
08-02-2009 08:22
The presence server is an asynchronous system, updates of avatars logging on and off aren't done immediately in real-time, there can be delays. It's all in the name of efficiency of the grid, you have to realized there can be hundreds, maybe thousands of people logging on and off at any given time. So use it as a guideline, not hard up-to-the-second status of if the avatar is online or not.
_____________________
Hooten Haller
Wonder and Joy
Join date: 5 Feb 2007
Posts: 45
08-02-2009 08:58
Thanks Darien. I suspected it was exactly that. I just wasn't sure how much of a delay others were seeing.

Case closed then.