LootConfig

Allows you to adjust the server's loot list

Total Downloads: 14,987 - First Release: Mar 27, 2015 - Last Update: May 20, 2018

5/5, 21 likes
  1. So this cfg. file will help me put decent loot in the green crates at the monuments, instead of duck tape, glue and minnows?? I just want good loot in the green crates and no more sticks, glue, bleach, duck tape, etc in the barrels and crates.
     
  2. Job for few mins, use notepad++ and use ctrl+f to search things that you want to remove, then simply remove them ;) Lootconfig looks like complicated thing, but trust me, its just for few mins, little testing and you will see how much powerfull it is and such easy ;)
     
  3. I'll check out notepad++ when I get home this evening. Thank you for responding
     
  4. Code:
    SubCategoryIntoContainer: This should never happen!
    Guess this is caused by the new junkpiles?
     
  5. This has been happening for several patches.
     
  6. Code:
    SubCategoryIntoContainer: This should never happen!
    This is the first wipe that I have this spamming my console D:
     
  7. Same here.
     
  8. Code:
    SubCategoryIntoContainer: This should never happen!
    SubCategoryIntoContainer: This should never happen!
    SubCategoryIntoContainer: This should never happen!
    SubCategoryIntoContainer: This should never happen!
    SubCategoryIntoContainer: This should never happen!
    SubCategoryIntoContainer: This should never happen!
    SubCategoryIntoContainer: This should never happen!
    SubCategoryIntoContainer: This should never happen!
    SubCategoryIntoContainer: This should never happen!

    deleted the setting... still it will be displayed.
     
  9. I just added "SubCategoryIntoContainer" as a hidden filter so it doesn't spam my rcon
     
  10. Thank You
     
  11. So I spent about 45 minutes setting this plugin up just a few days ago, and now it makes it .old and makes a new config. Since I don't want to go through the process of editing everything again, can I just change the version number at the top? Or does that break things? I changed a lot of stuff on mine, I don't want to do this over and over again every update...
     
  12. the best way imo is get some editor that allow you to compare both files (i use vscode).
    that way will be much faster, and you will not break the game.
    first, find the word "Categories" in the file, then just scroll down until you find a difference between the files:
    upload_2017-1-13_23-1-29.png
     

    Attached Files:

  13. Anybody arround having default LootConfig.json config file? :) I have only my managed/changed ones and I need kinda the default one that was after the last update - everytime I delete my cfg and reload LootConfig I get back my changed lootconfig.json in server, not sure if server restart loading would fix it - will try lkater - so thats why asking ;)
     
  14. I keep getting this spam when I load the plugin in for the first time.

    (15:05:56) | Calling 'OnServerInitialized' on 'LootConfig v1.0.17' took 1205ms
    (15:05:56) | [LootConfig] No spawngroup data found: unkown
    (15:05:56) | [LootConfig] No spawngroup data found: unkown
    (15:05:56) | [LootConfig] No spawngroup data found: unkown
    (15:05:56) | [LootConfig] No spawngroup data found: unkown
    (15:05:56) | [LootConfig] No spawngroup data found: unkown
    (15:05:56) | [LootConfig] No spawngroup data found: unkown
    (15:05:56) | [LootConfig] No spawngroup data found: unkown
    (15:05:56) | [LootConfig] No spawngroup data found: unkown
    (15:05:56) | [LootConfig] No spawngroup data found: unkown
    (15:05:56) | [LootConfig] No spawngroup data found: unkown
    (15:05:56) | [LootConfig] No spawngroup data found: unkown
    (15:05:56) | [LootConfig] No spawngroup data found: unkown
    (15:05:56) | [LootConfig] No spawngroup data found: unkown
    (15:05:56) | [LootConfig] No spawngroup data found: unkown
    (15:05:56) | [LootConfig] No spawngroup data found: unkown
    (15:05:56) | [LootConfig] No spawngroup data found: unkown
    (15:05:56) | [LootConfig] No spawngroup data found: unkown
    (15:05:56) | [LootConfig] No spawngroup data found: unkown
    (15:05:56) | [LootConfig] No spawngroup data found: unkown
    (15:05:56) | [LootConfig] No spawngroup data found: unkown
    (15:05:56) | [LootConfig] No spawngroup data found: unkown
    (15:05:56) | [LootConfig] No spawngroup data found: unkown
    (15:05:56) | [LootConfig] No spawngroup data found: unkown
    (15:05:56) | [LootConfig] No spawngroup data found: unkown
    (15:05:56) | [LootConfig] No spawngroup data found: unkown
    (15:05:56) | [LootConfig] No spawngroup data found: unkown
    (15:05:56) | [LootConfig] No spawngroup data found: unkown
    (15:05:56) | [LootConfig] No spawngroup data found: unkown
    (15:05:56) | [LootConfig] No spawngroup data found: unkown
    (15:06:01) | [LootConfig] No container data found: assets/bundled/prefabs/radtown/crate_tools.prefab
     
  15. You guys that are modded and use LootConfig getting this error when people try and open the purple crates?
    Kicked: RPC Error in RPC_OpenLoot

    Sometimes it will kick people with that error or other times it will just give them an empty crate.

    I assume its LootConfig as the crates prefab is crate_tools and lootconfig has no line for crate_tools
     
  16. having same problem here.
    i changed the code to add crate_tools, but when i tried to reload lootconfig, the config file didn't changed.
    i will try remove the mod, restart, and add lootconfig again to see what happens. if it works i'll post my version.
     
  17. Hey, I have a fix if you're using LootConfig and have been getting the error:
    Code:
    No container data found: assets/bundled/prefabs/radtown/crate_tools.prefab
    All you need to do is add the container into the top of the config file as such:
    Code:
    "assets/bundled/prefabs/radtown/crate_tools.prefab": {
          "DestroyOnEmpty": true,
          "LootDefinition": "Collection.Rifles",
          "MaxDefinitionsToSpawn": 1,
          "MinSecondsBetweenRefresh": 3600.0,
          "MaxSecondsBetweenRefresh": 7200.0,
          "DistributeFragments": true,
          "InitialLootSpawn": true,
          "SpawnType": "GENERIC",
          "InventorySlots": 6
        },
    Just change the "Collection.Rifles" to whatever you please.

    Simple as that! Enjoy.
     
    Last edited by a moderator: Jan 17, 2017
  18. i made it work too.

    thats what i did:
    - remove LootConfig.cs and LootConfig.json;
    - restart the server;
    - include my fixed version of LootConfig.cs;
    - change the new generated LootConfig.json to put components at 2x or whatever you want;
    - on console, type: loot.reload.

    my version also includes a fix to the bug that makes all loots drops only the minimum value, not randomizing between Amount and MaxAmount.
     
  19. How do I get tools, weapons, armor items in the black/purple crates on the trash piles?
     
  20. look at my last post.