How to fix door script for market by a newbie script-er?

General discussions related to content creation
Post Reply
User avatar
Loni Dove
Posts: 26
Joined: Sun Mar 25, 2018 10:01 pm
Has thanked: 3 times
Been thanked: 18 times

How to fix door script for market by a newbie script-er?

Post by Loni Dove »

Hi Everyone,

I'm having problems with errors on a door script. These errors come up:

Line 48: Missing asset: 377290ae-f60c-fbd2-73af-56bc2c48ce9f
Line 66: Missing asset: 377290ae-f60c-fbd2-73af-56bc2c48ce9f
Line 72: Missing asset: 377290ae-f60c-fbd2-73af-56bc2c48ce9f

I don't know anything about scripting except for a couple of minor "need to know" details. I tried just erasing it and naturally I've only succeeded in breaking the script. I've looked at the error page that we are directed to and didn't find it useful in helping me in this particular problem. But certainly seems very useful for those that know about scripting.

Anyone out there with any tips on how this can be easily done by a newbie script-er? A page on the info with directions? Anything?

Thank you, Loni
These users thanked the author Loni Dove for the post:
Ilan Tochner
User avatar
Ilan Tochner
Posts: 6503
Joined: Sun Dec 23, 2012 8:44 am
Has thanked: 4942 times
Been thanked: 4454 times
Contact:

Re: How to fix door script for market by a newbie script-er?

Post by Ilan Tochner »

Hi Loni,

I suggest you restore the lines you deleted from your script then use this blog post to learn more about what these errors mean and how to fix them: https://www.kitely.com/virtual-world-ne ... -products/
User avatar
Loni Dove
Posts: 26
Joined: Sun Mar 25, 2018 10:01 pm
Has thanked: 3 times
Been thanked: 18 times

Re: How to fix door script for market by a newbie script-er?

Post by Loni Dove »

Hi Ilan,

ok, I re-read the page. What I gather from that is that it tells how to fix the problem with the texture. The problem on my doors is in the trigger sound. I didn't transfer any sound over. (still have yet to find sounds). So, I guess what I'm asking is, would I do the same for the sound as you did for the texture by placing it in the prims inventory? ( I still need to know how to add to the script to use things from the objects inventory, but I'm sure it's out there some where). Also, is the same process done for all errors?
User avatar
Ilan Tochner
Posts: 6503
Joined: Sun Dec 23, 2012 8:44 am
Has thanked: 4942 times
Been thanked: 4454 times
Contact:

Re: How to fix door script for market by a newbie script-er?

Post by Ilan Tochner »

Hi Loni,

When the error indicates an asset is missing from the product listing then you need to include it in the product listing for the problem to be resolved. That is true for all asset types, including sounds.

You can follow these instructions for placing objects from your inventory into other objects: https://community.secondlife.com/forums ... ent-773215
User avatar
Loni Dove
Posts: 26
Joined: Sun Mar 25, 2018 10:01 pm
Has thanked: 3 times
Been thanked: 18 times

Re: How to fix door script for market by a newbie script-er?

Post by Loni Dove »

ok, so when I add this item to the prim, do I have to change the script? Or does that depend on the error?
User avatar
Ilan Tochner
Posts: 6503
Joined: Sun Dec 23, 2012 8:44 am
Has thanked: 4942 times
Been thanked: 4454 times
Contact:

Re: How to fix door script for market by a newbie script-er?

Post by Ilan Tochner »

You have to make sure the script uses the same UUID for the included object as the UUID you see when you view that object's properties.
User avatar
Loni Dove
Posts: 26
Joined: Sun Mar 25, 2018 10:01 pm
Has thanked: 3 times
Been thanked: 18 times

Re: How to fix door script for market by a newbie script-er?

Post by Loni Dove »

Ok, I'll play around with it.

Thank you for all of your help Ilan. Have a great day:)
User avatar
Ilan Tochner
Posts: 6503
Joined: Sun Dec 23, 2012 8:44 am
Has thanked: 4942 times
Been thanked: 4454 times
Contact:

Re: How to fix door script for market by a newbie script-er?

Post by Ilan Tochner »

YVW Loni, please let us know if there is anything else you need.
Post Reply