Difference between revisions of "User talk:Rolig Loon"

From Second Life Wiki
Jump to navigation Jump to search
(oops)
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{LSL Header}}
<div id="box" style = "padding: 0.5em">
[[Image:Lilac_Floral_Dress_011_v3_copy.jpg|right|300px|Yes, I made this floral spring dress.]]
Who am I?  Wander over to my [[User:Rolig_Loon|User]] page and find out.
<div id="box">
<br><br>
==About: Rolig Loon==
Asking for comments is like standing in public in your underwear ... the feedback you get can tell you more than you really want to know about yourself. Still, it beats staying at home and looking in a mirror. You <b>know</b> what feedback you'll get there.  Where's the excitement in that?
<div style="padding: 0.5em">
[[User:Rolig Loon|Rolig Loon]] 19:51, 2 May 2009 (UTC)
Clothing designer, builder, novice scripter ... Manager of the Info Island International and Only Yesterday sims, coordinator of Second Life Librarians Virtual Reference group (SLLVR).... Not a librarian in RL, but deeply involved with librarians in SL.<br>
</div>
RL is a mystery and I prefer to leave it that way, except to comment that although I'm <i>not</i> a professional programmer, I've been writing programs for my own purposes since the early Fortran IV days. I'm a quick study and I enjoy a good puzzle.
</div></div>
<div id="box">
== Scripts that Work (!) ==
<div style="padding: 0.5em">
{{forum post|ColorControl and ColorChange|319085}} - http://forums.secondlife.com/showthread.php?t=319085
</div></div>
<div id="box">
== Comments ==
== Comments ==
<div style="padding: 0.5em">
If you want to leave a comment, here's how ... <br>
Please leave me a note on my [[User_talk:Rolig_Loon|User Talk]] page. I can't promise to respond quickly, but I won't ignore youHonest.
<pre>=== Topic === <-- this line is optional
</div></div>
{{message}} Type your comment here, and then type
~~~~ <-- will be replaced by User Name + Time Stamp automatically</pre>
 
Vill veta mer om "Så Roligt" på Regent Street.
Hej
Jag heter Vanadis Falconer och bloggar på Vanadis ser på saken/http://vanadisser.blogspot.com/
Hittade er affär på Regens Street av en slump. Har länge sökt efter kläder för den europeiska skandinaviska kvinnan. Är ganska trött på fnaskfillorna som dräller över allt i Sl och blev glad av att se ditt sortiment. men jag skulle vilja veta lite mer om "varför just London, varför ser kläderna ut som de gör osv
IM:a mig Vanadis Falconer eller mejla vanadisfalconer@gmail.com och berätta lite mer
Ta vara på
Vandis
 
förmodar att du är svensk men skickar med en Googleöversättning för säkerhets skull
Want to know more about "Så Roligt" in Regent Street.
Hello
I called Vanadis Falconer and blogs at Vanadis see it / http: / / vanadisser.blogspot.com /
Found your business on Regen Street by chance. Have been searching for clothing for the European Scandinavian woman. 'm Pretty tired of hookers clothing  everywhere in Sl and was pleased to see your range. But I would like to know more about "why London, why do clothes like they do, etc.
IM me a Vanadis Falconer or email vanadisfalconer@gmail.com andtell me more
Take care
Vanadis
 
===A query on your example===
Hello Rolig. I'm trying to fix a number of sample scripts on SL Wiki that don't even compile.  Most of these have been corrupted by Kireji Haiku.  He corrupted one of yours, but looking at it I think your original logic was faulty.  Would you mind checking?  It's the last example on llGetInventoryPermMask. I'm pasting your original here so you don't have to wade back through revisions on the WikiMy concern is this: 
<lsl>
//Notice that PERM_COPY and PERM_TRANSFER are combined with a bitwise & in this test.
if (((PERM_COPY & PERM_TRANSFER) & llGetInventoryPermMask(myitem, MASK_OWNER)) == 0)
</lsl>
As  (PERM_COPY & PERM_TRANSFER) will always result in ZERO, that whole statement will always be true
Of course, it makes no difference to the results of the script, but is confusing :)
<lsl>
default
{
    touch_start(integer num)
    {
        integer i;
        while (i < llGetInventoryNumber(INVENTORY_OBJECT))
        {
            string myitem = llGetInventoryName(INVENTORY_OBJECT,i);
            //Notice that PERM_COPY and PERM_TRANSFER are combined with a bitwise & in this test.
            if (((PERM_COPY & PERM_TRANSFER) & llGetInventoryPermMask(myitem, MASK_OWNER)) == 0)
            {
                integer ownerPerms = llGetInventoryPermMask(myitem, MASK_OWNER);
 
                if (!(PERM_COPY & ownerPerms))
                    llSay(PUBLIC_CHANNEL, myitem + " is no copy");
 
                else if (!(PERM_TRANSFER & ownerPerms))
                    llSay(PUBLIC_CHANNEL, myitem + " is no transfer");
            }
            ++i;
        }
    }
}
</lsl>
 
[[User:Omei Qunhua|Omei Qunhua]] 02:10, 14 December 2012 (PST)

Latest revision as of 05:34, 14 December 2012

Who am I? Wander over to my User page and find out.

Asking for comments is like standing in public in your underwear ... the feedback you get can tell you more than you really want to know about yourself. Still, it beats staying at home and looking in a mirror. You know what feedback you'll get there. Where's the excitement in that? Rolig Loon 19:51, 2 May 2009 (UTC)

Comments

If you want to leave a comment, here's how ...

=== Topic === <-- this line is optional
{{message}} Type your comment here, and then type 
~~~~ <-- will be replaced by User Name + Time Stamp automatically

Vill veta mer om "Så Roligt" på Regent Street. Hej Jag heter Vanadis Falconer och bloggar på Vanadis ser på saken/http://vanadisser.blogspot.com/ Hittade er affär på Regens Street av en slump. Har länge sökt efter kläder för den europeiska skandinaviska kvinnan. Är ganska trött på fnaskfillorna som dräller över allt i Sl och blev glad av att se ditt sortiment. men jag skulle vilja veta lite mer om "varför just London, varför ser kläderna ut som de gör osv IM:a mig Vanadis Falconer eller mejla vanadisfalconer@gmail.com och berätta lite mer Ta vara på Vandis

förmodar att du är svensk men skickar med en Googleöversättning för säkerhets skull Want to know more about "Så Roligt" in Regent Street. Hello I called Vanadis Falconer and blogs at Vanadis see it / http: / / vanadisser.blogspot.com / Found your business on Regen Street by chance. Have been searching for clothing for the European Scandinavian woman. 'm Pretty tired of hookers clothing everywhere in Sl and was pleased to see your range. But I would like to know more about "why London, why do clothes like they do, etc. IM me a Vanadis Falconer or email vanadisfalconer@gmail.com andtell me more Take care Vanadis

A query on your example

Hello Rolig. I'm trying to fix a number of sample scripts on SL Wiki that don't even compile. Most of these have been corrupted by Kireji Haiku. He corrupted one of yours, but looking at it I think your original logic was faulty. Would you mind checking? It's the last example on llGetInventoryPermMask. I'm pasting your original here so you don't have to wade back through revisions on the Wiki. My concern is this: <lsl> //Notice that PERM_COPY and PERM_TRANSFER are combined with a bitwise & in this test. if (((PERM_COPY & PERM_TRANSFER) & llGetInventoryPermMask(myitem, MASK_OWNER)) == 0) </lsl> As (PERM_COPY & PERM_TRANSFER) will always result in ZERO, that whole statement will always be true Of course, it makes no difference to the results of the script, but is confusing :) <lsl> default {

   touch_start(integer num)
   {
       integer i;
       while (i < llGetInventoryNumber(INVENTORY_OBJECT))
       {
           string myitem = llGetInventoryName(INVENTORY_OBJECT,i);
           //Notice that PERM_COPY and PERM_TRANSFER are combined with a bitwise & in this test.
           if (((PERM_COPY & PERM_TRANSFER) & llGetInventoryPermMask(myitem, MASK_OWNER)) == 0)
           {
               integer ownerPerms = llGetInventoryPermMask(myitem, MASK_OWNER);
               if (!(PERM_COPY & ownerPerms))
                   llSay(PUBLIC_CHANNEL, myitem + " is no copy");
               else if (!(PERM_TRANSFER & ownerPerms))
                   llSay(PUBLIC_CHANNEL, myitem + " is no transfer");
           }
           ++i;
       }
   }

} </lsl>

Omei Qunhua 02:10, 14 December 2012 (PST)