Jump to content

Leo Cloud

Resident
  • Posts

    52
  • Joined

  • Last visited

Posts posted by Leo Cloud

  1. 18 minutes ago, Lyssa Greymoon said:

    AMD HD graphics are ancient, you don't want any part of a Mac with that in it. The Mini with HD6630M graphics is from 2011. It might start SL, but it's going to be unusable.

    The 2020 M1 Mini will run SL just fine. That's the only Mini you should buy if you're going to run SL on it.

    thanks would this run firestorm? not the second life viewer

  2. Hi I am wondering if its possible to run firestorm on the latest mac mini hardware 2020 I know that it would be low graphics(that doesn't bother me) but do I need a dedicated graphics to even start firestorm or can I get away with for example Apple Mac Mini Intel®Core™i7 AMD Radeon HD 6630M Graphics?

    • Haha 1
  3. On 12/23/2020 at 5:10 AM, Rolig Loon said:

    Check to be sure that you have listed your sound files correctly in vLstSndNms. Then consider adding a couple of diagnostic llOwnerSay messages in your collision_start and collision_end events and in the timer event, so see whether vIdxSndNum really advances properly once you're in the timer event.  That's where the second sound clip should be playing.  I suspect that you copied something incorrectly.

    ok I will give that a go

  4. 22 hours ago, Rolig Loon said:

    What doesn't work?  If you are trying to play sound clips that are longer than 10 seconds, no, they will not work.  If that's not what you meant, what "isn't working" about Void's script? Or did you mean that something isn't working in a script that you wrote?

    I have cut the song under 10 seconds but when i put it in a box and wear it it only plays the first 9 seconds of the first clip but wont go to the next clip if that makes sense

  5. On 12/14/2020 at 3:09 AM, Rachel1206 said:

    You are answering an eleven years old thread, where someone answered two years ago...

    I am not sure, it is clear, what you want. The is no limitation except memory of the song list in @Void Singer's original code. The limitation of a sound file is just below 10 seconds (9.7 if I remember correct), in order to play longer a sound longer than 10 seconds, you must split the original sound file into elements of max length of just below 10 seconds and do as Void showed.

     

    I know this but with the script it doesn't work is what i am saying

  6. On 9/8/2020 at 7:58 AM, Caffinna said:

    My mini PC "Minisforum Z83-F" has been able to upload and download everything on the Second Life including blender and now Avastar. I was surprise how well it's been doing.  I'm not endorsing but rather I'm simply sharing and posting how I'm keeping the cost low.   

    Hi there what is your specs of your mini pc?

  7. 18 hours ago, Xiija said:

    if you are using the pad function i showed, you can pad each line by ... using it?

     gBuildText += pad(   "Grid: " + cutString(body, "status")    );
     gBuildText +=  pad(  "Inworld: " + cutString(body, "inworld")     );

     

    to move something up, just change the order it is added to the list...

    so from


     gBuildText +=  cutString(commitData, "title");
    gBuildText +=  cutString(commitData, "link");
    gBuildText +=  cutString(commitData, "pubDate");

     

    change to

     gBuildText +=  cutString(commitData, "title");
    gBuildText +=  cutString(commitData, "pubDate"); // this was moved up
     gBuildText +=  cutString(commitData, "link");

     

    to remove something, just don't add it in...

    delete the  ...  gBuildText += ... line you don't want.

     

    hope this helps

    27e4c6237cb007fe256e725488b5ea0a.png

     

    yes this helped alot but when I remove a line this is what happened is there something I am missing?

    forum.png

  8. 7 minutes ago, Sabrina Tamerlane said:

    You can do that with this function: http://wiki.secondlife.com/wiki/LlListInsertList

    Do I just copy this code here into my script or?

    list numbers = [3, "three", 2, "two", 1, "one"];
    default
    {
        state_entry()
        {
            llOwnerSay(llDumpList2String(numbers, ","));
            // Object: 3,three,2,two,1,one
            integer index = llListFindList(numbers, [2]);
            if (index != -1)
            {
                numbers = llListInsertList(numbers, [2.5, "two and a half"], index);
                llOwnerSay(llDumpList2String(numbers, ","));
                // Object: 3,three,2.500000,two and a half,2,two,1,one
            }
        }
    }
  9. 9 minutes ago, Xiija said:

    not sure how to mark a spoiler, but here is the centering bit for adding spaces...

    then you could just do ...

      string title = pad("Second Life Grid Status");

    to center that text?

    I would like to center everything in the middle and move the date up under the word of scheduled server maintenance the loading..... at the end of logged in past 60 days am i able to get rid of that I did change it from 60 to 30 days

     

  10. 1 hour ago, Sabrina Tamerlane said:

    Your script is not running. Check the Running and Mono boxes.

    with now playing with the script I now have this but I have three qestions for you

    am I able to enter the text down and center it?

    and at the top of updated I wanted to have text that would say second life grid status? what is the script for this?

    just after the 06- 24T13:40:11.126192Z am i able to remove this?

    I am slow but surely understanding scripting :D

    forum.png

    • Like 1
  11. 42 minutes ago, Sabrina Tamerlane said:

    When it was working, your script was finishing like this:

     

    
            else if (request_id == gHttpRequestId2)
            {
                if (status == 200 && llSubStringIndex(body, "<item>") != -1)
                {
                    string commitData = cutString(body, "item");
                    gBuildText += "\n---\n" + cutString(commitData, "title");
                    gBuildText += "\n" + cutString(commitData, "link");
                    gBuildText += "\n" + cutString(commitData, "pubDate");
                }
                llSetText(gBuildText, <1,1,1>, 1);
            }
        
    
        }
    } 

    At the end you had 3 '}'. Where are they now?

    When you write a script you put lines into blocks. A line is ended by ';' and a block begins with '{' and finishes with '}'. If the compiler complains, it is because it can neither recognize a line or a block. The 3 '}' at the end mean that 3 blocks are finishing. One of them comes is the else block, one other is the http_response block and the last one is the state default. When a block starts it begins with a '{' and finishes with a '}'.

    I got that correct but now nothing comes up on the board when i clicked save that is what happened

     

    forum.png

  12. 1 hour ago, Sabrina Tamerlane said:

    You should check that you have as many opening brackets  '{' than closing ones '}'.

    do you mean something like this or am i doing it wrong?

    forum.png

  13. 2 hours ago, Sabrina Tamerlane said:

    You are almost there but it's not finished. Replace this line:

    
                llMessageLinked(LINK_THIS,DISPLAY_STRING, gBuildText,"0");

    with these 2 lines:

    
                list lines = llParseString2List(gBuildText, ["\n"], []) ;
                llMessageLinked(LINK_THIS,DISPLAY_STRING, llList2String(lines, 0),"0");

    As you can see we use llParseString2List to break the text in multiple lines. This should display the first line.

    i know I am using this forum alot but this just looks strange I hate asking a stupid qestions but its the only way for me to learn I really wish that there was a scripting class in second life I am not sure why this bracket is showing an error

    forum.png

  14. 4 hours ago, Sabrina Tamerlane said:

    Oh, I knew that problem would arise but I didn't tell you because that would have been too much to handle.

    
    llMessageLinked(LINK_THIS,DISPLAY_STRING, gBuildText,"0");

    This prints the text on the first line of the board. If you wanted to print on the second life then you need to replace the "0" with a "1", because lines are numbered "0", "1", "2" and so on...

    So you have got some homework to do before it works.

    One way is to find how many characters are actually printed on the first line. You can do that manually by counting them or by looking at the documentation or the source code.

    Once you know how long is a line then you need to split your string in shorter strings so that it would fit on the board.

    But there is a simpler way, by using this function: http://wiki.secondlife.com/wiki/LlParseString2List

    It should be a good idea to use "\n" as separator.

    Once you have your list then you just need to loop over it and print each line on the board.

    So, first things first, you should use llParseString2List()

    Then you will need to count how many elements are in the list.

    And third you will need to use a for loop to display each element in the list line by line

     

     

    thjanks for helping me so much I donno what I would do :)

  15. ok I was able to fix my problem I messed up the script somehow now it works but the problem is the board is not showing the full text only the end of the text is there a type of script that will fix this?

    forum.png

    • Like 1
  16. 20 minutes ago, Sabrina Tamerlane said:

    DISPLAY_NAME is defined at the top of your file, it should be ok. Maybe someone else can figure what is going wrong?

    thankyou so much for helping me

  17. 1 hour ago, Sabrina Tamerlane said:

    Oh, that was the closing brace from the next line! You need that one. I suggest you do it again. Take back the script that was working and add the line again. Because the error displayed says (75, 132) where 75 is the line number of the error, and 132 is the column number. So, there must be some garbage after that brace. I didn't think much of it when you have shown that error but now I realize that it was not caused by the brace, but by something else after it. You could double click on the error to see what it was but the simplest is to restart from where it was working and add the line another time.

    now it says name define within scope I take it i need to enter link this display string and what do I link it too?

  18. 1 hour ago, Sabrina Tamerlane said:

    Why would you add a closing brace at the end of the line?

    that was an error even without the closing line i still get the error

    forum.png

×
×
  • Create New...