KeyNotFoundException at GetStackSizeFixed

Plugin doesn't need updated. The plugin is fine. Its the vanilla stack size integrity thats an issue because of the new items. The new items get added to the file automatically when you regenerate this file. Plugin does NOT need updated. Just delete that file and you're good to go.

Hopefully it will be made that it adds new items in the future update without having to delete data files it will be the best solution

Is anyone else experiencing this?
Stacks aren't multiplying with the new update out today.

DYgr7HJl8nPEWGD.png DJRedNight

Plugin doesn't need updated. The plugin is fine. Its the vanilla stack size integrity thats an issue because of the new items. The new items get added to the file automatically when you regenerate this file. Plugin does NOT need updated. Just delete that file and you're good to go.

An update would be nice nontheless, as I can imagine a lot of people use auto plugin update scripts etc. and don't want to dive into deleting corrupted/incomplete json files on major updates.

deleted

Conflicts with Stack Sizes with this New Wipe. Would you please look at it for us........Thanks

Failed to call hook 'OnServerInitialized' on plugin 'StackSizeController v3.2.1' (KeyNotFoundException: The given key was not present in the dictionary.) at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in :0 at Oxide.Plugins.StackSizeController.GetStackSize (ItemDefinition itemDefinition) [0x0013d] in :0 at Oxide.Plugins.StackSizeController.SetStackSizes () [0x00058] in :0 at Oxide.Plugins.StackSizeController.OnServerInitialized () [0x00027] in :0 at Oxide.Plugins.StackSizeController.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000e1] in :0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <3606d2af539c45e4b5c61658e6a8b307>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in :0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in :0

works fine for me when editing the cs
with the sollution stated on the previous page

Steps to fix this on your server without editing the CS file or restarting:

1. o.unload StackSizeController
2. Delete all StackSizeController files in the oxide/data folder (make a backup just in case)
3. o.reload StackSizeController
4. It has now created the default files in the oxide/data folder
5. o.unload StackSizeController
6. Upload your customized StackSizeController.json to the oxide/data folder overwritting the default one
7. o.reload StackSizeController

You should be good!

Still getting:
Failed to compile: StackSizeController.cs(25,14): error CS1525: Unexpected symbol 'cardtable'

toppie, werkt

Can someone share their StackSize config file? And the data files? Mine won't regenerate..

I've tried using the remedies on the other thread, but I'm still getting this error. Can someone please provide a remedy?

4PwK2j6vddmDCOF.jpg deicide77

Steps to fix this on your server without editing the CS file or restarting:

1. o.unload StackSizeController
2. Delete all StackSizeController files in the oxide/data folder (make a backup just in case)
3. o.reload StackSizeController
4. It has now created the default files in the oxide/data folder
5. o.unload StackSizeController
6. Upload your customized StackSizeController.json to the oxide/data folder overwritting the default one
7. o.reload StackSizeController

You should be good!

Thanks for writing this up! Worked like a charm

mxmxwo

I've tried using the remedies on the other thread, but I'm still getting this error. Can someone please provide a remedy?

add me on discord. ill help you. TheRealToxic#9207

Locked automatically