Jump to content

After this update, the number of loot configurations is incorrect.

Closed 1.4.6

laodu
laodu

Posted

"Enable spawn of items from the list": true,
        "Minimum numbers of items": 1,
        "Maximum numbers of items": 1,

I set the maximum value to 1 according to this configuration, but the actual loot output is more than 1, sometimes 2 or more loot outputs.

Adem

Posted

Send the plugin config

Adem

Posted

Changed Status from Pending to Work in Progress

laodu

Posted

39 minutes ago, Adem said:

Send the plugin config

The loot item I set for this configuration is 1, but the loot items it produces are all greater than 1

Sputnik.json

Adem

Posted

The reason is that you are not clearing the standard contents of the container
That is, the standard content remains in the container and adds one item from the list
image.png.cfbc9496e335b167664433c9e01d810c.png

Adem

Posted

Changed Status from Work in Progress to Closed

laodu

Posted

40 minutes ago, Adem said:

The reason is that you are not clearing the standard contents of the container
That is, the standard content remains in the container and adds one item from the list
image.png.cfbc9496e335b167664433c9e01d810c.png

Based on your response, I understand that you haven't finished reading the configuration. The standard loot content has been added, but the additional items I added are all customized items with skins. The current issue is that the number of additional items with skins added is incorrect. I set it to item 1, but the added items are all greater than 1.

laodu

Posted

"Clear the standard content of the crate": true,

I will only keep my custom items according to this setting. I set the maximum loot to 1, but the number of loot produced is still greater than 1

laodu

Posted (edited)

QQ20241126224304.png.2084b48057e1713290dc7acc4056bd2d.pngThis picture clearly expresses it. There are 6 custom items with skins. However, I set the maximum value in the configuration to 1, so this quantity is incorrect. It should be 1

Edited by laodu
Adem

Posted

What is the preset of the crate from the config?

1 minute ago, laodu said:

QQ20241126224304.png.2084b48057e1713290dc7acc4056bd2d.pngThis picture clearly expresses it. There are 6 custom items with skins. However, I set the maximum in the configuration to 1

 

laodu

Posted

3 minutes ago, Adem said:

What is the preset of the crate from the config?

 

According to the configured custom items, I set the quantity to 1, and it should randomly generate a maximum quantity of 1 custom item based on their respective probabilities. This is the right way. This is my understanding.

Adem

Posted

Yes, I need to know which Craite you're talking about. Text its preset name

laodu

Posted

"Crate presets": [
    {
      "Preset Name": "chinooklockedcrate_spacecard",
      "Prefab": "assets/prefabs/deployable/chinooklockedcrate/codelockedhackablecrate.prefab",
      "Do you need to use a space card to open the box? [true/false]": true,
      "Time to unlock the crates (LockedCrate) [sec.]": 60.0,
      "Own loot table": {
        "Allow the AlphaLoot plugin to spawn items in this crate": false,
        "The name of the loot preset for AlphaLoot": "",
        "Allow the CustomLoot plugin to spawn items in this crate": false,
        "Allow the Loot Table Stacksize GUI plugin to spawn items in this crate": false,
        "Clear the standard content of the crate": false,
        "Setting up loot from the loot table": {
          "Enable spawn loot from prefabs": false,
          "List of prefabs (one is randomly selected)": [
            {
              "Prefab displayName": "assets/bundled/prefabs/radtown/underwater_labs/crate_food_1.prefab",
              "Minimum Loot multiplier": 1,
              "Maximum Loot multiplier": 1
            }
          ]
        },
        "Enable spawn of items from the list": true,
        "Minimum numbers of items": 1,
        "Maximum numbers of items": 1,
        "List of items": [
          {
            "ShortName": "xmas.present.large",
            "Minimum": 1,
            "Maximum": 1,
            "Chance [0.0-100.0]": 0.1,
            "Is this a blueprint? [true/false]": false,
            "SkinID (0 - default)": 3042488911,
            "Name (empty - default)": "1000金币",
            "List of genomes": []
          },
          {
            "ShortName": "box.repair.bench",
            "Minimum": 1,
            "Maximum": 1,
            "Chance [0.0-100.0]": 0.2,
            "Is this a blueprint? [true/false]": false,
            "SkinID (0 - default)": 1594245394,
            "Name (empty - default)": "专属分解机",
            "List of genomes": []
          },
          {
            "ShortName": "electric.generator.small",
            "Minimum": 1,
            "Maximum": 1,
            "Chance [0.0-100.0]": 0.3,
            "Is this a blueprint? [true/false]": false,
            "SkinID (0 - default)": 0,
            "Name (empty - default)": "专属发电机",
            "List of genomes": []
          },
          {
            "ShortName": "xmas.present.large",
            "Minimum": 1,
            "Maximum": 1,
            "Chance [0.0-100.0]": 0.4,
            "Is this a blueprint? [true/false]": false,
            "SkinID (0 - default)": 3060907784,
            "Name (empty - default)": "100金币",
            "List of genomes": []
          },
          {
            "ShortName": "xmas.present.large",
            "Minimum": 1,
            "Maximum": 1,
            "Chance [0.0-100.0]": 0.5,
            "Is this a blueprint? [true/false]": false,
            "SkinID (0 - default)": 3036996058,
            "Name (empty - default)": "经验怪召唤卷",
            "List of genomes": []
          },
          {
            "ShortName": "xmas.present.large",
            "Minimum": 1,
            "Maximum": 1,
            "Chance [0.0-100.0]": 0.6,
            "Is this a blueprint? [true/false]": false,
            "SkinID (0 - default)": 3036995933,
            "Name (empty - default)": "经验怪召唤卷",
            "List of genomes": []
          },
          {
            "ShortName": "xmas.present.large",
            "Minimum": 1,
            "Maximum": 1,
            "Chance [0.0-100.0]": 0.7,
            "Is this a blueprint? [true/false]": false,
            "SkinID (0 - default)": 3036995778,
            "Name (empty - default)": "经验怪召唤卷",
            "List of genomes": []
          },
          {
            "ShortName": "xmas.present.large",
            "Minimum": 1,
            "Maximum": 1,
            "Chance [0.0-100.0]": 0.8,
            "Is this a blueprint? [true/false]": false,
            "SkinID (0 - default)": 3036995642,
            "Name (empty - default)": "经验怪召唤卷",
            "List of genomes": []
          },
          {
            "ShortName": "xmas.present.large",
            "Minimum": 1,
            "Maximum": 1,
            "Chance [0.0-100.0]": 0.9,
            "Is this a blueprint? [true/false]": false,
            "SkinID (0 - default)": 3036995445,
            "Name (empty - default)": "经验怪召唤卷",
            "List of genomes": []
          },
          {
            "ShortName": "xmas.present.large",
            "Minimum": 1,
            "Maximum": 1,
            "Chance [0.0-100.0]": 1.0,
            "Is this a blueprint? [true/false]": false,
            "SkinID (0 - default)": 3037476210,
            "Name (empty - default)": "100积分",
            "List of genomes": []
          },
          {
            "ShortName": "xmas.present.large",
            "Minimum": 1,
            "Maximum": 1,
            "Chance [0.0-100.0]": 1.1,
            "Is this a blueprint? [true/false]": false,
            "SkinID (0 - default)": 3037476210,
            "Name (empty - default)": "100积分",
            "List of genomes": []
          },
          {
            "ShortName": "xmas.present.large",
            "Minimum": 1,
            "Maximum": 1,
            "Chance [0.0-100.0]": 1.2,
            "Is this a blueprint? [true/false]": false,
            "SkinID (0 - default)": 3037476400,
            "Name (empty - default)": "500积分",
            "List of genomes": []
          },
          {
            "ShortName": "xmas.present.large",
            "Minimum": 1,
            "Maximum": 1,
            "Chance [0.0-100.0]": 2.2,
            "Is this a blueprint? [true/false]": false,
            "SkinID (0 - default)": 3037476210,
            "Name (empty - default)": "100积分",
            "List of genomes": []
          },
          {
            "ShortName": "xmas.present.large",
            "Minimum": 1,
            "Maximum": 1,
            "Chance [0.0-100.0]": 12.0,
            "Is this a blueprint? [true/false]": false,
            "SkinID (0 - default)": 3037476210,
            "Name (empty - default)": "100积分",
            "List of genomes": []
          },
          {
            "ShortName": "ducttape",
            "Minimum": 1,
            "Maximum": 1,
            "Chance [0.0-100.0]": 13.0,
            "Is this a blueprint? [true/false]": false,
            "SkinID (0 - default)": 3331952735,
            "Name (empty - default)": "挑战令牌",
            "List of genomes": []
          },
          {
            "ShortName": "xmas.present.large",
            "Minimum": 1,
            "Maximum": 1,
            "Chance [0.0-100.0]": 14.0,
            "Is this a blueprint? [true/false]": false,
            "SkinID (0 - default)": 3060907784,
            "Name (empty - default)": "100金币",
            "List of genomes": []
          },
          {
            "ShortName": "xmas.present.large",
            "Minimum": 1,
            "Maximum": 1,
            "Chance [0.0-100.0]": 100.0,
            "Is this a blueprint? [true/false]": false,
            "SkinID (0 - default)": 3042493435,
            "Name (empty - default)": "500金币",
            "List of genomes": []
          }
        ]
      }
    },

 

Adem

Posted

Thank you. I'll test it.

1.7m

Downloads

Total number of downloads.

7.8k

Customers

Total customers served.

117.9k

Files Sold

Total number of files sold.

2.4m

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.