Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

llSensorRepeat Oddness?

si Money
The nice demon.
Join date: 21 May 2003
Posts: 477
06-26-2003 11:41
I recently made a small modification to the Kick All Tiki from Land Management tools, and I was noticing some oddness by it.

The change was simple, where it checks if the pest (which is the sensor detected key) is not owner, and does the actual llEjectFromLand, I added a simpe llInstantMessage(llGetOwner(), llKey2Name(pest));

Simple, right?

Not so, when the kick all is "off" state, it does a llSensorRepeat with a 0.0, which per documentation should remove the sensor.

No such luck, i'm getting very odd names shot to me off the sensor, most of them by people who are not in/near Taber, where the sensor is located.

I've managed to be online for a few such messages, one of which was Phoenix Linden. I discussed for a few minutes with him, and he said he was teleporting at the Governor's mansion.

So the question is, how is a llSensorRepeat which has been given a range of 0.0, effectively disabling it per documentation, picking up sensed keys all over the SL world?

Is 0.0 no longer a valid way to disable a sensor? I noted there is also llSensorRemove(), not to say Linden provided scripts are infallable, but I figured before redoing it i'd check here.
Nada Epoch
The Librarian
Join date: 4 Nov 2002
Posts: 1,423
06-26-2003 15:09
ah i think that is a typo actually. you need to pass a 'rate' of 0.0, just like canceling a timer event. that however doens't explain why a range of 0.0 is pulling up anything. it should only find someone/thing if they were in the exact same coordinates...
_____________________
i've got nothing. ;)
Christopher Omega
Oxymoron
Join date: 28 Mar 2003
Posts: 1,828
06-26-2003 15:51
Also, llInstantMessage makes a script sleep 20 full seconds becore continuing to run.. someone could have completely passed over the object and be long gone before the object reports that person.
_____________________
October 3rd is the Day Against DRM (Digital Restrictions Management), learn more at http://www.defectivebydesign.org/what_is_drm
Nada Epoch
The Librarian
Join date: 4 Nov 2002
Posts: 1,423
06-26-2003 15:57
still they would have had to pass through the object, and if it wasn't phantom... i have no idea if it is or not.
_____________________
i've got nothing. ;)
si Money
The nice demon.
Join date: 21 May 2003
Posts: 477
06-26-2003 19:34
From: someone
Originally posted by Nada Epoch
still they would have had to pass through the object, and if it wasn't phantom... i have no idea if it is or not.


Nope, not phantom

I know about the delay, it's not really an issue. I'm not worried about it being speedy, it's rare I have the tiki on, just when i'm building high small-prim count objects and distractions make me lose things. And more rare that I actually get a kick when it does. Just like to know who it kicked.

The rate, range, etc are all 0.0 in it (again, I didn't write that part, it's from the land management tools, from.. Haney? Linden).

But yes, it does pick up objects with a 0 sensor. Very very odd...