How to protect your scripts from getting transfered
|
blaze Spinnaker
1/2 Serious
Join date: 12 Aug 2004
Posts: 5,898
|
09-29-2004 21:14
Little trick I learned (or maybe someone told me and I just didn't understand at first) state_entry() { if (llGetCreator()!="<your hard coded key"  llDie(); } on_rez(integer param) { if (llGetCreator()!="<your hard coded key"  llDie(); } This keeps people from dragging your script onto other objects. If you don't do this, then they can copy your scripts around to as many items as they wish.
_____________________
Taken from The last paragraph on pg. 16 of Cory Ondrejka's paper " Changing Realities: User Creation, Communication, and Innovation in Digital Worlds : " User-created content takes the idea of leveraging player opinions a step further by allowing them to effectively prototype new ideas and features. Developers can then measure which new concepts most improve the products and incorporate them into the game in future patches."
|
Bran Brodie
Registered User
Join date: 5 Jun 2004
Posts: 134
|
Re: How to protect your scripts from getting transfered
09-30-2004 04:16
From: someone Originally posted by blaze Spinnaker This keeps people from dragging your script onto other objects.
If you don't do this, then they can copy your scripts around to as many items as they wish. Yep, wouldn't want the scripts to be used. (Yes, that was sarcasm).
_____________________
Someday there will be a Metaverse that puts users first. Sadly LL does not want to be that Metaverse.
|
CrystalShard Foo
1+1=10
Join date: 6 Feb 2004
Posts: 682
|
09-30-2004 05:57
Eradicating the object itself seems to be alittle bit extreme - you can never know what else was inside the contents of the object you just killed.
I'd rather use permissions if I need a script to be non-transferable.
|
Eggy Lippmann
Wiktator
Join date: 1 May 2003
Posts: 7,939
|
Re: How to protect your scripts from getting transfered
09-30-2004 06:19
From: someone Originally posted by blaze Spinnaker Little trick I learned (or maybe someone told me and I just didn't understand at first)
state_entry() { if (llGetCreator()!="<your hard coded key" llDie(); }
on_rez(integer param) { if (llGetCreator()!="<your hard coded key" llDie(); }
This keeps people from dragging your script onto other objects.
If you don't do this, then they can copy your scripts around to as many items as they wish. And this is a bad thing? It's called fair use. If you buy a database from Oracle, they have no legal right to say what you can or cannot do with it. You could use it to run a bank, but you could also use it to run the accounting system of an international child abduction mafia. I dont care if people wipe their ass on my scripts. Heck, I wholeheartedly encourage the use of my scripts in a different object. That way, I do not have to provide the object.
|
Cienna Rand
Inside Joke
Join date: 20 Sep 2003
Posts: 489
|
Re: How to protect your scripts from getting transfered
09-30-2004 07:05
From: someone Originally posted by blaze Spinnaker If you don't do this, then they can copy your scripts around to as many items as they wish. Unless, of course, you set it to no-copy. Sometimes the simple answer works. ;)
_____________________
You can't spell have traffic without FIC. Primcrafters (Mocha 180,90) : Fine eyewear for all avatars SLOPCO (Barcola 180, 180) : Second Life Oil & Petroleum Company Landmarker : Social landmarking software Conversation : Coming soon!
|
Ursula Madison
Chewbacca is my co-pilot
Join date: 31 Jul 2004
Posts: 713
|
09-30-2004 15:40
Killing the object is crazy... you could have the script delete itself. But if I moved a script into an object that had other things in it that I had paid for, and then your script deletes all of them, I'd expect you to replace my lost items.
That is, unless you make it abundantly clear at the time of purchase that your script is an "object killer" when moved. Otherwise, it strikes me as a very nasty trick to pull on someone who is not violating any of the permissions when they move your script.
|
Cubey Terra
Aircraft Builder
Join date: 6 Sep 2003
Posts: 1,725
|
Re: How to protect your scripts from getting transfered
09-30-2004 16:01
From: someone Originally posted by blaze Spinnaker Little trick I learned (or maybe someone told me and I just didn't understand at first) That is a really nasty, underhanded thing to do. You have no right to deliberately destroy someone's object. What if they spent hours creating this thing only to have you wipe it out? That would be like Adobe detecting whether Paintshop is pirated and destroying your computer as punishment.
_____________________
C U B E Y · T E R R A planes · helicopters · blimps · balloons · skydiving · submarines Available at Abbotts Aerodrome and XstreetSL.com 
|
Rickard Roentgen
Renaissance Punk
Join date: 4 Apr 2004
Posts: 1,869
|
09-30-2004 16:43
just send the script to a disabled state. I for one don't know why you'd care if they try and move your script to something else to use. I mean hey, they bought it, they can do whatever the heck they want with it short of reselling it without permission. This method will allow it to work should they move it back into the original object and won't delete a darn thing, the script itself or the object. default { state_entry() { if (llGetCreator() != <hardcoded key>  { state disabled; } } on_rez(integer sparam) { if (llGetCreator() != <hardcoded key>  { state disabled; } } } state disabled { on_rez(integer sparam) { llResetScript(); } }
|
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
|
09-30-2004 19:33
just to make that code readable... (use [ code ] or [ php ] tags) and give a warning about it being disabled. default { state_entry() { if (llGetCreator() != <hardcoded key> ) state disabled; }
on_rez(integer sparam) { if (llGetCreator() != <hardcoded key> ) state disabled; } }
state disabled { state_entry() { llSay(0,"Please return this script to it's original object to re-enable it"); } on_rez(integer sparam) { llResetScript(); } }
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river. - Cyril Connolly
Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence. - James Nachtwey
|
Byron McHenry
Registered User
Join date: 21 Sep 2004
Posts: 204
|
Re: Re: How to protect your scripts from getting transfered
09-30-2004 20:44
From: someone Originally posted by Cubey Terra That is a really nasty, underhanded thing to do. You have no right to deliberately destroy someone's object. What if they spent hours creating this thing only to have you wipe it out?
That would be like Adobe detecting whether Paintshop is pirated and destroying your computer as punishment. yea that could fit under harrassment
|
Byron McHenry
Registered User
Join date: 21 Sep 2004
Posts: 204
|
Re: Re: How to protect your scripts from getting transfered
09-30-2004 21:09
From: someone Originally posted by Cubey Terra That is a really nasty, underhanded thing to do. You have no right to deliberately destroy someone's object. What if they spent hours creating this thing only to have you wipe it out?
That would be like Adobe detecting whether Paintshop is pirated and destroying your computer as punishment. yea that could fit under harrassment
|
Hiro Pendragon
bye bye f0rums!
Join date: 22 Jan 2004
Posts: 5,905
|
10-01-2004 00:47
/54/72/23048/1.htmlbeen there, done that
_____________________
Hiro Pendragon ------------------ http://www.involve3d.com - Involve - Metaverse / Emerging Media Studio
Visit my SL blog: http://secondtense.blogspot.com
|