|
Bino Arbuckle
Registered User
Join date: 31 Dec 2002
Posts: 369
|
07-20-2003 23:39
I am trying to make a sim mapper, however I've come to the obstacle that llKey2Name() only works iff that object is in the sim, and in this case that object is an avatar. So unless every avatar who owns land is in a sim is in the sim at that time, I get a "" for the name when I try and resolve it from the key. At least I have the key. Now I see no privacy issues with getting the avatars name, since if it's an object I can always click on it to see who created it, and who owns it if it isn't public, and I can click on land to find out who owns it. I simply want to be able to do it with a script 
|
|
Bosozoku Kato
insurrectionist midget
Join date: 16 Jun 2003
Posts: 452
|
07-21-2003 02:36
I agree, we should be able to deduct the name even if the avatar isn't online. Like you said, it's not secret info (just hover mouse over an object and you know -- so obviously the info IS in game.. just not LSL accessible).
You can however use llSensor/sensor and llKey2Owner(llDetectedOwner(int...)) to find a name. If the av isn't online it'll be null, else it'll fetch their name, regardless of what sim they're in. Not a pretty fix, but one potential avenue to use until a real function exists for getting names of those that aren't around.
Boso
|
|
Ama Omega
Lost Wanderer
Join date: 11 Dec 2002
Posts: 1,770
|
07-21-2003 08:11
What kind of range are you using on the sensor for that object?
|
|
kohne Kato
Woo. Yay.
Join date: 4 May 2003
Posts: 109
|
07-22-2003 00:00
From: someone Originally posted by Ama Omega What kind of range are you using on the sensor for that object? you don't need a sensor. Just put llGetLandOwnerAt(<x,y,0>  in nested 'for' loops over the sim. The only real problem is taking the key and getting a name back. Keys are already unique over the entire world. It'd be nice to be able to actually use that characteristic. If only key references applied over the entire world! If it's restricted to a sim, it must be a hardware-type problem. What would be needed for keys to become fully functional? Is it practical?
_____________________
May your prims not flash or sparkle, might your heaps stack without collision, let your inventory be clutter-free, and high fps be with you.
- An SL blessing ^_^
|
|
Bosozoku Kato
insurrectionist midget
Join date: 16 Jun 2003
Posts: 452
|
07-22-2003 01:12
From: someone Originally posted by Ama Omega What kind of range are you using on the sensor for that object? I didn't explain well enough (and maybe not going to now! heh).. I meant using sensor on objects. You can get the owner's name, regardless of what sim the owner is in, as long as the owner is online. Maybe this holds true with llGetOwner (as well as llDetectedOwner) plus llKey2Name(). Although I think llKey2Name(llGetOwner)) only works if owner is in the same sim -- I could be wrong here and not online to check! Boso
|