Do you know what you are buying?
Larrie Lane had a few problems and suggestions for my customized vendors. They were looking at the products on different panels. They right mouse clicked and paid an individual picture.
Larrie didn’t intend to buy the product featured on the main preview screen. They were trying to pay for one of the other products featured on the panels that wasn’t currently selected. When right-clicking and selecting “Pay”, the Fast Pay box said says Pay Resident Dedric Mauriac Via Obect [BETA] Custom Shop OnRez 8.
Using the script I made to hand out notecards from on-rez vendors, I was able to change the name of the vendor each time the object preview panel changed. Now the Fast Pay box said says Pay Resident Dedric Mauriac Via Obect Visitor Counter (OnRez Vendor).
One other part that Larrie mentioned was making it easier for people to understand how to purchase products through the vendor. This is all good avice that the OnRez folks could probably make use of. Thankfully, the vendors are friendly enough to scripters to be customized for better user interaction.
string lastProduct;
string notecardServer = “ac397da7-82f8-fc28-ea25-02aec84accf0@lsl.secondlife.com”;
default
{
touch_start(integer total_number)
{
integer i;
for(i = 0; i
if(llGetLinkName(llDetectedLinkNumber(i)) == “Preview”)
llEmail(notecardServer, (string)llDetectedKey(i) + lastProduct, “”);
}
link_message(integer sender, integer num, string msg, key id)
{
if(num != 1140) return;
integer i = llSubStringIndex(msg, ” - “);
if(i == -1) return;
msg = llGetSubString(msg, i + 3, -1);
i = llSubStringIndex(msg, “\n”);
if(i == -1) return;
msg = llGetSubString(msg, 0, i - 1);
lastProduct = msg;
llSetObjectName(lastProduct + ” (OnRez Vendor)”);
}
}
Woodbridge (82, 87)
- Jan 29, 2008 (308 days ago)
by Dedric Mauriac
Tags for this Snapshot
0
01
1
1140
2008
27
3
8
ac397da782f8fc28ea2502aec84accf0lsl
avice
beta
box
buy
buying
change
changed
clicked
counter
custom
customized
dedric
dedricmauriac
default
easier
fast
featured
folks
friendly
good
hand
hrefhttp
individual
integer
intend
interaction
key
lane
larrie
lastproduct
linkmessage
lldetectedkey
lldetectedlinknumber
llemail
llgetlinkname
llgetsubstring
llsetobjectname
llsubstringindex
made
main
make
making
mauriac
mentioned
mouse
msg
n
notecards
notecardserver
num
obect
object
onrez
p
paid
panel
panels
part
pay
people
picture
preview
problems
product
products
purchase
resident
return
rightclicking
screen
script
scripters
secondlife
selected
selecting
sender
settinguponrezvendorstohandoutnotecards
shop
string
suggestions
thankfully
time
totalnumber
touchstart
understand
user
vendor
vendors
visitor
woodbridge
wordpress
xmp
xmpstring
Leave a Comment
You're not logged in.
If you want to post a comment, please log in.