The array of fill styles starts with a counter. When DefineShape is used, the counter can be any value from 0 (no style) to 255. When DefineShape2 or DefineShape3 are used, the value 255 is reserved so you can declare more than 255 styles.
Recently, Linden Lab changed the way they create names for new avatars for Second Life. This has caused issues with SLiteChat but a simple work around can resolve this problem for you.