Jump to content

Error at plugin load

Closed 1.1.8

scarecr0w12
scarecr0w12

Posted

Getting the following error at plugin load or reload

 

(11:02:57) | [Oxide] 11:02 [Error] Failed to call hook 'OnServerInitialized' on plugin 'DefendableBases v1.1.8' (ArgumentNullException: Value cannot be null.
Parameter name: key)
  at System.Collections.Generic.Dictionary`2[TKey,TValue].FindEntry (TKey key) [0x00008] in <2161c9885dd04ff291b79db9349c4b9b>:0 
  at System.Collections.Generic.Dictionary`2[TKey,TValue].TryGetValue (TKey key, TValue& value) [0x00000] in <2161c9885dd04ff291b79db9349c4b9b>:0 
  at PrefabPreProcess.Find (System.String strPrefab) [0x00000] in <f01c0b4aea2747d3be19340ac38d800d>:0 
  at GameManager.FindPrefab (System.String strPrefab) [0x00000] in <f01c0b4aea2747d3be19340ac38d800d>:0 
  at Oxide.Plugins.DefendableBases.CheckPrefabLootTable (Oxide.Plugins.DefendableBases+PrefabLootTableConfig lootTable) [0x00078] in <6d2dfa9349f448eeb87c33a2c315ca6a>:0 
  at Oxide.Plugins.DefendableBases.LoadConfigs () [0x000cc] in <6d2dfa9349f448eeb87c33a2c315ca6a>:0 
  at Oxide.Plugins.DefendableBases.OnServerInitialized () [0x0006a] in <6d2dfa9349f448eeb87c33a2c315ca6a>:0 
  at Oxide.Plugins.DefendableBases.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00a9a] in <6d2dfa9349f448eeb87c33a2c315ca6a>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <e3740cd7ab6f40909737d74eeeaf1a8a>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <032ab7611607468ebf42c14e3cf9df20>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <032ab7611607468ebf42c14e3cf9df20>:0

 

KpucTaJl

Posted

Hi, yes, thank you, I have updated the plugin

KpucTaJl

Posted

Changed Status from Pending to Closed

  • Sad 1
scarecr0w12

Posted

Not fixed, issue still present

 

(11:43:16) | [Oxide] 11:43 [Error] Failed to call hook 'OnServerInitialized' on plugin 'DefendableBases v1.1.9' (ArgumentNullException: Value cannot be null.
Parameter name: key)
  at System.Collections.Generic.Dictionary`2[TKey,TValue].FindEntry (TKey key) [0x00008] in <2161c9885dd04ff291b79db9349c4b9b>:0 
  at System.Collections.Generic.Dictionary`2[TKey,TValue].TryGetValue (TKey key, TValue& value) [0x00000] in <2161c9885dd04ff291b79db9349c4b9b>:0 
  at PrefabPreProcess.Find (System.String strPrefab) [0x00000] in <f01c0b4aea2747d3be19340ac38d800d>:0 
  at GameManager.FindPrefab (System.String strPrefab) [0x00000] in <f01c0b4aea2747d3be19340ac38d800d>:0 
  at Oxide.Plugins.DefendableBases.CheckPrefabLootTable (Oxide.Plugins.DefendableBases+PrefabLootTableConfig lootTable) [0x00078] in <f261d11da88b4acaaac6857ef6e7fc10>:0 
  at Oxide.Plugins.DefendableBases.LoadConfigs () [0x000cc] in <f261d11da88b4acaaac6857ef6e7fc10>:0 
  at Oxide.Plugins.DefendableBases.OnServerInitialized () [0x0006a] in <f261d11da88b4acaaac6857ef6e7fc10>:0 
  at Oxide.Plugins.DefendableBases.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00a9a] in <f261d11da88b4acaaac6857ef6e7fc10>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <e3740cd7ab6f40909737d74eeeaf1a8a>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <032ab7611607468ebf42c14e3cf9df20>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <032ab7611607468ebf42c14e3cf9df20>:0

 

Jbird

Posted

Check the data files to the version you are using now @scarecr0w12.

It is likely that you have the 1.1.8 data files.

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.3k

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.