Jump to content

madprgmr

Resident
  • Posts

    4
  • Joined

  • Last visited

Everything posted by madprgmr

  1. The only ways that I'm aware of are, as you mentioned, a remote server or llEmail(). The linked page mentions that there is a bug (jira link says that this bug will not be fixed) that makes llEmail() unreliable for inter-region messaging. So, basically, you'll either have to deal with the unreliability, or get an external server. There are many sites out there that provide free hosting with a sizable amount of bandwidth and server-side scripting support (most notably PHP), so don't write off external servers due to cost.
  2. You can just check for a change in the value llGetDate() returns with a timer. You should set this timer to a rather long delay (minutes or hours).
  3. You'll want the llFrand() function, and the wiki page has a coin flip function in the example. See: http://wiki.secondlife.com/wiki/LlFrand
  4. I've been playing around with scripting media prims or the past couple of days, and have run into what I consider to be a bug. If the hash portion of the url changes due to, say, a javascript action, a call to llGetMediaParams() does not return the updated url. For example, say my script sends the media object to http://www.example.com/index.html#unchanged. Then, the page's javascript changes the location hash to "changed", and the url is now http://www.example.com/index.html#changed. Calling llGetMediaParams() after the media's control bar reflects the change returns http://www.example.com/index.html#unchanged. I can work around this problem, but my method results in a non-ideal solution. Does anyone know how to fix this, perhaps? Disclaimer: I'm a SL newbie.
×
×
  • Create New...