Jump to content

update deleted settings

Work in Progress 1.6.5

bobekua
bobekua

Posted

Hello, the last plugin update completely deleted all our settings that we had. Now the working hours and materials for operation are not even displayed. We tried to upload the original settings and the plugin overwrote the values as in the picture (the plugin overwrites itself). Please help.


20:51:56 Failed to call hook 'OnButtonPress' on plugin 'QuarryComputer v1.6.5' (ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index) at System.Collections.Generic.List`1[T].get_Item (System.Int32 index) [0x00009] in <f98723dd4586469db5213ec59da723ca>:0 at Oxide.Plugins.QuarryComputer.CreateUi (BasePlayer player, Oxide.Plugins.QuarryComputer+QuarryComputerBehaviour quarry) [0x0002e] in <b1bd4afaa0594970b43593c7d82b9790>:0 at Oxide.Plugins.QuarryComputer.OnButtonPress (PressButton button, BasePlayer player) [0x0007b] in <b1bd4afaa0594970b43593c7d82b9790>:0 at Oxide.Plugins.QuarryComputer.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0027d] in <b1bd4afaa0594970b43593c7d82b9790>: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 <d59b507fd76240e5b62228d0eae39b73>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <d59b507fd76240e5b62228d0eae39b73>:0image.png.111d5af5ec88546a30fd8c8982e37c51.png

Marte6

Posted

Hello, can you send me your config file?

bobekua

Posted

{

  "Use LangAPI Plugin": true,

  "Use Notify Plugin": true,

  "RP Image URL": "https://i.ibb.co/C22VZDj/money.png",

  "Allow Team Access": true,

  "Allow Friends Access": true,

  "Give Quarry Command": [

    "gq",

    "givequarry"

  ],

  "Drop Quarry Item on Destruction": true,

  "No Upgrades (Level 1)": {

    "Fuel Configuration": {

      "Shortname": "charcoal",

      "Resource Extraction Interval In Seconds": 300,

      "Fuel Required Per Extraction": 10000

    },

    "Storage Slots": {

      "Fuel": 1,

      "Resources": 6

    },

    "Resources Output Per Extraction": [

      {

        "Shortname": "crude.oil",

        "Amount": 10

      },

      {

        "Shortname": "stones",

        "Amount": 500

      },

      {

        "Shortname": "metal.ore",

        "Amount": 200

      },

      {

        "Shortname": "sulfur.ore",

        "Amount": 100

      }

    ]

  },

  "Upgrades (Level 2+)": [

    {

      "Fuel Configuration": {

        "Shortname": "charcoal",

        "Resource Extraction Interval In Seconds": 300,

        "Fuel Required Per Extraction": 10000

      },

      "Storage Slots": {

        "Fuel": 2,

        "Resources": 12

      },

      "Resources Output Per Extraction": [

        {

          "Shortname": "crude.oil",

          "Amount": 20

        },

        {

          "Shortname": "stones",

          "Amount": 1000

        },

        {

          "Shortname": "metal.ore",

          "Amount": 400

        },

        {

          "Shortname": "sulfur.ore",

          "Amount": 200

        }

      ],

      "Required Items To Upgrade": [

        {

          "Shortname": "Economics",

          "Amount": 1

        }

      ]

    },

    {

      "Fuel Configuration": {

        "Shortname": "charcoal",

        "Resource Extraction Interval In Seconds": 300,

        "Fuel Required Per Extraction": 10000

      },

      "Storage Slots": {

        "Fuel": 3,

        "Resources": 18

      },

      "Resources Output Per Extraction": [

        {

          "Shortname": "crude.oil",

          "Amount": 30

        },

        {

          "Shortname": "hq.metal.ore",

          "Amount": 10

        },

        {

          "Shortname": "metal.ore",

          "Amount": 600

        },

        {

          "Shortname": "stones",

          "Amount": 1500

        },

        {

          "Shortname": "sulfur.ore",

          "Amount": 300

        }

      ],

      "Required Items To Upgrade": [

        {

          "Shortname": "Economics",

          "Amount": 1

        }

      ]

    },

    {

      "Fuel Configuration": {

        "Shortname": "charcoal",

        "Resource Extraction Interval In Seconds": 300,

        "Fuel Required Per Extraction": 10000

      },

      "Storage Slots": {

        "Fuel": 4,

        "Resources": 24

      },

      "Resources Output Per Extraction": [

        {

          "Shortname": "crude.oil",

          "Amount": 40

        },

        {

          "Shortname": "hq.metal.ore",

          "Amount": 15

        },

        {

          "Shortname": "metal.ore",

          "Amount": 800

        },

        {

          "Shortname": "stones",

          "Amount": 2000

        },

        {

          "Shortname": "sulfur.ore",

          "Amount": 400

        },

        {

          "Shortname": "diesel_barrel",

          "Amount": 1

        }

      ],

      "Required Items To Upgrade": [

        {

          "Shortname": "Economics",

          "Amount": 1

        }

      ]

    },

    {

      "Fuel Configuration": {

        "Shortname": "charcoal",

        "Resource Extraction Interval In Seconds": 300,

        "Fuel Required Per Extraction": 10000

      },

      "Storage Slots": {

        "Fuel": 4,

        "Resources": 30

      },

      "Resources Output Per Extraction": [

        {

          "Shortname": "crude.oil",

          "Amount": 45

        },

        {

          "Shortname": "hq.metal.ore",

          "Amount": 20

        },

        {

          "Shortname": "metal.ore",

          "Amount": 1000

        },

        {

          "Shortname": "stones",

          "Amount": 2200

        },

        {

          "Shortname": "sulfur.ore",

          "Amount": 500

        },

        {

          "Shortname": "diesel_barrel",

          "Amount": 1

        },

        {

          "Shortname": "scrap",

          "Amount": 10

        }

      ],

      "Required Items To Upgrade": [

        {

          "Shortname": "Economics",

          "Amount": 1

        }

      ]

    }

  ],

  "Keep Upgrades On Remove Quarry": true,

  "Profiles": {

    "Default (No Permission)": {

      "Quarry Limit": 5

    },

    "VIP (quarrycomputer.vip Permission)": {

      "Quarry Limit": 10

    }

  },

  "Item Name": "Quarry Computer",

  "UI Configuration": {

    "Font (DroidSansMono.ttf / PermanentMarker.ttf / RobotoCondensed-Bold.ttf / RobotoCondensed-Regular.ttf)": "DroidSansMono.ttf",

    "Header": {

      "Background Color": "0.4 0.4 0.4 0.95",

      "Font Color": "1 1 1 1",

      "Close Button": {

        "Background Color": "1 0 0 1",

        "Font Color": "1 1 1 0.5",

        "Font Size": 13

      }

    },

    "Background Color": "0.6 0.6 0.6 0.95",

    "Line Color": "1 1 1 1",

    "Left Panel": {

      "Shadow Color": "0 0 0 0.97",

      "Font Color": "1 1 1 1",

      "Background Color": "0 0 1 1",

      "Remove Button": {

        "Background Color": "0.6 0.6 0.6 0.95",

        "Font Color": "1 0 0 1",

        "Font Size": 14

      },

      "Start Stop Button": {

        "Background Color": "0.6 0.6 0.6 0.95",

        "Font Color": "0 1 0 1",

        "Font Size": 14

      },

      "Stop Stop Button": {

        "Background Color": "0.6 0.6 0.6 0.95",

        "Font Color": "1 0 0 1",

        "Font Size": 14

      }

    },

    "Right Panel": {

      "Shadow Color": "0 0 0 0.97",

      "Font Color": "1 1 1 1",

      "Background Color": "0.5 0 0 1",

      "Upgrade Button": {

        "Background Color": "0.6 0.6 0.6 0.95",

        "Font Color": "0 1 0 1",

        "Font Size": 14

      }

    },

    "Popup": {

      "Overlay Color": "0 0 0 0.9",

      "Shadow Color": "0 0 0 0.85",

      "Border Color": "1 1 1 1",

      "Background Color": "0 0 0 1",

      "Button Color": "0.6 0.6 0.6 0.95",

      "Confirm Button Color": "0 1 0 1",

      "Cancel Button Color": "1 0 0 1"

    }

  },

  "Version": {

    "Major": 1,

    "Minor": 5,

    "Patch": 0

  }

}

Marte6

Posted

Hello, from what I can see you’re using a very old version of the plugin. Please download the new one again, update it, and see if it fixes the problem.

Marte6

Posted

Changed Status from Pending to Work in Progress

Marte6

Posted

I recommend that you delete this configuration and adjust what is needed in the new one that will be generated.

1.9m

Downloads

Total number of downloads.

8.9k

Customers

Total customers served.

131.2k

Files Sold

Total number of files sold.

2.7m

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.