<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-25938</id>
	<title>Nabble - SecondLife Scripters</title>
	<updated>2009-11-27T20:11:51Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/SecondLife-Scripters-f25938.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/SecondLife-Scripters-f25938.html" />
	<subtitle type="html">A place to share tips and resources with other Second Life Residents whose primary occupation in-world is scripting.
&lt;br&gt;&lt;br&gt;&lt;b&gt;To Sign Up:&lt;/b&gt;&amp;nbsp;&lt;a href=&quot;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Visit our subscription page&lt;/a&gt;&amp;nbsp;to join the SL scripting list.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26550394</id>
	<title>RE: Restricting script transfers</title>
	<published>2009-11-27T20:11:51Z</published>
	<updated>2009-11-27T20:11:51Z</updated>
	<author>
		<name>Fred Allandale</name>
	</author>
	<content type="html">Thanks everyone for the suggestions. &amp;nbsp;You've given me some great ideas to
&lt;br&gt;ponder.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;Message: 1
&lt;br&gt;&amp;gt;Date: Fri, 27 Nov 2009 12:49:17 -0700
&lt;br&gt;&amp;gt;From: &amp;quot;Fred Allandale&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26550394&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Fred_Allandale@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;To: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26550394&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;secondlifescripters@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;Message-ID: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26550394&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;BLU0-SMTP358B7A0FEADE3C5376D7F5ED9A0@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;Content-Type: text/plain;	charset=&amp;quot;us-ascii&amp;quot;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;I want to license some scripts I have created to developers and allow them
&lt;br&gt;&amp;gt;to incorporate them into products they in turn sell. I want to prevent the
&lt;br&gt;&amp;gt;end users who buy the developer's products containing my scripts, from
&lt;br&gt;&amp;gt;further transfers such as by using them in products they sell or
&lt;br&gt;&amp;gt;selling/giving them to others. &amp;nbsp;What I am essentially looking for is a way
&lt;br&gt;&amp;gt;to prevent multiple sequential tranfers, but the current permission system
&lt;br&gt;&amp;gt;does not have a &amp;quot;next, next&amp;quot; owner permission, nor is there there any way
&lt;br&gt;&amp;gt;for a script to change the next owner permission to no-trans.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Note that, in this case, it is not necessary (or desireable) for either the
&lt;br&gt;&amp;gt;developer or end user to see or modify the script source code (all
&lt;/div&gt;interface
&lt;br&gt;&amp;gt;is via linked messages), so the scripts can be no-mod.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;I have considered approaches such as selling developers multiple copies of
&lt;br&gt;&amp;gt;the scripts with no-mod, no-copy, transfer next owner permissions, or
&lt;br&gt;simply
&lt;br&gt;&amp;gt;trusting the developer to set the next owner permission to no-trans before
&lt;br&gt;&amp;gt;incorporating in products he sells. &amp;nbsp;Both of these have serious drawbacks,
&lt;br&gt;&amp;gt;so I am seeking a more robust and transparent way to accomplish this. &amp;nbsp;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Any suggestions would be most appreciated.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Fred Allandale
&lt;br&gt;&amp;gt;Night Sky Creations
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Click here to unsubscribe or manage your list subscription:
&lt;br&gt;&lt;a href=&quot;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Restricting-script-transfers-tp26547064p26550394.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26549043</id>
	<title>Re: secondlifescripters Digest, Vol 44, Issue 10</title>
	<published>2009-11-27T15:20:11Z</published>
	<updated>2009-11-27T15:20:11Z</updated>
	<author>
		<name>Sasun Steinbeck</name>
	</author>
	<content type="html">&lt;div&gt;I recently released a tour HUD product that uses this approach. Since tour guides that buy the system need to be able to freely distribute customized tour HUDs to anyone that wants one, I do checks in the on_rez event that checks the scripts permissions. They MUST be set to no-copy to function at all, which will stop anyone that my customer gives the HUD to from freely redistributing the HUD. In my particular case it is perfectly fine if people get multiple HUDs from the tour guide (from a dispenser kiosk, etc.), but this scheme stops them from modifying the HUD and creating their own tour HUDs that they can redistribute, since the scripts are no-xfer. And there is strong wording in the docs to reinforce this part of the license agreement. So some variant of this technique might fit your needs and works well. Assuming no one uses an exploit to get a modifyable version of your scripts someday :\ but then, we&amp;#39;re all screwed anyways :)&lt;/div&gt;

&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Potentially a customer could just give away the full-perm version of the HUD/scripts to someone else that could then redistribute the HUD (using it for their own purposes) but other components of the system (such as the update server) are no-xfer, but still, I&amp;#39;m just relying on the goodwill of my customers in this case, since it would have to be willful malice for them to redistribute non-working tour HUDs in this fashion. They can&amp;#39;t resell multiple copies of the entire product so I&amp;#39;m happy with this level of protection.&lt;br&gt;
&lt;/div&gt;
&lt;div class=&quot;gmail_quote&quot;&gt;On Fri, Nov 27, 2009 at 1:49 PM, Indeterminate Schism &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26549043&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;indeterminatesl@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote style=&quot;BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex&quot; class=&quot;gmail_quote&quot;&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Re: Restricting script transfers&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;I use a simple check in the state_entry() for the default state.  The script will only work if 1) It belongs to me (I find it handy if my own stuff works!), OR 2) if is no-modify AND either no-copy or no-transfer.&lt;/div&gt;

&lt;div&gt; &lt;/div&gt;
&lt;div&gt;This prevents my &amp;#39;full perms&amp;#39; customer from passing the script on as full perms.  As it stands that would not prevent my customer&amp;#39;s customer from continuing to pass-on transfer-only versions of the script but they could only do so once per copy and would then need to buy another.  If that worried you then you can always change the state_entry() check.&lt;/div&gt;

&lt;div&gt; &lt;/div&gt;
&lt;div&gt;The advantages of this approach are that it can&amp;#39;t be bypassed with a script-reset, it doesn&amp;#39;t require access to an external site/SL object either to initialise it or to verify access and it has almost no overhead.  The disadvantages are, er, you don&amp;#39;t get to collect the data you probably would if you used those other methods.&lt;/div&gt;
&lt;br&gt;_______________________________________________&lt;br&gt;Click here to unsubscribe or manage your list subscription:&lt;br&gt;&lt;a href=&quot;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&lt;/a&gt;&lt;br&gt;
&lt;br&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Click here to unsubscribe or manage your list subscription:
&lt;br&gt;&lt;a href=&quot;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-secondlifescripters-Digest%2C-Vol-44%2C-Issue-10-tp26548208p26549043.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26548739</id>
	<title>Re: Restricting script transfers</title>
	<published>2009-11-27T14:39:42Z</published>
	<updated>2009-11-27T14:39:42Z</updated>
	<author>
		<name>JML-5</name>
	</author>
	<content type="html">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&gt;
&lt;html&gt;
&lt;head&gt;
  &lt;meta content=&quot;text/html;charset=ISO-8859-1&quot; http-equiv=&quot;Content-Type&quot;&gt;
  &lt;title&gt;&lt;/title&gt;
&lt;/head&gt;
&lt;body bgcolor=&quot;#ffffff&quot; text=&quot;#3333ff&quot;&gt;
&lt;font face=&quot;Tahoma&quot;&gt;When any item is transferred it triggers a
changed_owner event. You can increment a list with the users keys if
you like so. And you can modify the script functions at each new rez,
for each next user - disallow it, put the script into an empty state,
make it warn you, or whatever you like. I do it in scripted objects,
works well, never tried with scripts alone, but I suppose it is the
same (if not, very sorry).&lt;br&gt;
&lt;br&gt;
&lt;/font&gt;&lt;br&gt;
Fred Allandale a &amp;eacute;crit&amp;nbsp;:
&lt;blockquote cite=&quot;mid:BLU0-SMTP358B7A0FEADE3C5376D7F5ED9A0@phx.gbl&quot; type=&quot;cite&quot;&gt;
  &lt;pre wrap=&quot;&quot;&gt;I want to license some scripts I have created to developers and allow them
to incorporate them into products they in turn sell. I want to prevent the
end users who buy the developer's products containing my scripts, from
further transfers such as by using them in products they sell or
selling/giving them to others.  What I am essentially looking for is a way
to prevent multiple sequential tranfers, but the current permission system
does not have a &quot;next, next&quot; owner permission, nor is there there any way
for a script to change the next owner permission to no-trans.

Note that, in this case, it is not necessary (or desireable) for either the
developer or end user to see or modify the script source code (all interface
is via linked messages), so the scripts can be no-mod.

I have considered approaches such as selling developers multiple copies of
the scripts with no-mod, no-copy, transfer next owner permissions, or simply
trusting the developer to set the next owner permission to no-trans before
incorporating in products he sells.  Both of these have serious drawbacks,
so I am seeking a more robust and transparent way to accomplish this.  

Any suggestions would be most appreciated.

Fred Allandale
Night Sky Creations

_______________________________________________
Click here to unsubscribe or manage your list subscription:
&lt;a class=&quot;moz-txt-link-freetext&quot; href=&quot;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&lt;/a&gt;


  &lt;/pre&gt;
&lt;/blockquote&gt;
&lt;/body&gt;
&lt;/html&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Click here to unsubscribe or manage your list subscription:
&lt;br&gt;&lt;a href=&quot;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Restricting-script-transfers-tp26547064p26548739.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26548208</id>
	<title>Re: secondlifescripters Digest, Vol 44, Issue 10</title>
	<published>2009-11-27T13:49:17Z</published>
	<updated>2009-11-27T13:49:17Z</updated>
	<author>
		<name>Indeterminate Schism</name>
	</author>
	<content type="html">&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Re: Restricting script transfers&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;I use a simple check in the state_entry() for the default state.  The script will only work if 1) It belongs to me (I find it handy if my own stuff works!), OR 2) if is no-modify AND either no-copy or no-transfer.&lt;/div&gt;

&lt;div&gt; &lt;/div&gt;
&lt;div&gt;This prevents my &amp;#39;full perms&amp;#39; customer from passing the script on as full perms.  As it stands that would not prevent my customer&amp;#39;s customer from continuing to pass-on transfer-only versions of the script but they could only do so once per copy and would then need to buy another.  If that worried you then you can always change the state_entry() check.&lt;/div&gt;

&lt;div&gt; &lt;/div&gt;
&lt;div&gt;The advantages of this approach are that it can&amp;#39;t be bypassed with a script-reset, it doesn&amp;#39;t require access to an external site/SL object either to initialise it or to verify access and it has almost no overhead.  The disadvantages are, er, you don&amp;#39;t get to collect the data you probably would if you used those other methods.&lt;/div&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Click here to unsubscribe or manage your list subscription:
&lt;br&gt;&lt;a href=&quot;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-secondlifescripters-Digest%2C-Vol-44%2C-Issue-10-tp26548208p26548208.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26547607</id>
	<title>Re: Restricting script transfers</title>
	<published>2009-11-27T12:46:30Z</published>
	<updated>2009-11-27T12:46:30Z</updated>
	<author>
		<name>Boroondas Gupte</name>
	</author>
	<content type="html">Fred Allandale schrieb:
&lt;br&gt;&amp;gt; What I am essentially looking for is a way
&lt;br&gt;&amp;gt; to prevent multiple sequential tranfers, but the current permission system
&lt;br&gt;&amp;gt; does not have a &amp;quot;next, next&amp;quot; owner permission, nor is there there any way
&lt;br&gt;&amp;gt; for a script to change the next owner permission to no-trans.
&lt;br&gt;There's a feature request for that in the pJIRA:
&lt;br&gt;&lt;a href=&quot;http://jira.secondlife.com/browse/SVC-2622&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.secondlife.com/browse/SVC-2622&lt;/a&gt;&amp;nbsp;Add permissions for
&lt;br&gt;owner-after-next
&lt;br&gt;&lt;br&gt;cheers
&lt;br&gt;Boroondas
&lt;br&gt;_______________________________________________
&lt;br&gt;Click here to unsubscribe or manage your list subscription:
&lt;br&gt;&lt;a href=&quot;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Restricting-script-transfers-tp26547064p26547607.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26547313</id>
	<title>Re: Restricting script transfers</title>
	<published>2009-11-27T12:16:06Z</published>
	<updated>2009-11-27T12:16:06Z</updated>
	<author>
		<name>Tigro Spottystripes</name>
	</author>
	<content type="html">There used to be a way of having a no-copy package that once rezzed
&lt;br&gt;would inherit the negative perms of it's contents, but only after
&lt;br&gt;rezzed..Aa &amp;nbsp;simple copy to be transfered multiple times while staying
&lt;br&gt;unique, and once the package is open to allow access to it's contents,
&lt;br&gt;the contents were actually no-trans +copy. I'm not sure if it still
&lt;br&gt;works, and i'm not sure if there would be a way of doing things inspired
&lt;br&gt;by this trick that would lead to the results you're going for.
&lt;br&gt;_______________________________________________
&lt;br&gt;Click here to unsubscribe or manage your list subscription:
&lt;br&gt;&lt;a href=&quot;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Restricting-script-transfers-tp26547064p26547313.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26547139</id>
	<title>Re: Restricting script transfers</title>
	<published>2009-11-27T11:58:21Z</published>
	<updated>2009-11-27T11:58:21Z</updated>
	<author>
		<name>Colleen Marjeta</name>
	</author>
	<content type="html">I'm using a licensing key system for this. &amp;nbsp;The scripts I give the developers are copy/transfer/no-mod. &amp;nbsp;However, in order to use it, the developer has to pass a valid license key to the script via linked message before it will operate... I validate that key on my server, and once their licenses are used up, they can't register any more. &amp;nbsp;So, it's basically not usable except by the specific developers.
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Nov 27, 2009, at 2:49 PM, Fred Allandale wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I want to license some scripts I have created to developers and allow them
&lt;br&gt;&amp;gt; to incorporate them into products they in turn sell. I want to prevent the
&lt;br&gt;&amp;gt; end users who buy the developer's products containing my scripts, from
&lt;br&gt;&amp;gt; further transfers such as by using them in products they sell or
&lt;br&gt;&amp;gt; selling/giving them to others. &amp;nbsp;What I am essentially looking for is a way
&lt;br&gt;&amp;gt; to prevent multiple sequential tranfers, but the current permission system
&lt;br&gt;&amp;gt; does not have a &amp;quot;next, next&amp;quot; owner permission, nor is there there any way
&lt;br&gt;&amp;gt; for a script to change the next owner permission to no-trans.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Note that, in this case, it is not necessary (or desireable) for either the
&lt;br&gt;&amp;gt; developer or end user to see or modify the script source code (all interface
&lt;br&gt;&amp;gt; is via linked messages), so the scripts can be no-mod.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I have considered approaches such as selling developers multiple copies of
&lt;br&gt;&amp;gt; the scripts with no-mod, no-copy, transfer next owner permissions, or simply
&lt;br&gt;&amp;gt; trusting the developer to set the next owner permission to no-trans before
&lt;br&gt;&amp;gt; incorporating in products he sells. &amp;nbsp;Both of these have serious drawbacks,
&lt;br&gt;&amp;gt; so I am seeking a more robust and transparent way to accomplish this. &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Any suggestions would be most appreciated.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Fred Allandale
&lt;br&gt;&amp;gt; Night Sky Creations
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Click here to unsubscribe or manage your list subscription:
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&lt;/a&gt;&lt;/div&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Click here to unsubscribe or manage your list subscription:
&lt;br&gt;&lt;a href=&quot;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Restricting-script-transfers-tp26547064p26547139.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26547064</id>
	<title>Restricting script transfers</title>
	<published>2009-11-27T11:49:17Z</published>
	<updated>2009-11-27T11:49:17Z</updated>
	<author>
		<name>Fred Allandale</name>
	</author>
	<content type="html">I want to license some scripts I have created to developers and allow them
&lt;br&gt;to incorporate them into products they in turn sell. I want to prevent the
&lt;br&gt;end users who buy the developer's products containing my scripts, from
&lt;br&gt;further transfers such as by using them in products they sell or
&lt;br&gt;selling/giving them to others. &amp;nbsp;What I am essentially looking for is a way
&lt;br&gt;to prevent multiple sequential tranfers, but the current permission system
&lt;br&gt;does not have a &amp;quot;next, next&amp;quot; owner permission, nor is there there any way
&lt;br&gt;for a script to change the next owner permission to no-trans.
&lt;br&gt;&lt;br&gt;Note that, in this case, it is not necessary (or desireable) for either the
&lt;br&gt;developer or end user to see or modify the script source code (all interface
&lt;br&gt;is via linked messages), so the scripts can be no-mod.
&lt;br&gt;&lt;br&gt;I have considered approaches such as selling developers multiple copies of
&lt;br&gt;the scripts with no-mod, no-copy, transfer next owner permissions, or simply
&lt;br&gt;trusting the developer to set the next owner permission to no-trans before
&lt;br&gt;incorporating in products he sells. &amp;nbsp;Both of these have serious drawbacks,
&lt;br&gt;so I am seeking a more robust and transparent way to accomplish this. &amp;nbsp;
&lt;br&gt;&lt;br&gt;Any suggestions would be most appreciated.
&lt;br&gt;&lt;br&gt;Fred Allandale
&lt;br&gt;Night Sky Creations
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Click here to unsubscribe or manage your list subscription:
&lt;br&gt;&lt;a href=&quot;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Restricting-script-transfers-tp26547064p26547064.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26483743</id>
	<title>RE: Edit object through code?</title>
	<published>2009-11-23T10:46:49Z</published>
	<updated>2009-11-23T10:46:49Z</updated>
	<author>
		<name>Ashley Etherington</name>
	</author>
	<content type="html">&lt;html&gt;
&lt;head&gt;

&lt;/head&gt;
&lt;body class='hmmessage'&gt;
&lt;br&gt;&lt;br&gt;&lt;hr id=&quot;stopSpelling&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; line-height: 16px; -webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px; &quot;&gt;&lt;a class=&quot;internal&quot; href=&quot;http://lslwiki.net/lslwiki/wakka.php?wakka=llSetPrimitiveParams&quot; style=&quot;color: rgb(153, 51, 51); &quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;llSetPrimitiveParams&lt;/a&gt;&amp;nbsp;can do that&amp;nbsp;&lt;a href=&quot;http://lslwiki.net/lslwiki/wakka.php?wakka=llSetPrimitiveParams&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lslwiki.net/lslwiki/wakka.php?wakka=llSetPrimitiveParams&lt;/a&gt;&lt;/span&gt; 		 	   		  &lt;br /&gt;&lt;hr /&gt;New! Receive and respond to mail from other email accounts from within Hotmail &lt;a href='http://clk.atdmt.com/UKM/go/186394593/direct/01/ ' target='_new' rel=&quot;nofollow&quot;&gt;Find out how.&lt;/a&gt;&lt;/body&gt;
&lt;/html&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Click here to unsubscribe or manage your list subscription:
&lt;br&gt;&lt;a href=&quot;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Edit-object-through-code--tp26483721p26483743.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26483721</id>
	<title>Edit object through code?</title>
	<published>2009-11-22T16:51:53Z</published>
	<updated>2009-11-22T16:51:53Z</updated>
	<author>
		<name>M. Brain</name>
	</author>
	<content type="html">Is it possible to change the path cut begin and end values through code?&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Thx&lt;/div&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Click here to unsubscribe or manage your list subscription:
&lt;br&gt;&lt;a href=&quot;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Edit-object-through-code--tp26483721p26483721.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26483637</id>
	<title>Re: Animated texture issue</title>
	<published>2009-11-22T08:45:46Z</published>
	<updated>2009-11-22T08:45:46Z</updated>
	<author>
		<name>Tim Shoebridge</name>
	</author>
	<content type="html">Have had similar probs with texture anims also: I developed animated window blinds that needed a similar process to yours but I gave up on animating textures. In the end I opted for small sequential prim resizing and repositioning in a loop to &amp;quot;squash&amp;quot; the blind out of the way. Only tricky part was rescaling the texture with each resize but that&amp;#39;s just math in the end. The effect was more realistic IMHO and you are not left with a transparent prim blocking the way that people get their cameras caught up on...&lt;div&gt;
&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Sun, Nov 22, 2009 at 1:00 AM, Montavious Peccable &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26483637&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;m.peccable@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;
I&amp;#39;m having a bit of an issue with an animated texture. I want to&lt;br&gt;
represent a curtain opening (as on a stage). My approach is to use two&lt;br&gt;
prims that have a texture which is an image of a curtain over half its&lt;br&gt;
area and completely transparent over the other half. I&amp;#39;m still in the&lt;br&gt;
testing stages so I&amp;#39;m working only on the right ha;f of the curtain.&lt;br&gt;
To open it, I use llSetTextureAnim(ANIM_ON | SMOOTH, ALL_SIDES, 2, 1,&lt;br&gt;
0, 2, 0.2) to make it take 5 seconds to go from the one half to the&lt;br&gt;
other. To close the curtain I change the starting frame to 1 and add&lt;br&gt;
REVERSE into the Or&amp;#39;ed flags.&lt;br&gt;
&lt;br&gt;
The result is incomprehensible. Usually the curtain simply seems to&lt;br&gt;
abruptly disappear or appear (i. e., SMOOTH is ignored). If I include&lt;br&gt;
LOOP in the flags it works fine - but of course it doesn&amp;#39;t look like a&lt;br&gt;
curtain opening or closing if it loops. During testing, I&amp;#39;ve found&lt;br&gt;
that sometimes, without LOOP specified, it wl do the abrupt change&lt;br&gt;
described above - and then, a few seconds later, suddenly start&lt;br&gt;
looping the animation on its own.&lt;br&gt;
&lt;br&gt;
I&amp;#39;ve tried explicitly turning animation off using llSetTextureAnim&lt;br&gt;
(FALSE, 2, 1, 0, 0, 0, 0, 0) and then turning it back on as above -&lt;br&gt;
that seems to have no effect.&lt;br&gt;
&lt;br&gt;
Am I doing somethng wrong, or does smooth, non-looping animation&lt;br&gt;
simply not work?&lt;br&gt;
&lt;br&gt;
Thanks,&lt;br&gt;
Monty&lt;br&gt;
_______________________________________________&lt;br&gt;
Click here to unsubscribe or manage your list subscription:&lt;br&gt;
&lt;a href=&quot;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&lt;/a&gt;&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Click here to unsubscribe or manage your list subscription:
&lt;br&gt;&lt;a href=&quot;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Animated-texture-issue-tp26461974p26483637.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26464733</id>
	<title>Re: Animated texture issue</title>
	<published>2009-11-22T04:07:33Z</published>
	<updated>2009-11-22T04:07:33Z</updated>
	<author>
		<name>Eloise Pasteur</name>
	</author>
	<content type="html">I don't play with this often but I seem to remember the same effect as you're describing. From memory I got out of it by resetting the script. I used something like the object description to determine if the curtain was currently open or not and play the right animation.
&lt;br&gt;&lt;br&gt;It might work as well with changing states but I never tried that.
&lt;br&gt;&lt;br&gt;El.
&lt;br&gt;&lt;br&gt;On 22 Nov 2009, at 01:00, Montavious Peccable wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I'm having a bit of an issue with an animated texture. I want to &amp;nbsp;
&lt;br&gt;&amp;gt; represent a curtain opening (as on a stage). My approach is to use two &amp;nbsp;
&lt;br&gt;&amp;gt; prims that have a texture which is an image of a curtain over half its &amp;nbsp;
&lt;br&gt;&amp;gt; area and completely transparent over the other half. I'm still in the &amp;nbsp;
&lt;br&gt;&amp;gt; testing stages so I'm working only on the right ha;f of the curtain. &amp;nbsp;
&lt;br&gt;&amp;gt; To open it, I use llSetTextureAnim(ANIM_ON | SMOOTH, ALL_SIDES, 2, 1, &amp;nbsp;
&lt;br&gt;&amp;gt; 0, 2, 0.2) to make it take 5 seconds to go from the one half to the &amp;nbsp;
&lt;br&gt;&amp;gt; other. To close the curtain I change the starting frame to 1 and add &amp;nbsp;
&lt;br&gt;&amp;gt; REVERSE into the Or'ed flags.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The result is incomprehensible. Usually the curtain simply seems to &amp;nbsp;
&lt;br&gt;&amp;gt; abruptly disappear or appear (i. e., SMOOTH is ignored). If I include &amp;nbsp;
&lt;br&gt;&amp;gt; LOOP in the flags it works fine - but of course it doesn't look like a &amp;nbsp;
&lt;br&gt;&amp;gt; curtain opening or closing if it loops. During testing, I've found &amp;nbsp;
&lt;br&gt;&amp;gt; that sometimes, without LOOP specified, it wl do the abrupt change &amp;nbsp;
&lt;br&gt;&amp;gt; described above - and then, a few seconds later, suddenly start &amp;nbsp;
&lt;br&gt;&amp;gt; looping the animation on its own.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I've tried explicitly turning animation off using llSetTextureAnim &amp;nbsp;
&lt;br&gt;&amp;gt; (FALSE, 2, 1, 0, 0, 0, 0, 0) and then turning it back on as above - &amp;nbsp;
&lt;br&gt;&amp;gt; that seems to have no effect.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Am I doing somethng wrong, or does smooth, non-looping animation &amp;nbsp;
&lt;br&gt;&amp;gt; simply not work?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; Monty
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Click here to unsubscribe or manage your list subscription:
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&lt;/a&gt;&lt;/div&gt;&lt;br&gt;&lt;a href=&quot;http://educationaldesigns.eloisepasteur.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://educationaldesigns.eloisepasteur.net/&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://eloisepasteur.net/blog/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://eloisepasteur.net/blog/&lt;/a&gt;&lt;br&gt;SL Education collaboration forum: &lt;a href=&quot;http://forum.eloisepasteur.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://forum.eloisepasteur.net/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Click here to unsubscribe or manage your list subscription:
&lt;br&gt;&lt;a href=&quot;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Animated-texture-issue-tp26461974p26464733.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26462440</id>
	<title>Re: Animated texture issue</title>
	<published>2009-11-21T18:49:50Z</published>
	<updated>2009-11-21T18:49:50Z</updated>
	<author>
		<name>Stickman-2</name>
	</author>
	<content type="html">&lt;a href=&quot;http://jira.secondlife.com/browse/VWR-16084&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.secondlife.com/browse/VWR-16084&lt;/a&gt;&lt;br&gt;&lt;br&gt;Best I can do for you. Give it a vote then? Does it list a workaround in there?
&lt;br&gt;&lt;br&gt;-Stickman
&lt;br&gt;&lt;br&gt;On Sat, Nov 21, 2009 at 5:00 PM, Montavious Peccable &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26462440&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;m.peccable@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I'm having a bit of an issue with an animated texture. I want to
&lt;br&gt;&amp;gt; represent a curtain opening (as on a stage). My approach is to use two
&lt;br&gt;&amp;gt; prims that have a texture which is an image of a curtain over half its
&lt;br&gt;&amp;gt; area and completely transparent over the other half. I'm still in the
&lt;br&gt;&amp;gt; testing stages so I'm working only on the right ha;f of the curtain.
&lt;br&gt;&amp;gt; To open it, I use llSetTextureAnim(ANIM_ON | SMOOTH, ALL_SIDES, 2, 1,
&lt;br&gt;&amp;gt; 0, 2, 0.2) to make it take 5 seconds to go from the one half to the
&lt;br&gt;&amp;gt; other. To close the curtain I change the starting frame to 1 and add
&lt;br&gt;&amp;gt; REVERSE into the Or'ed flags.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The result is incomprehensible. Usually the curtain simply seems to
&lt;br&gt;&amp;gt; abruptly disappear or appear (i. e., SMOOTH is ignored). If I include
&lt;br&gt;&amp;gt; LOOP in the flags it works fine - but of course it doesn't look like a
&lt;br&gt;&amp;gt; curtain opening or closing if it loops. During testing, I've found
&lt;br&gt;&amp;gt; that sometimes, without LOOP specified, it wl do the abrupt change
&lt;br&gt;&amp;gt; described above - and then, a few seconds later, suddenly start
&lt;br&gt;&amp;gt; looping the animation on its own.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I've tried explicitly turning animation off using llSetTextureAnim
&lt;br&gt;&amp;gt; (FALSE, 2, 1, 0, 0, 0, 0, 0) and then turning it back on as above -
&lt;br&gt;&amp;gt; that seems to have no effect.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Am I doing somethng wrong, or does smooth, non-looping animation
&lt;br&gt;&amp;gt; simply not work?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; Monty
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Click here to unsubscribe or manage your list subscription:
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;_______________________________________________
&lt;br&gt;Click here to unsubscribe or manage your list subscription:
&lt;br&gt;&lt;a href=&quot;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Animated-texture-issue-tp26461974p26462440.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26461974</id>
	<title>Animated texture issue</title>
	<published>2009-11-21T17:00:08Z</published>
	<updated>2009-11-21T17:00:08Z</updated>
	<author>
		<name>Montavious Peccable</name>
	</author>
	<content type="html">I'm having a bit of an issue with an animated texture. I want to &amp;nbsp;
&lt;br&gt;represent a curtain opening (as on a stage). My approach is to use two &amp;nbsp;
&lt;br&gt;prims that have a texture which is an image of a curtain over half its &amp;nbsp;
&lt;br&gt;area and completely transparent over the other half. I'm still in the &amp;nbsp;
&lt;br&gt;testing stages so I'm working only on the right ha;f of the curtain. &amp;nbsp;
&lt;br&gt;To open it, I use llSetTextureAnim(ANIM_ON | SMOOTH, ALL_SIDES, 2, 1, &amp;nbsp;
&lt;br&gt;0, 2, 0.2) to make it take 5 seconds to go from the one half to the &amp;nbsp;
&lt;br&gt;other. To close the curtain I change the starting frame to 1 and add &amp;nbsp;
&lt;br&gt;REVERSE into the Or'ed flags.
&lt;br&gt;&lt;br&gt;The result is incomprehensible. Usually the curtain simply seems to &amp;nbsp;
&lt;br&gt;abruptly disappear or appear (i. e., SMOOTH is ignored). If I include &amp;nbsp;
&lt;br&gt;LOOP in the flags it works fine - but of course it doesn't look like a &amp;nbsp;
&lt;br&gt;curtain opening or closing if it loops. During testing, I've found &amp;nbsp;
&lt;br&gt;that sometimes, without LOOP specified, it wl do the abrupt change &amp;nbsp;
&lt;br&gt;described above - and then, a few seconds later, suddenly start &amp;nbsp;
&lt;br&gt;looping the animation on its own.
&lt;br&gt;&lt;br&gt;I've tried explicitly turning animation off using llSetTextureAnim &amp;nbsp;
&lt;br&gt;(FALSE, 2, 1, 0, 0, 0, 0, 0) and then turning it back on as above - &amp;nbsp;
&lt;br&gt;that seems to have no effect.
&lt;br&gt;&lt;br&gt;Am I doing somethng wrong, or does smooth, non-looping animation &amp;nbsp;
&lt;br&gt;simply not work?
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Monty
&lt;br&gt;_______________________________________________
&lt;br&gt;Click here to unsubscribe or manage your list subscription:
&lt;br&gt;&lt;a href=&quot;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Animated-texture-issue-tp26461974p26461974.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26350208</id>
	<title>Re: any way to debug / monitor listens?</title>
	<published>2009-11-14T05:52:37Z</published>
	<updated>2009-11-14T05:52:37Z</updated>
	<author>
		<name>Domchi Underwood</name>
	</author>
	<content type="html">&lt;div class=&quot;gmail_quote&quot;&gt;On Sat, Nov 14, 2009 at 1:46 PM, Allen Partridge &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26350208&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;virtuallyhuman@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;

I&amp;#39;m wondering if there is any way to debug / watch the listens on a given object? I&amp;#39;m just trying to make sure all of my listens are properly closed on a fairly complex (read loads of conditionals) widget.&lt;br&gt;&lt;/blockquote&gt;

&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Well, you could use another scripted object to listen on your channels to monitor chatter, or to say stuff in order to test that listens on your object are indeed removed... apart from that, there is LSL-Editor (&lt;a href=&quot;http://www.lsleditor.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.lsleditor.org/&lt;/a&gt;) which supports off-world LSL debugging.&lt;/div&gt;

&lt;div&gt; &lt;/div&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;Also, is there really no switch / case? &lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;No. :) You use else ifs. Also, keep in mind that LSL is not short-circuited language, which means that all conditions in if are evaluated before continuing (right to left instead of left to right as is more common in popular languages). This means that nested ifs can be faster to execute for || conditions.&lt;/div&gt;

&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Click here to unsubscribe or manage your list subscription:
&lt;br&gt;&lt;a href=&quot;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/any-way-to-debug---monitor-listens--tp26349748p26350208.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26349748</id>
	<title>any way to debug / monitor listens?</title>
	<published>2009-11-14T04:46:12Z</published>
	<updated>2009-11-14T04:46:12Z</updated>
	<author>
		<name>Allen Partridge</name>
	</author>
	<content type="html">I&amp;#39;m wondering if there is any way to debug / watch the listens on a given object? I&amp;#39;m just trying to make sure all of my listens are properly closed on a fairly complex (read loads of conditionals) widget.&lt;br&gt;&lt;br&gt;Also, is there really no switch / case? &lt;br&gt;
&lt;br&gt;--Allen&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Click here to unsubscribe or manage your list subscription:
&lt;br&gt;&lt;a href=&quot;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/any-way-to-debug---monitor-listens--tp26349748p26349748.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26331165</id>
	<title>Re: scratching my head over linked prims and transform orientation</title>
	<published>2009-11-12T20:11:16Z</published>
	<updated>2009-11-12T20:11:16Z</updated>
	<author>
		<name>Eloise Pasteur</name>
	</author>
	<content type="html">I'm not sure if you're banging your head over that bug or something else.
&lt;br&gt;&lt;br&gt;I think the reported rot is the rotation of the bounding box. Presumably you can correctly calculate that... but I dread to think how. However if it's working properly llGetRotAtRoot or whatever it's called llGetRootRotation or something might help?
&lt;br&gt;&lt;br&gt;El.
&lt;br&gt;&lt;br&gt;On 13 Nov 2009, at 03:39, Tori C. wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Thu, Nov 12, 2009 at 9:48 PM, Allen Partridge
&lt;br&gt;&amp;gt;&amp;gt; The more i test it the more puzzled i become - just when i think the rule
&lt;br&gt;&amp;gt;&amp;gt; is, first selected becomes the reference for the orientation of the
&lt;br&gt;&amp;gt;&amp;gt; transform, then one comes along that seems to change the rule. ??
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Are you banging your head against the the SVC-93 bug by any chance?
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://jira.secondlife.com/browse/SVC-93&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.secondlife.com/browse/SVC-93&lt;/a&gt;&amp;nbsp; There are workarounds in the
&lt;br&gt;&amp;gt; comments,
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Click here to unsubscribe or manage your list subscription:
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&lt;/a&gt;&lt;/div&gt;&lt;br&gt;&lt;a href=&quot;http://educationaldesigns.eloisepasteur.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://educationaldesigns.eloisepasteur.net/&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://eloisepasteur.net/blog/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://eloisepasteur.net/blog/&lt;/a&gt;&lt;br&gt;SL Education collaboration forum: &lt;a href=&quot;http://forum.eloisepasteur.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://forum.eloisepasteur.net/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Click here to unsubscribe or manage your list subscription:
&lt;br&gt;&lt;a href=&quot;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/scratching-my-head-over-linked-prims-and-transform-orientation-tp26330437p26331165.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26330817</id>
	<title>Re: scratching my head over linked prims and transform orientation</title>
	<published>2009-11-12T19:39:19Z</published>
	<updated>2009-11-12T19:39:19Z</updated>
	<author>
		<name>Tori C.</name>
	</author>
	<content type="html">On Thu, Nov 12, 2009 at 9:48 PM, Allen Partridge
&lt;br&gt;&amp;gt; The more i test it the more puzzled i become - just when i think the rule
&lt;br&gt;&amp;gt; is, first selected becomes the reference for the orientation of the
&lt;br&gt;&amp;gt; transform, then one comes along that seems to change the rule. ??
&lt;br&gt;&lt;br&gt;Are you banging your head against the the SVC-93 bug by any chance?
&lt;br&gt;&lt;a href=&quot;http://jira.secondlife.com/browse/SVC-93&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.secondlife.com/browse/SVC-93&lt;/a&gt;&amp;nbsp; There are workarounds in the
&lt;br&gt;comments,
&lt;br&gt;_______________________________________________
&lt;br&gt;Click here to unsubscribe or manage your list subscription:
&lt;br&gt;&lt;a href=&quot;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/scratching-my-head-over-linked-prims-and-transform-orientation-tp26330437p26330817.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26330437</id>
	<title>scratching my head over linked prims and transform orientation</title>
	<published>2009-11-12T18:48:57Z</published>
	<updated>2009-11-12T18:48:57Z</updated>
	<author>
		<name>Allen Partridge</name>
	</author>
	<content type="html">So I&amp;#39;m working on a little something, and i wanted simply to ensure that all of my little objects (collections of linked prims) maintain a world relative orientation, so that when i auto-rez the little things, they&amp;#39;ll be right side up. I know i could rotate etc., but in this case i just thought it would be simpler as there are several variables involved. So I presumed (that was my mistake yes) that when linking parents to children, the orientation of the root transform would be obeyed. but now as i begin to test, it almost appears to be taking the &amp;#39;mean&amp;#39;? Or choosing the orientation based on some unknown? Seems not to choose the orientation of the first prim selected, nor the last prim selected? Can anybody tell me the rule? How is this determined? Is there any way to force it?&lt;br&gt;
&lt;br&gt;The more i test it the more puzzled i become - just when i think the rule is, first selected becomes the reference for the orientation of the transform, then one comes along that seems to change the rule. ??&lt;br&gt;&lt;br&gt;Thanks in advance,&lt;br&gt;
&lt;br&gt;Allen&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Click here to unsubscribe or manage your list subscription:
&lt;br&gt;&lt;a href=&quot;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/scratching-my-head-over-linked-prims-and-transform-orientation-tp26330437p26330437.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26295734</id>
	<title>Re: Reading a notecard times out</title>
	<published>2009-11-10T20:04:18Z</published>
	<updated>2009-11-10T20:04:18Z</updated>
	<author>
		<name>Glen Canaday</name>
	</author>
	<content type="html">&lt;div&gt;haha.. Dale&amp;#39;s not the only one who sees a problem ;P You definitely will need the number of lines. I honestly just think that you had a few asset server hiccups, but I haven&amp;#39;t a clue how you&amp;#39;d get it to time out. I&amp;#39;ve never once seen that in 3 years.&lt;/div&gt;

&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Someone else suggested a timer for it that would re-request a read on timeout. I think I can agree with that.&lt;br&gt;&lt;/div&gt;
&lt;div&gt;--GC&lt;/div&gt;
&lt;div&gt;&lt;br&gt; &lt;/div&gt;
&lt;div class=&quot;gmail_quote&quot;&gt;On Tue, Nov 10, 2009 at 7:31 PM, Maxxi Short &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26295734&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;maxxi@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid&quot;&gt;
&lt;div dir=&quot;ltr&quot; bgcolor=&quot;#ffffff&quot;&gt;
&lt;div&gt;&lt;font face=&quot;Arial&quot; size=&quot;2&quot;&gt;Good idea, Glen, and probably feasible while I only have a hundred or so lines in the notecard. Ultimately though, I&amp;#39;d like to have a thousand or more lines in the notecard, and only want to read in a random selection of a few dozen questions.&lt;/font&gt;&lt;/div&gt;

&lt;div&gt; &lt;/div&gt;
&lt;blockquote style=&quot;PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px&quot;&gt;
&lt;div class=&quot;im&quot;&gt;
&lt;div style=&quot;FONT: 10pt arial&quot;&gt;----- Original Message ----- &lt;/div&gt;
&lt;div style=&quot;BACKGROUND: #e4e4e4; FONT: 10pt arial&quot;&gt;&lt;b&gt;From:&lt;/b&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26295734&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gcanaday@...&lt;/a&gt; &lt;/div&gt;
&lt;div style=&quot;FONT: 10pt arial&quot;&gt;&lt;b&gt;To:&lt;/b&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26295734&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;secondlifescripters@...&lt;/a&gt; &lt;/div&gt;&lt;/div&gt;

&lt;div class=&quot;im&quot;&gt;
&lt;div style=&quot;FONT: 10pt arial&quot;&gt;&lt;b&gt;Sent:&lt;/b&gt; Tuesday, November 10, 2009 5:50 PM&lt;/div&gt;
&lt;div style=&quot;FONT: 10pt arial&quot;&gt;&lt;b&gt;Subject:&lt;/b&gt; Re: Reading a notecard times out&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div class=&quot;h5&quot;&gt;
&lt;div&gt;I can understand why you&amp;#39;d do it this way and I see the logic, but I&amp;#39;d probably read in the whole note, one line per list item, randomize the list, then toss out all but the first 10 questions with lDeleteSubList(list, 9, llGetListLength(list) - 1) or somesuch. Afterward I&amp;#39;d most likely parse the remaining 10 items into Q &amp;amp; A pairs and then move into normal operation without using the llGetNumberOfNotecardLines() call at all.&lt;/div&gt;

&lt;div&gt; &lt;/div&gt;
&lt;div&gt;I&amp;#39;ve never seen a timeout on a notecard read before.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;--GC&lt;br&gt;&lt;br&gt;&lt;/div&gt;
&lt;div class=&quot;gmail_quote&quot;&gt;On Sat, Nov 7, 2009 at 11:32 AM, &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26295734&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AnnMarie@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid&quot;&gt;
&lt;div bgcolor=&quot;#ffffff&quot;&gt;
&lt;div&gt;&lt;font face=&quot;Arial&quot; size=&quot;2&quot;&gt;It is not uncommon, especially in times of lag, for incoming data to arrive out of sequence.  It might help to add sequence numbers to the line data on the notecard and check the incoming sequence, then buffer locally.  I use techniques like this for all my http communications, and even some local object to object communicatioans.&lt;/font&gt;&lt;/div&gt;
&lt;/div&gt;&lt;br&gt;_______________________________________________&lt;br&gt;Click here to unsubscribe or manage your list subscription:&lt;br&gt;&lt;a href=&quot;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&lt;/a&gt;&lt;br&gt;
&lt;br&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;
&lt;hr&gt;

&lt;div class=&quot;im&quot;&gt;
&lt;p&gt;&lt;/p&gt;_______________________________________________&lt;br&gt;Click here to unsubscribe or manage your list subscription:&lt;br&gt;&lt;a href=&quot;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&lt;/a&gt;&lt;br&gt;
&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Click here to unsubscribe or manage your list subscription:
&lt;br&gt;&lt;a href=&quot;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Rotation-question-tp26195557p26295734.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26292413</id>
	<title>Re: Reading a notecard times out</title>
	<published>2009-11-10T14:25:00Z</published>
	<updated>2009-11-10T14:25:00Z</updated>
	<author>
		<name>Glen Canaday</name>
	</author>
	<content type="html">&lt;div&gt;@JB: Naught wrong with that at all! I use that very method on a couple of things since they have to store way more data than I&amp;#39;m comfy with in a single script.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;@ Dale: Yeah, it can be a waste of reading time, no doubt. Won&amp;#39;t get the problem in the original post tho! Thankfully I don&amp;#39;t make trivia games :D Her original problem&amp;#39;s just the asset server being a buttface on occasion. It happens to all of us at one point or another (and another).&lt;/div&gt;

&lt;div&gt; &lt;/div&gt;
&lt;div&gt;My biggest concern isn&amp;#39;t really the read-time but the amount of memory it eats. It&amp;#39;s temporary, and the memory can be freed by emptying the lists, but the initial surge could be more than the script engine can bear if the note&amp;#39;s big enough. I have a few items that skirt the edge a bit, my AO being one of them since it allows as many anims as memory will hold. I&amp;#39;m definitely thinking of splitting that up into a reader module and an execution module... as soon as I can replace my dead computer and get off of this loaner.&lt;/div&gt;

&lt;div&gt; &lt;/div&gt;
&lt;div&gt;--GC&lt;br&gt;&lt;br&gt;&lt;/div&gt;
&lt;div class=&quot;gmail_quote&quot;&gt;On Tue, Nov 10, 2009 at 5:09 PM, &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26292413&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jbhancroft@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid&quot;&gt;I&amp;#39;ve used an approach of having a separate script whose job is to read through the notecard(s), pre-process the text as needed, and have it available for other scripts to retrieve via llMessageLinked().&lt;br&gt;
&lt;br&gt;- JB&lt;br&gt;
&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div class=&quot;h5&quot;&gt;&lt;br&gt;------Original Message------&lt;br&gt;From: Dale Innis&lt;br&gt;Sender: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26292413&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;secondlifescripters-bounces@...&lt;/a&gt;&lt;br&gt;To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26292413&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;secondlifescripters@...&lt;/a&gt;&lt;br&gt;
Subject: Re: Reading a notecard times out&lt;br&gt;Sent: Nov 10, 2009 2:01 PM&lt;br&gt;&lt;br&gt;On Tue, Nov 10, 2009 at 12:50 PM, Glen Canaday &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26292413&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gcanaday@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&amp;gt; I can understand why you&amp;#39;d do it this way and I see the logic, but I&amp;#39;d&lt;br&gt;
&amp;gt; probably read in the whole note, one line per list item, randomize the list,&lt;br&gt;&amp;gt; then toss out all but the first 10 questions with lDeleteSubList(list, 9,&lt;br&gt;&amp;gt; llGetListLength(list) - 1) or somesuch. Afterward I&amp;#39;d most likely parse the&lt;br&gt;
&amp;gt; remaining 10 items into Q &amp;amp; A pairs and then move into normal operation&lt;br&gt;&amp;gt; without using the llGetNumberOfNotecardLines() call at all.&lt;br&gt;&lt;br&gt;The big disadvantage of that is that reading notecard lines can be&lt;br&gt;
reallllly slow; so reading zillions of them and then throwing away all&lt;br&gt;but ten would be a huge waste of elapsed time.&lt;br&gt;_______________________________________________&lt;br&gt;Click here to unsubscribe or manage your list subscription:&lt;br&gt;
&lt;a href=&quot;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;Sent via BlackBerry by AT&amp;amp;T&lt;br&gt;

&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div class=&quot;h5&quot;&gt;_______________________________________________&lt;br&gt;Click here to unsubscribe or manage your list subscription:&lt;br&gt;&lt;a href=&quot;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&lt;/a&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Click here to unsubscribe or manage your list subscription:
&lt;br&gt;&lt;a href=&quot;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Rotation-question-tp26195557p26292413.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26292179</id>
	<title>Re: Reading a notecard times out</title>
	<published>2009-11-10T14:09:45Z</published>
	<updated>2009-11-10T14:09:45Z</updated>
	<author>
		<name>jbhancroft</name>
	</author>
	<content type="html">I've used an approach of having a separate script whose job is to read through the notecard(s), pre-process the text as needed, and have it available for other scripts to retrieve via llMessageLinked(). 
&lt;br&gt;&lt;br&gt;- JB
&lt;br&gt;&lt;br&gt;------Original Message------
&lt;br&gt;From: Dale Innis
&lt;br&gt;Sender: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26292179&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;secondlifescripters-bounces@...&lt;/a&gt;
&lt;br&gt;To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26292179&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;secondlifescripters@...&lt;/a&gt;
&lt;br&gt;Subject: Re: Reading a notecard times out
&lt;br&gt;Sent: Nov 10, 2009 2:01 PM
&lt;br&gt;&lt;br&gt;On Tue, Nov 10, 2009 at 12:50 PM, Glen Canaday &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26292179&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gcanaday@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; I can understand why you'd do it this way and I see the logic, but I'd
&lt;br&gt;&amp;gt; probably read in the whole note, one line per list item, randomize the list,
&lt;br&gt;&amp;gt; then toss out all but the first 10 questions with lDeleteSubList(list, 9,
&lt;br&gt;&amp;gt; llGetListLength(list) - 1) or somesuch. Afterward I'd most likely parse the
&lt;br&gt;&amp;gt; remaining 10 items into Q &amp; A pairs and then move into normal operation
&lt;br&gt;&amp;gt; without using the llGetNumberOfNotecardLines() call at all.
&lt;br&gt;&lt;br&gt;The big disadvantage of that is that reading notecard lines can be
&lt;br&gt;reallllly slow; so reading zillions of them and then throwing away all
&lt;br&gt;but ten would be a huge waste of elapsed time.
&lt;br&gt;_______________________________________________
&lt;br&gt;Click here to unsubscribe or manage your list subscription:
&lt;br&gt;&lt;a href=&quot;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Sent via BlackBerry by AT&amp;T
&lt;br&gt;_______________________________________________
&lt;br&gt;Click here to unsubscribe or manage your list subscription:
&lt;br&gt;&lt;a href=&quot;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Rotation-question-tp26195557p26292179.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26292055</id>
	<title>Re: Reading a notecard times out</title>
	<published>2009-11-10T14:01:43Z</published>
	<updated>2009-11-10T14:01:43Z</updated>
	<author>
		<name>Dale Innis</name>
	</author>
	<content type="html">On Tue, Nov 10, 2009 at 12:50 PM, Glen Canaday &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26292055&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gcanaday@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; I can understand why you'd do it this way and I see the logic, but I'd
&lt;br&gt;&amp;gt; probably read in the whole note, one line per list item, randomize the list,
&lt;br&gt;&amp;gt; then toss out all but the first 10 questions with lDeleteSubList(list, 9,
&lt;br&gt;&amp;gt; llGetListLength(list) - 1) or somesuch. Afterward I'd most likely parse the
&lt;br&gt;&amp;gt; remaining 10 items into Q &amp; A pairs and then move into normal operation
&lt;br&gt;&amp;gt; without using the llGetNumberOfNotecardLines() call at all.
&lt;br&gt;&lt;br&gt;The big disadvantage of that is that reading notecard lines can be
&lt;br&gt;reallllly slow; so reading zillions of them and then throwing away all
&lt;br&gt;but ten would be a huge waste of elapsed time.
&lt;br&gt;_______________________________________________
&lt;br&gt;Click here to unsubscribe or manage your list subscription:
&lt;br&gt;&lt;a href=&quot;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Rotation-question-tp26195557p26292055.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26288096</id>
	<title>Re: Reading a notecard times out</title>
	<published>2009-11-10T09:50:58Z</published>
	<updated>2009-11-10T09:50:58Z</updated>
	<author>
		<name>Glen Canaday</name>
	</author>
	<content type="html">&lt;div&gt;I can understand why you&amp;#39;d do it this way and I see the logic, but I&amp;#39;d probably read in the whole note, one line per list item, randomize the list, then toss out all but the first 10 questions with lDeleteSubList(list, 9, llGetListLength(list) - 1) or somesuch. Afterward I&amp;#39;d most likely parse the remaining 10 items into Q &amp;amp; A pairs and then move into normal operation without using the llGetNumberOfNotecardLines() call at all.&lt;/div&gt;

&lt;div&gt; &lt;/div&gt;
&lt;div&gt;I&amp;#39;ve never seen a timeout on a notecard read before.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;--GC&lt;br&gt;&lt;br&gt;&lt;/div&gt;
&lt;div class=&quot;gmail_quote&quot;&gt;On Sat, Nov 7, 2009 at 11:32 AM, &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26288096&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AnnMarie@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid&quot;&gt;
&lt;div bgcolor=&quot;#ffffff&quot;&gt;
&lt;div&gt;&lt;font face=&quot;Arial&quot; size=&quot;2&quot;&gt;It is not uncommon, especially in times of lag, for incoming data to arrive out of sequence.  It might help to add sequence numbers to the line data on the notecard and check the incoming sequence, then buffer locally.  I use techniques like this for all my http communications, and even some local object to object communicatioans.&lt;/font&gt;&lt;/div&gt;
&lt;/div&gt;&lt;br&gt;_______________________________________________&lt;br&gt;Click here to unsubscribe or manage your list subscription:&lt;br&gt;&lt;a href=&quot;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&lt;/a&gt;&lt;br&gt;
&lt;br&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Click here to unsubscribe or manage your list subscription:
&lt;br&gt;&lt;a href=&quot;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Rotation-question-tp26195557p26288096.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26246600</id>
	<title>Re: Reading a notecard times out</title>
	<published>2009-11-07T08:32:21Z</published>
	<updated>2009-11-07T08:32:21Z</updated>
	<author>
		<name>AnnMarie@SLFBI</name>
	</author>
	<content type="html">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&gt;
&lt;HTML&gt;&lt;HEAD&gt;
&lt;META content=&quot;text/html; charset=iso-8859-1&quot; http-equiv=Content-Type&gt;
&lt;META name=GENERATOR content=&quot;MSHTML 8.00.6001.18828&quot;&gt;

&lt;/HEAD&gt;
&lt;BODY bgColor=#ffffff&gt;
&lt;DIV&gt;&lt;FONT size=2 face=Arial&gt;It is not uncommon, especially in times of lag, for 
incoming data to arrive out of sequence.&amp;nbsp; It might help to add sequence 
numbers to the line data on the notecard and check the incoming sequence, then 
buffer locally.&amp;nbsp; I use techniques like this for all my http communications, 
and even some local object to object communicatioans.&lt;/FONT&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Click here to unsubscribe or manage your list subscription:
&lt;br&gt;&lt;a href=&quot;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Rotation-question-tp26195557p26246600.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26246331</id>
	<title>Re: Reading a notecard times out</title>
	<published>2009-11-07T08:29:35Z</published>
	<updated>2009-11-07T08:29:35Z</updated>
	<author>
		<name>Tigro Spottystripes</name>
	</author>
	<content type="html">In emergences you can use llSensorRepeat looking for somthign that can't
&lt;br&gt;be found, like a agent without last name, and use the no_sensor event
&lt;br&gt;for the second timer. Looking for somthing that is sure to not ever be
&lt;br&gt;found gives you mroe certainty it will run than looking for somthign you
&lt;br&gt;expect to always be there as some unexpected future condition could
&lt;br&gt;cause it to not be there, but if you look for somthing that is
&lt;br&gt;techinicly impossible to ever be found, you can always count with the
&lt;br&gt;no_sensor event.
&lt;br&gt;&lt;br&gt;But if when needing two repeting timers in signle script, the two timers
&lt;br&gt;rats are both multiples of a same number, you could have a single timer
&lt;br&gt;for that number and keep counting how many timer events happened between
&lt;br&gt;each separated trigger, whenever it reaches the desired amount of
&lt;br&gt;repetitionss an if statement would lead to the adequate code for either
&lt;br&gt;frequency.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Andromeda Quonset escreveu:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi!
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I have a lot of things which rely on notecard reading. &amp;nbsp;My
&lt;br&gt;&amp;gt; requirements have always been to read in sequence, so I've always
&lt;br&gt;&amp;gt; depended on the EOF to know I've read the entire notecard, rather than
&lt;br&gt;&amp;gt; using llGetNumberOfNotecardLines, but I see why you do it, and it
&lt;br&gt;&amp;gt; seems to me to be reasonable.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I have had a few issues in recent months myself with stuck notecard
&lt;br&gt;&amp;gt; reading. &amp;nbsp;What I have done is to introduce a 10-second timer event
&lt;br&gt;&amp;gt; when I request a line from a notecard. &amp;nbsp;If the timer event is
&lt;br&gt;&amp;gt; triggered, then the same line is re-requested. &amp;nbsp;If the line is
&lt;br&gt;&amp;gt; received, the timer event is disabled until the next different line is
&lt;br&gt;&amp;gt; requested. &amp;nbsp;So far, it has worked well. &amp;nbsp;My only issue has been when
&lt;br&gt;&amp;gt; I'm already using the event timer for something else, which makes
&lt;br&gt;&amp;gt; implementation a little more complex.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Andro
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; At 03:43 AM 11/7/2009, you wrote:
&lt;br&gt;&amp;gt;&amp;gt; I've got a general knowledge quiz machine in my shop, and it works by
&lt;br&gt;&amp;gt;&amp;gt; reading questions from a notecard.
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; The notecard has around a hundred lines in it (one per question), and
&lt;br&gt;&amp;gt;&amp;gt; the script works as follows:
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; 1. In state_entry, it calls llGetNumberOfNotecardLines, with a timer
&lt;br&gt;&amp;gt;&amp;gt; event. This has so far never failed, so it reads the notecard OK at
&lt;br&gt;&amp;gt;&amp;gt; this stage to get the number of lines.
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; 2. In the dataserver event, the logic goes:
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; a. If this is the first time in (ie we got here via the
&lt;br&gt;&amp;gt;&amp;gt; llGetNumberOfNotecardLines call), check that we have enough lines in
&lt;br&gt;&amp;gt;&amp;gt; the notecard - that the number of lines is &amp;gt; 10. This bit has never
&lt;br&gt;&amp;gt;&amp;gt; failed. Then build up a list of ten random integers, all different,
&lt;br&gt;&amp;gt;&amp;gt; where each integer is a number from 0 to maxlines-1 (maxlines is the
&lt;br&gt;&amp;gt;&amp;gt; number of lines in the notecard). Then call
&lt;br&gt;&amp;gt;&amp;gt; llGetNotecardLine(notecard,seq) where seq is the first number in our
&lt;br&gt;&amp;gt;&amp;gt; list.
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; b. If this is not the first time in (ie we got here via the
&lt;br&gt;&amp;gt;&amp;gt; llGetNotecardLine call above), get the data returned (it's a line
&lt;br&gt;&amp;gt;&amp;gt; with the question and answer in) and append it to a list, then call
&lt;br&gt;&amp;gt;&amp;gt; llGetNotecardLine(notecard,seq) again, where seq is the next integer
&lt;br&gt;&amp;gt;&amp;gt; in our numbers list.
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; So for example, in step a my list may look like this: [84, 15, 9,
&lt;br&gt;&amp;gt;&amp;gt; 2,19...]
&lt;br&gt;&amp;gt;&amp;gt; and my second list in step b may look like this: [&amp;quot;What is the
&lt;br&gt;&amp;gt;&amp;gt; capital of France:Paris&amp;quot;,&amp;quot;How many signs of the zodiac are there:12&amp;quot;,...]
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; Once I have all 10 questions, I change state.
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; So it's fairly standard code, except I'm not reading the notecard
&lt;br&gt;&amp;gt;&amp;gt; sequentially - I'm reading ten random lines from it.
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; Most of the time this works fine - however, every few days the
&lt;br&gt;&amp;gt;&amp;gt; llGetNotecardLine call times out. It then e-mails to me say it's
&lt;br&gt;&amp;gt;&amp;gt; timed out, and the debug info tell me it's usually read a few lines
&lt;br&gt;&amp;gt;&amp;gt; before timing out. I've set the timer to time out after not getting a
&lt;br&gt;&amp;gt;&amp;gt; response for 30 seconds.
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; Is this just down to SL lag, or is there a coding reason why my
&lt;br&gt;&amp;gt;&amp;gt; llGetNotecardLine would time out occasionally?
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; Maxxi.
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt; Click here to unsubscribe or manage your list subscription:
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Click here to unsubscribe or manage your list subscription:
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Click here to unsubscribe or manage your list subscription:
&lt;br&gt;&lt;a href=&quot;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Rotation-question-tp26195557p26246331.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26246002</id>
	<title>Re: Reading a notecard times out</title>
	<published>2009-11-07T07:49:23Z</published>
	<updated>2009-11-07T07:49:23Z</updated>
	<author>
		<name>Andromeda Quonset-2</name>
	</author>
	<content type="html">&lt;html&gt;
&lt;body&gt;
Hi! &lt;br&gt;&lt;br&gt;
I have a lot of things which rely on notecard reading.&amp;nbsp; My
requirements have always been to read in sequence, so I've always
depended on the EOF to know I've read the entire notecard, rather than
using llGetNumberOfNotecardLines, but I see why you do it, and it seems
to me to be reasonable.&lt;br&gt;&lt;br&gt;
I have had a few issues in recent months myself with stuck notecard
reading.&amp;nbsp; What I have done is to introduce a 10-second timer event
when I request a line from a notecard.&amp;nbsp; If the timer event is
triggered, then the same line is re-requested.&amp;nbsp; If the line is
received, the timer event is disabled until the next different line is
requested.&amp;nbsp; So far, it has worked well.&amp;nbsp; My only issue has been
when I'm already using the event timer for something else, which makes
implementation a little more complex.&lt;br&gt;&lt;br&gt;
Andro&lt;br&gt;&lt;br&gt;
At 03:43 AM 11/7/2009, you wrote:&lt;br&gt;
&lt;blockquote type=cite class=cite cite=&quot;&quot;&gt;&lt;font size=2&gt;I've got a general
knowledge quiz machine in my shop, and it works by reading questions from
a notecard.&lt;br&gt;
&lt;/font&gt;&amp;nbsp;&lt;br&gt;
&lt;font size=2&gt;The notecard has around a hundred lines in it (one per
question), and the script works as follows:&lt;br&gt;
&lt;/font&gt;&amp;nbsp;&lt;br&gt;
&lt;font size=2&gt;1. In state_entry, it calls llGetNumberOfNotecardLines, with
a timer event. This has so far never failed, so it reads the notecard OK
at this stage to get the number of lines.&lt;br&gt;
&lt;/font&gt;&amp;nbsp;&lt;br&gt;
&lt;font size=2&gt;2. In the dataserver event, the logic goes:&lt;br&gt;
&lt;/font&gt;&amp;nbsp;&lt;br&gt;
&lt;font size=2&gt;a. If this is the first time in (ie we got here via the
llGetNumberOfNotecardLines call), check that we have enough lines in the
notecard - that the number of lines is &amp;gt; 10. This bit has never
failed. Then build up a list of ten random integers, all different, where
each integer is a number from 0 to maxlines-1 (maxlines is the number of
lines in the notecard). Then call llGetNotecardLine(notecard,seq) where
seq is the first number in our list.&lt;br&gt;
&lt;/font&gt;&amp;nbsp;&lt;br&gt;
&lt;font size=2&gt;b. If this is not the first time in (ie we got here via the
llGetNotecardLine call above), get the data returned (it's a line with
the question and answer in) and append it to a list, then call
llGetNotecardLine(notecard,seq) again, where seq is the next integer in
our numbers list.&lt;br&gt;
&lt;/font&gt;&amp;nbsp;&lt;br&gt;
&lt;font size=2&gt;So for example, in step a my list may look like this: [84,
15, 9, 2,19...]&lt;br&gt;
and my second list in step b may look like this: [&amp;quot;What is the
capital of France:Paris&amp;quot;,&amp;quot;How many signs of the zodiac are
there:12&amp;quot;,...]&lt;br&gt;
&lt;/font&gt;&amp;nbsp;&lt;br&gt;
&lt;font size=2&gt;Once I have all 10 questions, I change state.&lt;br&gt;
&lt;/font&gt;&amp;nbsp;&lt;br&gt;
&lt;font size=2&gt;So it's fairly standard code, except I'm not reading the
notecard sequentially - I'm reading ten random lines from it.&lt;br&gt;
&lt;/font&gt;&amp;nbsp;&lt;br&gt;
&lt;font size=2&gt;Most of the time this works fine - however, every few days
the llGetNotecardLine call times out. It then e-mails to me say it's
timed out, and the debug info tell me it's usually read a few lines
before timing out. I've set the timer to time out after not getting a
response for 30 seconds.&lt;br&gt;
&lt;/font&gt;&amp;nbsp;&lt;br&gt;
&lt;font size=2&gt;Is this just down to SL lag, or is there a coding reason why
my llGetNotecardLine would time out occasionally?&lt;br&gt;
&lt;/font&gt;&amp;nbsp;&lt;br&gt;
&lt;font size=2&gt;Maxxi.&lt;br&gt;
&lt;/font&gt;&amp;nbsp;&lt;br&gt;
&amp;nbsp;&lt;br&gt;
&amp;nbsp;&lt;br&gt;
_______________________________________________&lt;br&gt;
Click here to unsubscribe or manage your list subscription:&lt;br&gt;
&lt;a href=&quot;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&quot; eudora=&quot;autourl&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;
https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&lt;/a&gt;
&lt;/blockquote&gt;&lt;/body&gt;
&lt;/html&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Click here to unsubscribe or manage your list subscription:
&lt;br&gt;&lt;a href=&quot;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Rotation-question-tp26195557p26246002.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26243674</id>
	<title>Reading a notecard times out</title>
	<published>2009-11-07T02:43:15Z</published>
	<updated>2009-11-07T02:43:15Z</updated>
	<author>
		<name>Maxxi Short</name>
	</author>
	<content type="html">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&gt;
&lt;HTML&gt;&lt;HEAD&gt;
&lt;META http-equiv=Content-Type content=&quot;text/html; charset=iso-8859-1&quot;&gt;
&lt;META content=&quot;MSHTML 6.00.6000.16825&quot; name=GENERATOR&gt;

&lt;/HEAD&gt;
&lt;BODY bgColor=#ffffff&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;I've got a general knowledge quiz machine in my 
shop, and it works by reading questions from a notecard.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;The notecard has around a hundred lines in it (one 
per question), and the script works as follows:&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;1. In state_entry, it calls 
llGetNumberOfNotecardLines, with a timer event. This has so far never failed, so 
it reads the notecard OK at this stage to get the number of lines.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;2. In the dataserver event, the logic 
goes:&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;a. If this is the first time in (ie we got here via 
the llGetNumberOfNotecardLines call), check that we have enough lines in the 
notecard - that the number of lines is &amp;gt; 10. This bit has never failed. Then 
build up a list of ten random integers, all different, where each integer is a 
number from 0 to maxlines-1 (maxlines is the number of lines in the notecard). 
Then call llGetNotecardLine(notecard,seq) where seq is the first number in our 
list.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;b. If this is not the first time in (ie we got here 
via the llGetNotecardLine call above), get the data returned (it's a line with 
the question and answer in) and append it to a list, then call 
llGetNotecardLine(notecard,seq) again, where seq is the next integer in our 
numbers list.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;So for example, in step a my list may look like 
this: [84, 15, 9, 2,19...]&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;and my second list in step b may look like this: 
[&quot;What is the capital of France:Paris&quot;,&quot;How many signs of the zodiac are 
there:12&quot;,...]&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;Once I have all 10 questions, I change 
state.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;So it's fairly standard code, except I'm not 
reading the notecard sequentially - I'm reading ten random lines from 
it.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;Most of the time this works fine - however, every 
few days the llGetNotecardLine call times out. It then e-mails to me say it's 
timed out, and the debug info tell me it's usually read a few lines before 
timing out. I've set the timer to time out after not getting a response for 30 
seconds.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;Is this just down to SL lag, or is there a coding 
reason why my llGetNotecardLine would time out occasionally?&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;Maxxi.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Click here to unsubscribe or manage your list subscription:
&lt;br&gt;&lt;a href=&quot;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Rotation-question-tp26195557p26243674.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26213794</id>
	<title>Re: Listens</title>
	<published>2009-11-05T04:40:34Z</published>
	<updated>2009-11-05T04:40:34Z</updated>
	<author>
		<name>Nava Muni</name>
	</author>
	<content type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;&lt;div style=&quot;font-family:Courier New,courier,monaco,monospace,sans-serif;font-size:10pt&quot;&gt;&lt;div&gt;You don't need to. Listens close automatically on state change.&lt;br&gt;&lt;br&gt;&quot;Best practices&quot; is a bit difficult to define as the best practice in one situation may not be the best in another. In general, however, the best &quot;best practice&quot; is, &quot;if you open it, you close it.&quot; This is usually the ideal approach to take because not all events that require setup/opening/starting are reset/closed on a state change. However, there are times when speed, code size, or memory limitations dictates what's &quot;best;&quot; you may find it more suitable in such situations to rely on the default &quot;auto-close&quot; behavior available to a few events when making state changes.&lt;br&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Courier New,courier,monaco,monospace,sans-serif; font-size: 10pt;&quot;&gt;&lt;br&gt;&lt;div style=&quot;font-family: times new
 roman,new york,times,serif; font-size: 12pt;&quot;&gt;&lt;font face=&quot;Tahoma&quot; size=&quot;2&quot;&gt;&lt;hr size=&quot;1&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;From:&lt;/span&gt;&lt;/b&gt; Domchi Underwood &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26213794&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;domchi.underwood@...&lt;/a&gt;&amp;gt;&lt;br&gt;&lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;To:&lt;/span&gt;&lt;/b&gt; Scripters &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26213794&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;secondlifescripters@...&lt;/a&gt;&amp;gt;&lt;br&gt;&lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Sent:&lt;/span&gt;&lt;/b&gt; Wed, November 4, 2009 7:52:27 PM&lt;br&gt;&lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Subject:&lt;/span&gt;&lt;/b&gt; Listens&lt;br&gt;&lt;/font&gt;&lt;br&gt;Do you remove listens yourself before you change state? What do you consider to be the best practice?&lt;div&gt;&lt;br&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;!-- cg13.c2.mail.ac4.yahoo.com compressed/chunked Fri Oct 30 02:55:59 PDT 2009 --&gt;
&lt;/div&gt;&lt;br&gt;

      &lt;/body&gt;&lt;/html&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Click here to unsubscribe or manage your list subscription:
&lt;br&gt;&lt;a href=&quot;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Listens-tp26207444p26213794.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26208941</id>
	<title>Re: Listens</title>
	<published>2009-11-04T19:56:04Z</published>
	<updated>2009-11-04T19:56:04Z</updated>
	<author>
		<name>Kubota Homewood</name>
	</author>
	<content type="html">Due to the memory restrictions, letting the listens close &amp;nbsp;
&lt;br&gt;automatically can be a good thing. &amp;nbsp;One that that state change is good &amp;nbsp;
&lt;br&gt;for is to put your script into an idle state, one that does not have &amp;nbsp;
&lt;br&gt;(m)any events. &amp;nbsp;For example:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; state sleeping {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; state_entry() {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; llSetScriptState(llGetScriptName(), 0);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; state wakeup;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;If you have event handlers when you do this you will find queued up &amp;nbsp;
&lt;br&gt;events when you are woken. &amp;nbsp;In general, I switch states when the type &amp;nbsp;
&lt;br&gt;of events I need to wait for changes.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Kubota
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Doing delicate tasks with heavy machinery
&lt;br&gt;&lt;br&gt;On Nov 4, 2009, at 7:52 PM, Dale Innis wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Me, I pretty much never change state. &amp;nbsp;(It seems like a good idea in
&lt;br&gt;&amp;gt; theory, but in practice it's more trouble than it's worth.)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Wed, Nov 4, 2009 at 8:52 PM, Domchi Underwood
&lt;br&gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26208941&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;domchi.underwood@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; Do you remove listens yourself before you change state? What do you &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; consider
&lt;br&gt;&amp;gt;&amp;gt; to be the best practice?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt; Click here to unsubscribe or manage your list subscription:
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Click here to unsubscribe or manage your list subscription:
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&lt;/a&gt;&lt;/div&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Click here to unsubscribe or manage your list subscription:
&lt;br&gt;&lt;a href=&quot;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Listens-tp26207444p26208941.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26207949</id>
	<title>Re: Listens</title>
	<published>2009-11-04T17:52:07Z</published>
	<updated>2009-11-04T17:52:07Z</updated>
	<author>
		<name>Dale Innis</name>
	</author>
	<content type="html">Me, I pretty much never change state. &amp;nbsp;(It seems like a good idea in
&lt;br&gt;theory, but in practice it's more trouble than it's worth.)
&lt;br&gt;&lt;br&gt;On Wed, Nov 4, 2009 at 8:52 PM, Domchi Underwood
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26207949&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;domchi.underwood@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; Do you remove listens yourself before you change state? What do you consider
&lt;br&gt;&amp;gt; to be the best practice?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Click here to unsubscribe or manage your list subscription:
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;_______________________________________________
&lt;br&gt;Click here to unsubscribe or manage your list subscription:
&lt;br&gt;&lt;a href=&quot;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Listens-tp26207444p26207949.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26207444</id>
	<title>Listens</title>
	<published>2009-11-04T16:52:27Z</published>
	<updated>2009-11-04T16:52:27Z</updated>
	<author>
		<name>Domchi Underwood</name>
	</author>
	<content type="html">Do you remove listens yourself before you change state? What do you consider to be the best practice?&lt;div&gt;&lt;br&gt;&lt;/div&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Click here to unsubscribe or manage your list subscription:
&lt;br&gt;&lt;a href=&quot;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Listens-tp26207444p26207444.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26206911</id>
	<title>Re: Rotation question</title>
	<published>2009-11-04T15:57:10Z</published>
	<updated>2009-11-04T15:57:10Z</updated>
	<author>
		<name>Stickman-2</name>
	</author>
	<content type="html">&amp;gt; I've tried llGetRot(), llDetectedRot(), both return the initial sitting
&lt;br&gt;&lt;br&gt;llGetRot() in an attachment while in mouselook will return the
&lt;br&gt;direction an avatar is looking.
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://wiki.secondlife.com/wiki/LlGetRot&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wiki.secondlife.com/wiki/LlGetRot&lt;/a&gt;&lt;br&gt;&lt;br&gt;I assume you're not working with attachments, so another solution like
&lt;br&gt;you found is necessary.
&lt;br&gt;&lt;br&gt;-Stickman
&lt;br&gt;_______________________________________________
&lt;br&gt;Click here to unsubscribe or manage your list subscription:
&lt;br&gt;&lt;a href=&quot;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Rotation-question-tp26195557p26206911.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26201867</id>
	<title>Re: Rotation question</title>
	<published>2009-11-04T10:20:44Z</published>
	<updated>2009-11-04T10:20:44Z</updated>
	<author>
		<name>Tigro Spottystripes</name>
	</author>
	<content type="html">how about tracking camera rotation? wouldn't even have to waste
&lt;br&gt;resources with sensor stuff
&lt;br&gt;&lt;br&gt;&lt;br&gt;Colleen Marjeta escreveu:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Of course as soon as I sent this I found a solution. &amp;nbsp;Don't know if
&lt;br&gt;&amp;gt; its the best one though....
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; In the control event, I call llSensor(&amp;quot;&amp;quot;, avatar, blah....
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; in the _sensor_ event I call llDetectedRot()
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; It's returning the correct info now
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Wed, Nov 4, 2009 at 7:35 AM, Colleen Marjeta
&lt;br&gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26201867&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;colleenmarjeta@...&lt;/a&gt; &amp;lt;mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26201867&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;colleenmarjeta@...&lt;/a&gt;&amp;gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Okay... so i'm dealing with a problem involving rotation, which I
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; don't have a real clue about. Reading up all I can.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; What I'm trying to accomplish is this:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Avatar sits on object
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Avatar goes into mouselook
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; On the control (mouse left click) event, I want to detect the
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; rotation of the avatar in mouselook (where the avatar is looking).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; I've tried llGetRot(), llDetectedRot(), both return the initial
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; sitting rotation of the avatar, rather than the direction the
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; avatar is facing in mouselook. &amp;nbsp;Not sure if this can be done, or
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; if so how.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Any thoughts?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Click here to unsubscribe or manage your list subscription:
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Click here to unsubscribe or manage your list subscription:
&lt;br&gt;&lt;a href=&quot;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Rotation-question-tp26195557p26201867.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26200728</id>
	<title>Modeling Script Communications</title>
	<published>2009-11-04T09:25:13Z</published>
	<updated>2009-11-04T09:25:13Z</updated>
	<author>
		<name>Antonius Frentis</name>
	</author>
	<content type="html">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&gt;
&lt;HTML&gt;&lt;HEAD&gt;
&lt;META content=&quot;text/html; charset=iso-8859-1&quot; http-equiv=Content-Type&gt;
&lt;META name=GENERATOR content=&quot;MSHTML 8.00.6001.18828&quot;&gt;

&lt;/HEAD&gt;
&lt;BODY bgColor=#ffffff&gt;
&lt;DIV&gt;&lt;FONT size=2 face=Arial&gt;A major new feature that I'm working on for a 
future MiceOnABeam release, is one that I hope will really resonate with SL 
scripters. &lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size=2 face=Arial&gt;Often a complex SL application is made up of 
multiple scripts contained in one or more linked prims. The new feature will 
enable users to graphically define the communication relationships between the 
various scripts within the whole design, and allow individual scripts to send 
and receive user-defined events according to a user-defined protocol, without 
explicit knowledge as to the specific script (and linked prim) it is talking to. 
MiceOnABeam would then generate all the LSL code for each script to handle the 
inter-script communications. One benefit of this is to increase design 
modularization and help create more reusable script components.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size=2 face=Arial&gt;What's nice is that the UML modeling specification 
(part of which MiceOnABeam has already implemented) has modeling elements for 
above, and I'm currently investigating it's applicability. I'm very interested 
in hearing from others on the topic, and would welcome any input.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size=2 face=Arial&gt;Antonius&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size=2 face=Arial&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26200728&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;antoniusfrentis@...&lt;/a&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size=2 face=Arial&gt;&lt;A href=&quot;http://www.miceonabeam.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;www.miceonabeam.com&lt;/A&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Click here to unsubscribe or manage your list subscription:
&lt;br&gt;&lt;a href=&quot;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Modeling-Script-Communications-tp26200728p26200728.html" />
</entry>

</feed>
