Closed 4rz0 closed 10 years ago
Your chatconfig is broken in your config.
It is? I actually just changed "EnableChatAboveHeads", but maybe I overlooked something. I'll look into it and report back!
Someone else reported this on the forums. Change "ChatAboveHeadsFormat": "{2}", to "ChatAboveHeadsFormat": "{4}",
"ChatAboveHeadsFormat" already is on {4} in my config.
{4} is invalid.
Good to know. Should be fixed so that initial config doesn't provide invalid values.
Every time anyone on my server says something, following message is displayed in the console:
[Server API] Warning Plugin "TShock" has had an unhandled exception thrown by one of its ServerChat handlers: System.FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list. at System.String.FormatHelper (System.Text.StringBuilder result, IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in:0
at System.String.Format (IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in :0
at System.String.Format (System.String format, System.Object[] args) [0x00000] in :0
at TShockAPI.TShock.OnChat (TerrariaApi.Server.ServerChatEventArgs args) [0x00000] in :0
at TerrariaApi.Server.HandlerCollection`1[TerrariaApi.Server.ServerChatEventArgs].Invoke (TerrariaApi.Server.ServerChatEventArgs args) [0x00000] in :0
Running Release 13 under Ubuntu/mono