Jump to content

Errors when clicking Buy

Pending 1.2.26

Łukasz Brdak
  • in Shop
Łukasz Brdak

Posted

Errors after clicking Buy:

27.11 12:32:03 [Server] INFO Failed to call hook "CmdConsoleShop" on plugin "Shop v1.2.26" (NullReferenceException: Object reference not set to an instance of an object)  
at Oxide.Plugins.Shop.TryBuyItems (BasePlayer player, System.Boolean retry)  
at Oxide.Plugins.Shop.CmdConsoleShop (ConsoleSystem+Arg arg)  
at Oxide.Plugins.Shop.DirectCallHook (System.String name, System.Object& ret, System.Object[] args)  
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args)  
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args)  
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args)
MeventSupport

Posted

You need to turn on test mode.

 

To enable testing mode (debugging), you need to uncomment the first line, that is, change

"/#define TESTING" to "#define TESTING", then save and reload the plugin.

  • Curator
Mevent

Posted

Changed Status from Pending to Closed

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.5m
Total downloads
Customers
11.3k
Customers served
Files Sold
161.3k
Total sales
Payments
3.5m
Processed total
×
×
  • 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.