Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

llRemoteLoadScriptPin HELP!

Driftwood Nomad
Registered User
Join date: 10 May 2003
Posts: 451
09-02-2004 13:40
Ok, I thought I had this figured out but in testing I realized I missed something. Here's what I want to do:

1. Sell an object to someone

2. The buyer would then go to my vendor and buy a script that should get loaded into the object they just bought

3. The script would turn itself on

Here's my problem. It seems that llRemoteLoadScriptPin only lets you send a script over to another object IF THE OWNER OF OBJECT THAT DOES THE SENDING (ME IN THIS CASE) HAS MODIFY PERMISSIONS ON THE RECEIVING OBJECT (WHAT THE BUYER BOUGHT).

This is a big problem. When I sell my original object, I no longer have modify permissions on it, so my llRemoteLoadScriptPin fails silently. Is there any way around this? I would either want to A) Retain modify permissions on all my sold objects, or B) be able to llGiveInventory a script and make it run when received.

Am I missing something here? Did I do something wrong? If I can't get this to work using either of these methods, I'm back to the drawing board :-(

Any help is much appreciated.
_____________________
Driftwood Nomad
D&D Dogs Co-founder

"Second Life’s first AI companion animal"
The Second Opinion, 08/05/2003

D&D Dogs HQ Pawaii (127, 63)
Mainland Store Kuula (214, 124)

http://www.sldogs.com

SL Dogs Zazzle store!
Tigsen Fairplay
Registered User
Join date: 23 Aug 2004
Posts: 16
09-02-2004 16:21
How many variations are there for what you're selling? For example, are there two "models" (say a plane and a helicopter) and 3 script variations, which would create a total of 6 possible variations? If your total is low enough, why not just prepopulate the objects with the scripts, name each one something slightly different, and sell them that way?

Alternatively (and I'm totally going out on a limb here because I've not tried any of this), could you rez a copy of the object near the selling device and give it the appropriate script (I think when its initially rezzed it would still belong to you?). Maybe put a self-destruct script inside the object so that if the owner doesn't change to something other thanthe creator (use the new llGetCreator() function, or whatever it is) within 1 minute then the object self-destructs. Have the object itself have the price set on it... thus your selling booth really just becomes a custom order taking booth, creates the appropriate object, and lets the person buy the object off the ground?

I'd be interested in knowing what you eventually end up doing,
Tigsen
Driftwood Nomad
Registered User
Join date: 10 May 2003
Posts: 451
09-02-2004 16:51
Thanks for your suggestions. However, this won't work for me. You see, what I'm trying to do is have the ability for the object I am selling to constantly be updated with new scripts that provide extra functionality as I build it.

In other words, a customer buys my object which has built-in functionality. One month down the road I build a script that adds even more functionality to the object, so I want the customer to be able to come to my shop, click on an updater or vendor, and get the latest added to his object.

One idea would be to sell the scripts inside another object that the buyer could then rez and update himself (in essence selling them my updater technology and bypassing my current permissions problem since both objects would be owned by the buyer). It's not as clean as doing it automatically at my shop, but it could work if I can't find another solution.

The drawback is that the buyer would have to keep getting new objects with the added functionality every time we come up with new features. Not a huge problem, but a bit less intuitive and messy.

Any other ideas?
_____________________
Driftwood Nomad
D&D Dogs Co-founder

"Second Life’s first AI companion animal"
The Second Opinion, 08/05/2003

D&D Dogs HQ Pawaii (127, 63)
Mainland Store Kuula (214, 124)

http://www.sldogs.com

SL Dogs Zazzle store!