Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Library: Multi-item, Multi-author vendor

DJ Under
Pyro Island Manager
Join date: 9 Jan 2005
Posts: 55
09-25-2005 04:59
All I can say is with all these possible customers you could have had..... you are win nice guy!

Now... I am a man of pickyness so i am gonna let it out right here... nothing to big but..

I would like to see the script be simpler for the seller by having dialouge boxes for entering keys and stuff and object names kind of like the vendor that is....10k or 3k lol not sure. but that says " Vendor Renter's Key " you click that then in chat paste the key :)

I am just obssed w/ vendors and can't script to do it myself... you don't have to do this because i am sure it would take a couple hours/days/weeks/months/.... yeah lol.

But thanks for taking a look at this!

DJ Under ;)
( Script - Stupid )
Osgeld Barmy
Registered User
Join date: 22 Mar 2005
Posts: 3,336
09-25-2005 14:56
i ripped out all the money stuff then used flat prims to display pictures, set to sell contents
Cheetah Kitty
Registered User
Join date: 24 Dec 2004
Posts: 169
09-26-2005 17:43
Could someone help me with a script like this for people who already have vendors and need to split linden between products? I have a vendor already set up that I use a lot, just need a good easy script to split lindens to the proper people who helped with each product listed.

If you can help me...IM me in world? thanks!
Cheetah Kitty
Registered User
Join date: 24 Dec 2004
Posts: 169
help?
09-26-2005 17:47
Could someone help me with a script like this for people who already have vendors and need to split linden between products? I have a vendor already set up that I use a lot, just need a good easy script to split lindens to the proper people who helped with each product listed.

If you can help me...IM me in world? thanks!
Cheetah Kitty
Registered User
Join date: 24 Dec 2004
Posts: 169
09-28-2005 07:24
what about those who have vendors already and just need a script to split linden between partners? Anyone know where I can get one of those? The vendor I have sells different objects, I would need one that can split linden on each or any object that i sell individually. Example:

Vendor items:
Hat
Gloves
Dog
Cat

Split items
Hat
Cat

Anyone get what Im saying? o.o
Eata Kitty
Registered User
Join date: 21 Jan 2005
Posts: 387
10-18-2005 11:45
I went and made public my customised version of this designed to give temporary 3D previews. It's not very complicated but people asked for it. Open source obviously.

Pick up the box at:
Warmouth (137, 138)

Or buy via SL Boutique:
http://www.slboutique.com/index.php?p=buy&itemid=23642
Sabane Talamasca
Registered User
Join date: 25 Sep 2005
Posts: 56
11-14-2005 17:37
* Edit the "Item Data" notecard to include the following data: object name, model name, price, agent keys.....and do what with the notecard? place in my models, on my head? what?
Helen Quatro
Cephalopod Overlord
Join date: 6 Sep 2005
Posts: 24
11-15-2005 09:39
From: Sabane Talamasca
* Edit the "Item Data" notecard to include the following data: object name, model name, price, agent keys.....and do what with the notecard? place in my models, on my head? what?


Put it in the same prim that you put the items you're selling, the models, and vendor script of course.
Mystique Suavage
Registered User
Join date: 6 Oct 2004
Posts: 15
11-23-2005 06:17
how would you change the say from this line to an im to the person purchasing

// Complete the sale
llSay(0, "Thank you for your purchase, " + name + "!";);
llGiveInventory(agentkey, llList2String(items, currentItem));


several places are wanting vendors that don't say or whipser in the general chat so want to take this to instant message please help
Mystique Suavage
Registered User
Join date: 6 Oct 2004
Posts: 15
11-23-2005 08:27
how would you add to the script to take the llSay to an llInstantMessage




if(amount < currentPrice) {
// Not enough money was given. Cancel sale.
llSay(0, name + " you Paid $" + (string)amount + " - thats not enough money for the current item! Refunding $" + (string)amount + "...";);
llGiveMoney(agentkey, amount);
sale = FALSE;


many places are wanting none hover text and non say or whisper vendors andy help on this would be greatly appreaciated thanks
Hobonicus Engel
Uncouth Vagrant
Join date: 6 Nov 2004
Posts: 136
01-16-2006 10:25
From: Zachary Zamboni
Apotheus-
I edited your script and added compatibility with notecard info buttons.

Here's the new main script:

And here's the info button script:
CODE
default
{
touch_start(integer totalnum)
{
llMessageLinked(LINK_ROOT, 0, "givenote"+llDetectedKey(), "");
}
}


I'm trying to get this modded script to work, but the info script keeps giving me compile errors. This is probably my fault for focusing on vehicle production and not actual sales.
Colonel Kolache
Registered User
Join date: 14 Jan 2006
Posts: 4
02-09-2006 00:00
Awesome script :) thank you for sharing some cool coding. I've learned alot from taking a good hard look at this baby.

~ CK
Teddy Wishbringer
Snuggly Bear Cub
Join date: 28 Nov 2004
Posts: 208
02-21-2006 18:25
Thank you so very much! This is an awesome script.

I ran into one small problem though. When you click on the vendor, it says the message about how to use it. The problem is, it may say it once as it should, or it may say it 2-4 times consecutively. It's like it was clicked on quickly several times, when it was only clicked on once.

Again, thank you very much for making this public. I spent days is SL trying to find one for sale. :)
Susie Walcott
Registered User
Join date: 12 Nov 2005
Posts: 3
03-27-2006 12:11
I don't understand the note card I'm setting up as an example box but the box doesn't appear. On the note card I have; Box 101 $1 no commas (the keykey is that my avatars key I put there?)
Chris Widget
Widget Isles @ the Edge!
Join date: 22 Jan 2006
Posts: 67
03-28-2006 07:58
Great script ! Thanks a bunch !
_____________________
---
Chris Widget
Non
Ted Sullivan
Wanta Be Scriptor
Join date: 3 Dec 2005
Posts: 4
Thanks a Million
03-28-2006 12:21
Very kind of you to share this with others. A million grateful thank yous....
Ima Mechanique
Registered User
Join date: 25 Feb 2005
Posts: 23
04-03-2006 08:04
From: Mystique Suavage
how would you change the say from this line to an im to the person purchasing

// Complete the sale
llSay(0, "Thank you for your purchase, " + name + "!";);
llGiveInventory(agentkey, llList2String(items, currentItem));


several places are wanting vendors that don't say or whipser in the general chat so want to take this to instant message please help


llInstantMessage(agentkey, "Thank you for your purchase, " + name + "!";);
llGiveInventory(agentkey, llList2String(items, currentItem));

And a shame more places don't insist on this.
Leonard Oxberger
Registered User
Join date: 10 Apr 2006
Posts: 10
04-12-2006 21:58
I got my script running tonight. It works great! However, I have one question:

If I don't set the product scripts with my keys, will I still get the money? I created the object so is that enough?
Leonard Oxberger
Registered User
Join date: 10 Apr 2006
Posts: 10
04-12-2006 22:07
I got my script running tonight. It works great, except that it seems pretty buggy to me. Randomly it will derez an object and not show the next object in line and say

Can't create object because parcel is full

That's bullcrap, because I check the about land and it's not near being full (and there are no guitars underground, etc that I may be missing)

What is up with that? Any help would be appreciated.

I apologize if I double-posted this.
Velox Severine
Network Slave
Join date: 19 May 2005
Posts: 73
04-15-2006 22:25
You'll still get the money. In fact, I removed the code to split money in my version, as I have little need for multi-author.
_____________________
--BEGIN SIGNATURE STRING--
IkkgY2FtZSwgSSBzYXcsIEkgY29ucXVlcmVkLiIgLS1KdWxpdXMgQ2Flc2Fy
--END SIGNATURE STRING--
Mel Cramer
Registered User
Join date: 29 Apr 2006
Posts: 24
05-25-2006 10:20
Please help newbie!

I have followed the instructions

Rezzed the vendor.

copied the sale item to the vendor contents (Milton range chair)

created model of the sale item with different name (Milton range chair model) + copied display script into it.
(it rotates)

copied the display model to vendor contents

edited the item notecard to read -

Milton range chair, Milton range chair model, 30, 02215729-da25-4790-afb5-78b40b757d8c

Nothing - it just sits there ???

In the instructions it says

" Once you have it, just drag it from your inventory onto the ground. You'll see that it attempts to start up, but cannot"

It rezzes ok but I cannot see any evidence that it is trying to start up. What should I see?

Thanks in anticipation
Zalandria Zaius
Registered User
Join date: 17 Jan 2004
Posts: 277
Bug In This Code
07-08-2006 08:30
I got an IM from Aura Linden.. Seems my vendors were massively spamming email after someone touched them..

There is a bug in the code. Weirdly enough it is not the writer of the codes issuer per se, but can be fixed..

If you use this code as the basis for any of your vendors you need to check the touch event of the main part of the script.. It uses touch(integer detected). Apparently the touch event doesn't always trigger the touch_end event.

This needs to be changed to touch_start() or your vendor will repeatedly chat..

Unfortunately I set mine to IM the person touching and someone had their offline im's set to email and filled up some poor unsuspecting persons mailbox.. OOPPPS.. My bad.. sorta..
JohnnyDept Clancy
Registered User
Join date: 15 Jul 2006
Posts: 21
07-16-2006 11:28
Funny, I was just wondering how they were written, and here it is, for FREE!
Kuddos!
Johnny
Packard Sonic
Registered User
Join date: 2 Jun 2006
Posts: 9
Help for mac user to copy scripts from browser
08-23-2006 18:57
From: Mortimer Millhouse
Hello does anyone know how on a Mac to get scripts to copy? I have tried different browsers, but it's very hard to select them, since it triest to select the whole page, doesn't matter if it is IE or Safari. Then once you do get it selected it has all the excess tabs in it looking like ***** all over the place and there are so many it's to hard to take them out. Hope someone can help.



Hi there Mortimer,

I just came across your post and I don't know if you still need this information, but here is a great way to do it. Use firefox browser. Thats what I use. Just click inside the scrollarea and drag down and you can copy the scripts.

you can get it at http://getfirefox.com

Good luck

Packard
Man Clave
Registered User
Join date: 30 Jan 2007
Posts: 22
02-11-2007 19:08
Hello all.

I'm new to SL and i'd like to know how to make this script work? What to do with this code to make it work.

Step by step please.
1 2 3 4