<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.secondlife.com/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Gregor+Mougin</id>
	<title>Second Life Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.secondlife.com/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Gregor+Mougin"/>
	<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/wiki/Special:Contributions/Gregor_Mougin"/>
	<updated>2026-04-06T06:11:38Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>https://wiki.secondlife.com/w/index.php?title=LSL_Protocol/Restrained_Love_Relay/Bugs_and_Pending_Features&amp;diff=76629</id>
		<title>LSL Protocol/Restrained Love Relay/Bugs and Pending Features</title>
		<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/w/index.php?title=LSL_Protocol/Restrained_Love_Relay/Bugs_and_Pending_Features&amp;diff=76629"/>
		<updated>2008-07-06T21:34:02Z</updated>

		<summary type="html">&lt;p&gt;Gregor Mougin: bug report added&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Restrained Life Relay Specs TOC}}&lt;br /&gt;
&lt;br /&gt;
== Stuck: Accepting Permission after !release ==&lt;br /&gt;
&lt;br /&gt;
; Discovered by : Maike Short&lt;br /&gt;
; Workaround : Don&#039;t accept requests after you have been freed. In case it happend, reenter the cage / sit down again; relog.&lt;br /&gt;
; Suggested fix: not yet&lt;br /&gt;
&lt;br /&gt;
== Force Sit during Login on the control object instead of the forced-sit one ==&lt;br /&gt;
&lt;br /&gt;
; Discovered by : Azoth Amat&lt;br /&gt;
; Workaround : Put the script into the same object as the one the person is forced to sit on.&lt;br /&gt;
; Suggested fix : change in &amp;lt;code&amp;gt;timer()&amp;lt;/code&amp;gt;: &amp;lt;code&amp;gt;sendRLCmd (&amp;quot;@sit:&amp;quot;+(string)kSource+&amp;quot;=force&amp;quot;);&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;sendRLCmd (&amp;quot;@sit:&amp;quot;+(string)lastForceSitDestination+&amp;quot;=force&amp;quot;);&amp;lt;/code&amp;gt;&lt;br /&gt;
; Note : This causes trouble in case the person set down without being forced.&lt;br /&gt;
&lt;br /&gt;
== Stuck on crash/relog with objects asking for relay upon being sat on ==&lt;br /&gt;
&lt;br /&gt;
; Discovered by : Gregor Mougin&lt;br /&gt;
; Problem : Many objects check for presence of a relay and the RR viewer by asking for the !version when sat on. If the user crashes, and the object was used by someone else in the meantime (or, for testing, reset), the relay enforces all previous restrictions whereas the object doesn&#039;t know of them.&lt;br /&gt;
; Workaround : none&lt;br /&gt;
; Suggested fix : &lt;br /&gt;
&amp;lt;lsl&amp;gt;&lt;br /&gt;
--- RLV_v1.014a 2008-07-06 23:17:14.000000000 +0200&lt;br /&gt;
+++ RLV_v1.014a-xxx     2008-07-06 23:18:32.000000000 +0200&lt;br /&gt;
@@ -545,10 +545,16 @@&lt;br /&gt;
                 loginPendingForceSit = FALSE;&lt;br /&gt;
                 releaseRestrictions();&lt;br /&gt;
             }&lt;br /&gt;
-            else&lt;br /&gt;
-            {&lt;br /&gt;
-                 sendRLCmd (&amp;quot;@sit:&amp;quot;+(string)kSource+&amp;quot;=force&amp;quot;);&lt;br /&gt;
-            }&lt;br /&gt;
+            // XXX&lt;br /&gt;
+            // DON&#039;T do it here&lt;br /&gt;
+            // Some (many?) objects ask the relay for the !version upon&lt;br /&gt;
+            // sitting on it. Since the !version is interpreted the same&lt;br /&gt;
+            // as !pong, the relay would think the object is still available&lt;br /&gt;
+            // and put all restrictions on the wearer unconditionally.&lt;br /&gt;
+            //else&lt;br /&gt;
+            //{&lt;br /&gt;
+            //    sendRLCmd (&amp;quot;@sit:&amp;quot;+(string)kSource+&amp;quot;=force&amp;quot;);&lt;br /&gt;
+            //}&lt;br /&gt;
         }&lt;br /&gt;
  &lt;br /&gt;
         if (!loginPendingForceSit &amp;amp;&amp;amp; !loginWaitingForPong)&lt;br /&gt;
@@ -583,6 +589,18 @@&lt;br /&gt;
  &lt;br /&gt;
             loginWaitingForPong = FALSE; // whatever the message, it is for me =&amp;gt; it satisfies the ping request&lt;br /&gt;
  &lt;br /&gt;
+            // XXX&lt;br /&gt;
+            // force sit here instead of unconditionally in the timer event&lt;br /&gt;
+            if (loginPendingForceSit)&lt;br /&gt;
+            {&lt;br /&gt;
+                integer agentInfo = llGetAgentInfo(llGetOwner());&lt;br /&gt;
+                &lt;br /&gt;
+                loginPendingForceSit = FALSE;&lt;br /&gt;
+                if (!(agentInfo &amp;amp; AGENT_SITTING))&lt;br /&gt;
+                    sendRLCmd (&amp;quot;@sit:&amp;quot;+(string)kSource+&amp;quot;=force&amp;quot;);&lt;br /&gt;
+            }&lt;br /&gt;
+            // end XXX&lt;br /&gt;
+            &lt;br /&gt;
             if (!isObjectKnow(id))&lt;br /&gt;
             {&lt;br /&gt;
                 debug(&amp;quot;asking for permission because kSource is NULL_KEY&amp;quot;);&lt;br /&gt;
&amp;lt;/lsl&amp;gt;&lt;/div&gt;</summary>
		<author><name>Gregor Mougin</name></author>
	</entry>
</feed>