Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

A question about llRequestAgentData

Chicken Rosca
Registered User
Join date: 21 Jun 2007
Posts: 30
08-28-2007 01:05
Hi all.

I have a question about llRequestAgentData. According to the lslwiki, it can get if an avatar is online. The question is, I want to use that function to get the online status of one of my friends, if he hides his online status to me(uncheck "Can see my online status";), can I use that function to see the real status? I mean, if he is online, but he hides his status to me, can I see that he is online?

Thanks in advance!
Boss Spectre
Registered User
Join date: 5 Sep 2005
Posts: 229
08-28-2007 01:28
Yes I believe the blocking only applies to Friend visibility, and llRequestAgentData works even for non-friended agents.
Chicken Rosca
Registered User
Join date: 21 Jun 2007
Posts: 30
08-28-2007 01:44
From: Boss Spectre
Yes I believe the blocking only applies to Friend visibility, and llRequestAgentData works even for non-friended agents.

That's good. Thank you, Boss~
Johan Laurasia
Fully Rezzed
Join date: 31 Oct 2006
Posts: 1,394
08-28-2007 01:45
llRequestAgentData only works if the avatar and the script are in the same sim. If you want to find a "hiding" friend, join a group that he's in, and look at his last login, it'll show if he's online or not. Now, here's my question.. if someone is hiding from you, why would you want to bother them when they went to the trouble of hiding their status from you ?
Chicken Rosca
Registered User
Join date: 21 Jun 2007
Posts: 30
08-28-2007 04:47
It works only when the avatar and the object are in the same SIM? Oh, that's not good...

I don't want to bother any friends. I don't think there are any friends hiding their online status to me.
Qie Niangao
Coin-operated
Join date: 24 May 2006
Posts: 7,138
08-28-2007 05:24
From: Johan Laurasia
llRequestAgentData only works if the avatar and the script are in the same sim.
Actually, I think that might be confusing the similarly-named llGetAgentInfo() which is *very* fast but only works when the agent is in the same sim as the script (and is often used for AOs, among other things, because of its speed). llRequestAgentData() works for any agent regardless of location but is kinda piggy, because it hits the presence service--so you wouldn't want to call it directly from its own dataserver callback unless you really really had to.
Darko Lednev
Registered User
Join date: 20 Aug 2007
Posts: 31
08-28-2007 09:00
You don't need a script to see if someone is online or not. Just search on the people for that avatar name and it will show you in the top right corner (Just right of the name on profile) if he/she is online. If it is online it will say Currently Online. If not there will be nothing.
Django Yifu
Beat Island Gaffer
Join date: 7 May 2007
Posts: 189
08-28-2007 10:36
From: Darko Lednev
If it is online it will say Currently Online. If not there will be nothing.


I believe this is true unless the hide online status is used in the preferences settings. Can't remember the exact phrasing but I think it will hide your online status from your profile.
_____________________
Tread softly upon the Earth for you walk on my face.