Jump to content

errors

Closed 1.2.7

GooberGrape
GooberGrape

Posted

> Failed to call hook 'ShoppyStockConsoleCommand' on plugin 'ShoppyStock v1.2.7' (DivideByZeroException: Attempted to divide by zero.)
  at Oxide.Plugins.ShoppyStock.OpenShopPurchaseUI (BasePlayer player, System.String shopName, Oxide.Plugins.ShoppyStock+ListingData listing, System.String listingKey, System.Int32 amount) [0x0094c] in <3d66e3e68f8e467fb3c24f0143bee8ad>:0 
  at Oxide.Plugins.ShoppyStock.ShoppyStockConsoleCommand (ConsoleSystem+Arg arg) [0x01240] in <3d66e3e68f8e467fb3c24f0143bee8ad>:0 
  at Oxide.Plugins.ShoppyStock.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x01e6c] in <3d66e3e68f8e467fb3c24f0143bee8ad>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <42f9bedc659b4f4786eb778d3cd58968>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <8cb2d664f1574f2b96d53f1c1869d96a>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <8cb2d664f1574f2b96d53f1c1869d96a>:0 
 

GooberGrape

Posted

its when you click a item you set to 0  "Amount": 0,

also what command do i use for this?

/animalfarm <farm/boar/stag/bear/wolf> <amount>

"Farming": {
    "Icon URL": "http://135.148.136.217/shop/blackmarket.png",
    "Required Permission": "",
    "Display Blacklist Permissions (need to have all)": [],
    "Category Discount Permission (percentage)": {},
    "Listings": {
      "abovegroundpool.deployed{2}-0": {
        "Command (if set, ignore item)": [
          "animalfarm farm {userId}",
          "oxide.usergroup add {userId}"
        ],
        "Shortname": "abovegroundpool",
        "Skin ID": 3458119788,
        "Amount": 1,
        "Item Name": "Animal Farm",
        "Display Name": "Animal Farm",
        "Is Blueprint": false,
        "Icon URL (if skin not 0)": "http://135.148.136.217/animalfarm.jpg",
        "Price": 5000,
        "Price Per Purchase Multiplier": 1.0,
        "Multiply Price Per Daily (true) Or Per Wipe (false) Purchases": true,
        "Show Description Field": true,
        "Discount Permission (value)": {},
        "Required Permission": "",
        "Display Blacklist Permission": "",
        "Daily Buy Max": 0,
        "Wipe Buy Max": 0,
        "Cooldown Between Purchases (in seconds, 0 to disable)": 0
      },

ThePitereq

Posted

Just saw that your name has abovegroundpool.deployed{2}-0 the {2} and i think its causing errors, remove that.

ThePitereq

Posted

Changed Status from Pending to Closed

1.8m

Downloads

Total number of downloads.

8.3k

Customers

Total customers served.

125.1k

Files Sold

Total number of files sold.

2.6m

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.