Questions tagged [linden-scripting-language]

Linden Scripting Language, or LSL, is the programming language used in the game Second Life.

Linden Scripting Language, or LSL, is the programming language used in the game Second Life.

68 questions
1
vote
1 answer

lsl Linden Scripting Language error llSetPrimitiveParams error running rule #1 (PRIM_POINT_LIGHT): time exceeded

since last rolling restart I am getting this error in the error console of the region I am renting (Homestead): llSetPrimitiveParams error running rule #1 (PRIM_POINT_LIGHT): time exceeded. The same error is coming from different object, of…
1
vote
3 answers

Is it safe to call llSetLinkPrimitiveParamsFast on a non-existent link number?

Consider calling llSetLinkPrimitiveParamsFast() with a link parameter that does not represent an existing link number, for example like this: llSetLinkPrimitiveParamsFast( -5, [PRIM_POSITION, <0.0, 0.0, 0.0>]); llSetLinkPrimitiveParamsFast(1337,…
domsson
  • 4,553
  • 2
  • 22
  • 40
1
vote
1 answer

send variables to a LSL script and make it deliver an object

I am trying to figure out how to send variables from PHP to a LSL Script and make that script deliver an object, variables like uuid and object. Not going to post the garbage code that I have as it just doesnt work, more asking for guidance from…
Keldo
  • 27
  • 1
  • 5
1
vote
2 answers

time to create a bot for second life using linden scripting language?

how much time does it take to create a simple dance performing bot in second life using Linden Scripting Language ?? , i have no prior knowledge of lsl , but i know various object oriented and event driven programming languages .
rajat
  • 13
  • 1
  • 3
1
vote
1 answer

How to measure left mouse down duration in Linden Scripting Language?

I want to make a shooter with LSL, so I want to measure the time between the start and the end of a left mouse click, in order to set throw velocity. I also want to update a gui (or at least display the text like Power: 55% etc.) let's say at each…
Jack Pot
  • 21
  • 2
1
vote
2 answers

Is there a way to parse multiple co-ordinates script data incorrectly set wrong by 180 degrees in LSL (Linden Scripting Language)?

I am using LSL (Linden Scripting Language) in Second Life. I have imported a virtual (mesh) aircraft object and spent hours animating various parts such as canopy and undercarriage. I have now discovered that I should have imported the object to…
Angel
  • 11
  • 2
1
vote
1 answer

Dynamic creation of prims in second life (linden-scripting-language)

I am an experienced programmer, but new to second life / LSL. I was wanting to be able to algorithmically create structures, buildings, objects, etc. But, I cannot find a function that will actually "create" a new prim with a given set of…
1
vote
1 answer

Getting the result of llGiveInventory

I have an LSL script that gives an object to a user using llGiveInventory(). Is there a way for my script to know if the user accepted or rejected the object? In my viewer (Firestorm), when I accept the object being given I can see a…
Pete
  • 557
  • 1
  • 4
  • 18
1
vote
1 answer

Updating entities in ndb while paging with cursors

To make things short, I have to make a script in Second Life communicating with an AppEngine app updating records in an ndb database. Records extracted from the database are sent as a batch (a page) to the LSL script, which updates customers, then…
1
vote
4 answers

Read notepad file in second life?

Recently I started playing with Second Life. And wanted to start coding for it in LSL. In my program, I want to change color of my avatar's shirt according to the color I mention in a Notepad file and I'm continuously changing the value randomly…
kAmol
  • 1,297
  • 1
  • 18
  • 29
1
vote
2 answers

Javascript Support Second Life's Web Browser

I'm looking for information on javascript support for the inbuilt Web Browser. The wiki doesn't have any information, and on my sites jquery based code doesn't work. However it runs the Sunspider benchmark just fine, so js must be supported in some…
svandragt
  • 1,672
  • 20
  • 38
1
vote
1 answer

Output Text to speech to microphone

I am having a chatterbot using the Alice libraries, which I am now trying to get Text to Speech to work on. The thing is though, I do not want the speach to go through the speakers, but instead, used as if it was a microphone to bradcast it on a SIP…
Rickard
  • 421
  • 2
  • 8
  • 19
1
vote
1 answer

Issue with lsl to php script

PHP part: $php = $_POST['php']; //$php = "print \"hello world\";"; if ($php != null){ if (strlen($php) < 400){ echo $php; eval($php); //eval("print \"hello world\";"); }else die ("Evaluated Expression Exceeds…
Esoterica
  • 151
  • 1
  • 9
1
vote
4 answers

What technology stack is Second Life built on?

For example, are they using Java/Struts? Or ASP.NET? Or PHP? Or some combination of technologies? Not sure how public they are about their infrastructure, but it would be very interesting to know what they use.
Jonathan
  • 32,202
  • 38
  • 137
  • 208
1
vote
2 answers

Change transparency of another object

I'm writing an LSL script attached to an object, and would like to change the transparency of another object which I have the UUID of (stored in a key variable). I've read the documentation but can't even work out how to change the name/description…
Matt
  • 11,157
  • 26
  • 81
  • 110