Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Protecting scripts without the Lindens

Lee Dimsum
Registered User
Join date: 22 Feb 2006
Posts: 118
08-29-2006 10:19
Isnt hypercard using libsecondlife?
Yumi Murakami
DoIt!AttachTheEarOfACat!
Join date: 27 Sep 2005
Posts: 6,860
08-29-2006 10:21
From: Lee Dimsum
Isnt hypercard using libsecondlife?


I think so, but it has some things of its own as well, I think. I don't recall libsecondlife allowing you to display text in the Second Life window.

Another thing that made me a bit nervous was that there's a mention of "hypercard.dll" in the .exe file, and since that doesn't exist as a seperate file, it's possible the program drops a dll?
Lee Dimsum
Registered User
Join date: 22 Feb 2006
Posts: 118
08-29-2006 10:53
From: Yumi Murakami
I think so, but it has some things of its own as well, I think. I don't recall libsecondlife allowing you to display text in the Second Life window.

Another thing that made me a bit nervous was that there's a mention of "hypercard.dll" in the .exe file, and since that doesn't exist as a seperate file, it's possible the program drops a dll?

It does. E.g. see god mode / Analyst / etc...
Yumi Murakami
DoIt!AttachTheEarOfACat!
Join date: 27 Sep 2005
Posts: 6,860
08-29-2006 11:05
From: Lee Dimsum
It does. E.g. see god mode / Analyst / etc...


Does it? I just had a look at the libsecondlife download and it doesn't seem to include any functions for displaying text in the window. It seems to offer connections to the protocol, network, parcel, and avatar - but nothing about the window. Which would make sense to me because I thought libsecondlife was basically about the networking protocol between SL and the server. Displaying text in another app's window can't be done by altering the server dialog.

Other applications that used libsecondlife may have done it, but they didn't do it by using libsecondlife. They have hooked into the client in some other way as well.
Dominic Webb
Differential Engineer
Join date: 1 Feb 2006
Posts: 73
08-29-2006 11:42
From: Francis Chung
From: Strife Onizuka
LL is going to convert existing scripts that are running from there LSL bytecode -> Mono; perserving their state (or so i've heard).
That's a really good point Strife - if converting to Mono means that all my scripts get reset, I'm dead.

Apparently they are not going from bytecode -> mono, they are going from LSL -> mono:

From 128277:
From: Babbage Linden
This will also stop the automatic recompilation of scripts to run on the Mono virtual machine. I really don't want to end up in a situation where a lot of scripts are running on the grid without their LSL source code being in the asset system.


Anyone else want some popcorn?


- d.
_____________________
.sig space for rent.
DoteDote Edison
Thinks Too Much
Join date: 6 Jun 2004
Posts: 790
08-29-2006 14:12
Since more people are reading about this tool and considering its use, I'll hilight Phoenix Linden's comment on the subject, as a Public Service Announcement:
From: Phoenix Linden
If the script protector does not upload the source to script, those scripts will break when we update the bytecode interpreter to the Mono CLR. We are NOT planning on doing bytecode translation to Mono. No source == no recompilation using Mono == no running under the Mono CLR. Anybody who sells or buys a script created using this is going to be in a world of hurt at some undetermined point in the future.

In a release currently under development, we will be restructuring how the viewer interacts with assets in the system. When these changes ship, this tool will be broken beyond repair.

Use of this tool is completely unsupported, we recommend against its use, and nobody at Linden guarantees or implies that scripts created using it will continue to function in any capacity.
CJ Carnot
Registered User
Join date: 23 Oct 2005
Posts: 433
08-30-2006 03:05
A per pro of nothing, Hypercard was the name of one of the first multimedia tools developed by Apple pre OSX. It used the metaphor of a stack of cards which could contain text, images & scripts using a high level scripting language called Hypertalk. I'm pretty sure this is where Neil borrowed the concept from for Snowcrash.

We now return you to your regularly scheduled forum discussion program...
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
08-30-2006 06:00
I haven't used hypercard in ages. It wouldn't supprise me if there was a connection.
_____________________
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
Yumi Murakami
DoIt!AttachTheEarOfACat!
Join date: 27 Sep 2005
Posts: 6,860
08-30-2006 07:50
Could the same trick be used to substitute an alternative bytecode compiler?
Lee Dimsum
Registered User
Join date: 22 Feb 2006
Posts: 118
08-30-2006 09:42
From: Yumi Murakami
Does it? I just had a look at the libsecondlife download and it doesn't seem to include any functions for displaying text in the window. It seems to offer connections to the protocol, network, parcel, and avatar - but nothing about the window. Which would make sense to me because I thought libsecondlife was basically about the networking protocol between SL and the server. Displaying text in another app's window can't be done by altering the server dialog.

Other applications that used libsecondlife may have done it, but they didn't do it by using libsecondlife. They have hooked into the client in some other way as well.

SEE Analyst from SLProxy...
Yumi Murakami
DoIt!AttachTheEarOfACat!
Join date: 27 Sep 2005
Posts: 6,860
08-30-2006 10:02
From: Lee Dimsum
SEE Analyst from SLProxy...


As far as I can tell, that does use LibSL because it creates artifical chat packets which appear on the chat console.

Hypercard, on the other hand, appears to render floating text on top of the SL graphical display. Whatever trick is being used to do that, isn't part of LibSL.
Kalel Venkman
Citizen
Join date: 10 Mar 2006
Posts: 587
08-31-2006 15:37
It looks like it's all moot, now - the creator of Hypercard has removed it - and apparently himself - from SLExchange, and the binary is no longer available for download from his web site.

I'm really curious as to why he decided to do this.
ed44 Gupte
Explorer (Retired)
Join date: 7 Oct 2005
Posts: 638
08-31-2006 17:30
Additional to the mono conversion problem, there are a couple of other problem for folks having only the binary of this product. Firstly, LL is moving from using usb packets to tcp/ip packets. Secondly, the communications template changes with each major update and this product may not take that into account.

In any case, LSL is a scripting language, not a major development language. It is there to give access to basic SL functions. Anything serious should happen by calls to remote servers by http or rcp calls.

I notice that scripts are now protected by default. You actually need to set the permissions to allow others to see your source.

Ed
1 2 3