|
Ricky Shaftoe
Owner, "Rickymations"
Join date: 27 May 2005
Posts: 366
|
10-12-2006 19:18
I sell animations at my shop, called Rickymations. I've been using the same script in my vendors for about a year, except for changes to check for verified accounts, changes I made in June. I sell objects, not folders; typically it's simply a poseball or set of poseballs, and it goes into the recipient's objects folder. Permissions typically are no-copy, trans. Suddenly over the past few days, I've had a half-dozen customers report that when they receive an object from my vendor, it either (1) poofs or (2) appears as an empty folder. Not all customers get this; in fact, most seem to have no trouble. I and friends have purchased from my vendors with no trouble -- but I do have one friend who is having problems buying from various vendors, not just mine. She bought something from me; saw it in inventory; logged off; and logged back on to find no item in inventory. She says she has no such problem if she buys from a seller who sells in folders rather than sells objects directly. Well, I suppose I could sell a folder (though I'm not quite sure how), but ugh, that means revising and testing dozens of vendors. Up til now, I've preferred the simplicity of my method. Here's the code I'm using to give items from my vendor. Has there been some recent undocumented change to llGiveInventory() that has borked this process? money(key id, integer amount) { if (amount == price) { string itemname = ""; itemname = llList2String(items, current_item); if (itemname == "") { llWhisper(0,"Sorry we were unable to find the proper item. Please notify the owner of this error!"); llGiveMoney(id, amount); } else llGiveInventory(id, itemname); llInstantMessage(llGetOwner(), store + ":" + (string)llKey2Name(id) + " purchased " + itemname + " for $" + (string)amount); llWhisper(0,"Thank you for your purchase!"); } else { llWhisper(0,"Sorry that is the wrong amount for this item."); llGiveMoney(id, amount); } }
|
|
HtF Visconti
Registered User
Join date: 21 Jul 2006
Posts: 123
|
10-13-2006 05:04
Um, no time to check the code yet but giving a folder is as simple as is giving an item. You just use llGiveInventoryList() - syntax is as follows:
llGiveInventoryList(key destination, string category, list inventory)
The items will be delivered in a folder named "category" which will be in the target's inventory. The item list can, of course, consist of a single object - I usually add a notecard and a landmark to my shop, but this is not neccessary.
|
|
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
|
10-13-2006 06:09
Other people are posting frustrations in the Linden Answers forum that llGiveInventory has been borked because of the latest grey goo fence changes. You might want to send a message directly to Andrew Linden.
_____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime. From: someone I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum
|
|
Vares Solvang
It's all Relative
Join date: 26 Jan 2005
Posts: 2,235
|
10-13-2006 11:21
I was recently playing with the llGiveInventory commands in order to learn how to use them and I couldn't get them to work right. At the time I thought it was just me, even though I was pretty sure I was doing it right. Now I'm beginning to think there really is some kind of problem with the function.
|
|
Lex Neva
wears dorky glasses
Join date: 27 Nov 2004
Posts: 1,361
|
10-13-2006 12:08
I wonder if this is a grey goo thing? Like, maybe if an object hits the grey goo fence, SL goes back and retroactively "cancels" recent inventory transfers in a misguided attempt to alleviate spam from grid attacks?
|
|
Eloise Pasteur
Curious Individual
Join date: 14 Jul 2004
Posts: 1,952
|
10-13-2006 14:50
I don't use quite that code but I know two people have bought things from my vendors today since I saw this thread. I've checked with both and they received the goods.
I also had someone during grey goo over enthusiasm not get something (from the same vendor and same item as worked today). Hopefully it should be fixed now.
|