Jump to content

Failed to call hook CmdConsoleShop

Closed 1.3.0 1.3.1

eov-dev
  • in Shop
eov-dev

Posted

Hi, I have the following error when trying to access some of the categories in my shop (see below). The two categories contain command-type items and worked well before the update. I also have two other categories with command-type items that work fine with the new update. The difference is that the categories that don't work have cooldown and limit player data.

I have converted the with the shop.convert.from.1.2.26 but it doesn't work either.

Any idea where this error is coming from and how to prevent it ?

N.B. I had to enable the new "Favorites" category, as the category that doesn't work is the first category in my shop and the /shop command didn't work without the "Favorites" category showing as first

Thanks

Error message :
Failed to call hook 'CmdConsoleShop' on plugin 'Shop v1.3.0' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.Shop+OpenedShop.AddItemToUpdate (System.Collections.Generic.List`1[T] items) [0x00000] in :0 at Oxide.Plugins.Shop.MainUi (BasePlayer player, System.Int32 catPage, System.Int32 shopPage, System.String search, System.Int32 searchPage, System.Boolean first, System.Boolean categories, System.Int32 iCategory) [0x00162] in :0 at Oxide.Plugins.Shop.CmdConsoleShop (ConsoleSystem+Arg arg) [0x007b3] in :0 at Oxide.Plugins.Shop.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x01582] in :0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in :0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in :0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in :0

eov-dev

Posted

The first two after "Favorites", called "Bonus (vehicules)" and "Bonus (autre)"

Mevent

Posted

Can you send your data files? Because I just checked the plugin on your config, and everything works fine without errors.

Mevent

Posted

Changed Fixed In to 1.3.1

eov-dev

Posted

Hi I can confirm this is fixed in the new version, thank you very much !

  • Love 1
Mevent

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.