InvalidCastException: Specified cast is not valid.
Seit kurzem habe ich diese Fehlermeldung, woran kann das liegen? Was kann ich machen, damit alles wieder funktioniert?
Alles wird in den Stapeln erhöht, nur Holz, Steine und Metallschrott bleibt bei 1000 und lässt sich nicht erhöhen auf 30000 oder so

Recently, I have this error message, why can this be? What can I do to make everything work again?
Everything is increased in the stacks, only wood, stones and metal scrap remains at 1000 and can not be increased to 30000 or so

(20:37:41) | [RCON][91.23.101.239:49845] oxide.load StackSizeController

(20:37:41) | Failed to call hook 'OnServerInitialized' on plugin 'StackSizeController v1.9.9' (InvalidCastException: Specified cast is not valid.)

at Oxide.Plugins.StackSizeController.OnServerInitialized () [0x0012c] in <c9361abb7ca94717abc456f8a020a522>:0

at Oxide.Plugins.StackSizeController.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00038] in <c9361abb7ca94717abc456f8a020a522>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9affce1cd15c4ec183941adef8db1722>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <4452f821def6406d834e4149849fe7ea>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <4452f821def6406d834e4149849fe7ea>:0

(20:37:41) | Loaded plugin Stack Size Controller v1.9.9 by Canopy Sheep

The error means that your configuration file was not edited correctly. Make sure when editing, that you follow the default format from the original configuration.
Danke erstmal, also so sieht meine Konfigurationsdatei aus, wie gesagt sie funktionierte auch mit diesen Einstellungen, erst seit kurzem geht es nicht mehr:

Thanks first, so this is my configuration file, as I said it worked with these settings, only recently it is no longer:


{
"12 Gauge Buckshot": 500,
"12 Gauge Slug": 500,
"4x Zoom Scope": 5,
"5.56 Rifle Ammo": 1000,
"52 Gauge Buckshot": 1000,
"52 Gauge Slug": 1000,
"Acoustic Guitar": 5,
"Animal Fat": 30000,
"Anti-Radiation Pills": 500,
"Apple": 500,
"Auto Turret": 1,
"Bandage": 300,
"Bandana Mask": 5,
"Barbed Wooden Barricade": 500,
"Baseball Cap": 5,
"Battery - Small": 5,
"Beancan Grenade": 50,
"Bear Meat": 500,
"Bear Meat Cooked": 500,
"Bed": 5,
"Beenie Hat": 5,
"Black Raspberries": 250,
"Bleach": 30,
"Blood": 5000,
"Blueberries": 250,
"Blueprint": 10,
"Bone Fragments": 5000,
"Boonie Hat": 5,
"Boots": 5,
"Bota Bag": 5,
"Building Plan": 5,
"Burlap Headwrap": 5,
"Burlap Shirt": 5,
"Burlap Shoes": 5,
"Burlap Trousers": 5,
"Burned Chicken": 30,
"Burned Human Meat": 30,
"Burned Pork": 30,
"Burned Wolf Meat": 30,
"Burnt Bear Meat": 30,
"Cactus Flesh": 500,
"Camera": 5,
"Camp Fire": 5,
"Can of Beans": 250,
"Can of Tuna": 250,
"Candle Hat": 5,
"Candy Cane": 30,
"CCTV Camera": 30,
"Ceiling Light": 1,
"Chair": 30,
"Charcoal": 30000,
"Chocolate Bar": 250,
"Cloth": 30000,
"Coal :(": 5,
"Code Lock": 25,
"Concrete Barricade": 500,
"Cooked Chicken.": 500,
"Cooked Fish": 500,
"Cooked Human Meat": 500,
"Cooked Pork": 500,
"Cooked Wolf Meat": 500,
"Corn Clone": 50,
"Corn Seed": 50,
"Crude Oil": 1000,
"Door Closer": 5,
"Door Key": 5,
"Double Sign Post": 5,
"Duct Tape": 30,
"Empty Can Of Beans": 250,
"Empty Propane Tank": 50,
"Empty Tuna Can": 250,
"Explosive 5.56 Rifle Ammo": 1000,
"Explosives": 250,
"F1 Grenade": 25,
"F5 Grenade": 25,
"Flame Turret": 1,
"Flare": 25,
"Fridge": 1,
"Furnace": 1,
"Gears": 200,
"Glue": 50,
"Granola Bar": 50,
"Gun Powder": 30000,
"Hammer": 5,
"Handmade Shell": 64,
"Hazmat Boots": 5,
"Hazmat Gloves": 5,
"Hazmat Jacket": 5,
"Hazmat Pants": 5,
"Hazmat Suit": 5,
"Hemp Clone": 5,
"Hemp Seed": 50,
"Hide Boots": 5,
"Hide Halterneck": 5,
"Hide Pants": 5,
"Hide Skirt": 5,
"Hide Vest": 5,
"High External Stone Gate": 5,
"High External Stone Wall": 50,
"High External Wooden Gate": 5,
"High External Wooden Wall": 50,
"High Quality Metal": 3000,
"High Quality Metal Ore": 30000,
"High Velocity Arrow": 64,
"High Velocity Rocket": 3,
"Holosight": 25,
"Hoodie": 5,
"Huge Wooden Sign": 5,
"Human Skull": 5,
"HV 5.56 Rifle Ammo": 1000,
"HV Pistol Ammo": 1000,
"Improvised Balaclava": 5,
"Incendiary 5.56 Rifle Ammo": 1000,
"Incendiary Pistol Bullet": 1000,
"Incendiary Rocket": 3,
"Jack O Lantern Angry": 5,
"Jack O Lantern Happy": 5,
"Jacket": 5,
"Land Mine": 5,
"Landscape Picture Frame": 5,
"Lantern": 1,
"Large Banner Hanging": 5,
"Large Banner on pole": 5,
"Large Furnace": 5,
"Large Medkit": 10,
"Large Planter Box": 5,
"Large Present": 5,
"Large Water Catcher": 5,
"Large Wood Box": 1,
"Large Wooden Sign": 5,
"Leather": 30000,
"Leather Gloves": 5,
"Lock": 5,
"Locker": 1,
"Longsleeve T-Shirt": 5,
"Low Grade Fuel": 1000,
"Medical Syringe": 2,
"Medium Present": 5,
"Metal Barricade": 5,
"Metal Blade": 30,
"Metal Fragments": 30000,
"Metal horizontal embrasure": 30,
"Metal Ore": 30000,
"Metal Pipe": 30,
"Metal Spring": 30,
"Metal Vertical embrasure": 30,
"Metal Window Bars": 50,
"Miners Hat": 5,
"Mining Quarry": 5,
"Minnows": 50,
"Mushroom": 250,
"Note": 5,
"One Sided Town Sign Post": 5,
"Pants": 5,
"Paper": 5,
"Paper Map": 5,
"Pistol Bullet": 1000,
"Pookie Bear": 5,
"Pork": 30,
"Portrait Picture Frame": 5,
"Pump Jack": 5,
"Pumpkin Plant Clone": 5,
"Pumpkin Seed": 50,
"Raw Chicken Breast": 250,
"Raw Fish": 250,
"Raw Human Meat": 250,
"Raw Wolf Meat": 250,
"Reinforced Window Bars": 50,
"Repair Bench": 5,
"Research Paper": 5000,
"Research Table": 5,
"Rifle Body": 50,
"Road Signs": 30,
"Rocket": 3,
"Rope": 50,
"Rotten Apple": 5,
"Rug": 5,
"Rug Bear Skin": 5,
"Salt Water": "50000",
"Salvaged Shelves": 50,
"Sandbag Barricade": 50,
"Santa Hat": 5,
"Satchel Charge": 50,
"Semi Automatic Body": 50,
"Sewing Kit": 30,
"Sheet Metal": 30000,
"Shirt": 5,
"Shorts": 5,
"Single Sign Post": 5,
"Sleeping Bag": 5,
"Small Oil Refinery": 5,
"Small Planter Box": 5,
"Small Present": 50,
"Small Stash": 5,
"Small Stocking": 5,
"Small Trout": 50,
"Small Water Bottle": 5,
"Small Water Catcher": 5,
"Small Wooden Sign": 5,
"SMG Body": 50,
"Smoke Rocket WIP!!!!": 3,
"Snow Jacket - Red": 5,
"Spoiled Chicken": 30,
"Spoiled Human Meat": 30,
"Spoiled Wolf Meat": 30,
"Sticks": 500,
"Stone Barricade": 50,
"Stones": 60000,
"Sulfur": 30000,
"Sulfur Ore": 30000,
"SUPER Stocking": 5,
"Supply Signal": 20,
"Survey Charge": 50,
"Survival Fish Trap": 5,
"Table": 5,
"Tall Picture Frame": 5,
"Tank Top": 5,
"Targeting Computer": 5,
"Tarp": 30,
"Tech Trash": 50,
"Timed Explosive Charge": 50,
"Tool Cupboard": 5,
"T-Shirt": 15,
"Tuna Can Lamp": 15,
"Two Sided Hanging Sign": 5,
"Two Sided Ornate Hanging Sign": 5,
"Two Sided Town Sign Post": 5,
"Water": "50000",
"Water Barrel": 5,
"Water Jug": 5,
"Water Purifier": 5,
"Weapon Flashlight": 15,
"Weapon Lasersight": 15,
"Wind Turbine": 5,
"Wolf Headdress": 5,
"Wolf Skull": 5,
"Wood": 60000,
"Wood Storage Box": 1,
"Wooden Arrow": 64,
"Wooden Barricade": 5,
"Wooden Floor Spikes": 5,
"Wooden Ladder": 1,
"Wooden Sign": 5,
"Wooden Window Bars": 50,
"XL Picture Frame": 5,
"XXL Picture Frame": 5
}

Merged post

Ich habe lediglich die Zahlen geändert, ansonsten habe ich nichts verändert an der Datei. Wieso kommt dann trotzdem der Fehler?

I only changed the numbers, otherwise I did not change anything on the file.
Why does the mistake still occur?