Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Permission_debit not staying

Corster Mousehold
The other white meat
Join date: 18 Jan 2005
Posts: 23
04-07-2005 07:28
I have a problem that I think has something to do with groups and/or lands. I have an object that asks for debit permissions. When the object is placed on a shared groups land and attempts to pay a user i get 'permission_debit" not set. It works fine when on my own land or in a sandbox. Has anyone else had a similar problem? I really need to fix this.

-cor-
Jillian Callahan
Rotary-winged Neko Girl
Join date: 24 Jun 2004
Posts: 3,766
04-07-2005 08:20
Well, how odd. PERMISSION_DEBIT can only be granted by the object/script's owner, and only if the owner is an agent, not a group. Is the script asking you for permissions when you rez it?
_____________________
Corster Mousehold
The other white meat
Join date: 18 Jan 2005
Posts: 23
04-07-2005 09:06
Well after talking to a friend in-world, I have learned that you cannot share an object with a group and expect it to retain debit-permissions. In order for an object to payout it must be exclusively controlled by its owner. This seems to be the root of the problem. The bigger issue now is that the land that the group controls is set to return objects after an hour. So I will have to research some more and see what solutions can come to mind.

-cor-
Jillian Callahan
Rotary-winged Neko Girl
Join date: 24 Jun 2004
Posts: 3,766
04-07-2005 09:27
You don't have to *share* the object to avoid the return, just set it to the group without sharing or deeding it and you'll be fine. Malls have thier vendors do this all the time with objects that use that permission.
_____________________
Corster Mousehold
The other white meat
Join date: 18 Jan 2005
Posts: 23
04-15-2005 09:40
Well I set it to the group that i want and it stays for a time. I don't know if it has to do with the sim resetting or what, but after a while the object loses its debit permissions. I've written in a failsafe into it that checks for debit permissions on a regular basis and if it loses them, the object deletes itself. This, of course is not an acceptable way for this to work so if anyone else has suggestions, I would very much appreciate them.

Thanks,
-cor-