Jump to content

Quantity of dispensed material exceeds configured limits

Pending 1.3.4

MvP
MvP

Posted (edited)

"Mining" a static dispenser like car wrecks works without issue for the first time, but after a while, players are able to mine way more material from a previously mined dispenser than allowed in the configuration file.
I deleted the data file (oxide/data/StaticDispensers_data.json) yesterday for a test after noticing near endless mining on sedans, went to a Oxums Gas Station Spermket and mined the two sedan wrecks in front of it. Both stopped giving metal frags after 300 frags were mined.

Relevant part of the configuration file:
   

 {
      "PrefabFilter": "sedan_",
      "Contents": [
        {
          "GatherChance": 100,
          "GatherAmount": 7,
          "ZLevelsGatherSkill": 1,
          "ShortName": "metal.fragments",
          "CustomName": null,
          "SkinId": 0,
          "Amount": 300
        }
      ],
      "WhitelistedHeldItems": [
        "rock",
        "pickaxe",
        "hammer.salvaged",
        "icepick.salvaged",
        "stone.pickaxe",
        "jackhammer"
      ]
    },

This is how the data file looked right now. Showing only the sedans, same happens with other static dispensers too. (Server restarted almost 12 hours ago):

    {
      "Name": "sedan_a_yellow",
      "Position": {
        "x": -460.9391,
        "y": 46.491787,
        "z": -525.4074
      },
      "Contents": [
        {
          "ShortName": "metal.fragments",
          "CustomName": null,
          "SkinId": 0,
          "Amount": 2244
        }
      ]
    },
    {
      "Name": "sedan_a_wrecked",
      "Position": {
        "x": -451.102,
        "y": 46.6407852,
        "z": -517.463745
      },
      "Contents": [
        {
          "ShortName": "metal.fragments",
          "CustomName": null,
          "SkinId": 0,
          "Amount": 1800
        }
      ]
    },



This gets progressively worse the longer the server is running, not entirely sure if it is happening through restarts or just over time in general. The attached screenshot was taken while mining one of those 2 sedans, receiving way too much material.

Deleting the data file solves the issue temporarily.

Happy to provide any needed additional information to help you track down this issue.

 

static_dispensers_qty_bug.png

Edited by MvP
Mixed up Supermarket and Oxums
  • Administrator
Raul-Sorin Sorban

Posted

Hey there, thank you! I'll investigate this.

  • Love 1
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.