Jump to content

/Sell console error

Closed 2.1.0

BigBadKittySlayer
BigBadKittySlayer

Posted

/sell command is not working. I tried reinstalling the plugin .cs file, but I'm getting this error in console:

 

Failed executing chat command 'sell' in 'ShoppyStock v2.1.0 by ThePitereq' [callback] (The given key 'money' was not present in the dictionary.)
   at StockData System.Collections.Generic.Dictionary<string, Oxide.Plugins.ShoppyStock+StockData>.get_Item(string key)
   at void Oxide.Plugins.ShoppyStock.RedrawSellInventoryItems(BasePlayer player) in /home/container/carbon/plugins/ShoppyStock.cs:line 8841
   at void Oxide.Plugins.ShoppyStock.OpenSellUI(BasePlayer player) in /home/container/carbon/plugins/ShoppyStock.cs:line 8830
   at void Oxide.Plugins.ShoppyStock.OpenUiCommand(BasePlayer player, string command, string[] args) in /home/container/carbon/plugins/ShoppyStock.cs:line 4164
   at object System.Reflection.RuntimeMethodInfo.Invoke(object obj, BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture)
 

Thanks for your help.

ThePitereq

Posted

Hey! Answered on discord.
it's because your stock market is disabled.
do the:
"Stock Market Config": {
     "Enabled": true,

  • Like 1
ThePitereq

Posted

Changed Status from Pending to Closed

2.2m

Downloads

Total number of downloads.

10.1k

Customers

Total customers served.

146.3k

Files Sold

Total number of files sold.

3.1m

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.