• All submissions to this site are governed by Second Life Project Contribution Agreement. By submitting patches and other information using this site, you acknowledge that you have read, understood, and agreed to those terms.
Issue Details (XML | Word | Printable)

Key: SVC-1746
Type: Bug Bug
Status: Reopened Reopened
Priority: Major Major
Assignee: Unassigned
Reporter: Bunny Halberd
Votes: 5
Watchers: 9
Operations

If you were logged in you would be able to see more operations.
2. Second Life Service - SVC

An llSensor() whose scanning radius covers <0,0,0> will detect any avatar that is sitting within a sim.

Created: 03/Mar/08 05:12 PM   Updated: 22/Sep/09 11:05 AM
Component/s: Scripts
Affects Version/s: 1.19.0 Server, 1.23.0
Fix Version/s: None

File Attachments: 1. File sittingAvatarScanner.lsl (0.7 kB)

Environment:
Second Life 1.19.0 (5) Feb 28 2008 17:18:12 (Second Life Release)

You are at 154159.9, 307212.1, 550.7 in Amiaguas Binei located at sim4999.agni.lindenlab.com (216.82.27.210:13005)
Second Life Server 1.19.1.81132

CPU: Intel Core 2 Series Processor (2333 MHz)
Memory: 2047 MB
OS Version: Microsoft Windows XP Service Pack 2 (Build 2600)
Graphics Card Vendor: NVIDIA Corporation
Graphics Card: GeForce 8600 GTS/PCI/SSE2
OpenGL Version: 2.1.2
LLMozLib Version: 1.1.0 (Mozilla GRE:1.8.0.12_0000000000)
Packets Lost: 67/280337 (0.0%)
Viewer Digest: 6b1bac12-2a86-e1f2-aa5e-3108db5c8eeb

Last Triaged: 22/Sep/09 11:04 AM
Linden Lab Issue ID: DEV-40328


 Description  « Hide
An llSensor() whose scanning radius covers <0,0,0> will detect any avatar that is sitting within a sim.

Steps to reproduce:

  • Rez any prim near point <0,0,0> in a sim. (Does not have to be actually on this point, just close.)
  • Place the script attached inside the prim.
  • Touch the prim.
  • Observed: Any avatar that is within the scanning radius of the sensor will be returned by the sensor, plus any avatar that is sitting anywhere in the sim, even if they are far outside of the scanning radius.
    = Expected: Only avatars within the scanning radius of the prim will be returned.

Avatars that are more than 96m away from the sensor are detected and returned. Scanning distances of over 750m have been detected in simple tests.



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
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.

Jeremy Duport added a comment - 29/Apr/08 08:14 AM
Remind me to start exploiting this mercilessly. This is one of those "features" you hear about; I like it, please don't "fix" it

darling brody added a comment - 02/Feb/09 04:16 AM
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


Chalice Yao added a comment - 02/Feb/09 04:20 AM
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.


Alexa Linden added a comment - 14/Sep/09 02:25 PM
Are you still experiencing this problem using 1.23.4? If so, can you please provide us with reproducible steps?

darling brody added a comment - 14/Sep/09 04:56 PM - edited
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));
        }
    }
}

Maggie Darwin added a comment - 14/Sep/09 05:13 PM - edited
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.


Maggie Darwin added a comment - 14/Sep/09 05:22 PM
Does it matter if the sensor prim is owned by the avatar? Because that's how I'm testing.

Ezian Ecksol added a comment - 15/Sep/09 02:31 AM - edited
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


TigroSpottystripes Katsu added a comment - 16/Sep/09 09:31 AM
perhaps the range needs to be bigger or the time between repeats smaller/bigger ? what about testing it on a sim with 8 neighbors?