|
madddyyy Schnook
SLGuides Virtual Worlds
Join date: 2 Jan 2006
Posts: 207
|
11-11-2008 05:48
Hi, i am trying ti attempt to make my first script, and i am having trouble reching the Profile Picks in my profile.
I seem not to be able to get to the picks as its too far away. i canly get 4096 characters, and the picks is beyond, i am totally stumped as to how people are reaching and checking picks.
the ac tual script will check at certain times to see if a pick exists, i have everything written but this eludes me.
Thanx in advance.
|
|
Dora Gustafson
Registered User
Join date: 13 Mar 2007
Posts: 779
|
11-11-2008 06:11
Take a look at this library script: http://wiki.secondlife.com/wiki/Random_AV_Profile_ProjectorIt gets a profile picture and put it on display. It is a very fancy script and probably not someone's first script 
_____________________
From Studio Dora
|
|
White Hyacinth
Registered User
Join date: 15 Nov 2006
Posts: 353
|
11-11-2008 06:53
Hmmm, sounds like quite a heavy project for your first script  I have run into a similar problem and solved it by using a script hosted somewhere outside of SL that gets the large file for me, then cuts off a lot of text I am not interested in and sends a smaller page to my script inside SL.
|
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
11-11-2008 08:47
you need to parse the world.secondlife.com/resident/<key> adress with an external PHP script, just use a regex expression to search for the title and a few key words in the front and have it return true or false if found or not... or if you want the whole text, have it return everything starting with the matching text title for the pick up to the next hyper link. AFAIK this is 100% reliable (knock on wood) PS, anyone know if there is a more recent 'new' search web address? the old one I have is http://secondlife.com/app/search/search.php?site=People&q=Avatarand doesn't seem to be available any more
_____________________
| | . "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... | - 
|