|
Kyuubi David
Registered User
Join date: 30 Sep 2005
Posts: 49
|
08-11-2006 08:44
My land is split into multiple parcels, zones, if you will. My problem is, if I wish to add someone to the Ban or Pass list, I have to go to each zone and add them manually.
I would like to set up a broadcaster object in a central location, give it an avatar's name and have it send the command out to an object (one in each zone) to to the dirty work.
The problem is, llAddToLandBanList and llAddToLandPassList require a agents key not thier name.
Is there a way I can look up the key without the agent being within range?
Thanks
|
|
Jesse Malthus
OMG HAX!
Join date: 21 Apr 2006
Posts: 649
|
08-11-2006 08:57
You chould use an external name2key database, like w-hat or Moopf's Just google name2key
_____________________
Ruby loves me like Japanese Jesus. Did Jesus ever go back and clean up those footprints he left? Beach Authority had to spend precious manpower. Japanese Jesus, where are you? Pragmatic!
|
|
Norman Desmoulins
Grand Poohba
Join date: 10 Nov 2005
Posts: 194
|
08-11-2006 09:03
There is an external database that can be accessed using the http functions. Unfortunately too many of the keys that it has are down right wrong (mine and my best friends for example). Highly recommend that you don't use it as you will end up banning the wrong people.
There is an example program that comes with libsecondlife that can reliably get the key for a name. It would be cool if somebody with some energy would come up with a way to add functions to LSL through libsecondlife.Proxy. A dedicated server that runs LSL extension plug-ins would be one way to do it.
|
|
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
|
08-11-2006 12:57
You could send phantom probes out to other sims to run sensor checks, but unfortunately this will only work for regions that are directly connected to yours (or to regions where you can slap down probe rezzers). I hate the fact that we can't teleport objects programmatically!
|
|
Grazel Cosmo
Registered User
Join date: 12 Mar 2005
Posts: 28
|
08-11-2006 13:12
There's no reliable way to do it if the person you want to ban isn't near you. If they are you could just have an attachment that with a command activates a sensor (or maybe the ban object itself but being in a static location its not as reliable) and given the name of hte player you wish to ban would detect them and get their key to give to you (preferably with llOwnerSay). You could then copy & paste this key into the command to your broadcaster to have the name added. It adds another step but since there's no llName2Key function we have limited choices (and I suspect its done for security reasons as the griefing possiblities of being able to freely get any player's key are high).
|
|
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
|
08-11-2006 14:01
Oh. The other thing you can do is set up a local 'database'. Just have devices that run periodic sensors and allow you to later map the name to a key based on what they have seen. Presumably the user you want to ban was on the premises at SOME point. If not you should request that the person giving you the name also implement such detection and lookup for the future.
(Oh, be careful about memory limits. Farm storage to multiple scripts or communicate to an outside database for your maps. You might want to forget about old users if enough time has lapsed or you have detected enough avatars in the meantime to fill up a certain limit.)
|
|
Eddy Stryker
libsecondlife Developer
Join date: 6 Jun 2004
Posts: 353
|
08-14-2006 08:40
From: Norman Desmoulins There is an external database that can be accessed using the http functions. Unfortunately too many of the keys that it has are down right wrong (mine and my best friends for example). Highly recommend that you don't use it as you will end up banning the wrong people.
There is an example program that comes with libsecondlife that can reliably get the key for a name. It would be cool if somebody with some energy would come up with a way to add functions to LSL through libsecondlife.Proxy. A dedicated server that runs LSL extension plug-ins would be one way to do it. I offer this service, it's in early testing right now. If you are interested IM me in-game (Eddy Stryker).
_____________________
http://www.libsecondlife.org From: someone Evidently in the future our political skirmishes will be fought with push weapons and dancing pantless men. -- Artemis Fate
|