Everything is an Instant Message. Not only if you send an IM to a friend, no, things like teleport requests, force teleports, teleport acceptance, teleport rejection, friend requests, friend acceptance, friend rejection, object IMs, busy response IMs and so on and so on. My friend Katharine Berry counted them once and came up with 40 different types of IM's in SL.
Inventory offers are - behind the scenes - IM's as well, and this is the reason why so many inventory transfers fail!
During our work on the Designer Showcase Network, Rika Watanabe and I encounterend a surprisingly high number of inventory transactions failing, and after some digging we found that this is a common problem for other delivery systems like Subscribe-o-Matic or even XStreet SL. There are a few scenarios, where failed transactions can happen:
Case 1 - Recipient is in "busy" mode
- Sender is an avatar
Never fails, object (or notecard, texture, etc) can be found in "Trash" folder, sender gets a "... is busy" notice. - Sender is a "Buy" object
Never fails, bought merchandise goes to where it is supposed to go (its own folder or the matching system subdirectory) - Sender is a scripted object (e.g. "Pay" object or "Touch" vendor or subscription system)
Always fails! The scripted object uses llGiveInventory, which does not have any feedback functionality. A paid for-purchase will be irrecoverably lost, and what is even worse, the merchants transaction history will show no anomalies.
Case 2 - Avatar is offline - no capped IM'S
- Sender is an avatar
Never fails, upon login of the recipient a blue box appears via which you can decide to accept or decline the delivery. An IM is generated "Xyz sent you inventory" - those IM's go to your offline email address if specified. Those IM's also count toward your IM cap. - Sender is a "Buy" object
Not possible when you are offline - Sender is a scripted object (e.g. DSN dropbox, S-o-M or XStreet delivery)
Never fails, upon login of the recipient a blue box appears via which you can decide to accept or decline the delivery. An IM is generated "Xyz sent you inventory" - those IM's go to your offline email address if specified. Those IM's also count toward your IM cap.
Case 3 - Avatar is offline - IM cap limit reached
- Sender is an avatar
Oddly enough those mostly work. Sometimes you get the blue box to accept, sometimes you don't get the blue box and the inventory offer goes straight to the matching folder. An offline-IM is being generated. - Sender is a "Buy" object
Can't happen when you are offline - Sender is a scripted object (subscribe-o, XStreet dropbox, Deliverator, DSN, etc.)
Always fails! While you receive an offline-IM, the objects are nowhere to be found and can't be recovered. What makes it even more annoying is that the transaction logs of the sending systems have no way of telling whether you actually receive the inventory offer, or not.
Inventory transfer success matrix | |||
Busy | Offline Non-capped | Offline Capped | |
Avatar sends | ok | ok | sometimes |
Buy object | ok | n.a. | n.a. |
Scripted Object | fails | ok | fails |
The culprit in those failed cases is the unholy union of the llGiveInventory function in the LSL scripting language and the IM-based delivery system. The function only gets a recipient-ID and an inventory object, however it has no way to check whether the transaction was actually successful. It's basically a shot in the dark, and given the vulnerability with capped IM's as shown above, can only be described as incomplete.
In theory a script could check if the recipient is only, thus avoiding the capping problem. This approach has two drawbacks:
- Scalability
A script only delivering items when an avatar is actually online might end up with an immense backlog of deliveries and ultimately meet memory issues - Busy
There is now way to find out whether an avatar is busy from within an LSL script
What can I do to avoid inventory transaction loss?
There are a few things each of us can do in order to ease the situation. In case of XStreet SL (or similar services) purchases, the easiest thing is to make sure you (or the recipient) are actually logged into SL and not-busy during the time of purchase.
For systems like DSN, Subscribe-o-Matic, Deliverator and other services that send you objects at a schedule you can't influence there is only one way to raise the success rate: avoid capped IM's!
A few methods:
- Leave "spammy" groups, e.g. groups with a lot of group notices
A group like FashCon can easily reach your capping limit on a Saturday evening within 10 minutes because of the massive amount of group notices. In case you can't leave the group (e.g. because it is a land group), at least switch off group notices. The notices are still available in the groups archive for a while. - Unsubscribe from lists with high activity
I was signed up to some Subscribe-o-Matic systems where there was almost daily a new notice from the shop owner. While it is commendable that the merchant keeps such a close communication with their client base, this actually adds a lot to IM-capping. In fact lately I am very reluctant to subscribe to a SoM or Hippo-Group at all, and have unsubscribed from many as well. - Reduce offline-messaging objects
Many scripted objects can send their owner various status information, for example security orbs if someone has trespassed on your naughty skybox. Usually those devices use the llInstantMessage function which - right - sends an instant message that would add to capping if you are offline. With llEmail exists a slightly more complex mechanism, that instead of sending an IM sends an actual email to an actual off-world email address. A script could even be designed to detect whether the recipient of a notice is online and use llInstantMessage or offline and in that case use llEmail. This should become a level of expectation to scripters to help avoid capping IM's. - Ask your friends to cooperate
Many people send IM's or objects to friends who are offline. The intentions are meant well, however those IM's and transactions also add to each person's IM cap count.
Anything else that can be done?
Yes, there is, alas not by you or me. There is quite a lot that can be done by Linden Lab, and it is up to us to raise awareness.
- Create an alternative to llGiveInventory
What is needed is a way to get some feedback if the inventory transfer has actually succeeded. Yes, this is far from trivial and requires many, many behind-the-scenes changes, but don't tell me it can't be done! The most drastic change that needs to happen is ... - Get rid of the IM-based transaction system
... because then object transfers can be operations within the database itself (instead of database -> IM system -> database). The detour through the IM system is probably only to give the recipient a notification. Otherwise it would be a simple copy or move operation in the asset server database.
I actually wonder what Pink Linden has in mind? The llGiveInventory function, and the problems I described here, can't be selectively fixed. Either they work for everybody, or they keep being broken. So a certified delivery is most likely just a method to request a redelivery, and then it gets complicated when transferable items get sold (hat tip to Rika for that thoug).
Anyways, please, Linden Lab, fix llGiveInventory and the assorted functionality now!
And everybody else, please vote on this JIRA which deals with the issue.
Thanks!
8 comments:
Hmmmmm...
I might be misreading your post but if someone sends something throught a scripted object with my IMs capped, I will never receive this object BUT if the same person drops something on my inventory even after IMs are capped I will receive it.
It is very interesting, I simply had no idea how transactions where so intimately related with SL IM system.
I guess there are some ways for Xstreet to guarantee delivery, like accessing the user database (loading the delivery into their inventory without confirmation), or creating a paralel system that checks if the delibery has took place.
But as you said, once created the alternative should be available for everybody; I don't mind paying for extra funcionality, but to have to do so for fixing a broken system is outrageous.
Is there any way to stop inworld IM notifications of XStreet sales? I've looked all over my Edit pages (for my three Freebie items, particularly) and was able to stop email notifications---but can't see how to stop inworld IMs.
Other than that--great article. I've never set out a scripted "Buy" object, but now probably never will! The headaches it would cause for my customers would make it a very bad idea.
You also lose inventory if you fail to press 'keep' or otherwise wait over a few minutes after you leave a sim to press 'keep', where an scripted object has tried to give you inventory in a folder.
Personally, the thought LL running it's own vendor system with advantages over the ones residents have ability to provide strikes me as a very unfair use of their position.
There is something else you can do to help avoid capped IMs:
In your preferences there is that check box a lot of people turn on (for some unknown, perhaps paranoid reason) - "Allow only friends to see my online status".
I have found that since I have turne that off (my profile will actually sat ONLINE or OFFLINE - even if we are not friends) - I receive a lot fewer "Hello?" and "Are you online?" type IMs.
I really can't see any reason why people turn that feature off (by turning ON that preference) - but I find I get a lot less "irrelevent" Ims and therefore, my IMs are now rarely "capping".
Just passing on my own experience, your mileage may vary.
I don't think my IMs have ever been capped. I do remember the delivery of a gift sent to me failing on the first try. The reason for that wasn't clear.
The only other issues I have had were vendors sometimes failing to debit my account and deliver the goods.
This is all good advice though. And I will keep it in mind.
There isn't any good reason why a script can't tell that an avatar is busy, except that LSL doesn't have that feature.
I suppose you could create an automated bot to make deliveries (because when the sender is an avatar, the transaction works).
In other words, you'd replace your XStreet magic box with a bot that stays logged-in all day and the bot would do all deliveries out of its Inventory.
Post a Comment