Jump to content

failed to call hook

Not a Bug 1.0.2

MissPriss

Hello,

Just purchased the plugin and have been trying it out. Loving it so far! I am  having one issue. When trying to sell an ingredient to the market - I get the following: 

 

"Failed to call hook 'SellIngredient' on plugin 'Cooking v1.0.2' (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Plugins.Cooking.SellIngredient (ConsoleSystem+Arg arg) [0x00363] in <19aaec5ec2ce4c5a97abc2ffe808b97a>:0

at Oxide.Plugins.Cooking.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00547] in <19aaec5ec2ce4c5a97abc2ffe808b97a>:0

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

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

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

Failed to call hook 'SellIngredient' on plugin 'Cooking v1.0.2' (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Plugins.Cooking.SellIngredient (ConsoleSystem+Arg arg) [0x00363] in <19aaec5ec2ce4c5a97abc2ffe808b97a>:0

at Oxide.Plugins.Cooking.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00547] in <19aaec5ec2ce4c5a97abc2ffe808b97a>:0

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

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

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

I put the ingredients in my inventory,  hit the sell button and the market screen closes, removes the item from my inventory, does not give the server rewards, and gives the error. 

 

Thank you in advance. 

 

 

Nevermind!!!!! OMG!!! Found my issue, I neglected to change both options to serverrewards in the config. Sorry in advance 🙂

 

Edited by MissPriss
found my problem

Share this comment


Link to comment
5 hours ago, MissPriss said:

Hello,

Just purchased the plugin and have been trying it out. Loving it so far! I am  having one issue. When trying to sell an ingredient to the market - I get the following: 

 

"Failed to call hook 'SellIngredient' on plugin 'Cooking v1.0.2' (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Plugins.Cooking.SellIngredient (ConsoleSystem+Arg arg) [0x00363] in <19aaec5ec2ce4c5a97abc2ffe808b97a>:0

at Oxide.Plugins.Cooking.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00547] in <19aaec5ec2ce4c5a97abc2ffe808b97a>:0

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

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

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

Failed to call hook 'SellIngredient' on plugin 'Cooking v1.0.2' (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Plugins.Cooking.SellIngredient (ConsoleSystem+Arg arg) [0x00363] in <19aaec5ec2ce4c5a97abc2ffe808b97a>:0

at Oxide.Plugins.Cooking.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00547] in <19aaec5ec2ce4c5a97abc2ffe808b97a>:0

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

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

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

I put the ingredients in my inventory,  hit the sell button and the market screen closes, removes the item from my inventory, does not give the server rewards, and gives the error. 

 

Thank you in advance. 

 

 

Nevermind!!!!! OMG!!! Found my issue, I neglected to change both options to serverrewards in the config. Sorry in advance 🙂

 

haha glad you fixed it.

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.6k

Customers

Total customers served.

81.4k

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.