Jump to content

Failed to call hook 'CmdConsole

Closed 1.37.7 1.37.9

Paul H.
Paul H.

Posted

Hello,

As soon as I click on the reward in the inventory to get it, I get this error message.


 

Failed to call hook 'CmdConsole' on plugin 'Battlepass v1.37.7' (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Plugins.Battlepass.CmdConsole (ConsoleSystem+Arg arg) [0x00803] in <b3b3105086cb46809f10af5dfb15184f>:0

at Oxide.Plugins.Battlepass.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0187f] in <b3b3105086cb46809f10af5dfb15184f>:0

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

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

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



can you help me solve the problem?

Battlepass.json

Mevent

Posted

Hi! Which item is the problem?

Paul H.

Posted

Hi,

The item doesn't matter, I first thought it was the AK, then I tested others and the error message remained.

Which file do you mean exactly?

I have attached the config file...

Battlepass.json

Mevent

Posted

oxide/data/Battlepass/Players/<your steam ID>.json

Paul H.

Posted

I'm sorry but the error message has remained.

It only appears with the extra reward,
as soon as I click on it in the inventory 

 

Failed to call hook 'CmdConsole' on plugin 'Battlepass v1.37.8' (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Plugins.Battlepass.CmdConsole (ConsoleSystem+Arg arg) [0x00ab1] in <9ecdaa659c454272b57cdd53f564c0ae>:0

at Oxide.Plugins.Battlepass.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x018aa] in <9ecdaa659c454272b57cdd53f564c0ae>:0

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

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

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

Paul H.

Posted

Yes 
It works, thank you very much for your work and happy new year

Mevent

Posted

ty ❤️

best wishes!

  • Like 1
Mevent

Posted

Changed Status from Pending to Closed

Changed Fixed In to 1.37.9

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.3k

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.