Jump to content

pixelpshr1488303685

Resident
  • Posts

    5
  • Joined

  • Last visited

Everything posted by pixelpshr1488303685

  1. Hi, I've got this webpage that appears as the texture on a MOAP which needs to refresh at regular intervals. (The page changes over time.) I used the javascript "setTimeout()" function to force a redraw and it works great in a browser, but the page disappears from the prim when the timeout triggers inside SL. I'm guessing that MOAP doesn't like pages that redraw themselves without user interaction. I can also create a timer in my LSL, and then remove the javascript redraw, but I haven't found a method to cause the MOAP to refresh. Is anything like that available? TIA, Thom
  2. I've found a multitude of JSON parsers in many different languages. That gives me a broad selection of examples to use when implementing my LSL JSON parser. I do have a quick question, though. As an LSL newbie, I haven't worked with the language enough to know what other languages it is most similar to. That information would help me select the most appropriate example to work from. So, what do you think? What other language is the most similar to LSL?
  3. Hmmm... I just realized that these scripts only get me half of the way there. They get me from LSL lists to JSON, but not the other way around.
  4. Thanks for the quick reply! That wiki looks like a good catch. I'll try folding the example code into my app. I noticed that the page is a year old. I guess there wasn't been any movement from the LL side to provide direct support for this in LSL, eh? Thanks again!
  5. Is there any support for JSON serialization in LSL? I'd like to be able to convert an LSL data structure into a JSON string for passing through the llHttpRequest and decode the response from the web site. I've also seen some references to LLSD (Linden Lab Structured Data). That might be usable as an alternative to JSON, the docs say there is a php module for processing it, but I haven't been able to find any reference to its use within LSL. Thanks!
×
×
  • Create New...