Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Vending boxed items (questions about)

Talthybius Brevity
Headshop Proprietor
Join date: 14 Nov 2006
Posts: 76
12-26-2006 17:32
So, I've been searching the forums for this and haven't managed to stumble across threads which address this issue (though i'm sure they're out there.)

So, I bought a network vendor ("The Imperator";) which is working great.

However, it seems some folks need instructions on how to use my products (even though using them consists only of: 1. Rez it 2. Touch it.)

I've got a little script that if you put it in a prim with a few other items, then when the prim is touched everything inside the prim (except the give-on-touch script) is given to the toucher.

So I'd like for the vendor to give the box (which will be named "BoxedProductName - Rez and touch to unpack";) so the buyer could rez it and touch it to unpack it. This would mean the instructions notecard would open for them so they couldn't miss it. (currently it is easily missed as it is inside the object/product and a surprising number of people seem unaware of how to view an item's contents)

The question(s) is/are this:

Since the price is set via the vendor, should the box and the product not be set 'for sale' since they've already been paid for and purchased?

If that is the case, how does the buyer get ownership of the product when it was actually the box they bought?

Or would they be given ownership of the box and everything inside it automatically?

If the product in the box has to be set 'for sale' so the buyer can get ownership, then should it be set for $0 since they've already paid to get the box, or would that somehow override the price set via the vendor?

Thanks!
Ishtara Rothschild
Do not expose to sunlight
Join date: 21 Apr 2006
Posts: 569
12-26-2006 19:53
I use an unpacking script for my boxed sets as well. The box inventory needs copy permission in order for the script to work for the next owner, since it's them running the script, not you. Means, you can't sell tradeable wares without copy permission that way. Make sure everything inside the sales box has copy perm, even the unpacking script itself, otherwise the script will produce an error.

I'd give them copy permission on the sales box itself as well, that way they can always unpack a new set if any customizing went awry. I would also create an Alt to test your own vendor setup, make a test purchase and unpack your products.

For +trade/resell -copy wares, you could set the sales box to "sell contents" and the OnClick property to "buy". But I never tried that. I just have the vendor whispering instructions how to right-click + open and "copy to inventory". It could work, in that case the customer would buy from themselves for L$0.

PS: I'd change the vendor script a little and insert an llWhisper(0,"Thanks for your purchase, sales box in your objects folder, rez and touch to unpack";); in the money event. Not that anyone would ever read the whispered text. You can put up 20 signs explaining the vendor usage, give out notecards and have your vendors shout instructions; some people will still IM you with "I received a box only, what's that". :)
Talthybius Brevity
Headshop Proprietor
Join date: 14 Nov 2006
Posts: 76
12-26-2006 20:01
Thanks very much for the very helpful reply Ishtara.

What do you mean by 'tradeable wares'?
Ishtara Rothschild
Do not expose to sunlight
Join date: 21 Apr 2006
Posts: 569
12-26-2006 20:07
Sorry, I just edited my answer a bit. I misunderstood your question or rather didn't read it careful enough. llGiveInventory needs the person who runs the script to have copy permission on the objects that are to be given with the command. Since your customer rezzes the sales box and runs the script, they need copy permission on the box contents, so it doesn't work for wares with -copy +trade/resell.

You could try setting up the sales box as a vendor for those cases (tradeable, no copy). I don't know if the "for sale" setting still works when the prim ownership changes though. You could test that with an alt. If you set the sales box's "When Left-Clicked" property to "Buy", they could unpack it with a click as well, without the need for a script.

Edit: just tested it, and it doesn't seem to work if the object as no copy permission. The "for sale" settings stay after transfer, but a tradeable-only ware isn't shown in the buy dialogue.
Talthybius Brevity
Headshop Proprietor
Join date: 14 Nov 2006
Posts: 76
12-26-2006 20:12
Thanks!