lsl

LSL communications

Years ago I created a programming collaboratory in Diversity University MOO -- a room written in MOOcode that used TCP/IP to communicate with a perl server back at my campus to compile and execute C, Perl, Bash and other programs and return results to the MOO collaboratory -- all for demonstrating programming languages in a MOO teaching ...

Negotiating a common "network-channel" in a peer-to-peer system

Is there a common or established algorithm for peer-nodes in a network to decide on a unique "network-channel" (or any other form of semi-secret identifier)? The environment I'm working in is SecondLife. I am trying to figure out how to get many identical peer scripted objects to agree on a "channel" number which allows them to form a ...

Does anybody think that learning Linden Scripting Language is worth it?

I'm just looking for people's opinions on this... I really got worried when Second Life came out; I thought it was going to be a game changer for the Internet; Until I realized that outside of programmers and college students there really aren't that many people with the sort of hardware and Internet connection requirements needed to h...

Is there any form of Version Control for LSL?

Is there any form of version control for Linden Scripting Language? I can't see it being worth putting all the effort into programming something in Second Life if when a database goes down over there I lose all of my hard work. ...

Simplest possible voting/synchronization algorithm

What would be a simplest algorithm one or more people could use to decide who of them should perform some task? There is one task, which needs to be done only once, and one or more people. People can speak, that is, send messages one to another. Communication must be minimal, and all people use the exact same algorithm. One person sayin...

How do I make a stationary image out of particles in LSL?

LSL (Linden Scripting Language) allows for various particle effects using the llParticleSystem function. What are the right parameters to give to that function in order to make a non-moving particle-based image hover over the prim? (This question was asked in the Script Academy discussion group today. I'm reposting the question and my...

How can I hide an object's name in chat in LSL?

Given an object named "MyObject", an llSay(0, "Hello World"); from a script inside the object will look like this in chat: MyObject: Hello World How can I get it to just look like this? Hello World ...

My LSL particles won't go away even though I've deleted the script. How can I turn them off?

If you have a script that creates a particle system and then delete the script from the prim, the particles don't seem to go away. How can I get rid of them? ...

How can I read a random line from a notecard in LSL?

I have a notecard with a different word on each line, and I'd like to be able to select from the lines randomly. How can I do that? ...

lsl to mysql

Hi I have the following problem. I'm updating my mysql database using LSL. There is a corresponding table in the database and there is update.php with appropriate settings (have tested it with html form and php). Problem is that the record is added but with no values in the appropriate fields. string time; string address; string mess...

How can I change a portion of a string in the Linden Scripting Language (LSL)?

I have a string: string cover = "withaname" I would like to change the withaname to withnoname. I would then like to change withnoname to withanamegoose. What is the best way to accomplish this in LSL? ...

getting the display text of an object

Hi All, This is related to LSL scripting in Second Life. I would like to know whether there is any mechanism to retrieve the display text of an object. As far as I know, there's no direct LSL function for that. Isn't there any property that we can use to extract this information? /Su ...

Using (Java) Eclipse abilities in other programming language

I use Eclipse mainly for LSL (linden Scripting language). The plug-in for this language does not provide things like templates or task-tag recognition. Is there any way that these kind of features in LSL-files (or any other generic file/code for that matter) can be used? ...

Problems with making the root prim filter the child prims by name, than change only the child prims with a certen name. Help please

I need some help. I am working a script that will listen to a channel, take the message and use it as a texture command (this part i have), than change only the child prims that have the right name (this part i can not figure out). I know it is possible to do, but for the life of me i can not figure out how to filter by name than send th...