Jump to content

Failed to call hook 'OnServerInitialized'

Closed 1.2.5

aleksandrikkkk
aleksandrikkkk

Posted

[11:48:06]Failed to call hook 'OnServerInitialized' on plugin 'DynamicMonuments v1.2.5' (UnauthorizedAccessException: Access to the path "/home/container/oxide/data/DynamicMonuments/junglePack.json" is denied.)
  at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0019e] in <f98723dd4586469db5213ec59da723ca>:0 
  at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options) [0x00000] in <f98723dd4586469db5213ec59da723ca>:0 
  at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions)
  at System.IO.StreamWriter..ctor (System.String path, System.Boolean append, System.Text.Encoding encoding, System.Int32 bufferSize) [0x00055] in <f98723dd4586469db5213ec59da723ca>:0 
  at System.IO.StreamWriter..ctor (System.String path) [0x00008] in <f98723dd4586469db5213ec59da723ca>:0 
  at (wrapper remoting-invoke-with-check) System.IO.StreamWriter..ctor(string)
  at System.IO.File.WriteAllText (System.String path, System.String contents) [0x00026] in <f98723dd4586469db5213ec59da723ca>:0 
  at Oxide.Core.Configuration.DynamicConfigFile.WriteObject[T] (T config, System.Boolean sync, System.String filename) [0x0003f] in <112d89ea5d3348c8b949af0ab1a866d2>:0 
  at Oxide.Core.DataFileSystem.WriteObject[T] (System.String name, T Object, System.Boolean sync) [0x00007] in <112d89ea5d3348c8b949af0ab1a866d2>:0 
  at Oxide.Core.DataFileSystem.ReadObject[T] (System.String name) [0x0002d] in <112d89ea5d3348c8b949af0ab1a866d2>:0 
  at Oxide.Plugins.DynamicMonuments.LoadDataFile[TYpe] (System.String path) [0x00020] in <0f91e6f6146b45789e52ee72a445fb69>:0 
  at Oxide.Plugins.DynamicMonuments.TryLoadData () [0x00016] in <0f91e6f6146b45789e52ee72a445fb69>:0 
  at Oxide.Plugins.DynamicMonuments.OnServerInitialized () [0x00021] in <0f91e6f6146b45789e52ee72a445fb69>:0 
  at Oxide.Plugins.DynamicMonuments.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0011e] in <0f91e6f6146b45789e52ee72a445fb69>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <42f9bedc659b4f4786eb778d3cd58968>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <112d89ea5d3348c8b949af0ab1a866d2>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <112d89ea5d3348c8b949af0ab1a866d2>:0 

  • Like 1
Adem

Posted (edited)

21 minutes ago, aleksandrikkkk said:

[11:48:06]Failed to call hook 'OnServerInitialized' on plugin 'DynamicMonuments v1.2.5' (UnauthorizedAccessException: Access to the path "/home/container/oxide/data/DynamicMonuments/junglePack.json" is denied.)
  at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0019e] in <f98723dd4586469db5213ec59da723ca>:0 
  at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options) [0x00000] in <f98723dd4586469db5213ec59da723ca>:0 
  at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions)
  at System.IO.StreamWriter..ctor (System.String path, System.Boolean append, System.Text.Encoding encoding, System.Int32 bufferSize) [0x00055] in <f98723dd4586469db5213ec59da723ca>:0 
  at System.IO.StreamWriter..ctor (System.String path) [0x00008] in <f98723dd4586469db5213ec59da723ca>:0 
  at (wrapper remoting-invoke-with-check) System.IO.StreamWriter..ctor(string)
  at System.IO.File.WriteAllText (System.String path, System.String contents) [0x00026] in <f98723dd4586469db5213ec59da723ca>:0 
  at Oxide.Core.Configuration.DynamicConfigFile.WriteObject[T] (T config, System.Boolean sync, System.String filename) [0x0003f] in <112d89ea5d3348c8b949af0ab1a866d2>:0 
  at Oxide.Core.DataFileSystem.WriteObject[T] (System.String name, T Object, System.Boolean sync) [0x00007] in <112d89ea5d3348c8b949af0ab1a866d2>:0 
  at Oxide.Core.DataFileSystem.ReadObject[T] (System.String name) [0x0002d] in <112d89ea5d3348c8b949af0ab1a866d2>:0 
  at Oxide.Plugins.DynamicMonuments.LoadDataFile[TYpe] (System.String path) [0x00020] in <0f91e6f6146b45789e52ee72a445fb69>:0 
  at Oxide.Plugins.DynamicMonuments.TryLoadData () [0x00016] in <0f91e6f6146b45789e52ee72a445fb69>:0 
  at Oxide.Plugins.DynamicMonuments.OnServerInitialized () [0x00021] in <0f91e6f6146b45789e52ee72a445fb69>:0 
  at Oxide.Plugins.DynamicMonuments.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0011e] in <0f91e6f6146b45789e52ee72a445fb69>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <42f9bedc659b4f4786eb778d3cd58968>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <112d89ea5d3348c8b949af0ab1a866d2>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <112d89ea5d3348c8b949af0ab1a866d2>:0 

Hi, the reason is that your hosting doesn't allow the plugin Read and write files. 
To resolve this issue, try following the instructions in this video, or contact your hosting support.

 

Edited by Adem
  • Like 2
aleksandrikkkk

Posted

[12:38:05]Failed to call hook 'GiveMonumentChatCommand' on plugin 'DynamicMonuments v1.2.5' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.DynamicMonuments+ItemController.CreateItem (Oxide.Plugins.DynamicMonuments+ItemConfig itemConfig, System.Int32 amount) [0x00000] in <0f91e6f6146b45789e52ee72a445fb69>:0 
  at Oxide.Plugins.DynamicMonuments+ItemController.GiveItemToPLayer (BasePlayer player, Oxide.Plugins.DynamicMonuments+ItemConfig itemConfig, System.Int32 amount) [0x00000] in <0f91e6f6146b45789e52ee72a445fb69>:0 
  at Oxide.Plugins.DynamicMonuments.GiveMonumentChatCommand (BasePlayer player, System.String command, System.String[] arg) [0x0003c] in <0f91e6f6146b45789e52ee72a445fb69>:0 
  at Oxide.Plugins.DynamicMonuments.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x01087] in <0f91e6f6146b45789e52ee72a445fb69>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <42f9bedc659b4f4786eb778d3cd58968>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <112d89ea5d3348c8b949af0ab1a866d2>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <112d89ea5d3348c8b949af0ab1a866d2>:0 

Adem

Posted

Send here exactly what you sent in the chat

Adem

Posted

Changed Status from Pending to Closed

LoneWolf71

Posted

No hurry at all. Getting this.  I am running Carbon.  Thanks for all the awesome plugins man. 

 

Failed to call internal hook 'OnLootManagerInitialized' on plugin 'Shipwreck v1.3.6' [2112235921] (Object reference not set to an instance of an object)
at void Oxide.Plugins.Shipwreck+LootManagerBridge.RegisterPresets() in /home/container/carbon/plugins/Shipwreck.cs:line 923
at void Oxide.Plugins.Shipwreck.OnLootManagerInitialized() in /home/container/carbon/plugins/Shipwreck.cs:line 401
at object Oxide.Plugins.Shipwreck.InternalCallHook(uint hook, object[] args) in Shipwreck.cs/Internal:line 377
Failed to call internal hook 'OnLootManagerInitialized' on plugin 'Sputnik v1.5.1' [2112235921] (Object reference not set to an instance of an object)
at void Oxide.Plugins.Sputnik+LootManagerBridge.RegisterPresets() in /home/container/carbon/plugins/Sputnik.cs:line 1724
at void Oxide.Plugins.Sputnik.OnLootManagerInitialized() in /home/container/carbon/plugins/Sputnik.cs:line 374
at object Oxide.Plugins.Sputnik.InternalCallHook(uint hook, object[] args) in Sputnik.cs/Internal:line 310

LoneWolf71

Posted

Sorry, i just saw the permissions thing.  I will get Physgun to get it corrected.  🙂 

2.1m

Downloads

Total number of downloads.

9.9k

Customers

Total customers served.

144.4k

Files Sold

Total number of files sold.

3.1m

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.