NullReferenceException at DealWithBagsFixed
just give default group bloobdags.use
no other rights

Failed to call hook 'OnPlayerInput' on plugin 'BloodBags v1.7.1' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.BloodBags.DealWithBags (BasePlayer p) [0x0006e] in <136884f837514a23a707a7cfd963823e>:0 
  at Oxide.Plugins.BloodBags.OnPlayerInput (BasePlayer player, InputState input) [0x00011] in <136884f837514a23a707a7cfd963823e>:0 
  at Oxide.Plugins.BloodBags.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0005b] in <136884f837514a23a707a7cfd963823e>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <80b90e8213db44b29ec2d4111764172c>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <ec05e0208c9149bba43236ca58fea105>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <ec05e0208c9149bba43236ca58fea105>:0 
Zombie[7181067] was killed by ggwreeasak2547[76561############]
Failed to call hook 'OnPlayerInput' on plugin 'BloodBags v1.7.1' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.BloodBags.DealWithBags (BasePlayer p) [0x0006e] in <d022bbf5625141dbb460fc95b68bbad6>:0
at Oxide.Plugins.BloodBags.OnPlayerInput (BasePlayer player, InputState input) [0x00011] in <d022bbf5625141dbb460fc95b68bbad6>:0
at Oxide.Plugins.BloodBags.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0005b] in <d022bbf5625141dbb460fc95b68bbad6>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <80b90e8213db44b29ec2d4111764172c>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <ec05e0208c9149bba43236ca58fea105>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <ec05e0208c9149bba43236ca58fea105>:0
Hello, I have a console error for the plugin I do not know where it could come from, could someone help me to solve this problem please
(10:55:57) | Failed to call hook 'OnPlayerInput' on plugin 'BloodBags v1.7.1' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.BloodBags.DealWithBags (BasePlayer p) [0x0006e] in <7ae10a36f9f44451960d6f71770e9c63>:0 
  at Oxide.Plugins.BloodBags.OnPlayerInput (BasePlayer player, InputState input) [0x00011] in <7ae10a36f9f44451960d6f71770e9c63>:0 
  at Oxide.Plugins.BloodBags.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0005b] in <7ae10a36f9f44451960d6f71770e9c63>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <80b90e8213db44b29ec2d4111764172c>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <ec05e0208c9149bba43236ca58fea105>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <ec05e0208c9149bba43236ca58fea105>:0
Hello even when I give the permissions : "default group bloobdags.use" and only these rights the error is still there. Is there a solution for this console error please
seems this guy has zero interst in fixing this.....

the last update is 21 days old so the plugin creator continues to follow it, just wait I hope

Hope springs eternal....
These are NRE's  not spelling errors......
You Abend from an NRE, it can get out of hand..... like 1gb a day of log file "out of hand" .

ill take a look at it today

Merged post

.... looks like it has been dealt with in oxide before it hits the call?

unless you have a specific case i can use to trigger it....

You go far in your explanation !! By the way, I don't understand what you want me to do. Should I delete files in the FTP?

Change:
if (!item.ToString().Contains("blood")) return;​

To:

if (item == null || !item.ToString().Contains("blood")) return;
I was asking :
1. HOW do you make the error?

2. I  tested it and now the error is gone, which might mean it was fixed in OXIDE

Additional:
Anyway I fixed another error:
the keyboard (use) key was not working....
so change:
 if (!input.WasJustPressed(BUTTON.FIRE_PRIMARY)) { return; }
            DealWithBags(player);
        }​

to
 if (input.WasJustPressed(BUTTON.FIRE_PRIMARY) || input.WasJustPressed(BUTTON.USE)) { 
           DealWithBags(player);​

Thank you very much Wulf, that solved my problem :D :D

Yep.. i just found you why you had this & i did not.....

I switched back to version 1.7.0 to fix it...

So I come back to you, since the change of the line in the .cs file, great I have more errors in the console. And the click of the mouse has always worked with me. Thank you to the people who intervened in the discussion that allowed me to have no more errors concerning this plugin THANKS

mT5x44uLQeym5O0.jpg Wulf
Change:
if (!item.ToString().Contains("blood")) return;​

To:

if (item == null || !item.ToString().Contains("blood")) return;

thanks for that Wulf

Failed to call hook 'OnPlayerInput' on plugin 'BloodBags v1.7.1' (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Plugins.BloodBags.DealWithBags (BasePlayer p) [0x0006e] in <797dc89f21784a53b754eda0df862f5c>:0

at Oxide.Plugins.BloodBags.OnPlayerInput (BasePlayer player, InputState input) [0x00011] in <797dc89f21784a53b754eda0df862f5c>:0

at Oxide.Plugins.BloodBags.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0005b] in <797dc89f21784a53b754eda0df862f5c>:0

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

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

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

Locked automatically