Difference between revisions of "Talk:LSL Protocol/Restrained Love Open Relay Group/ORG Requirements"

From Second Life Wiki
Jump to navigation Jump to search
(→‎Version 0002: new section)
Line 52: Line 52:
::What do we risk in case they are not? Releasing restrictions when it wasn't supposed to be possible? Is it that big a issue if the relay only does this when asked to by the wearer (wouldn't be worse than a safeword)?
::What do we risk in case they are not? Releasing restrictions when it wasn't supposed to be possible? Is it that big a issue if the relay only does this when asked to by the wearer (wouldn't be worse than a safeword)?
::--[[User:Satomi Ahn|Satomi Ahn]] 11:41, 29 July 2009 (UTC)
::--[[User:Satomi Ahn|Satomi Ahn]] 11:41, 29 July 2009 (UTC)
== Version 0002 ==
I added two things, I think most of us will agree with
* the possibility to send a RLV relay command to *every* relay around, using NULL_KEY instead of an avatar key. Landowners may be reluctant to set their furniture to use this, because some relay won't be compatible and won't be seen in a scan using a wildcard "scan,00000000-0000-0000-0000-000000000000,!x-orgversions", but we have a good argument as it will help decrease lag and make scripts a lot simpler. Moreover, ORG compliant relays are now a majority of the market. Anyway, adding this feature in relays is not a great involvement, so why not add it in prevision for the future?
* the requirement that a relay sends all its message towards a controller through the same prim. Until now, this wasn't really necessary to specify this, but I ran into this problem with a new relay (Dahlia's relay, just released), a multi-prim relay, like tkPBA, which in its pre-version was sending acknowledgements both from the root prim and from the secondary core. This caused issues with my Witchy remote, as it restricts is listener to one key, as soon as it knows the key of the relay. Dahlia and me agreed that it was a good practice to make it easy to restrict listeners, so she fixed her relay so that only the root prim sends acknowledgements.
: For the future, I think it is wiser to put this restriction in the specification.

Revision as of 06:18, 5 August 2010

While I preferred the name !x-tensions (yes, I liked the pun), !x-orgversions is fine by me. I am not sure what the version of ORG will relate to, but it won't hurt to put it into the spec.

The requirements on relays are not onerous. I am for this and, if approved, will withdraw the !x-tensions proposal. --Chloe1982 Constantine 13:15, 18 July 2009 (UTC)


Being the one originating this proposal, it is obvious I vote for it too. Now, why voting for this? It is more than the requirements per se that are important, but acting the principle that

  1. ORG does not only proposes extensions but also fixes some breaches in Marine's spec
  2. everything ORG proposes, being the optional extensions or the fixes in the core specification has to be versioned
  3. versions of core specification are necessary for the same reasons as the RLVR spec are versioned. Moreover, if Marine ever reads those fixes, maybe... maybe some day she will fix her spec, and then we will be able to remove this from ORG.

For the future of the core requirements, sometimes I wonder if I won't rewrite the RLVR protocol from scratch, making it both easier to read and more precise than it is now, while preserving compatibility (someone pointed to me that Marine's spec actually left a lot more implicit things than I thought: it is not even clear that every "@" command should be acknowledged, actually! Neither are the meanings of "ko" and "ok" explained).

--Satomi Ahn 09:56, 19 July 2009 (UTC)

All looks good from here, no objections or complaints... rock on.

--Ilana Debevec 18:52, 19 July 2009 (UTC)

I would suggest handling the "unrestrict when out of range" problem differently. Susan Daviau currently provides a proprietary extended mechanism for restricting someone who may go out of shout range. This sort of extension requires a communications mechanism that is not restricted by llShout distances - email, or http requests for instance provide cross-sim control.

((Correction)). I see that such a proposal is in the works , an e-mail extension. If someone is using this extension, I don't think we want restrictions automatically dropped when they get out of range.

In addition, if we want to get Susan Daviau on board (has anyone contacted her?) it might be good to make org extensions compatible with her products.

I am not sure how to reword the specification exactly.

I also am somewhat in favor of making the range check a function that the relay wearer can trigger, rather than automatic function. For instance, I might wish to allow someone to restrict me with a portable control device and wish to honor the restrictions even if they go out of range. Making the out of range check more interactive and manually triggered would make this possible.

Nano Siemens 00:12, 20 July 2009 (UTC)

Concerning Susan: I don't know if she was contacted. I believe she should be.
My proposal about releasing restrictions was only for unreachable controlling devices. If the relay is using e-mail, then the controller remains reachable from other sims (although it is less easy to check).
Should the wearer trigger the function by hand? Well I don't know. Let's reword the requirement, then: "make it possible for the wearer to be released if the controlling device is not reachable" and not specify if this will be done automatically or called by the wearer.
Concerning portable devices: currently the issue is that after teleporting, even if you come back, you cannot release the relay, as the portable device UUID has changed. Using e-mail can circumvent this. Other mechanisms can be considered.
As a side note, everything that is done by email up to now could from now on be implemented using http-in. I don't know what are the compared advantages of the two approaches, but anyway I will eventually write a !x-httpin extension.
--Satomi Ahn 14:10, 22 July 2009 (UTC)
I like Satomi's suggestions, and have taken the liberty of attempting to reword the specification to incorporate them. Nano Siemens 22:37, 23 July 2009 (UTC)


Other remarks

  • !ping/!pong? Is it ok to have pong not acknowledged? It would be a notable exception... but this acknowledgement is useless
  • As it is now, every known meta-command has to be executed when requested. Maybe it is not a desirable behavior. But there are several other possibilities:
  • allow answering "ko" when for some reason the relay wants to refuse a meta-command it knows
  • adding a new possible answer distinguishing between unknown and refused
If we don't change the current spec, it is still possible not to announce the support for some commands in !x-orgversions reply. However, it is likely all the relays will want to reply to !x-orgversions automatically without thinking twice, whereas some meta-commands might require some authorization from the wearer (for instance it would make sense to ask authorization for e-mail mode). This means that !x-orgversions does not necessarily have all the data for knowing whether meta-commands will be accepted in the future.
  • Another question concern the hypothetical 3rd suffix, which would be used for RLV-like effect that are implemented by LSL scripts instead of viewer mods (x-tensions like vision, gender, species, freeze, follow, control, listen, message or animate). I believe those should be handled by the relay core script almost like RLV commands, but sent to plugin scripts instead of the viewer with a llOwnerSay. It would also be nice if we could write a common API for such relay plugins.

--Satomi Ahn 11:44, 24 July 2009 (UTC)

I added the criterion of "ping" for device reachability definition: I had overlooked that Marine's specification said that every device has to be able to answer "ping"s anytime. Which implies that lots of devices are actually not compliant with Marine's specification, including mine! (I will fix this in all my devices as soon as I can.). Of course it makes as much sense to ping by chat in normal use as to ping by email, in case of email mode. --Satomi Ahn 13:12, 27 July 2009 (UTC)

I think there was still some controversy on whether devices should always answer pings or not. Last I recall there was some controversy over this, with Chorazin being against it. But I don't recall the details. Nano Siemens 20:38, 27 July 2009 (UTC)
Well this goes against the principle that controlling devices should be kept as simple as possible... but also gives a convenient way to escape devices that are stuck or just unrezed for whatever reason. Anyway, controversy or not, it has been in Marine's spec for a long time, and I think it is right to assume that devices are compliant (even if it is not true!).
What do we risk in case they are not? Releasing restrictions when it wasn't supposed to be possible? Is it that big a issue if the relay only does this when asked to by the wearer (wouldn't be worse than a safeword)?
--Satomi Ahn 11:41, 29 July 2009 (UTC)

Version 0002

I added two things, I think most of us will agree with

  • the possibility to send a RLV relay command to *every* relay around, using NULL_KEY instead of an avatar key. Landowners may be reluctant to set their furniture to use this, because some relay won't be compatible and won't be seen in a scan using a wildcard "scan,00000000-0000-0000-0000-000000000000,!x-orgversions", but we have a good argument as it will help decrease lag and make scripts a lot simpler. Moreover, ORG compliant relays are now a majority of the market. Anyway, adding this feature in relays is not a great involvement, so why not add it in prevision for the future?
  • the requirement that a relay sends all its message towards a controller through the same prim. Until now, this wasn't really necessary to specify this, but I ran into this problem with a new relay (Dahlia's relay, just released), a multi-prim relay, like tkPBA, which in its pre-version was sending acknowledgements both from the root prim and from the secondary core. This caused issues with my Witchy remote, as it restricts is listener to one key, as soon as it knows the key of the relay. Dahlia and me agreed that it was a good practice to make it easy to restrict listeners, so she fixed her relay so that only the root prim sends acknowledgements.
For the future, I think it is wiser to put this restriction in the specification.