Adventure-Terraria-Server-Project / Protector-Plugin

Protector plugin for Terraria Server API and TShock.
GNU General Public License v3.0
10 stars 19 forks source link

ArrayTypeMismatchException #52

Closed tanpro260196 closed 7 years ago

tanpro260196 commented 7 years ago

It throw an exception right after server start. 2017-05-09 14:16:52 - PluginTrace: ERROR: [Protector] Reading a metadata file failed. Exception details: System.ArrayTypeMismatchException: Attempted to access an element as a type incompatible with the array. at Terraria.Plugins.CoderCow.Protector.WorldMetadata.Read(String filePath) at Terraria.Plugins.CoderCow.Protector.WorldMetadataHandler.ReadMetadataFromFile(String filePath) at Terraria.Plugins.Common.MetadataHandlerBase.InitOrReadMetdata() 2017-05-09 14:16:52 - PluginTrace: ERROR: [Protector] Failed initializing or reading metdata or its backup. This plugin will be disabled. Exception details: System.ArrayTypeMismatchException: Attempted to access an element as a type incompatible with the array. at Terraria.Plugins.CoderCow.Protector.WorldMetadata.Read(String filePath) at Terraria.Plugins.CoderCow.Protector.WorldMetadataHandler.ReadMetadataFromFile(String filePath) at Terraria.Plugins.Common.MetadataHandlerBase.InitOrReadMetdata() at Terraria.Plugins.CoderCow.Protector.ProtectorPlugin.InitWorldMetdataHandler() 2017-05-09 14:16:52 - PluginTrace: ERROR: [Protector] THIS PLUGIN IS DISABLED, EVERYTHING IS UNPROTECTED!

CoderCow commented 7 years ago

See https://tshock.co/xf/index.php?threads/protector.5012/#post-48244