NullReferenceException at StackCommandFixed
thought I would create a new thread as not to take over the other one.

So - I no longer get any errors however,   my server restarts twice daily and its not loading this plugin when server starts - any idea? 

I'm able to force it to start with o.reload StackSizeController   (no error messages) 
ok does through up an error

Failed to call hook 'StackCommand' on plugin 'StackSizeController v2.0.0' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.StackSizeController.StackCommand (BasePlayer player, System.String command, System.String[] args) [0x00203] in <7556d4b045ae479fb5682a1d91acd801>:0
at Oxide.Plugins.StackSizeController.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0020c] in <7556d4b045ae479fb5682a1d91acd801>: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
Failed to call hook 'StackCommand' on plugin 'StackSizeController v2.0.0' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.StackSizeController.StackCommand (BasePlayer player, System.String command, System.String[] args) [0x00203] in <7556d4b045ae479fb5682a1d91acd801>:0
4kb/s in, 22kb/s out
at Oxide.Plugins.StackSizeController.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0020c] in <7556d4b045ae479fb5682a1d91acd801>: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


Merged post

You can remove this thread now - I managed to fault find the problem,  once i uninstalled Server Rewards it works perfect again.

Hello,

I have had Stack Size Controller working on a VDM (NFO Servers) for over a week without problem. This morning though, I decided to change the VDM's OS to Linux from Windows. Most of the other plugins have been working just fine, except Stack Size Controller.

Now, I should note that when I swapped to Linux, the server wouldn't run Oxide at all. I reached out to NFO support and they gave me two files to overwrite to make Oxide work. It did indeed make Oxide work, but SSC doesn't seem to agree with Linux or the fix.

Here is my error message when I try to do anything related to SSC: 

3c713d13257be829860e79cd97a42a32.pngOne of the files that needed to be overwritten did have "CSharp" in the filename, so I think this more has to do with the fix more than Linux as an OS in my incredibly naive opinion.

I tried deleting all traces of SSC, redownloading and installing the plugin. The config file in the "config" folder generates just fine. The file in the "data" folder, however, does not. My config file worked just fine before Linux came into the picture, so I know my config and data files are good.

Any ideas on what is going wrong? Thanks for any help in advance!

have installed stack size controller and had it working did a map wipe and now plugin no longer works. tried reinstalling but no luck still receiving the below errors. all files are installed as they should be also had our server provider check all the files and they cant see any issues.
12:23 [Error] Could not load plugin 'stacksizecontroller' (no plugin found with that file name)
12:23 [Error] Failed to call hook 'StackCommand' on plugin 'StackSizeController v2.0.1' (NullReferenceException: Object reference not set to an instance of an object)
Please provide the full error from your oxide/logs file. The first "error" was from trying to reload the plugin with an invalid name; it would be StackSizeController, not stacksizecontroller.
i have solved this now thanks for the reply reinstall sorted it out
I attempted to fix a potential error that might occur with this command. Should be fixed now.
Locked automatically