Archive for March, 2008

Mouth in Foot Logo

Monday, March 31st, 2008

Mouth in Foot (JPG, small)

I’ve created an image. I hope you find it amusing. If you so desire, you may download it in your choice of image format (listed at the bottom).

They are copyrighted, but permission to use the images (and any derivatives thereof) is granted to you under the Creative Commons Attribution-Share Alike license. The images are not trademarks, and you won’t be sued or legally threatened for displaying them on your blogs, web pages, in virtual worlds, or in other places. You can even make good-natured parodies of them with absolutely no fear of retribution.

Enjoy.

Idea for new ‘error’ LSL event.

Tuesday, March 25th, 2008

The problem: runtime error handling in LSL is… well, it’s practically nonexistant. If something goes wrong, the script will usually shout some message to the world and then die. The obvious problem there is that you have to then manually restart the script and lose all data! Also, for the security-concious, it can potentially reveal implementation details of your script.

Idea: a new event in LSL, error, which would allow scripts to intercept and deal with error messages in a sane and consistent manner. Here’s an example:

default
{
    state_entry()
    {
        integer a = 1/0;
    }

    error( integer type, string message )
    {
        if( type == ERROR_MATH )
        {
            llOwnerSay( message + "You should have paid more attention in math class." );
        }
    }
}

The two parameters for the error event are the type, which is one of a selection of integer constants, and the message, which is a human-readable message describing what went wrong. In this case, the type is ERROR_MATH (indicating a math error), and the message would be something like “Error: Division by zero.”. The output from this script would be a message to the owner, “Error: Division by zero. You should have paid more attention in math class.”

Some more useful (and less insulting) ways of handling errors might be to reset the script, send an IM to an assistant shopkeep, clearing some buffers to free up memory, giving a custom message on chat, or some other appropriate behavior for that particular application. If the script doesn’t define the event block, errors are reported in the default way, as they are now (e.g. shouting the error on the debug channel).

To complement the new error event, would be a new function for triggering errors: llError( integer type, string message ). When called, it triggers an error of the given type, using the given message. If an error event block is defined, the error is given to that block to be handled; if there’s no block, it’s handled in the default manner for that event type.

A second new function would be llNoHandleError, which behaves like llError, except that it always performs the default handling, bypassing the error event block if it exists. This could also be used within the error event block to “pass through” event types that it’s not intended to handle.

So, scripters: give me some feedback on this. Should we make a JIRA for this, or is it actually a really stupid idea?

Reminder: Bubble Party, today at 3PM and 9PM SLT!

Saturday, March 15th, 2008

Don’t forget, we’re having a Bubble Party at Cuddlefish Junction today at 3PM and 9PM SLT, and everybody’s invited. I hope you will attend!

Squidograms are back for St. Patty’s Day!

Friday, March 14th, 2008

St. Patty’s Day Squid O’Graham

Squidograms are back! A fresh stock of trained courier squids has just come in from off the coast of beautiful Ireland, and are ready for sale!

Read all about it on the cuddlefishalicious Cuddlefish Junction blog, or just go and get some right now!

More Bubble Ride details!

Thursday, March 13th, 2008

Bubble Ride

Looking for all the bubbly details about the new, soon-to-be released Cuddlefish Junction Bubble Ride? I can’t blame ya, so am I!

Luckily, there are bloggy posts for just such an occasion! Here’s a bubbly teaser to pique your bubbly interest:

Just give the bubble-maker horn a little squeeze, and out comes a giant soap bubble — hop on, and you’re swooped up by the wind, floating through the air and drifting over the world.

And don’t forget to drop by Cuddlefish Junction this Saturday, March 15 at 3PM or 9PM SLT for the bubble launch parties!

Cuddlefish Junction Bubble Party - March 15

Saturday, March 8th, 2008

Woooo, bubble party, March 15 at 3PM and 9PM SLT!

Visit to the Circuit City subway

Saturday, March 1st, 2008

Don't Mess With Jacek
Checked out the new Circuit City sims. I looked high and low, but found no iPod Nano. What I did find was this awesome, atmospheric subway scene.