Closed Mirageofmage closed 9 years ago
Come on @nicatronTg read the exception. It's a problem with his tshock config.
@Mirageofmage looks like it doesn't like your config values for the option SuperAdminChatRGB. Try messing around with the values.
I'm sorry :( remove the decimal places from your chat colors.
On Sun, Jul 5, 2015, 4:02 PM Ijwu notifications@github.com wrote:
Reopened #944 https://github.com/NyxStudios/TShock/issues/944.
— Reply to this email directly or view it on GitHub https://github.com/NyxStudios/TShock/issues/944#event-348126778.
I had the same issue, I never changed the RGB values in the config so it must conflict with the default settings.
Old configs will cause this error. Freshly generated configs from the current releases will not.
I get this error when running the new Terraria 1.3 Pre-Release under mono
[Server API] Error Startup aborted due to an exception in the Server API initialization: System.InvalidOperationException: Plugin "TShock" has thrown an exception during initialization. ---> System.Exception: Fatal TShock initialization exception. See inner exception for details. ---> Newtonsoft.Json.JsonReaderException: Input string '255.0' is not a valid integer. Path 'SuperAdminChatRGB[0]', line 15, position 10. at Newtonsoft.Json.JsonTextReader.ParseNumber () [0x00000] in:0
at Newtonsoft.Json.JsonTextReader.ParseValue () [0x00000] in :0
at Newtonsoft.Json.JsonTextReader.ReadInternal () [0x00000] in :0
at Newtonsoft.Json.JsonReader.ReadAsInt32Internal () [0x00000] in :0
at Newtonsoft.Json.JsonTextReader.ReadAsInt32 () [0x00000] in :0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType (Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonContract contract, Boolean hasConverter) [0x00000] in :0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateList (IList list, Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonArrayContract contract, Newtonsoft.Json.Serialization.JsonProperty containerProperty, System.String id) [0x00000] in :0
--- End of inner exception stack trace ---
at TShockAPI.TShock.Initialize () [0x00000] in :0
at TerrariaApi.Server.PluginContainer.Initialize () [0x00000] in :0
at TerrariaApi.Server.ServerApi.LoadPlugins () [0x00000] in :0
--- End of inner exception stack trace ---
at TerrariaApi.Server.ServerApi.LoadPlugins () [0x00000] in :0
at TerrariaApi.Server.ServerApi.Initialize (System.String[] commandLineArgs, Terraria.Main game) [0x00000] in :0
at Terraria.ProgramServer.InnerStart (System.String[] args) [0x00000] in :0
But it seems like a problem with the new JSON serialization in terraria