|
|
|
[
Permlink
| « Hide
]
Lex Neva added a comment - 04/Mar/08 10:55 AM
Aha! Good find! There's long been weirdness involved at <0,0,0>, where you'll see copies of attachments, particle effects, etc down there. I wonder if this is the root cause of all cases where llSensor() calls detect avatars much further away than they should.
Remind me to start exploiting this mercilessly. This is one of those "features" you hear about; I like it, please don't "fix" it
Sounds like a cool way to detect avatars who are sitting, until you remember sensors only return 16 results.
So if there are 16 people sitting in the region do you still see people who are standing within the correct sensor range? Are the sitting people still sorted into distance like normal, or are they displacing people within the normal sensor range? good or bad? Bug or feature? Dont know until these questions are answered. Darling Brody Hmmh. This is an oooold bug.
I'm surprised it still works, given that I remember it stopping to do so when they removed the 'sitting people in safezones can be killed' bug. Actually, better check if it does, as a matter of fact, still work. I don't think it does. But yes, it only returned 16 avatars still, and I can't quite remember what showed first, sitting or standing people close by. Are you still experiencing this problem using 1.23.4? If so, can you please provide us with reproducible steps?
Yes it is still happening.
1) get an avatar to sit on a 0.5 square prim at location 250 x 250 x Ground_Level 2) place an object at position 10 x 10 x Ground_Level 3) Put the below script into the prim located at 10 x 10 x Ground_Level 4) note that the prim incorrectly is able to see the person sitting. The person should be out of sensor range. default { state_entry() { llSensorRepeat("","",AGENT,50,TWO_PI,1); } sensor(integer count) { integer loop; for (loop = 0; loop < count; loop = loop +1) { llOwnerSay("I See : "+llDetectedName(loop)); } } } It's not reproing for me on an island sim with no adjacent sims (Harrington) . Let me try someplace with some surroundings.
Doesn't repro for me at Santa Catalina sim either. Very strange. Does it matter if the sensor prim is owned by the avatar? Because that's how I'm testing.
Could not repro in Sandbox Cordova. I saw some agents sitting in sim (there were out of range of the sensor), and they were not detected (using your repro).
NEither with PI and nor with TWO_PI perhaps the range needs to be bigger or the time between repeats smaller/bigger ? what about testing it on a sim with 8 neighbors?
|
||||||||||||||||||||||||||||||||||||||||||||||