Communication with a rezzed object?

View: New views
8 Messages — Rating Filter:   Alert me  

Communication with a rezzed object?

by Craig Berry-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm working on my first project in which one object will be rezzing
another.  After rezzing, the two will need to communicate with each
other.  The most direct way I can think of doing this is for the
rezzing object to choose a channel, pass it as an on_rez argument to
the rezzed object, and then both of them communicate on that channel.
But of course this is distance (or sim) limited.  Is there a better
way for two objects, one of which knows the other's uuid via
object_rez, to communicate?

--
Craig Berry - http://www.cine.net/~cberry/
"Lots of things in the universe don’t solve any problems, and
nevertheless exist."  -- Sean Carroll
_______________________________________________
Click here to unsubscribe or manage your list subscription:
https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters

Re: Communication with a rezzed object?

by Kuraiko Yoshikawa :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Heya,

llEmail?
mail adress from the prim is <UUID>@lsl.secondlife.com
http://wiki.secondlife.com/wiki/LlEmail

Craig Berry schrieb:

> I'm working on my first project in which one object will be rezzing
> another.  After rezzing, the two will need to communicate with each
> other.  The most direct way I can think of doing this is for the
> rezzing object to choose a channel, pass it as an on_rez argument to
> the rezzed object, and then both of them communicate on that channel.
> But of course this is distance (or sim) limited.  Is there a better
> way for two objects, one of which knows the other's uuid via
> object_rez, to communicate?
>
>  

_______________________________________________
Click here to unsubscribe or manage your list subscription:
https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters

Re: Communication with a rezzed object?

by AnnMarie@SLFBI :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Email can be very clumsy due to limited data size and slow delivery,
sometimes measured in minutes.
If it is the same sim you can use llRegionSay.
If it is beyond sim boundaries I've found that the best way is HTTP links
through an external website.

AnnMarie Otoole

----- Original Message -----
From: "Kuraiko Yoshikawa" <kuraiko@...>
To: <secondlifescripters@...>
Sent: Wednesday, September 23, 2009 5:18 PM
Subject: Re: Communication with a rezzed object?


> Heya,
>
> llEmail?
> mail adress from the prim is <UUID>@lsl.secondlife.com
> http://wiki.secondlife.com/wiki/LlEmail
>
> Craig Berry schrieb:
>> I'm working on my first project in which one object will be rezzing
>> another.  After rezzing, the two will need to communicate with each
>> other.  The most direct way I can think of doing this is for the
>> rezzing object to choose a channel, pass it as an on_rez argument to
>> the rezzed object, and then both of them communicate on that channel.
>> But of course this is distance (or sim) limited.  Is there a better
>> way for two objects, one of which knows the other's uuid via
>> object_rez, to communicate?
>>
>>
>
> _______________________________________________
> Click here to unsubscribe or manage your list subscription:
> https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters 

_______________________________________________
Click here to unsubscribe or manage your list subscription:
https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters

RE: Communication with a rezzed object?

by Ian Peachey :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
lol AnnMarie - you beat me to it ... yes, I've used HTTP and it worked / works ok - and llRegionSay.

I guess the selected method all depends on the application and the range required.

Ian


> From: AnnMarie@...
> To: secondlifescripters@...
> Subject: Re: Communication with a rezzed object?
> Date: Wed, 23 Sep 2009 17:34:28 -0400
>
> Email can be very clumsy due to limited data size and slow delivery,
> sometimes measured in minutes.
> If it is the same sim you can use llRegionSay.
> If it is beyond sim boundaries I've found that the best way is HTTP links
> through an external website.
>
> AnnMarie Otoole
>
> ----- Original Message -----
> From: "Kuraiko Yoshikawa" <kuraiko@...>
> To: <secondlifescripters@...>
> Sent: Wednesday, September 23, 2009 5:18 PM
> Subject: Re: Communication with a rezzed object?
>
>
> > Heya,
> >
> > llEmail?
> > mail adress from the prim is <UUID>@lsl.secondlife.com
> > http://wiki.secondlife.com/wiki/LlEmail
> >
> > Craig Berry schrieb:
> >> I'm working on my first project in which one object will be rezzing
> >> another. After rezzing, the two will need to communicate with each
> >> other. The most direct way I can think of doing this is for the
> >> rezzing object to choose a channel, pass it as an on_rez argument to
> >> the rezzed object, and then both of them communicate on that channel.
> >> But of course this is distance (or sim) limited. Is there a better
> >> way for two objects, one of which knows the other's uuid via
> >> object_rez, to communicate?
> >>
> >>
> >
> > _______________________________________________
> > Click here to unsubscribe or manage your list subscription:
> > https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters
>
> _______________________________________________
> Click here to unsubscribe or manage your list subscription:
> https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters


View your Twitter and Flickr updates from one place – Learn more!
_______________________________________________
Click here to unsubscribe or manage your list subscription:
https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters

Re: Communication with a rezzed object?

by Tigro Spottystripes :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I would use chat and/or email for the two objects to exchange their URLs
when they change, and http-in for regular communication and updating the
UUID

AnnMarie@... escreveu:

> Email can be very clumsy due to limited data size and slow delivery,
> sometimes measured in minutes.
> If it is the same sim you can use llRegionSay.
> If it is beyond sim boundaries I've found that the best way is HTTP links
> through an external website.
>
> AnnMarie Otoole
>
> ----- Original Message -----
> From: "Kuraiko Yoshikawa" <kuraiko@...>
> To: <secondlifescripters@...>
> Sent: Wednesday, September 23, 2009 5:18 PM
> Subject: Re: Communication with a rezzed object?
>
>
>  
>> Heya,
>>
>> llEmail?
>> mail adress from the prim is <UUID>@lsl.secondlife.com
>> http://wiki.secondlife.com/wiki/LlEmail
>>
>> Craig Berry schrieb:
>>    
>>> I'm working on my first project in which one object will be rezzing
>>> another.  After rezzing, the two will need to communicate with each
>>> other.  The most direct way I can think of doing this is for the
>>> rezzing object to choose a channel, pass it as an on_rez argument to
>>> the rezzed object, and then both of them communicate on that channel.
>>> But of course this is distance (or sim) limited.  Is there a better
>>> way for two objects, one of which knows the other's uuid via
>>> object_rez, to communicate?
>>>
>>>
>>>      
>> _______________________________________________
>> Click here to unsubscribe or manage your list subscription:
>> https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters 
>>    
>
> _______________________________________________
> Click here to unsubscribe or manage your list subscription:
> https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters
>
>  
_______________________________________________
Click here to unsubscribe or manage your list subscription:
https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters

Re: Communication with a rezzed object?

by Craig Berry-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Sep 23, 2009 at 14:54, Ian Peachey <ian@...> wrote:
> lol AnnMarie - you beat me to it ... yes, I've used HTTP and it worked /
> works ok - and llRegionSay.
>
> I guess the selected method all depends on the application and the range
> required.

I'm dealing with objects that could end up hundreds of meters away
from the rezzing object -- but it's okay for them to fall out of
communication if they get too far away, I just want to make "too far"
as far as possible.  Currently my thinking is to try communicating
through llRegionSay, then if that doesn't work try llShout (which will
work across a region boundary), and if *that* doesn't work, go into
out-of-range mode.

--
Craig Berry - http://www.cine.net/~cberry/
"Lots of things in the universe don’t solve any problems, and
nevertheless exist."  -- Sean Carroll
_______________________________________________
Click here to unsubscribe or manage your list subscription:
https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters

RE: Communication with a rezzed object?

by Ian Peachey :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
yeah :-) sounds like a good plan :-)

> Date: Wed, 23 Sep 2009 14:57:06 -0700
> Subject: Re: Communication with a rezzed object?
> From: cdberry@...
> To: ian@...
> CC: secondlifescripters@...
>
> On Wed, Sep 23, 2009 at 14:54, Ian Peachey <ian@...> wrote:
> > lol AnnMarie - you beat me to it ... yes, I've used HTTP and it worked /
> > works ok - and llRegionSay.
> >
> > I guess the selected method all depends on the application and the range
> > required.
>
> I'm dealing with objects that could end up hundreds of meters away
> from the rezzing object -- but it's okay for them to fall out of
> communication if they get too far away, I just want to make "too far"
> as far as possible. Currently my thinking is to try communicating
> through llRegionSay, then if that doesn't work try llShout (which will
> work across a region boundary), and if *that* doesn't work, go into
> out-of-range mode.
>
> --
> Craig Berry - http://www.cine.net/~cberry/
> "Lots of things in the universe don’t solve any problems, and
> nevertheless exist." -- Sean Carroll
> _______________________________________________
> Click here to unsubscribe or manage your list subscription:
> https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters


View your Twitter and Flickr updates from one place – Learn more!
_______________________________________________
Click here to unsubscribe or manage your list subscription:
https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters

Re: Communication with a rezzed object?

by jbhancroft :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Craig,

I believe the operation of rezzing an object is also distance-limited, so you
don't have much choice but to rezz it nearby. Using the on_rez start param
is a good way to get the initial comm channel info shared between the two
objects.

Then you have to decide how to communicate.  There are some other
radical & creative alternatives, but the main choices are:

1) ll(Region)Say - sim-limited, as you've noted. If you want privacy, pay attention to
    be sure you're using a negative channel, and also to reduce lag on the
    sim be careful about too many listeners.

2) llEmail - generally "ok", but is known to have fits of being laggy and
    unreliable. I've used it, but had to build my own simple reliability layer on
    top, to enable re-send for dropped message, and filtering of duplicates.

3) HTTP - the fastest and most reliable, but there are some bandwidth throttles
    that LL has put in place.  Generally requires an off-world server, but you can
    use Google apps or a number of other free/inexpensive alternatives.

  (LL recently also brought us http-in, where HTTP traffic can essential resolve to
   an object in-world. However, there are some management issues about UUIDs
   and URL refreshing that make it a little cumbersomeunless there are mitigating
   requirements).

Good luck,
- JB

JB Hancroft
Simplicity Labs


On Wed, Sep 23, 2009 at 5:10 PM, Craig Berry <cdberry@...> wrote:
I'm working on my first project in which one object will be rezzing
another.  After rezzing, the two will need to communicate with each
other.  The most direct way I can think of doing this is for the
rezzing object to choose a channel, pass it as an on_rez argument to
the rezzed object, and then both of them communicate on that channel.
But of course this is distance (or sim) limited.  Is there a better
way for two objects, one of which knows the other's uuid via
object_rez, to communicate?

--Craig Berry - http://www.cine.net/~cberry/
"Lots of things in the universe don’t solve any problems, and
nevertheless exist."  -- Sean Carroll
_______________________________________________
Click here to unsubscribe or manage your list subscription:
https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters


_______________________________________________
Click here to unsubscribe or manage your list subscription:
https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters