Under the webs hood!
Posts tagged LSL
Turning a script off or on
Jul 19th
While turning on or off a script is as simple as opening it and un-checking the “running” box. Sometimes you may want to automate this process. While I do not think this small tutorial belongs on its own page as of yet, I do still think that these two methods are worth it. For these methods I will be using the touch_start() event. While you can do other events such as a listen or link_message, this is the fastest for me.
More >
Yet another update!
Jul 15th
Due to the fact that an object does not retain its key when taken into inventory and “re-rezzed”. I now have to update the downloads system (Second Life side anyhow) to now communicate with my database to see if a new key is available. Since the system uses llEmail, and object to object email requires keys, when I move my server systems (which will be tomorrow) I’ll have to update the system yet again. Again, this is only one step closer to making my off-world system sellable.
If you experience any issues with downloads please be patient and try again in a few hours.
Script update tonight!
Jun 29th
I’ve been going on and off about doing this but it’s going to make my RL item download system for Second Life, a whole lot better. For those of you who don’t know what I’m talking about, or haven’t bought my skin kits, this system was previously a single script, however, each script would need to be altered should my website change or should the server change, each product would have to have promotional items such as LM’s and NC’s added, and sometimes the script would just glitch out. This is a pain considering I had over 33 skin kits at one time.
On the end-user side of things, the box required the buyer to touch it, and being that there was large yellow letters telling them to do so, I didn’t think this would have been an issue. Obviously I didn’t consider the language barrier, nor the younger ages that apparently couldn’t read yet. This is fixed, and will only require the user to rez the box. As a safety measure, if the user was to rez the box and something glitched out, then the user can still touch it to contact the server.
The product script now contains a fool-proof self-contained algorithm… not that big of a deal though. I’ve just secluded the HTTP portion of the script to a central server object that I OWN. The product box only sends data, via llEmail to the server object, that I can translate or use how I see fit. In doing that, it will allow me to optimize the data insertion process on the actual HTTP server.
I may be optimizing my RL download system for end-users and sell it later on, but as for now, that’s a lot of work
Second Life and PHP
Mar 24th
I’ve created a beginner’s tutorial to show how to use Second Life’s llHTTPRequest function to communicate with PHP scripts on a website. This offers absolutely limitless possabilities when attempting to communicate with websites, databases and many other web-based application platforms and APIs.