Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

LlGiveMoney not always working???

Yo Brewster
Registered User
Join date: 1 Feb 2006
Posts: 139
03-03-2007 14:06
In one of my scripts, I'm using the llGiveMoney function to pass a portion of the money I receive to another person. Each time I test it out, everything seems to work BUT I have the impression that it often doesn't work. After the llGiveMoney function, I send myself an IM (which I always receive) and I always get those but very often no money gets passed on. I always have sufficient funds available so I'm not sure why the llGiveMoney function would only work 50% of the time or so. And yes, the script has debit permission. Any ideas?
_____________________
Yo Brewster
Registered User
Join date: 1 Feb 2006
Posts: 139
03-03-2007 14:30
Ok - I just went through my account stats and it seems it works about 80% and doesn't about 20%. I never reset the scripts so I'm not sure how it can go from working to not working and then working again --- has anybody experienced this problem before?
_____________________
Top Tank
Wasted Jack
Join date: 5 Dec 2005
Posts: 12
03-03-2007 18:49
Money transfers can fail when there is heavy load on the SL database. Recently that's been happening quite often, especially on weekends.
Lee Ludd
Scripted doors & windows
Join date: 16 May 2005
Posts: 243
03-03-2007 22:35
I don't know about llGiveMoney, but I do know that llGiveInventory fails quite often. Sometimes it doesn't work until the givee logs in again, but sometimes it doesn't work. Also I believe sometimes the money() event doesn't work, or at least doesn't work very fast.

I think we need to continue to file bug reports frequently about these things. I submit one at least once a week, althought the problems happen almost every day.
Yo Brewster
Registered User
Join date: 1 Feb 2006
Posts: 139
03-04-2007 23:29
Ok so if money transfers fail from time to time - what's the solution to make sure that the money transfer will happen eventually? Is there a way around it? How do online stores like SLExchange handle this problem???
_____________________
JT Dagger
meeps
Join date: 2 Feb 2007
Posts: 23
03-12-2007 12:01
Hmm I guess I'll bump this because I'd also like to hear how the bigger vendors are dealing with this.

:)
Learjeff Innis
musician & coder
Join date: 27 Nov 2006
Posts: 817
03-12-2007 12:53
Make sure you're never giving L$0? This causes llGiveMoney to fail and generate a script error. So does an invalid UUID, but if it's always the same second person this is unlikely.

This is a common error in new scripts for tips, since small tips aren't unusual and the party's portion can get rounded down to $0. My scripts accumulate fractional $L and pay when possible.
Exchange Street
Registered User
Join date: 6 Sep 2004
Posts: 69
03-15-2007 10:46
From: Yo Brewster
Ok so if money transfers fail from time to time - what's the solution to make sure that the money transfer will happen eventually? Is there a way around it? How do online stores like SLExchange handle this problem???

Money transfer failures usually seem to be the result of the SL database servers being overloaded. We handle it by having a patient staff monitoring transactions every day. Since the last couple of rounds of performance optimizations LL has done, transactions have been much more smooth than has been typical in the past.