Conflict with FridgeFood, and Backpacks.Fixed
I believe this appears everytime a player tries to store food in it. That's what I think it is so far. I have tried many things. I am also using FridgeFood plugin as well.| Failed to call hook 'OnLootEntityEnd' on plugin 'Backpacks v3.7.1' (ArgumentNullException: Value cannot be null. Parameter name: key) at System.Collections.Generic.Dictionary`2[TKey,TValue].FindEntry (TKey key) [0x00008] in <eae584ce26bc40229c1b1aa476bfa589>:0  at System.Collections.Generic.Dictionary`2[TKey,TValue].TryGetValue (TKey key, TValue& value) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
Still trying to find a Solution! Am using 3.7.1 Version.  3.6.3 is working FINE!!!!! But this new Version Spams in the Rcon. I have reloaded it several times! I believe that this is occuring because the Backpack is Recognozed as being a "BOX"! The fridgeFood plugin see's it as such. And rejects it's storage in the Backpack. One of you it seems. Needs to create a Work Around for this. I will also send him this Message..... Thank you     Dave

( Now both of you have this. Maybe Talk to each other and try to Re-create what I have just told you. And you will see. Thank you.)

I reproduced the issue where food cannot be placed in Backpacks as of Backpacks v3.7, while Fridge Food is configured to disallow the coffin.storage container. This is expected behavior, so I do not consider Backpacks at fault. Compatibility can be achieved by updating Fridge Food to use the Backpacks API to determine whether a given container is a backpack. Below are suggested changes to make this possible.

  1. Ensure FridgeFood.cs has the following using statement at the top.
    using Oxide.Core.Plugins;​
  2. Within the body of the main plugin class, add the following.
    [PluginReference]
    Plugin Backpacks;​
  3. Within the OnItemAddedToContainer method, add the following code near the beginning.
    var backpacksOwnerResult = Backpacks?.Call("API_GetBackpackOwnerId", container);
    if (backpacksOwnerResult is ulong && (ulong)backpacksOwnerResult > 0)
        return;

(16:48:50) | Failed to call hook 'OnLootEntityEnd' on plugin 'Backpacks v3.7.1' (ArgumentNullException: Value cannot be null.

Parameter name: key)

at System.Collections.Generic.Dictionary`2[TKey,TValue].FindEntry (TKey key) [0x00008] in <eae584ce26bc40229c1b1aa476bfa589>:0

at System.Collections.Generic.Dictionary`2[TKey,TValue].TryGetValue (TKey key, TValue& value) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0

at Oxide.Plugins.Backpacks+BackpackManager.GetCachedBackpackForContainer (ItemContainer container) [0x00000] in <c5bc77ec81f545ce83ddb4d561958e40>:0

at Oxide.Plugins.Backpacks.OnLootEntityEnd (BasePlayer player, StorageContainer storageContainer) [0x0000c] in <c5bc77ec81f545ce83ddb4d561958e40>:0

at Oxide.Plugins.Backpacks.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0043f] in <c5bc77ec81f545ce83ddb4d561958e40>:0

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

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

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

(16:51:58) | Failed to call hook 'OnLootEntityEnd' on plugin 'Backpacks v3.7.1' (ArgumentNullException: Value cannot be null.

Parameter name: key)

at System.Collections.Generic.Dictionary`2[TKey,TValue].FindEntry (TKey key) [0x00008] in <eae584ce26bc40229c1b1aa476bfa589>:0

at System.Collections.Generic.Dictionary`2[TKey,TValue].TryGetValue (TKey key, TValue& value) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0

at Oxide.Plugins.Backpacks+BackpackManager.GetCachedBackpackForContainer (ItemContainer container) [0x00000] in <c5bc77ec81f545ce83ddb4d561958e40>:0

at Oxide.Plugins.Backpacks.OnLootEntityEnd (BasePlayer player, StorageContainer storageContainer) [0x0000c] in <c5bc77ec81f545ce83ddb4d561958e40>:0

at Oxide.Plugins.Backpacks.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0043f] in <c5bc77ec81f545ce83ddb4d561958e40>:0

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

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

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



Merged post

thank you. Thank you for the Update fix also. 
Locked automatically