Pryaxis / TShock

☕️⚡️TShock provides Terraria servers with server-side characters, anti-cheat, and community management tools.
GNU General Public License v3.0
2.43k stars 382 forks source link

Error Startup aborted due to an exception in the Server API initialization: #1179

Closed SevenSeasWinds closed 8 years ago

SevenSeasWinds commented 8 years ago

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

hakusaro commented 8 years ago

In your config file, find any decimal places for the SuperAdminChatRGB values and remove them (i.e., change 255.0 to 255).

SevenSeasWinds commented 8 years ago

I have done that already, it overpass that point, and again, the SQLite message coming again. I changed also for "mysql", and despite the message disappeared, Tshock it not working anyway. :-(

2016-05-03 16:05 GMT-03:00 Lucas Nicodemus notifications@github.com:

In your config file, find any decimal places for the SuperAdminChatRGB values and remove them (i.e., change 255.0 to 255).

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/NyxStudios/TShock/issues/1179#issuecomment-216632732

Martin D. Cernadas Cel. CABA +54-9-11-6432-1586 Blogger http://www.martindcernadas.com.ar/ Linkedin ar.linkedin.com/in/martindcernadas Twitter http://twitter.com/SevenSeasWinds