BetterLoot

Moved

Total Downloads: 42,624 - First Release: Feb 26, 2015 - Last Update: Mar 20, 2018

4.95699/5, 93 likes
  1. simple..look at your FIRST sign left of the bracket:

    Code:
    I{
      "ItemList": {
        "rifle.ak": 1,
     
  2. Hi. Thank you very much for this awesome Plugin! I am very happy with my custom LootTable :)
    Now i 'just' have to get the rarity's 0-3 right in the configfile.
    -> Do i really need to copy the itemnames step by step from LootTable.json to BetterLoot.json or is it somehow possible, that the LootTable-items get copied into the configfile automaticly, maybe even with their default rarity-settings?
     
  3. How block one item to spawn in barrels?
     
  4. CHR

    CHR

    with 0 in rarity i guess?
     
  5. i will try, thx
     
  6. 0 in rarity means 'common' so it will spawn often and it has nothing to do with the barells specificly, read the overwiev please, Fujikura doesnt like questions that point out, that you didnt read it, which you would know if you would read it ^^
    I would either set it to rarity 2 / 3 in the configfile to make it rare/very rare, or set the amount in the datafile LootTable to 0 -> preventing it from spawning at all. But how to exlusivly prevent a item from spawning in barrels, i dont know.

    Help me Fujikura, i can read and still have some questions :p

    Maybe you could add a tiny bit of extra info about the configfile?
    Is actually every item on rarity 2 by default? so i dont need to copy the ones into the config, that i want to be set on rarity 2 (rare)?
     
    Last edited by a moderator: Aug 29, 2016
  7. Hi there im wondering if i can seperate the loot that falls in barrels and the "military" crates do i make a seperate json file? any help would be great!

    Also some items just never spawn.. the two main ones being Targeting computer and the new lr300 rifle, ive tried reloading the loot many times and even adding them to more tables but having no luck.
     
  8. First of all, you are right, the information to configure it like that isn't found in the description.
    The plugin does'nt support splitted configs to prevent items from spawning in maybe crates but to spawn them in barrels.
    You can only block them global, either by removing the lines from the LootTable.json, or by adding those to the Blacklist.json.
    [DOUBLEPOST=1472488403][/DOUBLEPOST]
    First one: Nope, not suppoted by the plugin.

    Second: The lr300 has again, like many other items in the past, become a server default rarity NONE, which is not recognized by the plugin.
    For those cases, the last patch did include this part in the config:

    Code:
      "RarityIndex": {
        "ItemOverrides": {
          "autoturret": 3,
         "...."
    You need to add it there, additionally to the LootTable, to let it spawn.
    And you need to give it a custom plugin-rarity from 0-3.
    Example "rifle.lr300": 2
     
  9. i did as you said and added item overided in config and added auto turret, computer and lr 300 but i then went into some of my json files did some edits and then relaunched my server....

    but not the plugin dosent seem to be working on the server and all the loot has gone back to "Vanilla" and im not sure why? have i done something wrong? this is how it looks in the config...

    .....


    "HeliCrate": {
    "excludeHeliCrate": false,
    "giveXpHeliCrate": true,
    "m249RarityIndex": 1,
    "maxItemsPerHeliCrate": 4,
    "maxXpScaleHeliCrate": 2.0,
    "minItemsPerHeliCrate": 4,
    "minXpScaleHeliCrate": 2.0,
    "useCustomTableHeli": true
    },
    "RarityIndex": {
    "ItemOverrides": {
    "autoturret": 2,
    "rifle.lr300": 2,
    "targeting.computer": 2

    },
    "SupplyDrop": {
    "giveXpSupplyDrop": true,
    "includeSupplyDrop": false,
    "maxItemsPerSupplyDrop": 6,
    "maxXpScaleSupplyDrop": 1.0,
    "minItemsPerSupplyDrop": 3,
    "minXpScaleSupplyDrop": 1.0,
    "useCustomTableSupply": true

    .....

    Also in rcon i only recieve the message ...
    [Oxide] 01:58 [Info] Loaded plugin BetterLoot v2.6.3 by dcode/Fujikura


    And then nothing else afterwards... reload loot dosent work anymore and /loot in chat also shows nothing..
     
  10. I keep getting the error
    "[Warning] [BetterLoot] Failed to obtain ammo item: arrow.wooden"

    Any idea where I can correct this?
     
  11. The you should begin from scratch again...In most cases it solves any issues.
    And, maybe, you miss only a "}" after TargetingComputer
     
    Last edited by a moderator: Aug 30, 2016
  12. Was it entered in config properly though?

    And by start again do you mean delete better loot and re do it or do i have to also delete all my other plugins...

    and will i have to include item overide in config when i delete and redo it?
     
  13. The whole override part is automatically added in the config..you need only to add "rifle.lr300" to this and to your loottable.
     
  14. but i had to add the over ride part? has it just recently been added? or will it be there this time if i delete the plugin and re download..
     
  15. Latest patch did include it ;)
     
  16. I have deleted all Better Loot files and then downloaded the latest version, ive just edited all my json files and launched my server and still having no sucsess like before after i tried to edit :(

    Any help would be greatly appreciated
     
  17. **EDIT**

    Ive managed to get the better loot working again but not all the items on the json file are spawning in...

    for example i have 18 items in the heli table but its telling me its going to use 16 items from the heli table. Is there a way to ensure all items from all tables are being used by the plugin?

    *EDIT**
     
  18. It does exclude those with no given rarity by game (Rarity.None) or not existing ones...
     
  19. Can this be fixed by me in the data or config folder? or is it just something we have to deal with?
     
  20. Second one....unless you check out, which items in your loottable might have no game rarity and yre not included in the config rarityoverride part.
    I did include the list in the latest patch-notes...