LootConfig

Allows you to adjust the server's loot list

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

5/5, 21 likes
  1. Latest version isnt working for me, compiles but a new file is never generated
     
  2. Thanks. I will just edit the file then.

    Keep getting this spamming in console when it loads. The chinooklockedcrate.prefab line repeats 12292 times. Is it another plugin conflicting? Will load it by itself and see.

    Code:
    (08:06:26) | Loaded plugin Loot Config v1.0.29 by Nogrod
    (08:06:44) | [Loot Config] No container data found: assets/prefabs/deployable/chinooklockedcrate/codelockedhackablecrate.prefab
    (08:06:44) | [Loot Config] No container data found: assets/scripts/entity/misc/visualstoragecontainer/visualshelvestest.prefab
    (08:06:44) | [Loot Config] No container data found: assets/bundled/prefabs/radtown/loot_component_test.prefab
    (08:06:44) | [Loot Config] No SpawnConfig loaded, skipping SpawnGroups...
    (08:06:44) | [Loot Config] No workbench data found: assets/prefabs/deployable/tier 3 workbench/workbench3.deployed.prefab
    (08:06:44) | [Loot Config] No workbench data found: assets/prefabs/deployable/tier 1 workbench/workbench1.deployed.prefab
    (08:06:44) | [Loot Config] No workbench data found: assets/prefabs/deployable/tier 2 workbench/workbench2.deployed.prefab
    (08:06:44) | [Loot Config] No workbench data found: assets/prefabs/deployable/tier 3 workbench/workbench3.deployed.prefab
     
  3. I have 28mb log file because spam about underwatercrate, no container data found. I think it's even lagging my server
     
  4. Anyone using this plugin, that doesn't get 100,000 chinook/dive site crates spawned, if those things are enabled ? Anyone know how, why ?
     
  5. i install this plugin, he create LootConfig.json but it's empty. why?
    [DOUBLEPOST=1525870952][/DOUBLEPOST]when load this plugin i have this error:

    Code:
    [Loot Config] Config save failed: An element with the same key already exists in the dictionary.
      at System.Collections.Generic.Dictionary`2[System.String,Workbench].Add (System.String key, .Workbench value) [0x00000] in <filename unknown>:0
      at System.Linq.Enumerable.ToDictionary[Workbench,String,Workbench] (IEnumerable`1 source, System.Func`2 keySelector, System.Func`2 elementSelector, IEqualityComparer`1 comparer) [0x00000] in <filename unknown>:0
      at System.Linq.Enumerable.ToDictionary[Workbench,String] (IEnumerable`1 source, System.Func`2 keySelector, IEqualityComparer`1 comparer) [0x00000] in <filename unknown>:0
      at System.Linq.Enumerable.ToDictionary[Workbench,String] (IEnumerable`1 source, System.Func`2 keySelector) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.LootConfig.CreateDefaultConfig () [0x00000] in <filename unknown>:0
     
  6. I uploaded on server plugin when stopped, then after start plugin created config/LootConfig.json with:
    Code:
    {}
    
     
  7. Wulf

    Wulf Community Admin

    Are you looking for Hurtworld or Rust? You posted under Rust's version.
     
  8. @Wulf Rust, yes. Im newbie in Rust :D
     
  9. Wulf

    Wulf Community Admin

    Did you see any errors in your console/log? Did you try the loot.reload command?
     
  10. Code:
    17:48 [Info] [Loot Config] Incorrect config version(0/0[0, 0])
    17:48 [Info] [Loot Config] Config save failed: An element with the same key already exists in the dictionary.
      at System.Collections.Generic.Dictionary`2[System.String,Workbench].Add (System.String key, .Workbench value) [0x00000] in <filename unknown>:0 
      at System.Linq.Enumerable.ToDictionary[Workbench,String,Workbench] (IEnumerable`1 source, System.Func`2 keySelector, System.Func`2 elementSelector, IEqualityComparer`1 comparer) [0x00000] in <filename unknown>:0 
      at System.Linq.Enumerable.ToDictionary[Workbench,String] (IEnumerable`1 source, System.Func`2 keySelector, IEqualityComparer`1 comparer) [0x00000] in <filename unknown>:0 
      at System.Linq.Enumerable.ToDictionary[Workbench,String] (IEnumerable`1 source, System.Func`2 keySelector) [0x00000] in <filename unknown>:0 
      at Oxide.Plugins.LootConfig.CreateDefaultConfig () [0x00000] in <filename unknown>:0 
    
    @Wulf is there somewhere good config to download? I think that what i need to work this plugin.
     
    Last edited by a moderator: May 18, 2018
  11. Bro do you know any fix about error in RPC_Beginexperiment ? I seem to get it sporadically and not only when changed/reloaded LootConfig without server restart, as was the suggested cause , somewhere.

    Sidenote: underwater crate stopped spawning too many. i don't know why. haven't tested chinook yet since that happened.
     
  12. I get the exact same error as onStyle and also have the exact same content in the LootConfig.json
    Is there a fix for this?

    Code:
    {}
    Code:
    [Loot Config] Incorrect config version(0/0[0, 0])
    [Loot Config] Config save failed: An element with the same key already exists in the dictionary.
      at System.Collections.Generic.Dictionary`2[System.String,Workbench].Add (System.String key, .Workbench value) [0x00000] in <filename unknown>:0
      at System.Linq.Enumerable.ToDictionary[Workbench,String,Workbench] (IEnumerable`1 source, System.Func`2 keySelector, System.Func`2 elementSelector, IEqualityComparer`1 comparer) [0x00000] in <filename unknown>:0
      at System.Linq.Enumerable.ToDictionary[Workbench,String] (IEnumerable`1 source, System.Func`2 keySelector, IEqualityComparer`1 comparer) [0x00000] in <filename unknown>:0
      at System.Linq.Enumerable.ToDictionary[Workbench,String] (IEnumerable`1 source, System.Func`2 keySelector) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.LootConfig.CreateDefaultConfig () [0x00000] in <filename unknown>:0
     
  13. Wulf

    Wulf Community Admin

    Wulf updated LootConfig with a new update entry:

    1.0.30

     
  14. Still getting this error after the plugin update.
    Code:
    [Loot Config] Incorrect config version(0/0[0, 0])
    [Loot Config] Config save failed: An element with the same key already exists in the dictionary.
      at System.Collections.Generic.Dictionary`2[System.String,Workbench].Add (System.String key, .Workbench value) [0x00000] in <filename unknown>:0
      at System.Linq.Enumerable.ToDictionary[Workbench,String,Workbench] (IEnumerable`1 source, System.Func`2 keySelector, System.Func`2 elementSelector, IEqualityComparer`1 comparer) [0x00000] in <filename unknown>:0
      at System.Linq.Enumerable.ToDictionary[Workbench,String] (IEnumerable`1 source, System.Func`2 keySelector, IEqualityComparer`1 comparer) [0x00000] in <filename unknown>:0
      at System.Linq.Enumerable.ToDictionary[Workbench,String] (IEnumerable`1 source, System.Func`2 keySelector) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.LootConfig.CreateDefaultConfig () [0x00000] in <filename unknown>:0
    Calling 'cmdConsoleReload' on 'LootConfig v1.0.30' took 792ms
     
    Last edited by a moderator: May 22, 2018
  15. Using 1.0.30, get the same error as everyone else; doesn't generate a proper json file so nothing works.
     
  16. @Wulf I installed this on my test server to see if the error these people are getting is down to the plugin and it is I only had this plugin installed to test
    Code:
    12:15 [Info] [Loot Config] Incorrect config version(0/0[0, 0])
    12:15 [Info] [Loot Config] Config save failed: An element with the same key already exists in the dictionary.
      at System.Collections.Generic.Dictionary`2[System.String,Workbench].Add (System.String key, .Workbench value) [0x00000] in <filename unknown>:0
      at System.Linq.Enumerable.ToDictionary[Workbench,String,Workbench] (IEnumerable`1 source, System.Func`2 keySelector, System.Func`2 elementSelector, IEqualityComparer`1 comparer) [0x00000] in <filename unknown>:0
      at System.Linq.Enumerable.ToDictionary[Workbench,String] (IEnumerable`1 source, System.Func`2 keySelector, IEqualityComparer`1 comparer) [0x00000] in <filename unknown>:0
      at System.Linq.Enumerable.ToDictionary[Workbench,String] (IEnumerable`1 source, System.Func`2 keySelector) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.LootConfig.CreateDefaultConfig () [0x00000] in <filename unknown>:0
    12:15 [Warning] Calling 'OnServerInitialized' on 'LootConfig v1.0.30' took 8618ms
     
    Last edited by a moderator: May 22, 2018
  17. same, 1030 version stilll doesnt work

    Code:
    [Loot Config] Config save failed: An element with the same key already exists in the dictionary.
      at System.Collections.Generic.Dictionary`2[System.String,Workbench].Add (System.String key, .Workbench value) [0x00000] in <filename unknown>:0
      at System.Linq.Enumerable.ToDictionary[Workbench,String,Workbench] (IEnumerable`1 source, System.Func`2 keySelector, System.Func`2 elementSelector, IEqualityComparer`1 comparer) [0x00000] in <filename unknown>:0
      at System.Linq.Enumerable.ToDictionary[Workbench,String] (IEnumerable`1 source, System.Func`2 keySelector, IEqualityComparer`1 comparer) [0x00000] in <filename unknown>:0
      at System.Linq.Enumerable.ToDictionary[Workbench,String] (IEnumerable`1 source, System.Func`2 keySelector) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.LootConfig.CreateDefaultConfig () [0x00000] in <filename unknown>:0
     
     
    Last edited by a moderator: May 24, 2018
  18. Im sure that @Wulf is working at it and should be release soon, because he wants to do universal plugin LootConfig. He isn't current maintainer of this plugin then it will take some time.
     
  19. Wulf

    Wulf Community Admin

    This isn't my plugin, but I will look into it as able. I'm not the maintainer of either technically, just posting fixes as able for unmaintained plugins. I've also never said anything about doing a universal loot plugin nor do I have a desire to. :p
     
  20. To ask for let somebody put it up own LootConfig.json file!! :)
    Like that interests what much loot is :)