DJRedNight
Has anyone tried to delete their config files and data files?
Yep.
Worked for me.
DJRedNight
Has anyone tried to delete their config files and data files?
Yep.
Worked for me.
Worked for me too , thanks @moerv
moervYes 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 Dictionary (Line 18) like this:
private readonly List<string> _ignoreList = new List<string>
{
"water",
"water.salt",
"cardtable",
"hat.bunnyhat",
"rustige_egg_e"
};
Worked for me.
I can confirm this fixed this issue for me
Thanks brother!moervYes 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 Dictionary (Line 18) like this:
private readonly List<string> _ignoreList = new List<string>
{
"water",
"water.salt",
"cardtable",
"hat.bunnyhat",
"rustige_egg_e"
};
Worked for me.
You replace line 18 with that? doesnt seem to work for me
I'm still getting an OnServerInitialized Object not an instance error. But I'm thinking this fix worked for me? Maybe?
the fix worked for me too.
moervYes 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 Dictionary (Line 18) like this:
private readonly List<string> _ignoreList = new List<string>
{
"water",
"water.salt",
"cardtable",
"hat.bunnyhat",
"rustige_egg_e"
};
Worked for me.
Blessed
Β
oh nvm i had wrong version yeah this worked thanks!
thx for the fix, you da real mvp :)
i confirm the trick of moerv works tanks !!!
moervYes 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.
This fixed my issues. Thank you!
Ξfter the last update the plugin stopped working
StackSizeController was compiled successfully in 2012ms
Fallback handler could not load library E:/TCAFiles/Users/georgem/92676/RustDedicated_Data/Mono/data-0000007C2830D060.dll
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
Loaded plugin Stack Size Controller v3.2.1 by AnExiledGod ATTENTION!!!!!!
The previous methods is a work around that doesn't actually work or fix the problem!!!
In order to fix the issue without updating the .cs file, all you have to do is just delete the StackSizeController_vanilla-defaults.json file in your data folder. You'll still get a Null error on server initialized, but you will only get that once.
I always try to NOT edit the .cs file as that can lead to unintended side effects. So just delete that vanila stack size file, and it'll auto populate upon server restart!
Failed to call hook 'OnServerInitialized' on plugin 'StackSizeController v3.2.0' (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 <578857c78fad4b06ab5019f7584a513d>:0
Β
Β