NullReferenceException at CropsProtectedFixed
Failed to call hook 'OnGrowableGather' on plugin 'PrivateCrops v1.1.3' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.PrivateCrops.CropsProtected (BasePlayer player, GrowableEntity growable) [0x00000] in <9d58218674924e49b67b2b881307806c>:0
  at Oxide.Plugins.PrivateCrops.OnGrowableGather (GrowableEntity growable, BasePlayer player) [0x00000] in <9d58218674924e49b67b2b881307806c>:0
  at Oxide.Plugins.PrivateCrops.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00087] in <9d58218674924e49b67b2b881307806c>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <008b12f41ec4452da1a5497eeb849299>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <ac41dd3599754d448b8c218b34645820>:0
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <ac41dd3599754d448b8c218b34645820>:0
Hello, just a few things to ask, is the server up to date with the latest oxide/rust. When does that happen, I need some context to it?
5de392ce4ccc7.png NubbbZ
Hello, just a few things to ask, is the server up to date with the latest oxide/rust. When does that happen, I need some context to it?

Yes ... oxide / rust latest version. I don’t know how it happened .. I just saw it in the console.

5de392ce4ccc7.png NubbbZ
Hello, just a few things to ask, is the server up to date with the latest oxide/rust. When does that happen, I need some context to it?
The only things I see in there that could potentially be null:
  • Config["ToolCupboardArea"]
  • Config["MessageColor"]
  • player.IPlayer
IPlayer should never be null, but may want to add some debug output for each of those for romanzes to see.
Hello, I get this error in the PrivateCrops v1.1.3 plugin. I can’t understand what this is connected with. Maybe you fix the plugin.

Failed to call hook 'OnGrowableGather' on plugin 'PrivateCrops v1.1.3' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.PrivateCrops.CropsProtected (BasePlayer player, GrowableEntity growable) [0x00000] in <e4ea6f33d789426798c303b667b48f23>:0 
  at Oxide.Plugins.PrivateCrops.OnGrowableGather (GrowableEntity growable, BasePlayer player) [0x00000] in <e4ea6f33d789426798c303b667b48f23>:0 
  at Oxide.Plugins.PrivateCrops.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00087] in <e4ea6f33d789426798c303b667b48f23>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <008b12f41ec4452da1a5497eeb849299>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <ac41dd3599754d448b8c218b34645820>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <ac41dd3599754d448b8c218b34645820>:0
ZenX
Hello, I get this error in the PrivateCrops v1.1.3 plugin. I can’t understand what this is connected with. Maybe you fix the plugin.

Failed to call hook 'OnGrowableGather' on plugin 'PrivateCrops v1.1.3' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.PrivateCrops.CropsProtected (BasePlayer player, GrowableEntity growable) [0x00000] in <e4ea6f33d789426798c303b667b48f23>:0 
  at Oxide.Plugins.PrivateCrops.OnGrowableGather (GrowableEntity growable, BasePlayer player) [0x00000] in <e4ea6f33d789426798c303b667b48f23>:0 
  at Oxide.Plugins.PrivateCrops.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00087] in <e4ea6f33d789426798c303b667b48f23>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <008b12f41ec4452da1a5497eeb849299>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <ac41dd3599754d448b8c218b34645820>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <ac41dd3599754d448b8c218b34645820>:0

how often does this happen?

Yesterday 3 times. Today 1 time. What is the reason I do not understand
I triple checked the code and the only way for the plugin to break and cause that error is if the hook doesn't provide a set variable. il put an update soon that should bypass that error.

Hello, new maintainer here. I have repaired this plugin now and it's working again. 

I have a pending patch for ZlevelsRemastered that should resolve other issues when it gets approved. So keep your eyes peeled for the next update on it! 

Sk8hz807XpTCMs2.png

Locked automatically