Jump to content

Getting error in console when CH-47 spawns

Closed 1.3.3

smkngto
smkngto

Posted

When CH-47  spawn I am getting this error.

(20:16:14) | Failed to call hook 'OnHelicopterDropCrate' on plugin 'BetterNpc v1.3.3' (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 <8ce0bd04a7a04b4b9395538239d3fdd8>:0at Oxide.Plugins.BetterNpc.OnHelicopterDropCrate (CH47HelicopterAIController ai) [0x00000] in <a421b45918e649ee8e8f9b87eb118651>:0at Oxide.Plugins.BetterNpc.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x007f6] in <a421b45918e649ee8e8f9b87eb118651>:0at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <42f9bedc659b4f4786eb778d3cd58968>:0at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <112d89ea5d3348c8b949af0ab1a866d2>:0at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <112d89ea5d3348c8b949af0ab1a866d2>:0

aimacak

Posted

On 11/22/2025 at 4:24 AM, smkngto said:

When CH-47  spawn I am getting this error.

(20:16:14) | Failed to call hook 'OnHelicopterDropCrate' on plugin 'BetterNpc v1.3.3' (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 <8ce0bd04a7a04b4b9395538239d3fdd8>:0at Oxide.Plugins.BetterNpc.OnHelicopterDropCrate (CH47HelicopterAIController ai) [0x00000] in <a421b45918e649ee8e8f9b87eb118651>:0at Oxide.Plugins.BetterNpc.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x007f6] in <a421b45918e649ee8e8f9b87eb118651>:0at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <42f9bedc659b4f4786eb778d3cd58968>:0at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <112d89ea5d3348c8b949af0ab1a866d2>:0at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <112d89ea5d3348c8b949af0ab1a866d2>:0

Hello, could you provide your CH47 file?

aimacak

Posted (edited)

On 11/22/2025 at 9:03 AM, WarisGG said:

Same here

Hello, check if you have the CH47 file in the oxide/data/BetterNpc/Events directory, if not, download BetterNpc and transfer the data folder to the server WITHOUT REPLACING FILES so that your settings are saved, do not forget to make a backup just in case.

Edited by aimacak
KpucTaJl

Posted

Changed Status from Pending to Closed

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.4m
Total downloads
Customers
10.8k
Customers served
Files Sold
155.8k
Marketplace sales
Payments
3.3m
Processed total
×
×
  • 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.