(20:07:21) | StackSizeController was compiled successfully in 1667ms
(20:07:21) | Unloaded plugin Stack Size Controller v3.2.1 by AnExiledGod
(20:07:21) | 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 <eae584ce26bc40229c1b1aa476bfa589>:0
at Oxide.Plugins.StackSizeController.GetStackSize (ItemDefinition itemDefinition) [0x0013d] in <a37485a8ddb84520b0334f5cdbd449b0>:0
at Oxide.Plugins.StackSizeController.SetStackSizes () [0x00058] in <a37485a8ddb84520b0334f5cdbd449b0>:0
at Oxide.Plugins.StackSizeController.OnServerInitialized () [0x00027] in <a37485a8ddb84520b0334f5cdbd449b0>:0
at Oxide.Plugins.StackSizeController.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000e1] in <a37485a8ddb84520b0334f5cdbd449b0>: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 <c2afd8354b8b4f3ca451cf5a1aa111c3>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0
(20:07:21) | Loaded plugin Stack Size Controller v3.2.1 by AnExiledGod KeyNotFoundException at GetStackSizeFixed
Also getting this error as well. Can confirm this is an issue.
Anyone know how to fix it feel free to share
If someone else knows how to fix it feel free to share the code and we try to fix it ourselves incase the plugin author @AnExiledDev doesn't come soon
stacksize not work after update
please fix
Commands such as setallstacks do not work properly. and every wipe the plugin resets itself, is there a way to go to the previous version?
oxide.reload StackSizeController
StackSizeController was compiled successfully in 299ms
Unloaded plugin Stack Size Controller v3.2.1 by AnExiledGod
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 <eae584ce26bc40229c1b1aa476bfa589>:0
at Oxide.Plugins.StackSizeController.GetStackSize (ItemDefinition itemDefinition) [0x0013d] in <fc2cb1da19934ed2853eebdf0c3788e5>:0
at Oxide.Plugins.StackSizeController.SetStackSizes () [0x00058] in <fc2cb1da19934ed2853eebdf0c3788e5>:0
at Oxide.Plugins.StackSizeController.OnServerInitialized () [0x00027] in <fc2cb1da19934ed2853eebdf0c3788e5>:0
at Oxide.Plugins.StackSizeController.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000e1] in <fc2cb1da19934ed2853eebdf0c3788e5>: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 <c2afd8354b8b4f3ca451cf5a1aa111c3>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0
Loaded plugin Stack Size Controller v3.2.1 by AnExiledGod Getting the same error.
'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 <eae584ce26bc40229c1b1aa476bfa589>:0
at Oxide.Plugins.StackSizeController.GetStackSize (ItemDefinition itemDefinition) [0x0013d] in <356ef4b91053461f8ff72ede73a5793e>:0
at Oxide.Plugins.StackSizeController.SetStackSizes () [0x00058] in <356ef4b91053461f8ff72ede73a5793e>:0
at Oxide.Plugins.StackSizeController.OnServerInitialized () [0x00027] in <356ef4b91053461f8ff72ede73a5793e>:0
at Oxide.Plugins.StackSizeController.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000e1] in <356ef4b91053461f8ff72ede73a5793e>: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 <c2afd8354b8b4f3ca451cf5a1aa111c3>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0
I have updated and reloaded backup config file - But its not working after update. Anyone else having this issue?
Has anyone tried to delete their config files and data files?
The stacks stopped working after todays update.
Same for my server
Merged post
Just imagine an x20+ server with vanilla stacks LOL
grubby
I have updated and reloaded backup config file - But its not working after update. Anyone else having this issue?
Yes that doesn't work.
The Plugin seems to have an issue with the new easter items introduced via the update.
Open the StackSizeController.cs and add the problematic Items to the IgnoreList (Line 18) like this:
private readonly List<string> _ignoreList = new List<string>
{
"water",
"water.salt",
"cardtable",
"hat.bunnyhat",
"rustige_egg_e"
};
Worked for me.