Jump to content

Instanced Excacator Containers

Closed 2.3.0 2.3.1

skythunder_
skythunder_

Posted

Hi,

I have a little issue with the instanced exavator.
The input container and the output container changes for a 48 slots storage. This lead to an issue for me as an admin :
Players put more fuel than the output can receive ressources. It's a problem also because I'm managing a PvE server so players can buy
large quantities of diesel and fill the complete excavator's fuel container with.

Thanks you for your help.

skythunder_

Posted

Sh*t, made an error in the title. Sorry.

ThePitereq

Posted

Hey! Ah, okay. Then in next update i'll add option to set fuel and output capacity in config. Will update here when released 🙂

skythunder_

Posted

Thanks a lot man !

An idea of the next update schedule ?

ThePitereq

Posted

Hey, sorry for waiting.
Now making my finishing touches on some totally other thing and then i can spend some time on RUST plugins.
I am very sorry about waiting time.

skythunder_

Posted

No problem.

I temporary disabled the plugin. I don't know why but it generates errors making my server crash (annex 1). My config on annex 2.

PS : I'm not using the personnal quarries, only the instancing part of the plugin (by the way if you sell an "instancing quarries" standalone plugin i'll buy it).

I'll wait for the update anyways.

Failed to initialize plugin 'VirtualQuarries v2.3.0' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.VirtualQuarries.LoadData () [0x0004a] in <d8ac4d95893a4b91a0af31a819b27873>:0
  at Oxide.Plugins.VirtualQuarries.Init () [0x0002b] in <d8ac4d95893a4b91a0af31a819b27873>:0        2kb/s in, 8kb/s out
  at Oxide.Plugins.VirtualQuarries.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00051] in <d8ac4d95893a4b91a0af31a819b27873>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <d431e37658ba4727b7490299d12dfc44>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <157a94ee66ab4a7991faecd1eb84be3b>:0
  at Oxide.Core.Plugins.CSPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00043] in <157a94ee66ab4a7991faecd1eb84be3b>:0
{
  "Command List": [
    "qra",
    "quarrya",
    "quarriesa",
    "vqa",
    "virtualquarrya",
    "virtualquarriesa"
  ],
  "Enable Console Logs": true,
  "Override ImageLibrary Icons": false,
  "Require Permission For Use": false,
  "Mining Quarry/Pump Jack Limit Permissions": {
    "virtualquarries.default": {
      "pumpjack": 1,
      "quarry": 2
    },
    "virtualquarries.vip": {
      "pumpjack": 2,
      "quarry": 3
    }
  },
  "Sharing - Require Permission": false,
  "Data - Enable Data Wipe On Server Wipe": true,
  "Data - Store Container Data In File And Restore On Server Wipe": false,
  "Data - Store Container Interval (in seconds)": 1800,
  "Quarry Tick (how often quarries dig resources, in seconds)": 60,
  "Static Quarry Tick (how often quarries dig resources, in seconds)": 60,
  "Excavator Quarry Tick (how often quarries dig resources, in seconds)": 150,
  "Storage Prefab": "assets/prefabs/deployable/large wood storage/box.wooden.large.prefab",
  "Sound - Start Sound": "assets/prefabs/npc/autoturret/effects/online.prefab",
  "Sound - Stop Sound": "assets/prefabs/npc/autoturret/effects/offline.prefab",
  "Survey Charge - Allow Throwing Survey Charges": false,
  "Survey Charget Types": {
    "survey": {
      "Effect Path": "assets/bundled/prefabs/fx/survey_explosion.prefab",
      "Required Permission (empty, if not required)": "",
      "Chance For Resources (0-100)": 75,
      "Displayed Survey Title Translation Key": "SurveyCharge",
      "Required Item": {
        "Shortname": "surveycharge",
        "Skin": 0,
        "Amount": 1,
        "Display Name": null,
        "Icon URL": ""
      }
    }
  },
  "Upgrades - Used Economy Plugin (0 - None, See Website For More Info)": 0,
  "Removing Quarries - Refund Items": true,
  "Go Back Button - Position (1-2)": 1,
  "Upgrade UI - Responsive Position": true,
  "Static Quarries - Enable": true,
  "Excavator Quarry - Enable": true,
  "Excavator Quarry - Lock Air Drops": false,
  "Static Quarries - Quarry Requires Permission": false,
  "Static Quarries - Pump Jack Requires Permission": false,
  "Static Quarries - Excavator Requires Permission": false,
  "Static Quarries - Resource Container Size": 18,
  "Static Quarries - Fuel Item": {
    "Shortname": "diesel_barrel",
    "Skin": 0,
    "Amount": 1.0,
    "Display Name": null,
    "Icon URL": null
  },
  "Excavator Quarry - Fuel Item": {
    "Shortname": "diesel_barrel",
    "Skin": 0,
    "Amount": 1.0,
    "Display Name": null,
    "Icon URL": null
  },
  "Static Quarries - Metal Quarry Output": [
    {
      "Shortname": "stones",
      "Skin": 0,
      "Amount Per Tick": 2500.0,
      "Display Name": ""
    },
    {
      "Shortname": "metal.ore",
      "Skin": 0,
      "Amount Per Tick": 500.0,
      "Display Name": ""
    }
  ],
  "Static Quarries - Sulfur Quarry Output": [
    {
      "Shortname": "sulfur.ore",
      "Skin": 0,
      "Amount Per Tick": 500.0,
      "Display Name": ""
    }
  ],
  "Static Quarries - HQM Quarry Output": [
    {
      "Shortname": "hq.metal.ore",
      "Skin": 0,
      "Amount Per Tick": 25.0,
      "Display Name": ""
    }
  ],
  "Static Quarries - Pump Jack Output": [
    {
      "Shortname": "crude.oil",
      "Skin": 0,
      "Amount Per Tick": 30.0,
      "Display Name": ""
    }
  ],
  "Static Quarries - Excavator Outputs": {
    "HQM": [
      {
        "Shortname": "hq.metal.ore",
        "Skin": 0,
        "Amount Per Tick": 50.0,
        "Display Name": ""
      }
    ],
    "Metal": [
      {
        "Shortname": "metal.fragments",
        "Skin": 0,
        "Amount Per Tick": 2500.0,
        "Display Name": ""
      }
    ],
    "Stone": [
      {
        "Shortname": "stones",
        "Skin": 0,
        "Amount Per Tick": 5000.0,
        "Display Name": ""
      }
    ],
    "Sulfur": [
      {
        "Shortname": "sulfur.ore",
        "Skin": 0,
        "Amount Per Tick": 1000.0,
        "Display Name": ""
      }
    ]
  },
  "Quarry Profiles": {
    "pumpjack": {
      "Required Permission (empty, if not required)": "virtualquarries.pumpjack",
      "Displayed Icon": {
        "Shortname": "mining.pumpjack",
        "Skin": 0,
        "Amount": 1,
        "Display Name": null,
        "Icon URL": ""
      },
      "Survey Type": "survey",
      "Displayed Quarry Title Translation Key": "PumpjackTitle",
      "Chance": 5,
      "Minimal Resources Per Node": 1,
      "Maximal Resources Per Node": 2,
      "Fuel Required Per Tick": {
        "Shortname": "lowgradefuel",
        "Skin": 0,
        "Amount": 1.0,
        "Display Name": null,
        "Icon URL": null
      },
      "Enable Upgrades": true,
      "Items Required To Place": [
        {
          "Shortname": "mining.pumpjack",
          "Skin": 0,
          "Amount": 1,
          "Display Name": null,
          "Icon URL": ""
        }
      ],
      "Resources": {
        "crude": {
          "Output Item - Shortname": "crude.oil",
          "Output Item - Skin": 0,
          "Output Item - Display Name": "",
          "Output Item - Icon URL (Required if Skin not 0)": "",
          "Include Always": true,
          "Required Permission (empty if not required)": "",
          "Chance": 0,
          "Minimal Output Per Tick": 0.8,
          "Maximal Output Per Tick": 3.0,
          "Additional Items Required To Place": []
        }
      },
      "Upgrades": [
        {
          "Required Items": [],
          "Required Currency (0 to disable)": 0,
          "Capacity": 6,
          "Gather Multiplier": 1.0,
          "Fuel Usage Multiplier": 1.0
        },
        {
          "Required Items": [
            {
              "Shortname": "wood",
              "Skin": 0,
              "Amount": 14000,
              "Display Name": null,
              "Icon URL": ""
            },
            {
              "Shortname": "stones",
              "Skin": 0,
              "Amount": 10000,
              "Display Name": null,
              "Icon URL": ""
            }
          ],
          "Required Currency (0 to disable)": 12000,
          "Capacity": 9,
          "Gather Multiplier": 1.2,
          "Fuel Usage Multiplier": 1.0
        }
      ]
    },
    "quarry": {
      "Required Permission (empty, if not required)": "",
      "Displayed Icon": {
        "Shortname": "mining.quarry",
        "Skin": 0,
        "Amount": 1,
        "Display Name": null,
        "Icon URL": ""
      },
      "Survey Type": "survey",
      "Displayed Quarry Title Translation Key": "QuarryTitle",
      "Chance": 25,
      "Minimal Resources Per Node": 1,
      "Maximal Resources Per Node": 2,
      "Fuel Required Per Tick": {
        "Shortname": "lowgradefuel",
        "Skin": 0,
        "Amount": 1.0,
        "Display Name": null,
        "Icon URL": null
      },
      "Enable Upgrades": true,
      "Items Required To Place": [
        {
          "Shortname": "mining.quarry",
          "Skin": 0,
          "Amount": 1,
          "Display Name": null,
          "Icon URL": ""
        }
      ],
      "Resources": {
        "hq": {
          "Output Item - Shortname": "hq.metal.ore",
          "Output Item - Skin": 0,
          "Output Item - Display Name": "",
          "Output Item - Icon URL (Required if Skin not 0)": "",
          "Include Always": false,
          "Required Permission (empty if not required)": "",
          "Chance": 10,
          "Minimal Output Per Tick": 0.3,
          "Maximal Output Per Tick": 2.0,
          "Additional Items Required To Place": []
        },
        "metal": {
          "Output Item - Shortname": "metal.ore",
          "Output Item - Skin": 0,
          "Output Item - Display Name": "",
          "Output Item - Icon URL (Required if Skin not 0)": "",
          "Include Always": false,
          "Required Permission (empty if not required)": "virtualquarries.metal",
          "Chance": 50,
          "Minimal Output Per Tick": 22.5,
          "Maximal Output Per Tick": 45.0,
          "Additional Items Required To Place": []
        },
        "scrap": {
          "Output Item - Shortname": "scrap",
          "Output Item - Skin": 0,
          "Output Item - Display Name": "",
          "Output Item - Icon URL (Required if Skin not 0)": "",
          "Include Always": false,
          "Required Permission (empty if not required)": "virtualquarries.scrap",
          "Chance": 5,
          "Minimal Output Per Tick": 0.1,
          "Maximal Output Per Tick": 1.0,
          "Additional Items Required To Place": [
            {
              "Shortname": "wood",
              "Skin": 0,
              "Amount": 7000,
              "Display Name": null,
              "Icon URL": ""
            }
          ]
        },
        "stone": {
          "Output Item - Shortname": "stones",
          "Output Item - Skin": 0,
          "Output Item - Display Name": "",
          "Output Item - Icon URL (Required if Skin not 0)": "",
          "Include Always": true,
          "Required Permission (empty if not required)": "",
          "Chance": 0,
          "Minimal Output Per Tick": 150.0,
          "Maximal Output Per Tick": 300.0,
          "Additional Items Required To Place": []
        },
        "sulfur": {
          "Output Item - Shortname": "sulfur.ore",
          "Output Item - Skin": 0,
          "Output Item - Display Name": "",
          "Output Item - Icon URL (Required if Skin not 0)": "",
          "Include Always": false,
          "Required Permission (empty if not required)": "",
          "Chance": 50,
          "Minimal Output Per Tick": 15.0,
          "Maximal Output Per Tick": 30.5,
          "Additional Items Required To Place": []
        }
      },
      "Upgrades": [
        {
          "Required Items": [],
          "Required Currency (0 to disable)": 0,
          "Capacity": 6,
          "Gather Multiplier": 1.0,
          "Fuel Usage Multiplier": 1.0
        },
        {
          "Required Items": [
            {
              "Shortname": "wood",
              "Skin": 0,
              "Amount": 7000,
              "Display Name": null,
              "Icon URL": ""
            },
            {
              "Shortname": "stones",
              "Skin": 0,
              "Amount": 5000,
              "Display Name": null,
              "Icon URL": ""
            }
          ],
          "Required Currency (0 to disable)": 6000,
          "Capacity": 9,
          "Gather Multiplier": 1.2,
          "Fuel Usage Multiplier": 1.0
        }
      ]
    }
  }
}

 

ThePitereq

Posted

There is a problem in your data file. Try disabling plugin, removing it and trying again.

skythunder_

Posted (edited)

I'll try that.

Eventually if I need to erase it. Can you help me to read that data ? Because I gotta to refund the diesel used to my players.

I understood that "7298" is the identifier of the sulfur quarry in X3. I identified everything by deduction with the UberTool in-game. The steamID to identify the player.


And what are the blue valors ? How can I identify the ressource count, ressource type and the fuel used ? It is an ident for a DB ? If yes where can I find it ?
 

{
  "Quarry Count": 0,
  "Quarries": {},
  "Static Quarries": {
    "7298": {
      "7656XXXXXXXXXXXXX": 107365,
      "7656XXXXXXXXXXXXX": 107671,
      "7656XXXXXXXXXXXXX": 1497485
    }
  }
}

Thanks a lot for your help.

I'm sorry I totally messed with the prime subject of this topic. If you prefer to message on discord you can DM me at

skythunder_#0117

 

Edited by skythunder_
ThePitereq

Posted

Hey! The capacity should be changable in recent version.
Have fun!

ThePitereq

Posted

Changed Status from Pending to Closed

Changed Fixed In to 2.3.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.