Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Script Protection

Bosozoku Kato
insurrectionist midget
Join date: 16 Jun 2003
Posts: 452
07-17-2003 15:24
I know the subject is around but HOLY COW get some protections going!! Sooooon, please please! gah!

Twice now I've "lost" scripts that I do NOT want out in public. Well now they are! GAH

B
Nada Epoch
The Librarian
Join date: 4 Nov 2002
Posts: 1,423
07-17-2003 15:29
heh. man, i feel your pain.
_____________________
i've got nothing. ;)
Christopher Omega
Oxymoron
Join date: 28 Mar 2003
Posts: 1,828
07-17-2003 15:44
Same here, im waaaayy paranoid about selling myself as a contract scripter because of this, plus, mecause of my little to no building talent, I can barely sell anything because of the way it looks.
_____________________
October 3rd is the Day Against DRM (Digital Restrictions Management), learn more at http://www.defectivebydesign.org/what_is_drm
Bosozoku Kato
insurrectionist midget
Join date: 16 Jun 2003
Posts: 452
07-17-2003 16:34
Dirty fix if anyone's looking for some simple protection
..so now I'm going through all my objects and all scripts and adding:
CODE

default
{
state_entry
{
string NO_FREAKING_PROTECTION = llKey2Name(llGetOwner());
if (NO_FREAKING_PROTECTION != "Bosozoku Kato")
{
llDie();
}
}
}


:p
Ama Omega
Lost Wanderer
Join date: 11 Dec 2002
Posts: 1,770
07-17-2003 17:35
Key to name will fail if you are not in the same sim as your object. Just FYI.

A better bet may be to hardcode your key into your scripts and have it check on_rez if you still own it, if not then dies. Etc.
Driftwood Nomad
Registered User
Join date: 10 May 2003
Posts: 451
07-17-2003 17:40
Hey Bos,

Wouldn't that break objects that you sell to other people? The owner of the object changes when they buy it, so the object would always die. Am I right? Or am I missing something?
_____________________
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!
James Miller
Village Idiot
Join date: 9 Jan 2003
Posts: 1,500
07-17-2003 17:47
Bos sells all his objects personally. He hardcodes them all to you. That is why if he isn't online, you gotta wait for him to buy a Dodo, BosClock, etc.
Bosozoku Kato
insurrectionist midget
Join date: 16 Jun 2003
Posts: 452
07-18-2003 05:56
From: someone
Originally posted by James Miller
Bos sells all his objects personally. He hardcodes them all to you. That is why if he isn't online, you gotta wait for him to buy a Dodo, BosClock, etc.


Nah, I stopped hardcoding them a bit ago, just to help speed up editing scripts for customers. The reason you have to wait for me is because I sell them no-copy/mod -- but I keep a copy of your item (or try to anyway). Although I might go back to doing this -- I feel it's more personal and more secure for the customer (and for me), even if it takes 2 more minutes to setup.

..err actually the reason we both have to be there is because I let customers customize the Dodo's beforehand. So I need the customer's object in order to script it. Clocks are a little different, and I'll be selling varieties of clock hands/faces automatically soon. Plus I *like* being there, interaction is a huge part of the game. :) (heh ok ok, sometimes I get grumpy when four people with six ships show up and are in a rush to get scripted).

The little script snippet I posted is in all my scripts (well most :p) so when I mistakenly give the wrong item to someone it'll at least die if they rez it. But it's a diry fix and definitely isn't foolproof, as noted.

Bottom line still is that we need *secure* scripts. And no doubt it'll come, like many more improvements will over the months and years. As well a confirmation on giving would be nice (including when sending objects via profiles). "You are sending "xxxyyyzzz" to Joe, Confirm? y/N".

Bos
Edit - bah I hate smilies.
Zypher Crash
Charter Member
Join date: 17 May 2003
Posts: 55
07-26-2003 10:32
hmm,
You have me thinking, Can you have the script check the object itself to see if you were the creator? Hmm but then again would be useless =/ They can find the string and change it damb.

A Radio button that only the creator can change the state of place at the bottom on the scripting tab to grey out the text area would rock.

Or a step farther just make it lock contents (period).
*dreams of a Lock Contents Feature*

And also wile they are at it, they can remove that feature that enables Edit, on_rez(); I can think of many things to do if it was not the way it is now, hmm To be able to rez an object as it was set to when placed in there in the first place, ahh what a dream.

or or or the ability to create our own dialog(); UI skin. making SL look and feel the way we want!
*thinks hes pushing to far on that last one*
_____________________
Anything I'v posted was not posted to soley point someone out nore discredit any persons mentioned. The Above is soley my own oppinion that witch I am entitled to. Any flame or comments welcome But will be ignored. Unless specified other.