Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Offline payment

Kristov Nikolaidis
Registered User
Join date: 16 Apr 2007
Posts: 16
04-16-2007 17:36
Does anybody know if it is possible to pay another user(besides the objects owner) whilst they are offline? I can't get llGiveMoney to do it.
Kenn Nilsson
AeonVox
Join date: 24 May 2005
Posts: 897
04-16-2007 19:14
Yes it's possible and yes it works. The remotes I offer in my rental boxes do it. It's all with llGiveMoney(); Just remember you have PERMISSION_DEBIT set.
_____________________
--AeonVox--

Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms chasing ghosts, eating magic pills, and listening to repetitive, addictive, electronic music.
Winter Ventura
Eclectic Randomness
Join date: 18 Jul 2006
Posts: 2,579
04-16-2007 19:20
SLExchange has a new service, whereby you can "pull money" while offline, from your account. The process is a bit strange, and requires you to keep a special remote deposit prim rezzed in world, but it does work surprisingly well. (I originally suggested it to them as a way to still access my account and sell L$, in the event of an extended "no-internet-at-home" doomsday scenario)..

As for the ability to pay out to other SL users, I'm not sure if SLExchange can DIRECTLY facilitate that.... but if the above proves anything at all.. it NEVER hurts to ask!
_____________________

● Inworld Store: http://slurl.eclectic-randomness.com
● Website: http://www.eclectic-randomness.com
● Twitter: @WinterVentura
Kristov Nikolaidis
Registered User
Join date: 16 Apr 2007
Posts: 16
04-16-2007 20:40
But you own the rental boxes, right? Have you tried to have the rental boxes pay someone that doesn't own them offline?
Kenn Nilsson
AeonVox
Join date: 24 May 2005
Posts: 897
04-16-2007 21:13
The customer pays the remote--which they own--and the payment is transferred to the owner of the rental box...which someone else owns.
_____________________
--AeonVox--

Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms chasing ghosts, eating magic pills, and listening to repetitive, addictive, electronic music.
Kristov Nikolaidis
Registered User
Join date: 16 Apr 2007
Posts: 16
04-16-2007 21:22
I'm sorry I'm kinda new - I don't understand what you mean by "the remote". Could you clarify?
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
04-16-2007 23:23
From: Kristov Nikolaidis
Does anybody know if it is possible to pay another user(besides the objects owner) whilst they are offline? I can't get llGiveMoney to do it.



llGiveMoney is specifically designed to pay someone who is not the owner since it pays out from the owners account to someone else. As Kenn said you need permission debit for it to work. Remeber the recipient is a key not a name.

The following script gives L$1 to anyone who touches it.
CODE

default
{
state_entry()
{
llRequestPermissions(llGetOwner(),PERMISSION_DEBIT);
}

touch_start(integer num_detected)
{
llGiveMoney(llDetectedKey(0),1);
}
}
Kristov Nikolaidis
Registered User
Join date: 16 Apr 2007
Posts: 16
04-17-2007 09:00
Yeah, I get the perms stuff, but has anyone experimented with llGIveMoney when the reciever isn't the owner and isn't online?
Tiarnalalon Sismondi
Registered User
Join date: 1 Jun 2006
Posts: 402
04-17-2007 10:39
Being online shouldn't matter...otherwise all of the vendors that allow you to split the take would not work too well.

You need to have given the object debit permissions so it can take the money from you, but it shouldn't care who you give it to.
nand Nerd
Flexi Fanatic
Join date: 4 Oct 2005
Posts: 427
04-17-2007 10:53
From: Kristov Nikolaidis
Yeah, I get the perms stuff, but has anyone experimented with llGIveMoney when the reciever isn't the owner and isn't online?


llGiveMoney is only useful for giving money to people other than the owner. What possible use would it be if it took funds from the object owner and gave them to the object owner?
_____________________
www.nandnerd.info
http://ordinalmalaprop.com/forum - Ordinal Malaprop's Scripting Forum
Kristov Nikolaidis
Registered User
Join date: 16 Apr 2007
Posts: 16
04-17-2007 15:43
ok, got it. thanks guys
Kristov Nikolaidis
Registered User
Join date: 16 Apr 2007
Posts: 16
04-18-2007 09:14
Do i need DEBIT_PERMISSIONS to pay someone offline?
Kenn Nilsson
AeonVox
Join date: 24 May 2005
Posts: 897
04-18-2007 09:53
You can pay someone offline whenever you want by simply clicking their profile and giving them money.

If, however, you want the script to pay someone--whether they are online or offline (it doesn't matter in the least)--you will want to use llGiveMoney() and PERMISSION_DEBIT.

In other words--your question of online/offline is completely irrelevant to the task you are attempting to do. It will work both ways so long as it is set up correctly.
_____________________
--AeonVox--

Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms chasing ghosts, eating magic pills, and listening to repetitive, addictive, electronic music.
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
04-18-2007 11:34
From: Kristov Nikolaidis
Do i need DEBIT_PERMISSIONS to pay someone offline?



You need debit permissions to pay out money from a script, online or offline.