Jump to content

Error failed to call hook

Closed 1.2.8

Failed to call hook 'OnHelicopterDropCrate' on plugin 'BetterNpc v1.2.8' (KeyNotFoundException: The given key 'CH47' was not present in the dictionary.)
  at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <4889cca7f3644a7fa341501beb4caacb>:0 
  at Oxide.Plugins.BetterNpc.OnHelicopterDropCrate (CH47HelicopterAIController ai) [0x00000] in <74049c123f874c66b3f25384ab0fce23>:0 
  at Oxide.Plugins.BetterNpc.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x007f6] in <74049c123f874c66b3f25384ab0fce23>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <87ce9ac9776a48658bc55eae6debe38b>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <b6d06fce9e044af4a6ddc8d724bd3b0b>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <b6d06fce9e044af4a6ddc8d724bd3b0b>:0 

Share this comment


Link to comment

Hey @War_Zombie do you have plugins that use the chinook normally or that modify the crate drops? Generally this error is harmless but most of the time when it occurs it is due to another plugin using that same hook.

One option is simply to disable the CH47 event in the data folder.

If you have questions or any issues with this event and want to make it work just let me know.

  • Like 1

Share this comment


Link to comment

Hello, the error indicates that the plugin has not been fully loaded to the server. See the plugin messages in the server console while loading the plugin to the server

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.6k

Customers

Total customers served.

81.7k

Files Sold

Total number of files sold.

1.6m

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.