Jump to content

error hook

Closed 1.1.9

Trudy Latté
Trudy Latté

Posted

Hi 

I have the following error that spawn several times a day in the console

Failed to call hook 'OnSupplyDropDropped' on plugin 'BetterNpc v1.1.9' (KeyNotFoundException: The given key was not present in the dictionary.)

at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <fb001e01371b4adca20013e0ac763896>:0

at Oxide.Plugins.BetterNpc.OnSupplyDropDropped (SupplyDrop supplyDrop, CargoPlane cargoPlane) [0x0003c] in <37e30e00bd284e4b8a9bddd84a4cbecf>:0

at Oxide.Plugins.BetterNpc.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00304] in <37e30e00bd284e4b8a9bddd84a4cbecf>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <23ba99f131254889867c71f0bd137b1d>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <157a94ee66ab4a7991faecd1eb84be3b>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <157a94ee66ab4a7991faecd1eb84be3b>:0

 

Ty

KpucTaJl

Posted

Hi, basically the plugin independently identifies the cause of the error and writes about it during the loading of the plugin to the server in the console. Send all your console messages when you load the plugin to the server. Also, you are also using an old version of the plugin, I recommend that you update the plugin

Jbird

Posted (edited)

What version of NpcSpawn do you have @Trudy Latté?

Would you mind changing back to the full log report while we test out what may be your problem here? Generally this error means a folder or file is missing or corrupt.

Also you are welcome to join the Mad Mapper Discord if you would like we are able to reply faster there most of the time.

Edited by Jbird
KpucTaJl

Posted

Hi, yes, sorry for the confusion, you have the latest version of the plugin, I just already started doing the next update and got a little confused about the versions

I looked at your log file, and saw that you have too few files for the plugin to work, your logs say that only 15 files out of 98 were uploaded. But the fact is that he didn't even try to download the rest, it feels like you don't have all the files in the data folder. And if this is indeed the case, then this is the reason for the appearance of this error. The plugin does not have enough files for normal operation

Trudy Latté

Posted

Hi yes I reinstalled everything, I have all the files in the data and I have no more errors in the console

a big thank you, you do a good job

KpucTaJl

Posted

Changed Status from Pending to Closed

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.