|
Cindy Claveau
Gignowanasanafonicon
Join date: 16 May 2005
Posts: 2,008
|
07-01-2006 09:33
If someone's already selling one of these I might just buy it to save myself the grief of building/testing it myself, but I haven't seen anything that specifically does what I'm after. What I want to know are the pitfalls to writing this type of security orb for a busy club without adding significantly to lag with frequent scans. What prompted this is the 50-line ban limit in land tools. My club has already hit that limit and we've had to peel off the top to add more bans. Here's what I'd like: The Orb does not act on regular residents who enter scan range. It isn't intended to exclude non-group members like a few of the security systems I've seen. In the future, I'd like to be able to add a check for payment info field but that can wait until LL gets that function scripted. Meanwhile I need to have the orb hold a notecard ban list which the script loads (and refreshes if someone is added to ban), and every few seconds compares that to avatars detected within the configured range of the orb. If someone on its internal ban list is detected, it then ejects from the land. I'm not interested in teleporting home. This is simply to push them out of range of the scanner(s). I want to have voice chat updating of the ban list too, which I think would be the easy part. Question: what are some of the generally accepted guidelines to building scanners in order to reduce lag issues? Is 10 second scan interval too frequent? What are the list limits in LSL for a ban list like this?
|
|
Jher Quartermass
Registered User
Join date: 24 Sep 2004
Posts: 18
|
07-01-2006 10:45
well I see a couple of problems with this.
If you're just "pushing" the banned people, whats to stop them from using an anti-push script/object to defeat your security? It'd be much better to just send them home.
Sensors work in a circular area and property is square.. you run the risk of extending past your land.
Sensors only work in a 96m radius, if your land is larger than that, you'll need more than one.
All that aside, it doesn't sound that difficult to code.
|
|
Keknehv Psaltery
Hacker
Join date: 11 Apr 2005
Posts: 1,185
|
07-01-2006 11:00
I would highly recommend not using a list to store the ban names, but instead using a string. This will allow you to save a bunch of memory. The code ends up looking something like this: blackList = ",someone bad,another griefer,banned user,"; integer isOnBlackList( string name ) { return ( llGetSubStringIndex(blacklist,","+llToLower(name)+",") != -1 ); }
I have written something that can already do most of what you describe-- it would be trivial to make it work to your specifications. Contact me in-world if you're interested. Also, making a spherical sensor only pay attention to avatars over your land is very simple-- see llOverMyLand .
|
|
Cindy Claveau
Gignowanasanafonicon
Join date: 16 May 2005
Posts: 2,008
|
07-01-2006 14:10
Jehr, does llEjectfromland use push to achieve? That's what I was thinking, sorry, sorry for confusing things - I'm not a very good scripter. Kek, I IM'd you in world, thank you 
|
|
ArchTx Edo
Mystic/Artist/Architect
Join date: 13 Feb 2005
Posts: 1,993
|
07-03-2006 12:11
Cindy, I believe the Psyke (sp?) home security system already does everything you described. I just in stalled one at my home and everything you described seem to be in it. as well as not working outside of your land, authorizing multiple operators or a group to use it. Using chat to update its list of AV's to ban, limiting the scanning to only your land. etc etc.
_____________________
 VRchitecture Model Homes at http://slurl.com/secondlife/Shona/60/220/30 http://www.slexchange.com/modules.php?name=Marketplace&MerchantID=2240 http://shop.onrez.com/Archtx_Edo
|