Talk:Linden Scripting Language

From Wikipedia, the free encyclopedia
Jump to: navigation, search

Cites its Sources[edit]

I didn't see this "This article or section does not cite its references or sources." seems like all the details are in the external links. maybe we should remove this tag...or should be specific about what sources are not cited --Msfwebdude 02:14, 15 December 2006 (UTC)

So I am going to remove that tag, and if anybody wants to put it back go ahead, I just dont see the point of that label. --Msfwebdude 18:13, 15 December 2006 (UTC)

I've added citations specific to individual content, with links to the appropriate LSL Portal page, as the LSL Portal can be a bit challenging to navigate. This should resolve the issue with citations, I would hope. CatDeville (talk) 22:40, 23 August 2008 (UTC)

Detail[edit]

Well anyways this needs to be more detailed??? I thought it woul be like a programming tutorial.—Preceding unsigned comment added by Aceofspades1217 (talkcontribs) 01:38, 22 August 2006

Read WP:NOT wikipedia is not a how to guide. The Lindens already have a Scripting language wiki that covers the how to.--Crossmr 02:24, 22 August 2006 (UTC)

Im sorry, I understand. It could use a little more detail though.

Question when is mono coming to SL??? I keep seeing q1 2006 but i havent herd that it is out Aceofspades 17:25, 23 August 2006 (UTC)

A little more detail isn't a problem, as long as it doesn't turn into a how-to. As far as when mono is coming, I've no idea, maybe check their forums or wiki?--Crossmr 17:26, 23 August 2006 (UTC)

I understand that Wiki is not a How-to-Guide, however there was previously an excellent summary of information pertinent to LSL design that I found *EXTREMELY* helpful as a new LSL instructor which helped me to better understand LSL structure and design to explain it to my students. That information was deleted in bulk by the same user who included the erroneous information about Hello, Avatar talking "on rez", so I've corrected teh erroneous information, cleaned up the grammar a bit, added citations and returned the simplest form of that design description to the wiki, as I feel this is crucial and *basic*, general information about this programming language. It's the kind of info that new programmers are looking for when checking on a language in the wiki, and is consistent with the level of information given about other programming languages on wikipedia. When I have the time, which I do not today, I'll try and revisit it and flesh things out a bit more, again, to be consistent with the way that other programming informations are described on wikipedia, and try to add a little development history (I'll have to dig that info up from a lecture.) CatDeville (talk) 22:46, 23 August 2008 (UTC)

Worm news?[edit]

Some information related to the recent "spinning rings" worm[1] would be appreciated. How does one "rez" a new object, refer to other objects, etc.? Are there any restrictions on the replication of objects? Any restrictions on the computing power of scripts? (See the article on ZZT-oop for a pretty good summary of that kind of thing in a different scripting language.) --Quuxplusone 04:57, 21 November 2006 (UTC)

If you read the scripting wiki [2], you'll see that the majority of functions delay the script for x amount of seconds- usually just a fraction of a second.
the llRezObject() function is used in these grey-goo attacks.
There is an "electric fence" of sorts that restricts the malicious usage of this function to perform a DOS attack.
As far as I am aware, Linden Lab have not released official statements regarding the technical restrictions/limitations of the fence. It's simply a case of experiment and try not to blow up the grid.
the correct term used in the game is the "grey goo fence" —Preceding unsigned comment added by 72.29.167.236 (talk) 22:13, 19 May 2008 (UTC)
Anything not in the inventory of an object can be referred to by it's UUID- a unique identifier.
I did notice, that unlike the usual self-replicating objects, the majority of the sonic rings did not contain any objects- only a single script.
While this statement should be taken with a pinch of salt, it is my belief if this was a "traditional" self-replicating object DOS attack, it did so by the ability for an object to be sent content remotely.
The coverage in the media of this event is laughable, since far worse DOS attacks have occurred over Second Life's history, and the real-world media (as opposed to media solely concerned with SL) haven't covered them at all. I also find it ridiculous that it's called a worm.
Signpostmarv 23:45, 21 November 2006 (UTC)


Scripting_language#Application-specific_languages[edit]

Although low knowledge + high boldness is a common recipe for disaster on Wikipedia, I've ignorantly + boldly added Linden Scripting Language to the list of Application-specific languages at Scripting language. If this is a problem, somebody please fix it. Thanks. -- Writtenonsand (talk) 04:00, 12 December 2007 (UTC)

That's not the hello world program.[edit]

default { state_entry() { llSay(0, "Hello, World"); } } is the Hello World for LSL. The touch event is simply there by default. —Preceding unsigned comment added by 128.118.31.24 (talk) 00:09, 27 February 2008 (UTC)

actually, that is the "Hello, Avatar" program for LSL. LSL doesn't use "Hello, World", it uses "Hello, Avatar". The program showing is the default program created by the LSL editor whenever "New Program" is chosen, and that program includes the touch event as shown. Please see LSL's own wiki for documentation at http://wiki.secondlife.com/wiki/Hello_Avatar. CatDeville (talk) 21:52, 23 August 2008 (UTC)

state_entry not triggered by rezzing an object[edit]

I also corrected this erroneous statement. Hello, Avatar is not triggered on rez. Triggering an event on rez requires the on_rez event. Hello, Avatar is triggered on state_entry... i.e., whenever the script enters the state in which the event resides, in this case the default state. Since this particular state entry is inside the default state, it triggers when the script is saved, initialized or reset, so I altered the wording to reflect that while trying not to get too detailed. The idea that state_entry triggers on rez is a common error which is even propogated by some scripting teachers in LSL, but if you review the LSL Portal wiki or if you test it yourself in SL you'll see this is not true. CatDeville (talk) 21:52, 23 August 2008 (UTC)