Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

[Source Code]Get a users profile picture

Solar Alter
Registered User
Join date: 21 Nov 2007
Posts: 30
11-23-2007 21:10
This little thing can get a users profile picture and apply it to a prim. Its part of a much larger, more complex script that does some really kick ass things If i say so myself :)

https://wiki.secondlife.com/wiki/User:Jana_Kamachi/Profile
Tyken Hightower
Automagical
Join date: 15 Feb 2006
Posts: 472
11-24-2007 03:33
Bump for excessive levels of win.
_____________________
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
11-24-2007 08:41
From: Tyken Hightower
Bump for excessive levels of win.

Agrees completey!!!
Just haven't decided which category to place Jana in: Benevolent Scientist or Evil Genious!! Definitely smart either way thou!!!
_____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime.
From: someone
I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum
Solar Alter
Registered User
Join date: 21 Nov 2007
Posts: 30
11-24-2007 09:24
Wait till you see the complete script ^_*
Its an API for people to easily get profile information. Example request would be

llMessageLinked(LINK_SET,REQ_NEW,llList2CSV([REQ_DISPLAY,REQ_PROFILE,REQ_AGE]),<someones key>;);

Can also do llName2Key and >>llKey2Name<< and because it directly interfaces with linden labs database, no need for w-hat. And no "No key found" messages, ever :)
Pale Spectre
Registered User
Join date: 2 Sep 2005
Posts: 586
11-24-2007 15:51
From: Solar Alter
Can also do llName2Key and >>llKey2Name<< and because it directly interfaces with linden labs database, no need for w-hat. And no "No key found" messages, ever :)
Only up to a point. My Alts tell me - and they are very old Alts, so you can trust them :) - that only people with Payment Info show in the web search whojamaflip.
Solar Alter
Registered User
Join date: 21 Nov 2007
Posts: 30
11-24-2007 17:25
Nope, just double check 3 times with different people who have to payment info, works fine.
Aniam Ingmann
llOwnage(float pwnage);
Join date: 22 Oct 2005
Posts: 206
11-24-2007 19:30
when I click it I'm getting a
From: someone

Object: Couldn't find texture Unsupported or unknown Content-Ty

What does that mean?
_____________________
From: someone

Don't worry, Aniam is here!
- Noob
Starfire Desade
Can I play with YOUR mind
Join date: 10 Jul 2006
Posts: 404
11-24-2007 19:47
From: Aniam Ingmann
when I click it I'm getting a

What does that mean?


no pic in their profile?
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
11-24-2007 21:56
From: Jesse Barnett
Agrees completey!!!
Just haven't decided which category to place Jana in: Benevolent Scientist or Evil Genious!! Definitely smart either way thou!!!

I belive that would be Mad Scientist (or MadBoy/MadGirl if you happen to be a http://GirlGenius.net/ fan)

Hey maybe you could strip that nice little part that does name to key out? or does it require another server to parse it? I'm sure several people would be happy to see that in use (although something tells me that SL will plug that hole for reasons I won't mention)
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
Pale Spectre
Registered User
Join date: 2 Sep 2005
Posts: 586
11-25-2007 01:48
From: Solar Alter
Nope, just double check 3 times with different people who have to payment info, works fine.
Hm... curious. If I have the avatar key and use: http://world.secondlife.com/resident/<avatar key> ...it does always work.

However, if I use: http://secondlife.com/app/search/search?q=<avatar name> ...it only returns avatars with payment info on file.
Solar Alter
Registered User
Join date: 21 Nov 2007
Posts: 30
11-25-2007 02:09
yeah pale atm, its like a pagerank sorting system. You'll notice some new av's show up at the bottom of the list for an exact search of your name instead of first, because LL is playing with ranking orders. ATM, no pay info people are worse then nothing, -1. The data is still there, they just don't bother showing it.

From: someone

Hey maybe you could strip that nice little part that does name to key out? or does it require another server to parse it? I'm sure several people would be happy to see that in use (although something tells me that SL will plug that hole for reasons I won't mention)


Will do it tomorrow, I've been awake the last 2 days, so I'll be sleeping like a baby for the next 12 hours. Later!
Ordinal Malaprop
really very ordinary
Join date: 9 Sep 2005
Posts: 4,607
11-25-2007 04:02
Very cunning idea! I imagine that parsing of this search data will be extremely useful for scripters in the future, as it basically gives us LSL access to the search system which we never had before (without a searchbot network etc).
_____________________
http://ordinalmalaprop.com/forum/ - visit Ordinal's Scripting Colloquium for scripting discussion with actual working BBCode!

http://ordinalmalaprop.com/engine/ - An Engine Fit For My Proceeding, my Aethernet Journal

http://www.flickr.com/groups/slgriefbuild/ - Second Life Griefbuild Digest, pictures of horrible ad griefing and land spam, and the naming of names
Debbie Trilling
Our Lady of Peenemünde
Join date: 17 Oct 2006
Posts: 434
11-25-2007 04:44
This is a marvelous piece of code. Thanks for sharing it...

Code moved to its own post in 'Scripting Library': /54/1b/225692/1.html

This is a kinda fun & cool toy which would work well in a club or mall. It scans the area and randomly selects an AV. It then projects their profile picture as a 'holographic' image for a set time before randomly finding someone else.

All credit to Moriash Moreau, Jana Kamachi and Solar Alter for supplying the core code and providing the inspiration on this cold UK Sunday morning...
Max Pitre
Registered User
Join date: 19 Jul 2006
Posts: 370
11-25-2007 05:55
From: Debbie Trilling



Some code still needs to be added for where a AV doesn't have a profile picture, but am working on that...




I thought it maybe was showing my personality till I realized my alt didn't have a profile picture...
Masakazu Kojima
ケロ
Join date: 23 Apr 2004
Posts: 232
11-25-2007 09:16
From: Solar Alter
Can also do llName2Key and >>llKey2Name<< and because it directly interfaces with linden labs database, no need for w-hat. And no "No key found" messages, ever :)

Does it use search_proxy.php?s=People or something else? I made w-hat.com/name2key use the search as a backup and so far it's 100% misses.

From: Void Singer
Hey maybe you could strip that nice little part that does name to key out? or does it require another server to parse it? I'm sure several people would be happy to see that in use (although something tells me that SL will plug that hole for reasons I won't mention)

If it does use the search, you can opt out by unchecking the box in the profile window.
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
11-25-2007 11:29
From: Masakazu Kojima
If it does use the search, you can opt out by unchecking the box in the profile window.

wrong hole, I meant the exposed av key... I'll leave it as an exercise to the reader how that info might be abused by an outside source... and why LL wouldn't want that...
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
11-25-2007 13:21
oooooooooooooo very nice! You can use this to get a group name from the group key.
_____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime.
From: someone
I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum
Solar Alter
Registered User
Join date: 21 Nov 2007
Posts: 30
11-25-2007 13:44
You can get event information ( doesn't use a key, uses progressive integers, just keep going from 0 ) and everything thats available in any way on the SL search function through these sites.

From: someone

Does it use search_proxy.php?s=People or something else? I made w-hat.com/name2key use the search as a backup and so far it's 100% misses.


The way they sort is totally F* up. Personally I think agents should always be displayed first, even with no parameters. Yes, an example is:
http://secondlife.com/app/search/search?q=Jcool410%20Wildcat&s=People
But on the searches I've done, it seems to work fine.

edit: I can't stand this forum, look on the wiki page for the script for my reply
Masakazu Kojima
ケロ
Join date: 23 Apr 2004
Posts: 232
11-25-2007 13:59
Yeah but some people just don't come up.

Ex: http://secondlife.com/app/search/search?q=Operating+Thetan&s=People

From: Void Singer
wrong hole, I meant the exposed av key...

I am not sure I know what you're talking about, but if you uncheck "Show in Search" you (presumably) don't come up in the results at all, so it can't be used to discover your key.

edit: ok, I guess some people show "This resident has chosen to hide their profile from search" and some people just aren't in the results. I have no idea.
Solar Alter
Registered User
Join date: 21 Nov 2007
Posts: 30
11-25-2007 14:30
Hidden profiles appear in search, lookup Jana Kamachi. You can still get their key, just not their profile page. People without payment info show up, and he has payment info in any case.
His profile page is directly accessible. He just doesn't exist in search? This may be a bug, should prbly report it.
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
11-25-2007 14:53
From: Solar Alter
Hidden profiles appear in search, lookup Jana Kamachi. You can still get their key, just not their profile page. People without payment info show up, and he has payment info in any case.
His profile page is directly accessible. He just doesn't exist in search? This may be a bug, should prbly report it.

Definitely buggy. My crash test dummy; ILove Frankfurter(no payment info) shows up in People Search but doesn't using the search box or the script. Guess google still needs to do some work
_____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime.
From: someone
I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum
Solar Alter
Registered User
Join date: 21 Nov 2007
Posts: 30
11-25-2007 15:12
I'm fairly certain it isn't google doing the backend search engine. These pages are hosted on amazonS3, who has their own search api. Google = Insane $$.
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
11-25-2007 15:27
From: Solar Alter
I'm fairly certain it isn't google doing the backend search engine. These pages are hosted on amazonS3, who has their own search api. Google = Insane $$.

Been a long time since I looked at the viewer code but they may be using the freely available google AJAX seach API. I do know the map search was changed from thier own home brew to Google maps API. I'll ask on sldev.
_____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime.
From: someone
I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum
Solar Alter
Registered User
Join date: 21 Nov 2007
Posts: 30
11-25-2007 15:32
"freely available google AJAX seach API."........not for something like this, they would have a custom solution. If they are....LL fear my wrath.
Day Oh
Registered User
Join date: 3 Feb 2007
Posts: 1,257
11-25-2007 15:46
These:
1 2 3 4 5 6 7