Pedro Pendragon
Registered User
Join date: 15 Jan 2004
Posts: 77
|
11-11-2004 17:22
Am I late to the party here, has it always been this way?  Or is this a new bug? When I have 1 object shout and another listen for it, they trigger just fine if they're in the same sim. If they're just across a sim border from one another, the listen event does not trigger -- though I can hear the shouter from the other sim, myself.
|
Water Rogers
Registered User
Join date: 1 May 2003
Posts: 286
|
11-11-2004 19:56
o.O Sure you don't have an error in your script somehwere? I just tested this and it seems to work perfectly fine for me... Script 1: (touch this to have it shout) default{ touch_start(integer t){ llShout( 0, "Can you hear me?" ); } } Script 2: (Listening in a different sim) default{ state_entry(){ llListen( 0, "Object", "", "" ); } listen( integer c, string n, key id, string m ){ llSay( 0, "Yes i can hear you!" ); } } --Water
_____________________
From: Philip Linden For the more technically minded - the problem is actually NOT the asset server (or 'asshat' as you prefer to affectionately call it herein).
|
Cubey Terra
Aircraft Builder
Join date: 6 Sep 2003
Posts: 1,725
|
11-11-2004 21:30
Might be worth trying on different chat channels too. I've had problems with this as well.
_____________________
C U B E Y · T E R R A planes · helicopters · blimps · balloons · skydiving · submarines Available at Abbotts Aerodrome and XstreetSL.com 
|
Pedro Pendragon
Registered User
Join date: 15 Jan 2004
Posts: 77
|
11-12-2004 16:16
Positive, Waters -- I tested it extensively, and it worked just fine within the same sim, just not over a border.
I was initially trying it on a "private" channel, 58. I was surprised that it wasn't working, so I switched it to channel 0 to be sure I wasn't messing something up. When I copy/pasted the text from the object, it worked over the sim boundary just fine.
Results: Object -> Avatar: Good Avatar -> Object: Good Object -> Object: No dice.
The specific sim boundary I was using was between Pomponio and Palomarian.
|
Water Rogers
Registered User
Join date: 1 May 2003
Posts: 286
|
11-12-2004 18:11
Pedro... out of curiouslity, did the listening object happen to be on 'no outside scripts' land. Please don't take that the wrong way, i'm just trying to think of different possibilities before ruling it as a bug. BTW, mine tested fine between Chartruese and Bisque.
--Water
_____________________
From: Philip Linden For the more technically minded - the problem is actually NOT the asset server (or 'asshat' as you prefer to affectionately call it herein).
|
Pedro Pendragon
Registered User
Join date: 15 Jan 2004
Posts: 77
|
11-13-2004 08:45
 Found the problem. in the listen() event, the first thing was: if(llGetOwnerKey(id) != llGetOwner()) return;
Since both objects were owned by me, I assumed that that would be okay. I forgot that functions like that don't work properly across sim boundaries (argh.) So, llGetOwnerKey(id) was returning the value of 'id'... causing the event to exit before my check. D'oh.
|