Jump to content

Not able to buy items

Work in Progress 1.1.61

Keeks
Keeks

Posted

When my players try to buy an Item from the Shop I get the below error

(21:29:18) | Failed to call hook 'shop_cmd' on plugin 'Shop v1.1.61' (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Plugins.Shop.InCombat (BasePlayer player) [0x00077] in <d0da5f6f9f08474fa540f1e2ed7d7fa7>:0

at Oxide.Plugins.Shop.Buy (BasePlayer player, System.String category, System.String itemName, System.Int32 amount) [0x0000d] in <d0da5f6f9f08474fa540f1e2ed7d7fa7>:0

at Oxide.Plugins.Shop.shop_cmd (ConsoleSystem+Arg arg) [0x00053] in <d0da5f6f9f08474fa540f1e2ed7d7fa7>:0

at Oxide.Plugins.Shop.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x01320] in <d0da5f6f9f08474fa540f1e2ed7d7fa7>:0

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

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

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

David

Posted

18 hours ago, Keeks said:

When my players try to buy an Item from the Shop I get the below error

(21:29:18) | Failed to call hook 'shop_cmd' on plugin 'Shop v1.1.61' (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Plugins.Shop.InCombat (BasePlayer player) [0x00077] in <d0da5f6f9f08474fa540f1e2ed7d7fa7>:0

Hey, try to disable combat/raid block restriction. NoEscape api is giving me some trouble.

David

Posted

Changed Status from Pending to Work in Progress

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.4k

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.