I’m fixing a hole….

July 16, 2008

We found a bug in the San Jose fatpacks. The texture change script would get stuck if you clicked the San Jose and either clicked ignore in the dialog box or did something else to make the dialog box go away without making a choice.
This was happening because there is no way, currently, to detect if the ignore button is clicked. Essentially, it would be forever listening for an answer that would never come. The way to fix it would have been to reset all the scripts in the San Jose, or to take/delete it and re-rez it.
I put a timer in the state that handles the dialog box and listen event. If the listen event is not triggered during the timer’s duration, the script is set back to the default state, which also turns off the timer (timer events persist across state changes).

This bug was found shortly after getting them to the shop floor, but we only had to issue the update to one person who had purchased the fatpack with the bug.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: