Jump to content

cant add in custom items to sell

Closed 1.0.11

BeePssY
BeePssY

Posted

this is the error on console. 


Failed to call hook 'ShoppyStockConsoleCommand' on plugin 'ShoppyStock v1.0.11' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.ShoppyStock.ShoppyStockConsoleCommand (ConsoleSystem+Arg arg) [0x01b70] in <96778e2c45534781a2b2678a2ea44c9c>:0 ts, 0 slprs                                                                             3kb/s in, 88kb/s out
  at Oxide.Plugins.ShoppyStock.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x01d53] in <96778e2c45534781a2b2678a2ea44c9c>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <23ba99f131254889867c71f0bd137b1d>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <157a94ee66ab4a7991faecd1eb84be3b>:0
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <157a94ee66ab4a7991faecd1eb84be3b>:0

ThePitereq

Posted

Hey.
If the problem is common please go to config, and set Enable Debug to true.
It might spam a little bit in console but without that it's really hard to find where the bug is located.
If you enable it and bug will appear please send the error with previous debug lines.

BeePssY

Posted

[ShoppyStock] [DEBUG] Opening shop select UI.
[ShoppyStock] [DEBUG] Loading container.
[ShoppyStock] [DEBUG] Starting listing shops.
[ShoppyStock] [DEBUG] Derpsi ran ShoppyStock command: global.UI_ShoppyStock open Magic-Scrap
[ShoppyStock] [DEBUG] Opening shop UI.
[ShoppyStock] [DEBUG] Checked anchor.
[ShoppyStock] [DEBUG] Starting checking categories.
[ShoppyStock] [DEBUG] After deposit check.
[ShoppyStock] [DEBUG] After search function.
[ShoppyStock] [DEBUG] Starting looping items.
[ShoppyStock] [DEBUG] Finished looping items.
[ShoppyStock] [DEBUG] Started looping categories.
[ShoppyStock] [DEBUG] Finished looping categories.
[ShoppyStock] [DEBUG] Derpsi ran ShoppyStock command: global.UI_ShoppyStock buy Coal-0
[ShoppyStock] [DEBUG] Starting buy request.
[ShoppyStock] [DEBUG] Currency check finished.
[ShoppyStock] [DEBUG] Daily buy check finished.
[ShoppyStock] [DEBUG] Wipe buy check finished.
[ShoppyStock] [DEBUG] Cooldown check finished.
[ShoppyStock] [DEBUG] Opening shop purchase.
[ShoppyStock] [DEBUG] Before display name check.
[ShoppyStock] [DEBUG] Before currency check.
[ShoppyStock] [DEBUG] Before max purchases check.
[ShoppyStock] [DEBUG] After max purchases check.
[ShoppyStock] [DEBUG] After slider done.
[ShoppyStock] [DEBUG] Finishing purchase show.
[ShoppyStock] [DEBUG] Derpsi ran ShoppyStock command: global.UI_ShoppyStock acceptPurchase
[ShoppyStock] [DEBUG] Currency check finished.
[ShoppyStock] [DEBUG] Starting looping amount.
Failed to call hook 'ShoppyStockConsoleCommand' on plugin 'ShoppyStock v1.0.11' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.ShoppyStock.ShoppyStockConsoleCommand (ConsoleSystem+Arg arg) [0x01b84] in <82f071619951460fb2c56e76318fed4a>:0
  at Oxide.Plugins.ShoppyStock.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x01d53] in <82f071619951460fb2c56e76318fed4a>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <23ba99f131254889867c71f0bd137b1d>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <157a94ee66ab4a7991faecd1eb84be3b>:0
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <157a94ee66ab4a7991faecd1eb84be3b>:0
[ShoppyStock] [DEBUG] Derpsi ran ShoppyStock command: global.UI_ShoppyStock cancelPurchase
[ShoppyStock] [DEBUG] Derpsi ran ShoppyStock command: global.UI_ShoppyStock close
[ShoppyStock] [DEBUG] Opening shop UI.
[ShoppyStock] [DEBUG] Checked anchor.
[ShoppyStock] [DEBUG] Starting checking categories.
[ShoppyStock] [DEBUG] After deposit check.
[ShoppyStock] [DEBUG] After search function.
[ShoppyStock] [DEBUG] Starting looping items.
[ShoppyStock] [DEBUG] Finished looping items.
[ShoppyStock] [DEBUG] Started looping categories.
[ShoppyStock] [DEBUG] Finished looping categories.
[ShoppyStock] [DEBUG] Derpsi ran ShoppyStock command: global.UI_ShoppyStock buy Coal-0
[ShoppyStock] [DEBUG] Starting buy request.
[ShoppyStock] [DEBUG] Currency check finished.
[ShoppyStock] [DEBUG] Daily buy check finished.
[ShoppyStock] [DEBUG] Wipe buy check finished.
[ShoppyStock] [DEBUG] Cooldown check finished.
[ShoppyStock] [DEBUG] Opening shop purchase.
[ShoppyStock] [DEBUG] Before display name check.
[ShoppyStock] [DEBUG] Before currency check.
[ShoppyStock] [DEBUG] Before max purchases check.
[ShoppyStock] [DEBUG] After max purchases check.
[ShoppyStock] [DEBUG] After slider done.
[ShoppyStock] [DEBUG] Finishing purchase show.
[ShoppyStock] [DEBUG] Derpsi ran ShoppyStock command: global.UI_ShoppyStock acceptPurchase
[ShoppyStock] [DEBUG] Currency check finished.
[ShoppyStock] [DEBUG] Starting looping amount.
Failed to call hook 'ShoppyStockConsoleCommand' on plugin 'ShoppyStock v1.0.11' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.ShoppyStock.ShoppyStockConsoleCommand (ConsoleSystem+Arg arg) [0x01b84] in <82f071619951460fb2c56e76318fed4a>:0
  at Oxide.Plugins.ShoppyStock.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x01d53] in <82f071619951460fb2c56e76318fed4a>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <23ba99f131254889867c71f0bd137b1d>:0                                                                                                                                             3kb/s in, 87kb/s out
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <157a94ee66ab4a7991faecd1eb84be3b>:0
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <157a94ee66ab4a7991faecd1eb84be3b>:0

BeePssY

Posted

sent you pm with config and data files.

ThePitereq

Posted

Okay, the files really helped me.
You have "Shortname": "Coal", but the shortnames are case sensitive, change it to coal

BeePssY

Posted

wow 😛 ok will test tomorow 😄

BeePssY

Posted

thanks that worked 😄 just tested it

ThePitereq

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.