Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Script protections

Alfkin Small
Registered User
Join date: 6 May 2003
Posts: 9
05-09-2003 09:09
I'm getting started in scripting and learning how to do alot of cool things, but before I start making my stuff available to the public I have a few questions to ask about the scripting protections (or lack thereof) in SL.

First off, how safe is a script that is stored in a "no-modify, no-copy object"? Can the owner still see the script (and hence, copy it freely), or is it hidden from their view?

Secondly, are there ever going to be script protections built into the engine? In my opinion, it should be very easy to do. Have it work just like the real world. In the real world, you don't ship out the source code to your game for all the world to look at -- that would be suicide. Instead you ship a compiled version that has the full functionality, but doesn't let people know how you made it. I would think something like this could be easy to do.

Example: I write a new script that makes my house sing whenever someone gets near (Hey, I didn't say it was USEFUL). While I'm testing, the script works just like it does now. When I decide that the script is done, I tick off a checkbox on the script window that says "Create compiled version", and then hit Save. In addition to saving the original (text) script, it creates a new object that contains a compiled version of the script. I can then sell this object, people can drop it in their objects and use it, but they can't open it, look at it, modify it, etc. In addition, I should also be able to set whether the script is copyable, just like it works with objects. Am I selling a script they can use as many times as they wish, but can't give to other people? Or am I selling a one-use-per-copy script? etc.

As it stands now, assuming that scripts are safe inside unmodifiable objects, I can make money designing custom scripts for people who bring otherwise finished objects to me. I would like to be able to write a raw script, compile it, and have it available in a store (accompanied perhaps by an object demonstrating its function) just like objects can be sold now without having to worry about someone stealing the work and passing it off as their own.
Ama Omega
Lost Wanderer
Join date: 11 Dec 2002
Posts: 1,770
05-09-2003 11:15
There be lots, and lots, and lots of threads and posts about this. Not a small number of which are mine. :D

Scripts on no modify objects can not be seen.

It turns out its not quite as easy as you imagine, because of the levels of permissions and the way SL works. It is on the list though.

In fact if you look in events section, the thread about the townhall meeting has a transcript of the event, and you will notice that I got first question ....... :D