|
Beedge Stratten
Registered User
Join date: 20 Jan 2009
Posts: 7
|
02-09-2009 12:13
Hi all,
Was wondering, I am trying to script an ATM machine that will allow users to
1: Register a new account with an outside Database 2: check your existing balance 3: Withdraw funds 4 Deposit Funds
Very mush in the same way that teh Xstreetsl terminals work.
I have it working but with one main problem.. I ( the owner of the object ) need to be online for withdraw funds function to work.
Is there a way around this?
Kevin
|
|
Pedro McMillan
SLOODLE Developer
Join date: 28 Jul 2007
Posts: 231
|
02-09-2009 12:39
The llGiveMoney function should work whether you are online or not, as far as I know, so long as the script has the debit permission.
Is it asking you for debit permission every time somebody tries to withdraw funds? If so, then you probably just need a little re-organisation of the script. Ask for the debit permission when the script first starts, and then you shouldn't normally need to ask permission for it again unless the object is re-rezzed or the script is reset.
|
|
Papalopulus Kobolowski
working mind
Join date: 11 Aug 2006
Posts: 326
|
02-23-2009 23:03
you need to set up 2 things: llRequestPermissions and run_time_permissions this example is from lslwiki http://wiki.secondlife.com/wiki/LlGiveMoneyhttp://wiki.secondlife.com/wiki/PERMISSION_DEBIT
|