Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Help with llAddToLandBanList

Henry Grumiaux
Registered User
Join date: 23 Jan 2007
Posts: 142
01-16-2008 08:57
Ref: http://wiki.secondlife.com/wiki/LlAddToLandBanList

Well...basiclly...does not works...
Also...LlTeleportAgentHome does not work too...

Only llEjectFromLand Works...

Check my code bellow...only the eject command works..the rest no error occures, however the command was ignored...

llEjectFromLand(llList2Key(avis_key, i));
llAddToLandBanList(llList2Key(avis_key, i),1.0);
llTeleportAgentHome(llList2Key(avis_key, i));

Any clue to give me ? ty !
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
01-16-2008 09:14
First, the object must have exactly the same owner as the parcel (including a group deed if relavent). I doubt that's your problem though, since eject works.

The other thing is that, while a script can add people to the ban list, it cannot enable the ban list. There is a checkbox in the "About Land..." dialog you have to toggle before the script can actually ban people. I forget its iexact name, but it is right next to the ban list.

Not sure why the teleport isn't working, but it MIGHT be because it is after the eject. Try switching the order, so the eject will only take place in case the teleport doesn't work.
Henry Grumiaux
Registered User
Join date: 23 Jan 2007
Posts: 142
01-16-2008 09:45
From: Hewee Zetkin
First, the object must have exactly the same owner as the parcel (including a group deed if relavent). I doubt that's your problem though, since eject works.

The other thing is that, while a script can add people to the ban list, it cannot enable the ban list. There is a checkbox in the "About Land..." dialog you have to toggle before the script can actually ban people. I forget its iexact name, but it is right next to the ban list.

Not sure why the teleport isn't working, but it MIGHT be because it is after the eject. Try switching the order, so the eject will only take place in case the teleport doesn't work.


Ty for the answer !

Well...I already make some trials of the order of execution..no effect :(

The scenario is:

Owner if the object
Land was deed to a group that I'm the owner of the group
Public Acess on this land

Im still need help
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
01-16-2008 10:06
From: Henry Grumiaux
The scenario is:

Owner if the object
Land was deed to a group that I'm the owner of the group
Public Acess on this land

Did you also deed the object to that same group? You have to do that for parcel access functions to work.
Krista Chaffe
Registered User
Join date: 16 Jun 2007
Posts: 96
01-16-2008 13:59
Object must be deeded to the group if the group owns the land

Also there is an issue on ejection and determining if you can still do this. It can result in target Av getting bogus teleport failed messages.

Before you try to tp them do this

if ((llOverMyLand(avatar) && (llGetAgentSize(avatar) != ZERO_VECTOR))) llTeleportAgentHome(avatar);

It get around the bug as if the agent is not over your land you can't get the agent size.

Also I've seen ejections fail due to adjacent parcels not allowing entry for the agent and they bounce back to you.