Jump to content

Console error

Closed 1.5.3

Craft
Craft

Posted (edited)

 "Loot - Presets": {
    "putong": {
      "Loot - Min. Crates": 4,
      "Loot - Max. Crates": 4,
      "Loot - Min. Items Per Crate": 4,
      "Loot - Max. Items Per Crate": 5,
      "Loot - Loot Table": [
        {
          "Shortname": "explosive.timed",
          "Amount": 1,
          "Amount Randomizer Amount (+ and -)": 0,
          "Always Include Chance (0-100)": 0.0,
          "Max Always Includes Per Loot (0 to disable)": 0,
          "Skin": 0,
          "Display Name": "",
          "Chance": 1,
          "Additional Items": []
        },
        {
          "Shortname": "metal.refined",
          "Amount": 500,
          "Amount Randomizer Amount (+ and -)": 0,
          "Always Include Chance (0-100)": 0.0,
          "Max Always Includes Per Loot (0 to disable)": 0,
          "Skin": 0,
          "Display Name": "",
          "Chance": 2,
          "Additional Items": []
        },
        {
          "Shortname": "ducttape",
          "Amount": 1,
          "Amount Randomizer Amount (+ and -)": 2,
          "Always Include Chance (0-100)": 100.0,
          "Max Always Includes Per Loot (0 to disable)": 0,
          "Skin": 2774571740,
          "Display Name": "",
          "Chance": 1,
          "Additional Items": []
        },
        {
          "Shortname": "ducttape",
          "Amount": 1,
          "Amount Randomizer Amount (+ and -)": 2,
          "Always Include Chance (0-100)": 100.0,
          "Max Always Includes Per Loot (0 to disable)": 0,
          "Skin": 2433594063,
          "Display Name": "",
          "Chance": 1,
          "Additional Items": []
        },
        {
          "Shortname": "ammo.rifle.explosive",
          "Amount": 128,
          "Amount Randomizer Amount (+ and -)": 0,
          "Always Include Chance (0-100)": 0.0,
          "Max Always Includes Per Loot (0 to disable)": 0,
          "Skin": 0,
          "Display Name": "",
          "Chance": 1,
          "Additional Items": []
        },
        {
          "Shortname": "ammo.rifle.hv",
          "Amount": 128,
          "Amount Randomizer Amount (+ and -)": 0,
          "Always Include Chance (0-100)": 0.0,
          "Max Always Includes Per Loot (0 to disable)": 0,
          "Skin": 0,
          "Display Name": "",
          "Chance": 1,
          "Additional Items": []
        },
        {
          "Shortname": "ammo.rifle",
          "Amount": 128,
          "Amount Randomizer Amount (+ and -)": 0,
          "Always Include Chance (0-100)": 0.0,
          "Max Always Includes Per Loot (0 to disable)": 0,
          "Skin": 0,
          "Display Name": "",
          "Chance": 1,
          "Additional Items": []
        },
        {
          "Shortname": "weapon.mod.small.scope",
          "Amount": 1,
          "Amount Randomizer Amount (+ and -)": 0,
          "Always Include Chance (0-100)": 0.0,
          "Max Always Includes Per Loot (0 to disable)": 0,
          "Skin": 0,
          "Display Name": "",
          "Chance": 1,
          "Additional Items": []
        },
        {
          "Shortname": "blueberries",
          "Amount": 20,
          "Amount Randomizer Amount (+ and -)": 0,
          "Always Include Chance (0-100)": 0.0,
          "Max Always Includes Per Loot (0 to disable)": 0,
          "Skin": 0,
          "Display Name": "",
          "Chance": 1,
          "Additional Items": []
        },
        {
          "Shortname": "techparts",
          "Amount": 20,
          "Amount Randomizer Amount (+ and -)": 0,
          "Always Include Chance (0-100)": 60.0,
          "Max Always Includes Per Loot (0 to disable)": 0,
          "Skin": 0,
          "Display Name": "",
          "Chance": 1,
          "Additional Items": []
        },
        {
          "Shortname": "pistol.prototype17",
          "Amount": 1,
          "Amount Randomizer Amount (+ and -)": 0,
          "Always Include Chance (0-100)": 0.0,
          "Max Always Includes Per Loot (0 to disable)": 0,
          "Skin": 0,
          "Display Name": "",
          "Chance": 1,
          "Additional Items": [
            {
              "Shortname": "ammo.pistol",
              "Amount": 20,
              "Skin": 0,
              "Display Name": ""
            }
          ]
        }
      ]
    },

Console error:

(21:28:23) | [RoadBradley] Couldn't create item with shortname ducttape. This item doesn't exist!
(21:28:23) | Creating item with less than 1 amount! (Duct Tape)
(21:28:23) | [RoadBradley] Couldn't create item with shortname ducttape. This item doesn't exist!
(21:28:23) | Creating item with less than 1 amount! (Duct Tape)
(21:28:23) | [RoadBradley] Couldn't create item with shortname ducttape. This item doesn't exist!
(21:28:23) | Creating item with less than 1 amount! (Duct Tape)
(21:28:23) | [RoadBradley] Couldn't create item with shortname ducttape. This item doesn't exist!
(21:30:50) | Creating item with less than 1 amount! (Duct Tape)
(21:30:50) | [RoadBradley] Couldn't create item with shortname ducttape. This item doesn't exist!
(21:30:50) | Creating item with less than 1 amount! (Duct Tape)
(21:30:50) | [RoadBradley] Couldn't create item with shortname ducttape. This item doesn't exist!
(21:30:50) | Creating item with less than 1 amount! (Duct Tape)
(21:30:50) | [RoadBradley] Couldn't create item with shortname ducttape. This item doesn't exist!
(21:30:50) | Creating item with less than 1 amount! (Duct Tape)
(21:30:50) | [RoadBradley] Couldn't create item with shortname ducttape. This item doesn't exist!
(21:30:50) | Creating item with less than 1 amount! (Duct Tape)
(21:30:50) | [RoadBradley] Couldn't create item with shortname ducttape. This item doesn't exist!
(21:30:50) | Creating item with less than 1 amount! (Duct Tape)
(21:30:50) | [RoadBradley] Couldn't create item with shortname ducttape. This item doesn't exist!

 

Edited by Craft
ThePitereq

Posted

Hey. YOur default amount of ducttape is 1, and the randomization is +2 and -2, so it tries to give you an amount in range -1 and 3. It cannot give -1 or 0 so it prints error. Change base value to 3 or change avg value to fix this.

Craft

Posted

That means their quantity settings need to be equal, right?

Additionally, I have set:

"Lot - Min. Items Per Crate": 4,

"Lot - Max. Items Per Crate": 5,

There may be 3 or 7 items in the box

Craft

Posted (edited)

I am now setting up

{

"Shortname": "ducttape",

"Amount": 1,

"Amount Randomizer Amount (+and -)": 0,

"Always Include Chance (0-100)": 100.0,

"Max Always Includes Per Loot (0 to disable)": 0,

Skin: 2433594063,

Display Name:,

"Chance": 1,

Additional Items: []

},

It will show 2 or 3 in the box

 


 

{

"Shortname": "ducttape",

"Amount": 2,

"Amount Randomizer Amount (+and -)": 1,

"Always Include Chance (0-100)": 100.0,

"Max Always Includes Per Loot (0 to disable)": 0,

Skin: 2433594063,

Display Name:,

"Chance": 1,

Additional Items: []

},

It will show 4 in the box

 

1.png

2.png

Edited by Craft
Craft

Posted

{

"Shortname": "ducttape",

"Amount": 3,

"Amount Randomizer Amount (+and -)": 1,

"Always Include Chance (0-100)": 100.0,

"Max Always Includes Per Loot (0 to disable)": 0,

Skin: 2433594063,

Display Name:,

"Chance": 1,

Additional Items: []

},

It will show 11 in the box!

 

3.png

Craft

Posted

I guess the plugin generated the same item repeatedly?

ThePitereq

Posted

You are using "Always Include Chance (0-100)": which means that it will be ALWAYS in loot and you also have "Chance": 1, which means it will be also present when filling up container with different items, if you don't want that set it to 0.

Craft

Posted

Two settings have confused me, thank you for answering them

  • Like 1
1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.1k

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.