LootConfig

Allows you to adjust the server's loot list

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

5/5, 21 likes
  1. Rented server, can't access that file
     
  2. How do you modify your config files?
     
  3. There is a file manager, but because the config file is corrupted it won't let me edit it. Using Host Havoc game servers. Most annoying really
     
  4. So I assume your using an FTP type setup. Can you delete that config? Then reload the plugin to generate a new config? Then edit that new config and add the lines to fix it?
     
  5. Config just returns the same uneditabe file as before.
     
  6. Location of file to edit: c\rustserver\oxide\config\LootConfig.json

    Edit that LootConfig.json I put mine at the top under the "LootContainers" section.


    (15:44:16) | [LootConfig] No container data found: assets/bundled/prefabs/radtown/minecart.prefab

    (15:44:16) | [LootConfig] No container data found: assets/bundled/prefabs/radtown/crate_elite.prefab

    (15:44:16) | [LootConfig] No container data found: assets/prefabs/npc/m2bradley/bradley_crate.prefab


    "LootContainers": {
    "assets/prefabs/npc/m2bradley/bradley_crate.prefab": {
    "DestroyOnEmpty": true,
    "LootDefinition": "HeliLoot",
    "MaxDefinitionsToSpawn": 1,
    "MinSecondsBetweenRefresh": 3600.0,
    "MaxSecondsBetweenRefresh": 7200.0,
    "InitialLootSpawn": true,
    "SpawnType": "CRASHSITE",
    "InventorySlots": 6
    },
    "assets/bundled/prefabs/radtown/crate_elite.prefab": {
    "DestroyOnEmpty": true,
    "LootDefinition": "DM.LootSpawn.T3",
    "MaxDefinitionsToSpawn": 1,
    "MinSecondsBetweenRefresh": 3600.0,
    "MaxSecondsBetweenRefresh": 7200.0,
    "InitialLootSpawn": true,
    "SpawnType": "GENERIC",
    "InventorySlots": 6
    },
    "assets/bundled/prefabs/radtown/minecart.prefab": {
    "DestroyOnEmpty": true,
    "LootDefinition": "LootSpawn.MineCrate",
    "MaxDefinitionsToSpawn": 1,
    "MinSecondsBetweenRefresh": 3600.0,
    "MaxSecondsBetweenRefresh": 7200.0,
    "InitialLootSpawn": true,
    "SpawnType": "GENERIC",
    "InventorySlots": 6
    },
     
  7. can some one update the plugin pls, the elite crates are empty
     
  8. Location of file to edit: c\rustserver\oxide\config\LootConfig.json

    Edit that LootConfig.json I put mine at the top under the "LootContainers" section.


    (15:44:16) | [LootConfig] No container data found: assets/bundled/prefabs/radtown/minecart.prefab

    (15:44:16) | [LootConfig] No container data found: assets/bundled/prefabs/radtown/crate_elite.prefab

    (15:44:16) | [LootConfig] No container data found: assets/prefabs/npc/m2bradley/bradley_crate.prefab


    "LootContainers": {
    "assets/prefabs/npc/m2bradley/bradley_crate.prefab": {
    "DestroyOnEmpty": true,
    "LootDefinition": "HeliLoot",
    "MaxDefinitionsToSpawn": 1,
    "MinSecondsBetweenRefresh": 3600.0,
    "MaxSecondsBetweenRefresh": 7200.0,
    "InitialLootSpawn": true,
    "SpawnType": "CRASHSITE",
    "InventorySlots": 6
    },
    "assets/bundled/prefabs/radtown/crate_elite.prefab": {
    "DestroyOnEmpty": true,
    "LootDefinition": "DM.LootSpawn.T3",
    "MaxDefinitionsToSpawn": 1,
    "MinSecondsBetweenRefresh": 3600.0,
    "MaxSecondsBetweenRefresh": 7200.0,
    "InitialLootSpawn": true,
    "SpawnType": "GENERIC",
    "InventorySlots": 6
    },
    "assets/bundled/prefabs/radtown/minecart.prefab": {
    "DestroyOnEmpty": true,
    "LootDefinition": "LootSpawn.MineCrate",
    "MaxDefinitionsToSpawn": 1,
    "MinSecondsBetweenRefresh": 3600.0,
    "MaxSecondsBetweenRefresh": 7200.0,
    "InitialLootSpawn": true,
    "SpawnType": "GENERIC",
    "InventorySlots": 6
    },
    [DOUBLEPOST=1504557343][/DOUBLEPOST]
    Also if you want upload you config and ill edit it for you.
     
  9. I've only started working on the Barrel drops. Im a little confused on the weighting. I have 3 different tiers of loot with different weights although 90% of the time barrels are only dropping scrap metal. They will occasionally drop an item although seems like it should be more. Especially something from tier 1 since its weighted for 75% drop from the barrel. Can someone look at this and tell me what I can do better in the weighting aspect of the barrel drops
     

    Attached Files:



  10. Yes pls here is the config
     

    Attached Files:

  11. Is the mod owner going to upgrade this mod any time soon. This looks to be a great mod except it also appears to be abandoned and fixes not forthcoming
     
  12. Are you keeping the same seed after force wipe? and same map size?
     
  13. Nogrod updated LootConfig with a new update entry:

    1.0.22

     
  14. So I made a loot table thru the week. Now that there is an update is there an easy way to transfer my stuff into the new json file its going to produce?
     
  15. Config save failed: Object reference not set to an instance of an object

    at Oxide.Plugins.LootConfig+LootSpawnEntryConverter.WriteJson (Newtonsoft.Json.JsonWriter writer, System.Object value, Newtonsoft.Json.JsonSerializer serializer) [0x00000] in <filename unknown>:0

    at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeConvertable (Newtonsoft.Json.JsonWriter writer, Newtonsoft.Json.JsonConverter converter, System.Object value, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonContainerContract collectionContract, Newtonsoft.Json.Serialization.JsonProperty containerProperty) [0x00000] in <filename unknown>:0

    at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeValue (Newtonsoft.Json.JsonWriter writer, System.Object value, Newtonsoft.Json.Serialization.JsonContract valueContract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerProperty) [0x00000] in <filename unknown>:0

    at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeList (Newtonsoft.Json.JsonWriter writer, IEnumerable values, Newtonsoft.Json.Serialization.JsonArrayContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract collectionContract, Newtonsoft.Json.Serialization.JsonProperty containerProperty) [0x00000] in <filename unknown>:0

    (04:08:17) | Calling 'OnServerInitialized' on 'LootConfig v1.0.22' took 1082ms

    can anyone help me with this error?
     
  16. Annnnnnndddd....config still won't load.

    [LootConfig] No SpawnConfig loaded, skipping SpawnGroups...

    Version 1.0.22
     
  17. This means only, that the plugin will not create also specific loottables for the SpawnGroups. In 99% of cases peolle will not chsnge these and this way not needed to take care of the notice.
     
  18. Except in this case, the config can't be edited
     
  19. Idk your final goal on this, but installing SpawnConfig would solve your posted message.
     
  20. yes i am