Jump to content

Error in console.

Closed 1.1.1 1.2.0

Zilch
Zilch

Posted

Hi,

Firstly when I install the plugin I'm getting this error and no config is being created.

 

18:24 [Error] Failed to call hook 'OnServerInitialized' on plugin 'Harvester v1.1.1' (Exception: Only access to oxide directory!
Path: C:\GameServers\Rust\oxide\config\Harvester.json)
  at Oxide.Core.Configuration.DynamicConfigFile.CheckPath (System.String filename) [0x00029] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0 
  at Oxide.Core.Configuration.DynamicConfigFile.Exists (System.String filename) [0x0000c] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0 
  at Oxide.Plugins.Harvester.Loaded () [0x00039] in <82bbe8d3d2904f4eb6abb8995b02d390>:0 
  at Oxide.Plugins.Harvester.OnServerInitialized () [0x00007] in <82bbe8d3d2904f4eb6abb8995b02d390>:0 
  at Oxide.Plugins.Harvester.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0036d] in <82bbe8d3d2904f4eb6abb8995b02d390>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <31122a27a2414cd799150f8677cf39d4>: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 

 

Then when trying to set the harvester, I get this error.

 

18:28 [Error] Failed to call hook 'SetHarvester' on plugin 'Harvester v1.1.1' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.Harvester.SetHarvester (BasePlayer player, System.String command, System.String[] args) [0x0011e] in <82bbe8d3d2904f4eb6abb8995b02d390>:0 
  at Oxide.Plugins.Harvester.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00a53] in <82bbe8d3d2904f4eb6abb8995b02d390>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <31122a27a2414cd799150f8677cf39d4>: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 

 

Thanks in advance for the help!

  • Administrator
Raul-Sorin Sorban

Posted

1 hour ago, Zilch said:

Hi,

Firstly when I install the plugin I'm getting this error and no config is being created.

 


18:24 [Error] Failed to call hook 'OnServerInitialized' on plugin 'Harvester v1.1.1' (Exception: Only access to oxide directory!
Path: C:\GameServers\Rust\oxide\config\Harvester.json)
  at Oxide.Core.Configuration.DynamicConfigFile.CheckPath (System.String filename) [0x00029] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0 
  at Oxide.Core.Configuration.DynamicConfigFile.Exists (System.String filename) [0x0000c] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0 
  at Oxide.Plugins.Harvester.Loaded () [0x00039] in <82bbe8d3d2904f4eb6abb8995b02d390>:0 
  at Oxide.Plugins.Harvester.OnServerInitialized () [0x00007] in <82bbe8d3d2904f4eb6abb8995b02d390>:0 
  at Oxide.Plugins.Harvester.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0036d] in <82bbe8d3d2904f4eb6abb8995b02d390>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <31122a27a2414cd799150f8677cf39d4>: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 

 

Then when trying to set the harvester, I get this error.

 


18:28 [Error] Failed to call hook 'SetHarvester' on plugin 'Harvester v1.1.1' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.Harvester.SetHarvester (BasePlayer player, System.String command, System.String[] args) [0x0011e] in <82bbe8d3d2904f4eb6abb8995b02d390>:0 
  at Oxide.Plugins.Harvester.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00a53] in <82bbe8d3d2904f4eb6abb8995b02d390>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <31122a27a2414cd799150f8677cf39d4>: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 

 

Thanks in advance for the help!

Oh, hey there! That might be because you're using a custom Oxide path. This is a definite bug which will be fixed very soon. I'm sorry for the inconvenience!

Zilch

Posted

Thanks for the quick reply!

My players are very excited to use this plugin!

I look forward to the fix. Thank you!

  • Love 1
  • Administrator
Raul-Sorin Sorban

Posted

Changed Status from Pending to Closed

Changed Fixed In to Next Version

Zilch

Posted

Any news on when the next version will be released? I'm continually telling my players soon but they're not the most patient bunch. I've just noticed it's been three months since I reported the issue, I completely understand you may be busy, but if there's any news that would be great. However, if there's no intention to fix the issue, I'd rather know than sit waiting. I only say that as you've marked this thread as closed. Either way, let me know please.

Zilch

  • Love 1
1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.2k

Files Sold

Total number of files sold.

2m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.