Difference between revisions of "LSL Protocol/Restrained Love Open Relay Group/simwide"

From Second Life Wiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 12: Line 12:
The relay must answer ok if and only if the source is a grabber. Otherwise the answer is always ko. The effect of this command is as follows: for any command @getsomething:xxx=channel, the relay must listen to the viewer's answer and resend it using llRegionSayTo() using the same channel and to the source. So !x-simwide enables to use such command with a hud which is more than 100m away (simwide mode).
The relay must answer ok if and only if the source is a grabber. Otherwise the answer is always ko. The effect of this command is as follows: for any command @getsomething:xxx=channel, the relay must listen to the viewer's answer and resend it using llRegionSayTo() using the same channel and to the source. So !x-simwide enables to use such command with a hud which is more than 100m away (simwide mode).


Typical exchange:
Typical exchange (if C is already accepted by the relay) in chat session:


  C -chat on RLVRC-> R: enable_forward,!x-simwide
  C -chat on RLVRC-> R: enable_forward,!x-simwide
Line 20: Line 20:
  R --llOwnerSay--> V: @getoutfit=1111
  R --llOwnerSay--> V: @getoutfit=1111
  R <-chat on 1111- V: 0010011111111110
  R <-chat on 1111- V: 0010011111111110
  C <-chat on RLVRC- R: 1111,0010011111111110           (1)
  C <-chat on 1111- R: 0010011111111110
  C -chat on RLVRC-> R: disable_forward,!x-simwide/clear
  C -chat on RLVRC-> R: disable_forward,!x-simwide/clear
  C <-chat on RLVRC- R: disable_forward,!x-simwide/clear,ok
  C <-chat on RLVRC- R: disable_forward,!x-simwide/clear,ok

Latest revision as of 07:49, 11 June 2011

simwide

STATUS: deprecated

version: 000

Two new commands !x-simwide and !x-simwide/clear explained below.

Description of !x-simwide

The relay must answer ok if and only if the source is a grabber. Otherwise the answer is always ko. The effect of this command is as follows: for any command @getsomething:xxx=channel, the relay must listen to the viewer's answer and resend it using llRegionSayTo() using the same channel and to the source. So !x-simwide enables to use such command with a hud which is more than 100m away (simwide mode).

Typical exchange (if C is already accepted by the relay) in chat session:

C -chat on RLVRC-> R: enable_forward,!x-simwide
C <-chat on RLVRC- R: enable_forward,!x-simwide,ok
C -chat on RLVRC-> R: outfit_query,@getoutfit=1111
C <-chat on RLVRC- R: outfit_query,@getoutfit=1111,ok
R --llOwnerSay--> V: @getoutfit=1111
R <-chat on 1111- V: 0010011111111110
C <-chat on 1111- R: 0010011111111110
C -chat on RLVRC-> R: disable_forward,!x-simwide/clear
C <-chat on RLVRC- R: disable_forward,!x-simwide/clear,ok

Interaction with !x-takeover

These instructions must be used only with llRegionSayTo(). So the relay will have to save the uuid key of the grabber and also will have to update it after a !x-takeover.

Interaction with !x-handover

After a !x-handover, the next grabber must send a new !x-simwide to enable the simwide mode again.