Jump to content

Player cant buy it.

Closed 1.2.2 1.2.7

Terskipia
  • in Shop
Terskipia

Posted

(NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.Shop+ShopItem.GetStacks (System.Int32 amount) [0x00010] in <ebaf8fbf1c31402598c513cadb75c085>:0 
  at Oxide.Plugins.Shop.CmdConsoleShop (ConsoleSystem+Arg arg) [0x00b64] in <ebaf8fbf1c31402598c513cadb75c085>:0 
  at Oxide.Plugins.Shop.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00ebe] in <ebaf8fbf1c31402598c513cadb75c085>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09575a60985045248bcb43b20faeeb99>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bae5f1223fce49c493b01571c99dce02>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bae5f1223fce49c493b01571c99dce02>:0  
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Mevent

Posted

Can you show me the item in the config with which this problem occurs?

Terskipia

Posted

What is your discord? I dont wanna show the config here. I have it so when a player buys it it gives them a role. It worked until last rust update

Terskipia

Posted

{
          "Type": "Command",
          "ID": 1432420,
          "Image": "https://i.imgur.com/yRRhnj7.png",
          "Title": "",
          "Description": null,
          "Command (%steamid%)": "oxide.usergroup add %steamid% 10_dollars",
          "Kit": null,
          "Plugin": {
            "Hook": "Withdraw",
            "Plugin Name": "Economics",
            "Amount": 10000000
          },
          "DisplayName (empty - default)": "",
          "ShortName": "",
          "Skin": 0,
          "Amount": 1,
          "Price": 10000000.0,
          "Sell Price": 0.0,
          "Buy Cooldown (0 - disable)": 2592000.0,
          "Sell Cooldown (0 - disable)": 0.0,
          "Discount (%)": {
            "shop.default": 0,
            "shop.vip": 0
          },
          "Sell Limits (0 - no limit)": {
            "shop.default": 0,
            "shop.vip": 0
          },
          "Buy Limits (0 - no limit)": {
            "shop.default": 0,
            "shop.vip": 0
          },
          "Daily Buy Limits (0 - no limit)": {},
          "Daily Sell Limits (0 - no limit)": {},
          "Max Buy Amount (0 - disable)": 1,
          "Max Sell Amount (0 - disable)": 0,
          "Force Buy": true,
          "Prohibit splitting item into stacks?": false
        },

Mevent

Posted

@TerskipiaMy Discord: Mevent#4546
Also, you can write in a PM on the site 🙂

Mevent

Posted

Changed Status from Pending to Closed

Changed Fixed In to 1.2.7

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.