BetterLoot

Moved

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

4.95699/5, 93 likes
  1. You are right, its normally simply that..but i've seen now, FP has once again decide to change some item rarity's, whats more and more breaking the plugin base calculation algorithm...Actually, it will not spawn a lot of stuff, because FP changed them into "Rarity None". Blueprint fragments and books, for example, had on their active time in game a rarity, the new ResearchPaper has'nt...So actually, any setting is useless.

    Best way actually is to exclude "loot-barrel-1" from being affected by BL. The setting for barrels should then this:
    Code:
        "barrelTypes": "loot-barrel-2|loot_barrel",
    [DOUBLEPOST=1471732004][/DOUBLEPOST]
    Yep, you are wrong: Its not an easy fix...
     
  2. How can i set the minimum amount on a drop? I set heli drops for ammo to about 500. Only got 150 for 1 and about 80 for second ammo drop.
     
  3. chill man, guess i just missed that
    [DOUBLEPOST=1471809882][/DOUBLEPOST]
    how would i go about making the plugin spawn the research paper in then? or would it just be easy to remove the plugin.
     
  4. Is does only support from 0-(your limit) and will be calulated random between.
    [DOUBLEPOST=1471854567][/DOUBLEPOST]
    researchpaper will be spawned by default in "loot-barrel-1". The above setting does exclude those from being changed by betterloot, to let them spawn by the default LootSpawn definition. Another solution is currently not given.
     
  5. so is it just easier to remove the plugin for a while?
     
  6. Maybe yes...currently more items the expected have become "rarity none".
    Furthermore i did not plan to update the plugin anymore, because of those upcoming problems. Maybe i find an easy override, then i'll publish this as hotfix...
    [DOUBLEPOST=1471871330][/DOUBLEPOST]Actually the following items in Game have "Rarity.None", which the plugin will not consider then:
    Code:
    ammo.rocket.smoke
    autoturret
    battery.small
    trap.bear
    blood
    blueprintbase
    box.wooden
    candycane
    charcoal
    coal
    crude.oil
    door.key
    fat.animal
    fish.cooked
    fish.raw
    flare
    furnace
    generator.wind.scrap
    hammer
    hq.metal.ore
    humanmeat.burned
    humanmeat.cooked
    humanmeat.raw
    humanmeat.spoiled
    trap.landmine
    lmg.m249
    metal.fragments
    metal.ore
    metal.refined
    mining.pumpjack
    mining.quarry
    fish.minnows
    mushroom
    note
    pookie.bear
    xmas.present.large
    xmas.present.medium
    xmas.present.small
    target.reactive
    researchpaper
    rock
    water.salt
    santahat
    skull.human
    skull.wolf
    stash.small
    fish.troutsmall
    spikes.floor
    stocking.large
    stocking.small
    stones
    sulfur
    sulfur.ore
    fishtrap.small
    targeting.computer
    water
    water.catcher.large
    water.catcher.small
    wood
     
  7. ill just keep an eye out for an update if and when it comes
     
  8. 1 would be very grateful if you included it in a plugin update (version number) , i realise that you have some reluctance in further updates but it would help a lot
     
  9. Got a hotfix ready, which overrides the "None"-Rarity.
     
  10. Fujikura updated BetterLoot with a new update entry:

    2.6.4

     
  11. Thanks! Where to send donations?
     
  12. :) The big picture on plugins mainpage is linked, or the blue "Support..." button on the mainpage
     
  13. Hello, I am pulling my hair out starting a modded server for the first time. I have been through the config several times, reloaded several times, and still get this message.

    > reload BetterLoot
    [Oxide] 12:30 [Info] Unloaded plugin BetterLoot v2.6.3 by dcode/Fujikura
    [Oxide] 12:30 [Info] Loaded plugin BetterLoot v2.6.3 by dcode/Fujikura
    [Oxide] 12:30 [Info] [BetterLoot] Updating T-'3' Ticks
    [Oxide] 12:30 [Warning] [BetterLoot] Plugin not active after first Setup. Change 'pluginEnabled' by config

    I searched in BetterLoot.cs with find, so I could not possibly miss where to enable it. I am baffled. I read on page 62 how to enable it, but, I did NOT see the following anywhere.

    "Generic": {
    "delayPluginInit": 3,
    "dropWeaponsWithAmmo": true,
    "enforceBlacklist": false,
    "listUpdatesOnLoaded": true,
    "listUpdatesOnRefresh": false,
    "pluginEnabled": true, // <<<<<<
    "refreshMinutes": 30,
    "removeStackedContainers": true
    }
    This is all I can find in BetterLoot.cs file.

    void LoadLootTable()
    {
    storedLootTable = Interface.GetMod().DataFileSystem.ReadObject<StoredLootTable>("BetterLoot\\LootTable");
    if (storedLootTable.ItemList.Count == 0)
    {
    pluginEnabled = true; <<<<<<<<<<<<<<<<<<<<<<<<<<<
    Config["Generic","pluginEnabled"]= pluginEnabled;
    Changed = true;

    Am I in the wrong file?
     
    Last edited by a moderator: Aug 22, 2016
  14. update to Version 2.6.4
     
  15. "pluginEnabled" is the right place, and it its TRUE, then it will load..normally...this sounds like a hosting internal problem.

    The plugin will on first lanch create the config, and will set "pluginEnabled" to false, to give you time to set-up your configuration. After you've changed this to true, it will oad then normally.
     
  16. Thanks, but it's the same error.

    > reload BetterLoot
    [Oxide] 13:29 [Info] Unloaded plugin BetterLoot v2.6.4 by dcode/Fujikura
    [Oxide] 13:29 [Info] Loaded plugin BetterLoot v2.6.4 by dcode/Fujikura
    [Oxide] 13:29 [Info] [BetterLoot] Updating T-'3' Ticks
    [Oxide] 13:29 [Warning] [BetterLoot] Plugin not active after first Setup. Change 'pluginEnabled' by config
    [DOUBLEPOST=1471887298][/DOUBLEPOST]
    Hence why I'm pulling my hair out, I did everything right, and it just refuses to work. Sigh.
     
  17. All i can advice is to recheck the config for content and syntax. The switch itself works like expected.
     
  18. Thank you for your help, I'll reset everything and hope for the best.
     
  19. I restarted my server several times, but unfortunately, it still says "Plugin not active after first Setup. Change 'pluginEnabled' by config" no matter how many times I delete it from the server, download BetterLoot.cs, and add it in again after changing pluginEnabled to true. This is incredibly frustrating. Has this happened to anyone else?
     
  20. thanks man!
    [DOUBLEPOST=1471897066][/DOUBLEPOST]
    so now the research should spawn then?