Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Debit Permission Problems

Miriel Enfield
Prim Junkie
Join date: 12 Dec 2005
Posts: 389
12-31-2006 08:51
I'm having trouble with llRequestPermissions(). I'm requesting debit permission and getting it (I've checked), but then later in the script (a timer, several states and database calls, and a lot of if statements later) I get an error message saying that debit permission hasn't been granted. Can anyone shed some light on this? Is this a real bug (or "feature";) of debit permissions, or have I more than likely just made a piddly little mistake somewhere?

EDIT: D'oh, nevermind, I found the problem. Requesting the permission to trigger an animation was overriding the debit permission. Move along, nothing to see here.
_____________________
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
12-31-2006 09:54
As you have already said its because requesting a new permission will override the previous ones. You need to call llGetPermissions and Or in your additional requests.