Jump to content

Console error

Closed 1.5.3

 "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

Share this comment


Link to comment

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.

Share this comment


Link to comment

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

Share this comment


Link to comment

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

Share this comment


Link to comment

{

"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

Share this comment


Link to comment

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.

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.7k

Customers

Total customers served.

82.2k

Files Sold

Total number of files sold.

1.6m

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.