BetterLoot

Moved

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

4.95699/5, 93 likes
  1. the blacklist is affecting ALL tables, means, it does blacklist those which are activated. If you have "excluded" the heli loot, then it will be default, and the blacklist does'nt influence this content.
     
  2. ok so i fixed the stack sizes dropping 4365u5576034 of each item but now it drops blueprints in every barrel and all the items drop only a few prob every 20 or so barrels if your following the road and my crates dont drop any more at all any advise on how to fix this
     
  3. What? please split your issues in some clear points and not all in one sentence, otherwise i can't assist you
     

  4. Have you tryed typing "spawn.fill_groups" in consol? and what is your "spawn.max_rate" i set mine to 45 and just spawn.fill and it works. it gives uyou back the crates.
     
  5. ok it was at 1 i set it to 45 and now it works i have crates back
    now do i have to do that every time now or do i just put that in console once and it sets it?
     

  6. i don't. but prob. depends on your restart. think u need to do it every restart
     
  7. crates no longer drop (fixed with tom gyrud/s advise)

    barrels only have blueprints in most of the barrels

    barrels have loot in only barrels maybe every 15-20 barrels if walking the road but mostly blueprints
     
  8. Sounds like you did delete most items from the LootTable.json and left lots ofs BP's in the list.
    Secondly, it sounds like did increae the spawn of blueprints by the general config....plz post your BetterLoot.json from config folder
    [DOUBLEPOST=1467332314][/DOUBLEPOST]
    45? with this, it should respawn any barrel or crate very very very short after being destroyed....But its your personal flavour...
    The server default is 1 ;)
     
  9. Code:
    {
      "Barrel": {
      "barrelTypes": "loot-barrel|loot_barrel|loot_trash",
      "maxBlueprintFragmentsBarrel": 30,
      "maxBlueprintsPerBarrel": 1,
      "maxItemsPerBarrel": 3,
      "minBlueprintFragmentsBarrel": 15,
      "minItemsPerBarrel": 1,
      "refreshBarrels": true,
      "spawnBlueprintFragmentsBarrel": true,
      "spawnBlueprintsBarrel": true
      },
      "Chances": {
      "baseBlueprintRarity": 2,
      "baseItemRarity": 2,
      "blueprintProbability": 0.07
      },
      "Crate": {
      "crateTypes": "crate_normal|trash-pile",
      "maxBlueprintFragmentsCrate": 30,
      "maxBlueprintsPerCrate": 1,
      "maxItemsPerCrate": 6,
      "minBlueprintFragmentsCrate": 15,
      "minItemsPerCrate": 3,
      "refreshCrates": true,
      "spawnBlueprintFragmentsCrate": true,
      "spawnBlueprintsCrate": true
      },
      "Generic": {
      "dropWeaponsWithAmmo": true,
      "enforceBlacklist": false,
      "listUpdatesOnLoaded": true,
      "listUpdatesOnRefresh": false,
      "refreshMinutes": 30
      },
      "HeliCrate": {
      "excludeHeliCrate": true,
      "maxBlueprintsPerHeliCrate": 1,
      "maxItemsPerHeliCrate": 4,
      "minItemsPerHeliCrate": 2,
      "spawnBlueprintsHeliCrate": false,
      "useCustomTableHeli": true
      },
      "SupplyDrop": {
      "includeSupplyDrop": false,
      "maxBlueprintsPerSupplyDrop": 1,
      "maxItemsPerSupplyDrop": 6,
      "minItemsPerSupplyDrop": 3,
      "spawnBlueprintsSupplyDrop": true,
      "useCustomTableSupply": true
      }
    }
    [DOUBLEPOST=1467332378][/DOUBLEPOST]{
      "BlueprintList": [
      "rifle.ak",
      "ammo.pistol",
      "ammo.pistol.fire",
      "ammo.pistol.hv",
      "ammo.rifle",
      "ammo.rifle.explosive",
      "ammo.rifle.incendiary",
      "ammo.rifle.hv",
      "ammo.rocket.basic",
      "ammo.rocket.hv",
      "ammo.shotgun",
      "ammo.shotgun.slug",
      "arrow.hv",
      "autoturret",
      "axe.salvaged",
      "barricade.concrete",
      "barricade.metal",
      "barricade.sandbags",
      "barricade.stone",
      "barricade.woodwire",
      "trap.bear",
      "bed",
      "rifle.bolt",
      "bone.armor.jacket",
      "bone.armor.pants",
      "box.wooden.large",
      "bucket.water",
      "bucket.helmet",
      "burlap.gloves",
      "ceilinglight",
      "coffeecan.helmet",
      "crossbow",
      "explosive.timed",
      "explosives",
      "flamethrower",
      "weapon.mod.flashlight",
      "furnace.large",
      "gates.external.high.stone",
      "gates.external.high.wood",
      "generator.wind.scrap",
      "grenade.beancan",
      "grenade.f1",
      "fun.guitar",
      "hammer.salvaged",
      "hat.boonie",
      "hat.miner",
      "hatchet",
      "hazmat.boots",
      "hazmat.gloves",
      "hazmat.helmet",
      "hazmat.jacket",
      "hazmat.pants",
      "weapon.mod.holosight",
      "icepick.salvaged",
      "jacket.snow",
      "jacket",
      "jackolantern.angry",
      "jackolantern.happy",
      "trap.landmine",
      "lantern",
      "largemedkit",
      "weapon.mod.lasersight",
      "longsword",
      "mace",
      "machete",
      "mask.balaclava",
      "metal.facemask",
      "metal.plate.torso",
      "mining.quarry",
      "weapon.mod.muzzleboost",
      "weapon.mod.muzzlebrake",
      "pickaxe",
      "pistol.revolver",
      "pistol.semiauto",
      "target.reactive",
      "riot.helmet",
      "roadsign.jacket",
      "roadsign.kilt",
      "rocket.launcher",
      "salvaged.cleaver",
      "salvaged.sword",
      "weapon.mod.small.scope",
      "rifle.semiauto",
      "shelves",
      "shotgun.pump",
      "shutter.metal.embrasure.a",
      "shutter.metal.embrasure.b",
      "shutter.wood.a",
      "sign.hanging.banner.large",
      "sign.hanging",
      "sign.hanging.ornate",
      "sign.pictureframe.landscape",
      "sign.pictureframe.portrait",
      "sign.pictureframe.tall",
      "sign.pictureframe.xl",
      "sign.pictureframe.xxl",
      "sign.pole.banner.large",
      "sign.post.double",
      "sign.post.single",
      "sign.post.town",
      "sign.post.town.roof",
      "sign.wooden.huge",
      "sign.wooden.large",
      "sign.wooden.medium",
      "weapon.mod.silencer",
      "small.oil.refinery",
      "smg.2",
      "spear.stone",
      "spikes.floor",
      "surveycharge",
      "syringe.medical",
      "smg.thompson",
      "wall.external.high.stone",
      "wall.external.high",
      "wall.window.bars.toptier",
      "water.catcher.large",
      "water.barrel",
      "wood.armor.jacket",
      "wood.armor.pants"
      ],
      "ItemList": {
      "rifle.ak": 2,
      "ammo.pistol": 20,
      "ammo.pistol.fire": 20,
      "ammo.pistol.hv": 20,
      "ammo.rifle": 2,
      "ammo.rifle.explosive": 20,
      "ammo.rifle.incendiary": 20,
      "ammo.rifle.hv": 20,
      "ammo.rocket.basic": 2,
      "ammo.rocket.hv": 2,
      "ammo.shotgun": 20,
      "ammo.shotgun.slug": 20,
      "antiradpills": 20,
      "apple": 20,
      "apple.spoiled": 20,
      "arrow.hv": 20,
      "axe.salvaged": 2,
      "barricade.concrete": 2,
      "barricade.metal": 2,
      "barricade.sandbags": 2,
      "barricade.stone": 2,
      "barricade.woodwire": 2,
      "trap.bear": 2,
      "bed": 2,
      "black.raspberries": 20,
      "blueberries": 20,
      "rifle.bolt": 20,
      "bone.armor.jacket": 2,
      "bone.armor.pants": 2,
      "bone.fragments": 20,
      "box.wooden.large": 2,
      "bucket.water": 2,
      "bucket.helmet": 2,
      "burlap.gloves": 2,
      "tool.camera": 2,
      "can.beans": 20,
      "can.beans.empty": 20,
      "can.tuna": 20,
      "can.tuna.empty": 20,
      "candycane": 20,
      "cctv.camera": 2,
      "ceilinglight": 2,
      "charcoal": 20,
      "chicken.burned": 20,
      "chicken.cooked": 20,
      "chicken.raw": 20,
      "chicken.spoiled": 20,
      "chocholate": 20,
      "cloth": 20,
      "coffeecan.helmet": 2,
      "corn": 20,
      "seed.corn": 20,
      "crossbow": 2,
      "crude.oil": 20,
      "explosive.timed": 1,
      "explosives": 20,
      "fat.animal": 20,
      "fish.cooked": 20,
      "fish.raw": 20,
      "flamethrower": 2,
      "weapon.mod.flashlight": 2,
      "furnace.large": 2,
      "gates.external.high.stone": 2,
      "gates.external.high.wood": 2,
      "granolabar": 20,
      "grenade.beancan": 2,
      "grenade.f1": 2,
      "fun.guitar": 2,
      "hammer.salvaged": 2,
      "hat.boonie": 2,
      "hat.miner": 2,
      "hatchet": 2,
      "hazmat.boots": 2,
      "hazmat.gloves": 2,
      "hazmat.helmet": 2,
      "hazmat.jacket": 2,
      "hazmat.pants": 2,
      "seed.hemp": 20,
      "weapon.mod.holosight": 2,
      "hq.metal.ore": 20,
      "humanmeat.burned": 20,
      "humanmeat.cooked": 20,
      "humanmeat.raw": 20,
      "humanmeat.spoiled": 20,
      "icepick.salvaged": 2,
      "jacket.snow": 2,
      "jacket": 2,
      "jackolantern.angry": 2,
      "jackolantern.happy": 2,
      "trap.landmine": 2,
      "lantern": 2,
      "largemedkit": 2,
      "weapon.mod.lasersight": 2,
      "leather": 20,
      "longsword": 2,
      "mace": 2,
      "machete": 2,
      "mask.balaclava": 2,
      "bearmeat.burned": 20,
      "bearmeat.cooked": 20,
      "bearmeat": 20,
      "meat.pork.burned": 20,
      "meat.pork.cooked": 20,
      "meat.boar": 20,
      "wolfmeat.burned": 20,
      "wolfmeat.cooked": 20,
      "wolfmeat.raw": 20,
      "wolfmeat.spoiled": 20,
      "metal.facemask": 20,
      "metal.fragments": 20,
      "metal.ore": 20,
      "metal.plate.torso": 2,
      "metal.refined": 20,
      "mining.quarry": 2,
      "fish.minnows": 20,
      "mushroom": 20,
      "weapon.mod.muzzleboost": 2,
      "weapon.mod.muzzlebrake": 2,
      "pickaxe": 2,
      "pistol.revolver": 2,
      "pistol.semiauto": 2,
      "pookie.bear": 2,
      "xmas.present.large": 2,
      "xmas.present.medium": 2,
      "xmas.present.small": 2,
      "pumpkin": 2,
      "seed.pumpkin": 20,
      "target.reactive": 2,
      "riot.helmet": 2,
      "roadsign.jacket": 2,
      "roadsign.kilt": 2,
      "rocket.launcher": 1,
      "salvaged.cleaver": 2,
      "salvaged.sword": 2,
      "santahat": 2,
      "weapon.mod.small.scope": 2,
      "rifle.semiauto": 2,
      "shelves": 5,
      "shotgun.pump": 2,
      "shutter.metal.embrasure.a": 2,
      "shutter.metal.embrasure.b": 2,
      "shutter.wood.a": 2,
      "sign.hanging.banner.large": 2,
      "sign.hanging": 2,
      "sign.hanging.ornate": 2,
      "sign.pictureframe.landscape": 2,
      "sign.pictureframe.portrait": 2,
      "sign.pictureframe.tall": 2,
      "sign.pictureframe.xl": 2,
      "sign.pictureframe.xxl": 2,
      "sign.pole.banner.large": 2,
      "sign.post.double": 2,
      "sign.post.single": 2,
      "sign.post.town": 2,
      "sign.post.town.roof": 2,
      "sign.wooden.huge": 2,
      "sign.wooden.large": 2,
      "sign.wooden.medium": 2,
      "weapon.mod.silencer": 2,
      "skull.human": 2,
      "skull.wolf": 2,
      "small.oil.refinery": 2,
      "fish.troutsmall": 2,
      "smallwaterbottle": 2,
      "smg.2": 2,
      "spear.stone": 2,
      "spikes.floor": 2,
      "stocking.large": 2,
      "stocking.small": 2,
      "stones": 20,
      "sulfur": 20,
      "sulfur.ore": 20,
      "surveycharge": 20,
      "syringe.medical": 5,
      "targeting.computer": 2,
      "smg.thompson": 2,
      "wall.external.high.stone": 20,
      "wall.external.high": 20,
      "wall.window.bars.toptier": 2,
      "water.catcher.large": 2,
      "water.barrel": 2,
      "waterjug": 2,
      "wood": 20,
      "wood.armor.jacket": 2,
      "wood.armor.pants": 2
      }
    }
     
    Last edited by a moderator: Jul 1, 2016
  10. All correct, nearly default.
    Think you have any other plugin the influences your settings. Your setup you posted must work correct. Plz check your plugins if any other could do any changes to the loot or check for errors/warnings in your serverlog.
    Could be that there are some mismatches between BetterLoot and any other plugin.
     
  11. this is my plugin list any idea what would clash with your plugin??
    [DOUBLEPOST=1467333117][/DOUBLEPOST]console says this
    Code:
    [Oxide] 20:16 [Info] [BetterLoot] Updating in T-3 ...
    [Oxide] 20:16 [Info] [BetterLoot] Updating internals ...
    [Oxide] 20:16 [Info] [BetterLoot] There are 185 items and 119 blueprints in the LootTable.
    [Oxide] 20:16 [Info] [BetterLoot] We are going to use 148 items and 111 blueprints of them.
    [Oxide] 20:16 [Info] [BetterLoot] Base item rarity is 2 and base blueprint rarity is 2.
    [Oxide] 20:16 [Info] [BetterLoot] There is a 10.545% chance to get one of 25 common items (w=8000, 200000/569000).
    [Oxide] 20:16 [Info] [BetterLoot] There is a 14.552% chance to get one of 69 uncommon items (w=4000, 276000/569000).
    [Oxide] 20:16 [Info] [BetterLoot] There is a 4.112% chance to get one of 39 rare items (w=2000, 78000/569000).
    [Oxide] 20:16 [Info] [BetterLoot] With a 70.0% chance that any drop is a blueprint we get:
    [Oxide] 20:16 [Info] [BetterLoot] There is a 21.429% chance to get one of 15 common blueprints (w=8000, 120000/392000).
    [Oxide] 20:16 [Info] [BetterLoot] There is a 0.791% chance to get one of 15 very rare items (w=1000, 15000/569000).
    [Oxide] 20:16 [Info] [BetterLoot] There is a 33.571% chance to get one of 47 uncommon blueprints (w=4000, 188000/392000).
    [Oxide] 20:16 [Info] [BetterLoot] There is a 12.500% chance to get one of 35 rare blueprints (w=2000, 70000/392000).
    [Oxide] 20:16 [Info] [BetterLoot] There is a 2.500% chance to get one of 14 very rare blueprints (w=1000, 14000/392000).
    [Oxide] 20:16 [Info] [BetterLoot] Internals have been updated
    [Oxide] 20:16 [Warning] Calling 'OnTick' on 'BetterLoot v2.0.2' took 515ms
     
    Last edited by a moderator: Jul 1, 2016
  12. Basically, none of your plugins should should affect the loot.
    And the output from BetterLoot looks like expected, nearly default.

    Atm, i could give you only the hint to test your settings on a small local-server.
    You can reach this fast and simple wtih ths Guide: [GUIDE] How to develop on your local dev-machine | Oxide
    and then copy your whole oxide folder into this, ths would take over all plugins, and then you test it complete.
     
  13. everything seams to be working as they should besides the blueprints are dropping in every barrel and the crates are not spawning back since your latest update
     
  14. Code:
    {
    "Barrel": {
    "barrelTypes": "loot-barrel|loot_barrel|loot_trash",
    "maxBlueprintFragmentsBarrel": 30,
    "maxBlueprintsPerBarrel": 1,
    "maxItemsPerBarrel": 3,
    "minBlueprintFragmentsBarrel": 15,
    "minItemsPerBarrel": 1,
    "refreshBarrels": true,
    "spawnBlueprintFragmentsBarrel": true, // << false would deactivate BP fragments
    "spawnBlueprintsBarrel": true  // <<< false will deactivate blueprints
    reapawn is NOT managed by BetterLoot, this is controlled by ther server itself. BetterLoot does control only the refrash.
    Once a barrel or crate was despawned/lootet, its up by ther server to respawn a new.
     
  15. ok i fixed the crate respawning issue now only issue i have is the bp's dropping in every barrel and crate
     
  16. then deactivate them by set to false for barrel and crates.
    spawnBlueprintsBarrel, spawnBlueprintsCrate
     
  17. i still want to keep them on just not in every barrel and crate

    is there a way to lower it so they are only in 50% of the barrels and crates
    [DOUBLEPOST=1467335963][/DOUBLEPOST]also getting this message

    [Oxide] 21:17 [Warning] Calling 'OnTick' on 'BetterLoot v2.0.2' took 226ms
     
  18. The default chance is alrady low at 11% > 0.11, and set to only spawn 1 BP per barrel or crate.
    you could only lower the chance to 5 or less, which would decrease the chance. But the whole rest is random, this can't be controlled...
     
  19. We appreciate that you redid this plugin...it was much easier to use then loot config.... I got rid of better loot a couple months ago because it was unsupported and was giving me problems. Now that is it being supported, I got it back. I read all your information, but trash piles do not work, no matter how I edit the json file (trying what you said on the overview page)....Other people are complaining about this too, like the person I replied to. On the 7th, the new xp leveling system will go live...so, there will not be anymore BP fragments in the game. Fixing the trash piles to have them now is not needed. I would like to see only food and water in them because that is what people hope and need to find.
     
  20. The Game has 2 trashtypes:

    Crate: Assets/bundled/Prefabs/autospawn/resource/loot/Trash-Pile-1.prefab
    Barrel: Assets/bundled/Prefabs/radtown/loot_trash.prefab

    Those two are by default included to the config in this lines by thier shortened name:

    Code:
    "barrelTypes": "loot-barrel|loot_barrel|loot_trash",
    "crateTypes": "crate_normal|trash-pile",
    To exclude for example every trash type from being affected, it should look like that:
    Code:
    "barrelTypes": "loot-barrel|loot_barrel",
    "crateTypes": "crate_normal",
    With this, they will not be touched by BetterLoot and are Vanilla like with food :)

    If you change those seetings while th game was running, then those barrels or crate, which were filled by BetterLoot, need first to be lootet or deleted

    All those types can be easy deleted by your console with no need for an extra plugin.
    Simply use the names from above and the 'del' command:
    Code:
    del Assets/bundled/Prefabs/autospawn/resource/loot/Trash-Pile-1.prefab
    del Assets/bundled/Prefabs/radtown/loot_trash.prefab
    this will delete all trahpiles and all loottrash spawns, abnd the server would respawn them alone, and with default content.