link_message / llMessageLinked / LINK_THIS Discrepancy

link_message / llMessageLinked / LINK_THIS Discrepancy

Postby Merrick Merryman » Fri Nov 21, 2008 9:49 pm

I have a pair of scripts that work wonderfully in world.
All they do is send a message from the first to the second,
and llOwnerSay the message. It uses LINK_THIS as the
sender, since the receiving script is in the same prim.

When I run it in LSLEditor (2.39), it says the message is
sent, i.e., llMessageLinked is called, but the other script
doesn't receive a link_message call. If I manually fill in the
parameters to the second script, and click the link_message
button, it displays the message. And, it correctly displays
the "ignore" message when my parameters are not what
it's expecting.

Does this editor support the llMessageLinked/link_message
execution with the LINK_THIS parameter? If I change the code
to use LINK_SET, it works in the editor and SL. I'm not sure
which is the "right" way, but regardless, I thought I'm mention
the discrepancy between the editor's and SL's behavior.

Thanks,
mm
p.s.
Here is the first script, named llMessageLinked.lsl:
Code: Select all
default
{
    state_entry()
    {
        llMessageLinked(LINK_THIS, 90210, "Hey, buddy!", NULL_KEY);
    }
    touch_start(integer n)
    {
        llMessageLinked(LINK_THIS, 90210, "Hey, buddy!", NULL_KEY);
    }
}

Here is the second script, named link_message.lsl:
Code: Select all
default
{
    link_message(integer sender_number, integer number, string message, key id)
    {
        if (number == 90210) {
            llOwnerSay(message);
        } else {
            llOwnerSay("Ignoring message from "+(string)sender_number);
        }
    }
}
Merrick Merryman
 
Posts: 5
Joined: Fri Nov 21, 2008 9:25 pm
Location: USA/East Coast

Re: link_message / llMessageLinked / LINK_THIS Discrepancy

Postby GMcLeod » Sat Nov 22, 2008 6:23 pm

Regrettably this does not appear to be implemented in LSLEditor (yet).

The number of changes introduced by SL is probably driving Alphons nuts. It would me.
Trying to keep up with what is new in SL is bad enough trying to implement your own version of it for LSLEditor must be manic.
User avatar
GMcLeod
 
Posts: 49
Joined: Fri Dec 14, 2007 9:15 am

Re: link_message / llMessageLinked / LINK_THIS Discrepancy

Postby abitar » Mon Nov 24, 2008 9:02 pm

Hiya,

Just one thing that got mine version working was:


I had to put the scripts in a solution and saved in an object to Linkmessage to work inside the editor.

I asked similar questions months ago and it works that way.



abitar
abitar
 
Posts: 4
Joined: Sat Dec 29, 2007 1:42 pm

Re: link_message / llMessageLinked / LINK_THIS Discrepancy

Postby Merrick Merryman » Sun Nov 30, 2008 11:49 am

I have the script inside an object and solution. I needed to do that to be able to read notecards. Still, LINK_THIS doesn't work for me. I am able to use LINK_SET, since I only have one prim anyway. At least I have a work-around.
Thanks for the idea though,
mm
Merrick Merryman
 
Posts: 5
Joined: Fri Nov 21, 2008 9:25 pm
Location: USA/East Coast

Re: link_message / llMessageLinked / LINK_THIS Discrepancy

Postby Philip30 » Wed Jul 21, 2010 6:56 am

thanks for this information..

make money online
Philip30
 
Posts: 1
Joined: Wed Jul 21, 2010 6:05 am

Re: link_message / llMessageLinked / LINK_THIS Discrepancy

Postby marryanne » Tue Aug 17, 2010 5:50 am

Oversee data collection, assessment, analysis, and associated discrepancy resolutions.
This may include team meetings/presentations with Sr. Management.
marryanne
 
Posts: 1
Joined: Tue Aug 17, 2010 5:10 am

Re: link_message / llMessageLinked / LINK_THIS Discrepancy

Postby VolcomStone54 » Fri Aug 27, 2010 4:54 am

Hello Guys ! ! !
Thanks marryanne for that info.
Have a nice day guys! ! !

thanks for the LINKS ! ! !

Make Money Online
VolcomStone54
 
Posts: 2
Joined: Fri Aug 27, 2010 4:32 am

Re: link_message / llMessageLinked / LINK_THIS Discrepancy

Postby luzagodom » Thu Sep 02, 2010 8:08 am

There are so many informations.
luzagodom
 
Posts: 2
Joined: Thu Sep 02, 2010 7:08 am


Return to Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron