Jump to content

Ghostwitness

Resident
  • Posts

    19
  • Joined

  • Last visited

Posts posted by Ghostwitness

  1. 17 hours ago, Echelon Alcott said:

    I recently returned after a long period of time away from SL and went through the process of updating my avie and bring the complexity down.

    Three places where I found good hair are: Modulus (Movado), Stealthic (Rapture) and WINGSDG (The Sign).

    I personally use Modulus, but Stealthic has a neat feature where a hair has different styles and they can be configured to change (you pick the styles and the time interval for the change).

    Sorry I cannot help with beard; I'm using the one that came with my Lelutka head and I'm happy with it.

    Hope this helps!

    Went with Stealthic. Looks great, lowered my complexity dramatically. Thanks for info!

  2. I’m in process of updating my avatar from 7 years ago. I have a Gianni body and Catwa head.

    I’m looking to replace my hair as it’s adding 30000 to my current complexity. Are there any good shops for men’s hair and beards?

  3. I’m in process of updating my avatar from 7 years ago. I have a Gianni body and Catwa head.

    I’m looking to replace my hair as it’s adding 30000 to my current complexity. Are there any good shop for men’s hair and beards?

  4. Having recently returned from a six year break I find myself with old clothing/accessories with a complexity of 125000 to 150000 depending on what I try to wear. 

    No prim items on me, although my inventory is full of prim and high complexity mesh clothing.

    Not wanting to dish out a ton of money, I’ve gone with a $L1 Altamura bento body and parts. My clothes need a complete revamp.

    Where is a guy to go for low complexity clothes at discount prices that will work on my discount body?

  5. All fixed up thanks to Freya!

    Here's the working script if anyone is interested. I'll be cleaning it up a bit for my version and making a few cosmetic changes, but it works :)

    // leave music_url blank if set in object's descriptionstring music_url = "http://66.7.214.7:8064"; key HTTPRequest;string feed;string URL;string currSongTitle;string lastSongTitle;list feedList;default{    state_entry()    {        llSetText(" ",<1,1,1>,1);        llSetTimerEvent(5.0);            if(music_url)         {            URL = music_url;        } else {            URL = llGetObjectDesc();        }    }    timer()    {        HTTPRequest=llHTTPRequest(URL + "/7.html HTTP/1.0\nUser-Agent: LSL Script (Mozilla Compatible)\n\n",[],"");    }http_response(key k,integer status, list meta, string body)    {    //llOwnerSay((string)status + " : " + llGetSubString(body,63 + 3, 63 + 3));        if(status != 200)        {            llSetColor(<0.067, 0.067, 0.067>, ALL_SIDES);             llSetText("",<0,0,0>,0);            //REMOVED 'return;'        }        else        {            if(llGetSubString(body,63 + 3,63 + 3) == "0")            {                lastSongTitle = "-1";                currSongTitle = "-2";                llSetColor(<0.067, 0.067, 0.067>, ALL_SIDES);                 llSetText("",<0,0,0>,0);            }            else            {               feed = llGetSubString(body,llSubStringIndex(body, "<body>") + llStringLength("<body>"), llSubStringIndex(body,"</body>") - 1);                feedList = llParseString2List(feed,[","],[]);                currSongTitle = llList2String(feedList,6);                integer length = llGetListLength(feedList);                        if(llList2String(feedList,7))                {                    integer a = 7;                    for(; a<length; ++a)                    {                        currSongTitle += ", " + llList2String(feedList,a);                    }                }                         if (currSongTitle != lastSongTitle)                {                    llSetText(currSongTitle,<1,1,1>,0.75);                    llSetColor(<1.000, 1.000, 1.000>, ALL_SIDES);                     lastSongTitle = currSongTitle;                }            }       }  //LINE ADDED    }}

     

  6. It still does nothing. Here is the complete code as it stands. You've been a great help, I'm really sorry to take up your time, but I'm incompetent :)

     

    // leave music_url blank if set in object's descriptionstring music_url = "http://66.7.214.7:8064"; key HTTPRequest;string feed;string URL;string currSongTitle;string lastSongTitle;list feedList;default{    state_entry()    {        llSetText(" ",<1,1,1>,1);        llSetTimerEvent(5.0);            if(music_url)         {            URL = music_url;        } else {            URL = llGetObjectDesc();        }    }    timer()    {        HTTPRequest=llHTTPRequest(URL + "/7.html HTTP/1.0\nUser-Agent: LSL Script (Mozilla Compatible)\n\n",[],"");    }http_response(key k,integer status, list meta, string body)    {        if(status != 200 || llGetSubString(body,63 + 3,63 + 3) == "0")    //FIXED KEY TEST, AS POST ABOVE FROM Nova Convair        {            llSetColor(<0.067, 0.067, 0.067>, ALL_SIDES);             //REMOVED 'return;'        }        else //LINE ADDED        { //LINE ADDED        feed = llGetSubString(body,llSubStringIndex(body, "<body>") + llStringLength("<body>"), llSubStringIndex(body,"</body>") - 1);        feedList = llParseString2List(feed,[","],[]);        currSongTitle = llList2String(feedList,6);        integer length = llGetListLength(feedList);                if(llList2String(feedList,7))        {            integer a = 7;            for(; a<length; ++a)            {                currSongTitle += ", " + llList2String(feedList,a);            }        }                 if (currSongTitle != lastSongTitle)        {            llSetText(currSongTitle,<1,1,1>,0.75);            llSetColor(<1.000, 1.000, 1.000>, ALL_SIDES);             lastSongTitle = currSongTitle;        }       }  //LINE ADDED    }}

     

  7. When stream is turned off --> Animated Belt Buckle: 2014-03-07T15:45:43.312322Z: >0,0,22,100,0,128,blink-182 - First Date</body></html>

    - Seems to be displaying last song played

    When stream is on with no song --> Animated Belt Buckle: 2014-03-07T15:46:53.327011Z: >0,1,22,100,0,128,blink-182 - First Date</body></html>

    - Still appears to display the last song played

    When streaming with a song on -->  Animated Belt Buckle: 2014-03-07T15:48:18.314447Z: >0,1,22,100,0,128,Bob Seger - Her Strut</body></html>

    - Displays current song

  8. When off --> Animated Belt Buckle: 2014-03-07T15:35:53.992924Z: <HTML><meta http-equiv="Pragma" content="no-cache"></head><body>0

    When on with no song playing -->  Animated Belt Buckle: 2014-03-07T15:37:13.985207Z: <HTML><meta http-equiv="Pragma" content="no-cache"></head><body>0

    When on with a song playing --> Animated Belt Buckle: 2014-03-07T15:38:29.001873Z: <HTML><meta http-equiv="Pragma" content="no-cache"></head><body>0

     

    Seems to be the same no matter what. Yet song still displays in floating text while playing and updates when new song comes on.

     

  9. I'm trying to do something really simple. I want to check to see if my music feed is active and if it is, set the prim color to white. If the feed is not active, set it to black. This would need to check every say 5 minutes or something. What I'm doing is a belt buckle with an ON AIR sign on it that lights up when I am on. I borrowed this code from another tread and thought I understood it enough, but it doesn't see to do anything when the feed is off. Perhaps this script is overkill, I dunno, not a big scripter.

    Any help would be appreciated :)

     

    // leave music_url blank if set in object's description
    string music_url = "http://66.7.214.7:8064"; 
    
    key HTTPRequest;
    string feed;
    string URL;
    string currSongTitle;
    string lastSongTitle;
    list feedList;
    
    default
    {
        state_entry()
        {
            llSetText(" ",<1,1,1>,1);
            llSetTimerEvent(5.0);
        
            if(music_url) 
            {
                URL = music_url;
            } else {
                URL = llGetObjectDesc();
            }
        }
    
        timer()
        {
            HTTPRequest=llHTTPRequest(URL + "/7.html HTTP/1.0\nUser-Agent: LSL Script (Mozilla Compatible)\n\n",[],"");
        }
    
        http_response(key k,integer status, list meta, string body)
        {
            if(k != HTTPRequest) 
            {
                llSetColor(<0.067, 0.067, 0.067>, ALL_SIDES); 
                return;
            }
    
            feed = llGetSubString(body,llSubStringIndex(body, "<body>") + llStringLength("<body>"), llSubStringIndex(body,"</body>") - 1);
            feedList = llParseString2List(feed,[","],[]);
            currSongTitle = llList2String(feedList,6);
            integer length = llGetListLength(feedList);
            
            if(llList2String(feedList,7))
            {
                integer a = 7;
                for(; a<length; ++a)
                {
                    currSongTitle += ", " + llList2String(feedList,a);
                }
            }
             
            if (currSongTitle != lastSongTitle)
            {
                llSetText(currSongTitle,<1,1,1>,0.75);
                llSetColor(<1.000, 1.000, 1.000>, ALL_SIDES); 
                lastSongTitle = currSongTitle;
            }
        }
    }

     

×
×
  • Create New...