BetterLoot

Moved

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

4.95699/5, 93 likes
  1. Needs update, not working.

    [Oxide] 18:45 [Error] [BetterLoot] OnTick scheduled update failed: Object reference not set to an instance of an object
     
  2. You might first ot check with a clean Plugin start (=fresh install), and if that not solves it, check maybe Plugins like ItemConfig, which modified anything Item related.
    Otherwise its not possible to define your error-cause.
     
  3. It worked fine before the update, but I will reinstall. Thanks.

    Apparently the problem is I added the MP5 to the list, and it rejected the name "smg.MP5" do you know of its actual name so I can put it in the list?
     
    Last edited by a moderator: Oct 21, 2016
  4. It it would be code/functions based it would not compile, if something would not more exist, it would throw another error.
    So the fresh install check is the first way to exclude some things, right.
     
  5. I had this issue, I had to delete the BetterLoot folder in oxide/data folder and allow the plugin to regenerate it on reload.
     
  6. soo this may be a novice question. However upon instalation i have now lost all my weapon crates? what is needed to put in the cfg to get them back?
     
  7. BetterLoot does'nt manage/control and spawning of Loot, it does only control whats in there.
    Secondly it does "Kill" all LootContainers which spawn empty. So in cases you got any configuration, which will populate those loot types with zero loot, then they will be killed too.
     
  8. Now getting this after a re-install to fix the OnTick issue:

    (11:55:27) | [Oxide] 11:55 [Warning] [BetterLoot] Plugin not active after first Setup. Change 'pluginEnabled' by config

    But in the config :

    "pluginEnabled": true,

    Any ideas ?
     
  9. plugin reloaded?
     
  10. Several times - and server rebooted.
     
  11. Then: No idea, the switch should enable the plugin. Seems like you got any other problem loading config files.
     
  12. No, nothing else, just this plugin.
     
  13. Hello,
    Some days ago i had various items in the loot box in radtowns, since the last oxide uptade i think, i have only one item in boxes.
    My config is :


    {
    "Barrel": {
    "barrelTypes": "loot-barrel|loot_barrel",
    "enableBarrels": true,
    "giveXpBarrel": true,
    "maxItemsPerBarrel": 6,
    "maxXpScaleBarrel": 1.0,
    "minItemsPerBarrel": 4,
    "minXpScaleBarrel": 1.0,
    "refreshBarrels": true
    },
    "Chances": {
    "baseItemRarity": 2
    },
    "Crate": {
    "crateTypes": "crate_normal",
    "enableCrates": true,
    "giveXpCrate": true,
    "maxItemsPerCrate": 6,
    "maxXpScaleCrate": 1.0,
    "minItemsPerCrate": 5,
    "minXpScaleCrate": 1.0,
    "refreshCrates": true
    },
    "Generic": {
    "delayPluginInit": 3,
    "dropWeaponsWithAmmo": true,
    "enforceBlacklist": true,
    "listUpdatesOnLoaded": true,
    "listUpdatesOnRefresh": false,
    "pluginEnabled": true,
    "refreshMinutes": 30,
    "removeStackedContainers": false,
    "seperateLootTables": false
    },
    "HeliCrate": {
    "excludeHeliCrate": false,
    "giveXpHeliCrate": true,
    "maxItemsPerHeliCrate": 10,
    "maxXpScaleHeliCrate": 1.0,
    "minItemsPerHeliCrate": 8,
    "minXpScaleHeliCrate": 1.0,
    "useCustomTableHeli": true
    },
    "RarityIndex": {
    "ItemOverrides": {
    "autoturret": 3,
    "box.wooden": 0,
    "crude.oil": 1,
    "fat.animal": 0,
    "furnace": 0,
    "hq.metal.ore": 0,
    "lmg.m249": 3,
    "metal.fragments": 1,
    "metal.refined": 3,
    "mining.quarry": 2,
    "researchpaper": 0,
    "rifle.lr300": 2,
    "spikes.floor": 1,
    "stash.small": 0,
    "target.reactive": 1,
    "targeting.computer": 2,
    "trap.bear": 1,
    "trap.landmine": 2,
    "water.catcher.large": 1,
    "water.catcher.small": 1
    }
    },
    "SupplyDrop": {
    "giveXpSupplyDrop": true,
    "includeSupplyDrop": true,
    "maxItemsPerSupplyDrop": 8,
    "maxXpScaleSupplyDrop": 1.0,
    "minItemsPerSupplyDrop": 6,
    "minXpScaleSupplyDrop": 1.0,
    "useCustomTableSupply": true
    }
    }
    I dont understand where is the mistake,
    Thank you for your help,
    Barbarlas
     
  14. /loot > ingame not working < ;)
    And items ingame to lock is not synonymous or does one have to make the only over the config ?

    thanks for read

    hightower
     
  15. "/loot" was disabled since 2.8.0
    >>>>
    • Added option seperateLootTables (default: false) to provide different loot lists for barrels and crates
      INFO: your existing loottable file will be updated
    • removed chatcommand "/lootreload"
    • temporary disabled chatcommand "/loot"
    And to the second part, I did not understand the background of your question.
     
  16. where do i paste your config in the consol?
     
  17. paste config into console? For which reason?
    The configs are autogenerated.
     
  18. oohhhhh thanks mate
     
  19. Latest version
    [Oxide] 01:36 [Error] [BetterLoot] OnTick scheduled update failed: Array index is out of range.

    How to fix it?
    And loot is same as vanilla right now
     
  20. You did set any of the ItemRarityOverrides higher then 3 ;)