Change font size
It is currently Wed Aug 15, 2018 1:18 pm

Forum rules


{L_IMAGE}



Post a new topicPost a reply Page 1 of 2   [ 17 posts ]
Go to page 1, 2  Next
Author Message
 Post subject: Object to object communication
PostPosted: Tue Feb 05, 2008 12:40 pm 
User avatar

Joined: Tue Feb 05, 2008 12:13 am
Posts: 24
Location: Central California
I'm looking forward to getting prims to talk to each other...
llListen only seems to work for chat from avatar, not other objects.

_________________
"...a book with no readers is not a fully effective work of art." Rudy Rucker


Top
 Profile  
 
 Post subject: Re: Object to object communication
PostPosted: Tue Feb 05, 2008 7:16 pm 
Furious Typer
User avatar

Joined: Sat Feb 02, 2008 10:02 pm
Posts: 104
Location: Romania, Bucharest
Indeed, I am also waiting for that. Not necessarily llShout with "listen", but "sim message" communication... think there is something like that on the LL grid. So even if an object with a script is 1000 meters in the air, one at the ground can send a message to it regardless.


Top
 Profile  
 
 Post subject: Re: Object to object communication
PostPosted: Wed Feb 06, 2008 5:06 pm 

Joined: Wed Feb 06, 2008 4:58 pm
Posts: 3
I have been thinking of adding something similar to llMessageLinked() - but allowing for a different prim to be called. Something like:
osMessageOther(key uuid, integer num, string str, key id)


Top
 Profile  
 
 Post subject: Re: Object to object communication
PostPosted: Mon Mar 31, 2008 5:58 pm 

Joined: Mon Mar 31, 2008 5:14 pm
Posts: 1
Hello :)
First of all i want to say what awsome project this is and can imagine some coders have had a few sleepless nights trying to fix buggy code and implement new functions! But you did a great job so far .. lets keep going on!!! ;)

Alondria {L_WROTE}:
I have been thinking of adding something similar to llMessageLinked() - but allowing for a different prim to be called. Something like:
osMessageOther(key uuid, integer num, string str, key id)

what about to add 1 more integer value used as flag for message types like IM, Email, Region.
so key uuid can also be used as the string email-address or a region name if the flag for is set.
i guess its easier to implement and maintain that way.

anyway will be happy with every new implemented function! ...what about osPizza(integer type);?! :D
but already noticed some glitch at counting integers. is there kinda bug tracker for? did not found one here :oops:
heard about 'mantis' but is it the right one and ..where is it? point me to it please :cry:

revochen 8-)


Top
 Profile  
 
 Post subject: Re: Object to object communication
PostPosted: Tue Apr 01, 2008 1:57 am 
User avatar

Joined: Tue Feb 05, 2008 12:13 am
Posts: 24
Location: Central California
http://www.opensimulator.org/mantis

And to Alondria: Let us know if you implement this function in any way. I can't wait to test it!

_________________
"...a book with no readers is not a fully effective work of art." Rudy Rucker


Top
 Profile  
 
 Post subject: Re: Object to object communication
PostPosted: Tue Jul 15, 2008 8:31 pm 

Joined: Tue Jul 15, 2008 8:12 pm
Posts: 1
I'm a total noob, but after a cursory examination of the script codex that comes with the SL client, it appears there is already a way to do this, a command to send a message to one prim from another. I have been playing with it abit, trying to get one object to send a message to another, and then have the second object say something on channel 0 to prove it recieved it, but I'm still figuring out the syntax so it doesn't work.

But of course there's a limit on how far a spoken command can be heard by an avatar but the documentation for llListen and llSay doesn't specify whether it applies to prims or chatter on channels other than 0. I also thought i saw a command somewhere specifically to send messages between prims


Top
 Profile  
 
 Post subject: Re: Object to object communication
PostPosted: Fri Jul 18, 2008 8:12 pm 

Joined: Fri Jul 18, 2008 6:44 pm
Posts: 4
llEmail works across the grid, but opensim doesnt have this bit of LSL, and really shouldnt anyways, its a cheap fix the lindens threw in which opens them up to all sorts of people using the grids servers to send spam mail.


Top
 Profile  
 
 Post subject: Re: Object to object communication
PostPosted: Sat Jul 19, 2008 8:37 pm 

Joined: Sat Jul 19, 2008 4:48 am
Posts: 23
For two objects to communicate through a whole sim, you can use llRegionSay(channel, "message") and llListen()/listen(). Note that llRegionSay() does not work on channel 0.
I have used it a lot in both SL and OpenSim and it works just fine.

Find below a simple example.

Mana


Sending Object
{L_CODE}:
default
{
    touch_start(integer num)
    {
        llRegionSay(1234, "I have been touched.");
    }
}


Receiving Object
{L_CODE}:
default
{
    state_entry()
    {
        llListen(1234, "", NULL_KEY, "");
    }

    on_rez(integer param)
    {
        llResetScript();
    }

    listen(integer channel, string name, key id, string msg)
    {
        llOwnerSay("Reveived message: " + msg);
    }
}


Top
 Profile  
 
 Post subject: Re: Object to object communication
PostPosted: Thu Jan 20, 2011 6:36 am 

Joined: Sat Aug 07, 2010 3:16 pm
Posts: 1
Hi Guys I looking for remote control lights for my club I try to do somethink alone but don't understand to scripts could somebody help me with it ?


Top
 Profile  
 
 Post subject: Re: Object to object communication
PostPosted: Thu Jan 20, 2011 9:13 pm 
OSG Elite
User avatar

Joined: Sat Jun 14, 2008 12:28 am
Posts: 384
Location: Australia
Matej
This script will enable remote control of prim color
(using the old semi transparent phantom cone for a light beam as seen in clubs)
http://forums.osgrid.org/viewtopic.php?f=5&t=197
however it is controlled by chat, I have seen ones controlled by touch of a master prim, looking for that now but cant remember where, maybe you can have this one modified to do that.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post a new topicPost a reply Page 1 of 2   [ 17 posts ]
Go to page 1, 2  Next


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
610nm Style by Daniel St. Jules of Gamexe.net