Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Looking for a script to protect privacy

Lash Xevious
Gooberly
Join date: 8 May 2004
Posts: 1,348
08-26-2004 04:57
What are the scripts that would move away some nosy person and their camera away from me when I'm on my plot?

I've had several people barge in on me when I'm working on something. I'm usually in appearance mode too, so I can't tell if anyone's there until they actually sit on my face or some other annoyance. They even invade my space in a sky box!

I'm looking for something simple. Nothing that would lag my sim or get my neighbors and unsuspecting by-passers inconvenienced. If something already exists, or it needs to be written, I dunno. I really would appreciate any insight to help me here.

Also, I'm not familiar with the scripting language. But if you say I have to cut and paste this code to that code, I can cope. And, umm, thank you. Bleh. :D
_____________________
Bosozoku Kato
insurrectionist midget
Join date: 16 Jun 2003
Posts: 452
08-26-2004 05:28
I dunno where you might get one, but I'm sure some exist already (it would be easy to make one though). A script to just send an intruder home (instant teleport to their Home spot) would be simple. Could use an exclusion list for friends so you don't toss your buddies out.

If you'd like you can IM me in game and I'd be happy to script something for you.

Bos
billy Madison
www.SLAuctions.com
Join date: 6 Jun 2004
Posts: 2,175
08-26-2004 05:30
I came across a "good neighboor box" awhile back im not sure what all it contained but i think you might want to check this out i got it at dee cassidys market it has all kinds of good neighboor scripts.
Wednesday Grimm
Ex Libris
Join date: 9 Jan 2003
Posts: 934
08-26-2004 07:52
If you just want to know if someone's nearby, that's pretty simple, you could, for example have a sensor that plays a sound whenever someone who's not you approaches within n meters. Ooooh, you could even make it beep faster the closer they get, like a sonar.

This would be pretty trivial, IM me and I'll see about cooking it up.

As for doing something about people, I would recommend using land tools and/or muting. Trying to script away people you don't like just leads to an arms race.
_____________________
Sarcasm meter:
0 |-----------------------*-| 10
Rating: Awww Jeeze!
Bosozoku Kato
insurrectionist midget
Join date: 16 Jun 2003
Posts: 452
08-26-2004 08:03
Good point Wednesday, and fun idea for a sonar. But one drawback with the land tools is you can't "Ban everyone except [exception_list]". Which would be handy for times you want a complete (or nearly complete) hermitage. Plus adding bans requires interruptions, you have to find the name, type it in, accept it. Then remember to remove bans later on (if you want to), plus limited to 50 names.

I've never written any "security" scripts, mostly just for what you pointed out -- others will just retaliate with their one devices, and the arms race begins. Shame either method would be needed anyway. tis a different world...
Artillo Fredericks
Friendly Orange Demon
Join date: 1 Jun 2004
Posts: 1,327
08-26-2004 08:40
As far as I know, there are no scripts or other remedies to keep prying cameras out of "private" areas, either. It's one thing to be able to physically ban/restrict/etc. an avatar from a location, but another altogether to keep them out of camera range. What exactly is the limit on camera range anyways? My experience is that it's got to be somewhere around 50-100m wher you become unable to rotate around your target.

Unless you own a large amount of land and are working in the middle of it, I can't see a way to keep cameras out, except by keeping the avatars at the camera distance limit.

My 2 cents,

Artillo

PS - yea that bleeping radar sounds cool too! I'd buy one!
_____________________
"I, for one, am thouroughly entertained by the mass freakout." - Nephilaine Protagonist

--== www.artillodesign.com ==--
Tiger Crossing
The Prim Maker
Join date: 18 Aug 2003
Posts: 1,560
08-26-2004 11:00
I once made a skybox for someone with a proximity sensor that, when triggered, would rez hollowed black cubes at random orientations at progressively smaller sizes starting at a size that would contain the whole skybox. This fractures the interior space with hundreds (with enough cubes, I had 80) of black surfaces, making visibility inside close to nill. All you could see if you sent your camera in were small, disjointed segments.

While not a perfect solution (YOU can't see, or move, while it's activated) it was better than nothing.
_____________________
~ Tiger Crossing
~ (Nonsanity)
Azelda Garcia
Azelda Garcia
Join date: 3 Nov 2003
Posts: 819
08-26-2004 11:15
Basically the only thorough solution is buy your own island sim and boot anyone you dont want seeing what youre doing.

Azelda
_____________________
Raphael Rutherford
Resident Resident
Join date: 26 Mar 2004
Posts: 236
08-26-2004 14:20
You can't do that either as the ban only works to 15 meters above ground, making it virtually useless. People can still see you, hear you, litter your land with objects (if edit/build is enabled)

/RR
Catherine Omega
Geometry Ninja
Join date: 10 Jan 2003
Posts: 2,053
08-26-2004 14:48
Can too. That's what llTeleportAgentHome is for. :)
_____________________
Need scripting help? Visit the LSL Wiki!
Omega Point - Catherine Omega's Blog
Moleculor Satyr
Fireflies!
Join date: 5 Jan 2004
Posts: 2,650
08-26-2004 14:52
A trick to inhibiting camera access is building multiple layers into your walls. The camera doesn't like that, and ends up getting stuck between the layers. Not all the time, and the more layers, the better the protection, but it does work a bit.
_____________________
</sarcasm>
Lash Xevious
Gooberly
Join date: 8 May 2004
Posts: 1,348
08-26-2004 15:10
Hmm ... I was just hoping for something I could rez next to me that would nudge/bump people away if they got close. Nothing drastic like TPing them back home. So they'd just fly around that invisible wall. Like the Land tool's limited access but without those horrid red lines.

Rezzing a bunch of black boxes around me sounds cool, but I lack the prim count to pull that off. The sonar sounds awesome! But it may be unhealthy for my paranoid mental state. I'll look up that good neighbor box mentioned. I had one of those but deleted it since I had no land at the time.

Thanks for all the responses. I think I'm going to try out some of these and use some ideas I thought of over breakfast. Oh, and Azelda, if I had the money, believe me, I would have an island of 4 sims already. :p :D
_____________________
Buck Blanc
Master Mechanic
Join date: 11 May 2004
Posts: 50
08-26-2004 15:17
Hi Lash, You can find that " Good Neighbor Package" at the Second Life university, Its a free script sitting there on the shelf in the main entrance.
Tiger Crossing
The Prim Maker
Join date: 18 Aug 2003
Posts: 1,560
08-26-2004 15:20
A more modern version of my black box technique would be to set them Temp on Rez so they don't come out of your land allowance, and to keep generating new ones as the old ones self-die on the temporary timer. (As long as the interloper remains nearby.)
_____________________
~ Tiger Crossing
~ (Nonsanity)
Carnildo Greenacre
Flight Engineer
Join date: 15 Nov 2003
Posts: 1,044
08-28-2004 01:37
I was working on a "soft ban" script at one point. It would use llPushObject to repel nearby avatars, with the push getting stronger as the av got nearer. The problem with it is that it doesn't work on avs sitting on non-physical objects.
_____________________
perl -le '$_ = 1; (1 x $_) !~ /^(11+)\1+$/ && print while $_++;'
Sensual Casanova
Spoiled Brat
Join date: 28 Feb 2004
Posts: 4,807
08-28-2004 02:45
Lash I have a script that sends people home and sends them a message they have enetered a restricted area, it will also IM you when it is kicking someone.
I have a sky box , and you wouldn't believe how many nosey people I send home every day lol. I love this script... it kicks them before they can even see where they are going lol
Chris Byrne
Broccoli Chef
Join date: 21 Mar 2004
Posts: 57
08-28-2004 04:20
Got a pusher based on a sensor. You carefully set the distance/push strenght.
Maximus Zander
Registered User
Join date: 30 Apr 2004
Posts: 55
08-30-2004 00:29
I can understand why you want privacy, but hey.. face it.
You are playing in a world where there are more than one person.

If you want to restrict people from seeing you, buy a whole sim and restrict access, or a land big enough and a small house in the middle, that way they cant zoom in on you.

Maybe create a box where it is invisible from outside.
Get the Invisibility texture and put on the face outside.
Dan Medici
Registered User
Join date: 25 Jan 2004
Posts: 132
08-30-2004 22:50
I am kind of curious about the algorithm one would implement for this sonar script. Does anyone really know about it yet? I'm just very interested in how you would make it beep faster for one particular person using a sensor repeat. Someone explain please ? :)
Maximus Zander
Registered User
Join date: 30 Apr 2004
Posts: 55
08-31-2004 02:36
You can get the distance.

float llVecDist(vector v1, vector v2);

just make a llSetTimerEvent( float dist ).

Have it adjust the timerevent faster if the distance is shorter.
Have the sensor maximum of 30m and devide that by 10.
and if the user is 3m away you get beep every 0.3sec.

Thats how i would do it.

From Wiki Page:
The equation for finding vector distance with components is sqrt((x2-x1)^2 + (y2-y1)^2 + (z2-z1)^2).
Ironchef Cook
-
Join date: 23 Jun 2003
Posts: 574
08-31-2004 03:11
There really is no way to script something to politely keep people away.

The best way is to dig a very deep hole and set your land to ban everyone. If the hole is deep enough, people won't be able to zoom that far.

edit: typos
Dan Medici
Registered User
Join date: 25 Jan 2004
Posts: 132
08-31-2004 14:11
Yeah. I was thinking, just to use a sensor repeat, and when it picks someone up, have a delay period, then beep. After it beeps, it divides the delay period by the difference of distances between the distance on the ecurrent iteration and the distance of the last iteration. For example, if someone was 10 meters away, the sensor would pick up, and it would beep with the default delay of 1 second before the next sweep. After the one second, it would pick the same person up, and if they were say, lets see, 7 meters away, you would do 10-7 which would return 3, so you would divide the delay period by three. This way, the rapidness of the beeping would be directly related to how fast the avatar was moving towards, or away the script.
prak Curie
----------
Join date: 4 Jun 2004
Posts: 346
09-01-2004 11:15
From: someone
Originally posted by Ironchef Cook
There really is no way to script something to politely keep people away.


You could have a sensor that warns people first. Checks the distance to them a little later and teleports them home if they have not moved away.

Add warnings and/or delays before teleporting until it reaches polite enough.
Maximus Zander
Registered User
Join date: 30 Apr 2004
Posts: 55
09-01-2004 23:52
I made a sonar yesterday, it worked fine.
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
09-02-2004 01:21
There are those of us who don't take kindly to scripts that send us packing. Now i'm a bit more sympathetic if you build a fence and put up signs. SL is a social enviroment. I don't totaly buy into the need for privacy (300 main land sims and you can't find an empty hot tub?). Be prepared to be neg rated if you don't warn people in advance.

For islands with the new Estates system there is no reason to complain. (not even people with landmarks can get to sims hidden with the estate system).
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river.
- Cyril Connolly

Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence.
- James Nachtwey