BetterLoot

Moved

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

4.95699/5, 93 likes
  1. which file is it im been looking and cant find it
     
  2. (16:50:31) | Calling 'Unload' on 'BetterLoot v2.13.0' took 770ms

    (16:50:31) | Unloaded plugin BetterLoot v2.13.0 by Fujikura/dcode

    (16:50:53) | [BoxLooters] Saved Boxlooters data

    (16:50:53) | Saved 47,356 ents, serialization(0.00), write(0.02), disk(0.01) totalstall(0.05).

    (16:50:53) | Saving complete

    (16:51:53) | [BoxLooters] Saved Boxlooters data

    (16:51:53) | Saved 47,372 ents, serialization(0.00), write(0.02), disk(0.01) totalstall(0.04).

    (16:51:53) | Saving complete

    (16:52:25) | BetterLoot was compiled successfully in 3939ms

    (16:52:26) | Loaded plugin BetterLoot v2.12.0 by Fujikura/dcode

    (16:52:26) | [BetterLoot] No Blacklist found, creating new file...

    (16:52:26) | [BetterLoot] HeliCrate > table not found, option disabled by 'includeHeliCrate' > Creating a new file.

    (16:52:26) | [BetterLoot] SupplyDrop > table not found, option disabled by 'includeSupplyDrop' > Creating a new file.

    (16:52:26) | [BetterLoot] Updating internals ...

    (16:52:26) | [BetterLoot] There are 37 items in the global Barrels LootTable.

    (16:52:26) | [BetterLoot] There are 37 items in the global Crates LootTable.

    (16:52:26) | Calling 'OnServerInitialized' on 'BetterLoot v2.12.0' took 330ms

    (16:52:26) | [BetterLoot] Exported 325 items to 'NamesList'

    (16:52:26) | [BetterLoot] Removed 2 stacked LootContainer (out of 1808)

    (16:52:27) | Failed to run a 0.10 timer in 'BetterLoot v2.12.0' (NullReferenceException: Object reference not set to an instance of an object)
    _______________________________________________________________
    its messed up with the new hot patch is there a way to fix it ?
     
  3. "ItemListBarrels": {
    "ammo.pistol": 100,
    "ammo.pistol.hv": 100,
    "ammo.rifle": 100,
    "ammo.rifle.explosive": 100,
    "ammo.rifle.incendiary": 100,
    "ammo.rifle.hv": 100,
    "ammo.rocket.basic": 2,
    "ammo.rocket.fire": 2,
    "ammo.rocket.hv": 2,
    "ammo.shotgun": 50,
    "ammo.shotgun.slug": 50,
    "trap.bear": 5,
    "cctv.camera": 5,
    "explosive.satchel": 5,
    "grenade.beancan": 15,
    "gunpowder": 500,
    "trap.landmine": 5,
    "metal.facemask": 1,
    "metal.plate.torso": 1,
    "metal.ore": 500,
    "metal.refined": 250,
    "gears": 100,
    "techparts": 100,
    "metalpipe": 100,
    "roadsign.kilt": 1,
    "roadsigns": 5,
    "semibody": 5,
    "sewingkit": 5,
    "sheetmetal": 5,
    "riflebody": 5,
    "metalblade": 5,
    "metalpipe": 5,
    "smgbody": 5,
    "metalspring": 5,
    "syringe.medical": 5,
    "rifle.lr300": 3,
    "pistol.m92": 4,
    "smg.mp5": 4,
    "smg.2": 4,
    "smg.thompson": 3,
    "black.raspberries": 10,
    "blueberries": 10,
    "largemedkit": 5,
    "propanetank": 5,
    "syringe.medical": 5,
    "tarp": 5,
    "waterjug": 10,
    "rope": 9
    },
    "ItemListCrates": {

    "ammo.pistol": 100,
    "ammo.pistol.fire": 100,
    "ammo.pistol.hv": 100,
    "ammo.rifle": 100,
    "ammo.rifle.explosive": 100,
    "ammo.rifle.incendiary": 100,
    "ammo.rifle.hv": 100,
    "ammo.rocket.basic": 2,
    "ammo.rocket.fire": 2,
    "ammo.rocket.hv": 2,
    "ammo.shotgun": 50,
    "ammo.shotgun.slug": 50,
    "trap.bear": 5,
    "explosive.satchel": 5,
    "explosive.timed": 2,
    "explosives": 10,
    "grenade.beancan": 15,
    "gunpowder": 500,
    "trap.landmine": 5,
    "metal.facemask": 1,
    "metal.plate.torso": 1,
    "metal.ore": 500,
    "metal.refined": 250,
    "gears": 100,
    "techparts": 100,
    "metalpipe": 100,
    "roadsign.kilt": 1,
    "roadsigns": 5,
    "semibody": 5,
    "sewingkit": 5,
    "sheetmetal": 5,
    "riflebody": 5,
    "metalblade": 5,
    "metalpipe": 5,
    "smgbody": 5,
    "metalspring": 5,
    "syringe.medical": 5,
    "rifle.lr300": 3,
    "pistol.m92": 4,
    "smg.mp5": 4,
    "smg.2": 4,
    "smg.thompson": 3,
    "rope": 9



    }
    }
     
  4. Try taking out all excess lines that have no text then reload the plug in (it might be as simple as that, it's happened to me before) if all else fails I've deleted the file (in case my spelling messed it up -been known to happen if you added anything to the list or bumped a letter while changing the numbers) and just reloading the plugin to regen the file and then tweeking them to what you want
     
  5. Post your json config
     
  6. Failed to call hook 'OnServerInitialized' on plugin 'BetterLoot v2.13.0' (JsonReaderException: After parsing a value an unexpected character was encountered: ". Path 'ItemList[0]', line 4, position 5.)
     
  7. You probably forgot a "," in the json config file or in the Loottable in data.
     
  8. Hi. Can i get 1.3.1 version of this plugin? I'm hosting server with older version, and i need this plugin on server. If you have it, reply please.
     
  9. if i add item to the black list it wil lbe remove completly or i can chose from what this item is removed (for example supplydrop,crates,barrels) ??
     
  10. i add in BetterLoot.json:

    Code:
    "Medical": {
        "crateTypes": "crate_normal_2_medical",
        "enableCrates": true,
        "maxItemsPerCrate": 1,
        "minItemsPerCrate": 1,
        "randomAmountCrates": true,
        "refreshCrates": true
      },
    and add in LootTable.json:

    Code:
     "ItemListMedicals": {
        "bandage": 1,
      }
    and all medical crates still have alot of medkits, how fix that ?
     
  11. The current list of boxes in "CrateTypes" @ Config is kinda annoying - as the green boxes (which in my opinion is higher value) are crate_normal.

    List goes :

    crate_normal
    crate_normal_2
    crate_normal_2_food
    crate_normal_2_medical
    crate_tools

    So if i wanted the items to spawn in crate_normal (GreenBox) and not in the crate_normal_2 (NormalBrownSquareBox) then there would be no way to do it - But doing the box nr the other way around then i could. Would this be changeable? Or am i just dumb and don't get the "other way around" this problem :D
     
  12. Fuji what does this mean? My BetterLoot still works, but this error has me wondering:
    Failed to run a 0.10 timer in 'BetterLoot v2.11.9' (JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'System.Collections.Generic.Dictionary`2[System.String,System.String]' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.

    To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.

    Path 'AllItemsAvailable', line 3, position 24.)
     
  13. Code:
    {
      "Barrel": {
        "barrelTypes": "loot-barrel|loot_barrel|loot_trash",
        "enableBarrels": true,
        "maxItemsPerBarrel": 1,
        "minItemsPerBarrel": 1,
        "randomAmountBarrels": true,
        "refreshBarrels": true
      },
      "MCrate": {
        "crateTypes": "crate_normal_2_medical",
        "enableMCrates": true,
        "maxItemsPerMCrate": 1,
        "minItemsPerMCrate": 1,
        "randomAmountMCrates": true,
        "refreshMCrates": true
      },
      "Crate": {
        "crateTypes": "crate_normal|crate_tools",
        "enableCrates": true,
        "maxItemsPerCrate": 1,
        "minItemsPerCrate": 1,
        "randomAmountCrates": true,
        "refreshCrates": true
      },
      "Generic": {
        "dropWeaponsWithAmmo": false,
        "enforceBlacklist": false,
        "listUpdatesOnLoaded": true,
        "listUpdatesOnRefresh": true,
        "pluginEnabled": true,
        "refreshMinutes": 5,
        "removeStackedContainers": true,
        "seperateLootTables": true
      },
      "HeliCrate": {
        "includeHeliCrate": true,
        "maxItemsPerHeliCrate": 3,
        "minItemsPerHeliCrate": 3,
        "randomAmountHeliCrate": true,
        "useCustomTableHeli": true
      },
      "Rarity": {
        "Override": {
          "autoturret": 4,
          "lmg.m249": 4,
          "targeting.computer": 3
        }
      },
      "SupplyDrop": {
        "includeSupplyDrop": true,
        "maxItemsPerSupplyDrop": 4,
        "minItemsPerSupplyDrop": 1,
        "randomAmountSupplyDrop": true,
        "useCustomTableSupply": true
      }
    }
    I try add MCrate to the loottable but crate_normal_2_medical still have this same items like crate_normal and crate_tools, can somebody tell me wtf is going on? and how fix that ? or this plugin is so stupid and we can't add separate loot table for any container?
     
  14. Any help guys? is this forum dead or something? is so very hard to get help on that forum...
    [DOUBLEPOST=1493639570][/DOUBLEPOST]in BetterLoot.json i put crates name in ' ' so it's lokks that now:
    Code:
    {
      "Barrel": {
        "barrelTypes": "loot-barrel|loot_barrel|loot_trash",
        "enableBarrels": true,
        "maxItemsPerBarrel": 1,
        "minItemsPerBarrel": 1,
        "randomAmountBarrels": true,
        "refreshBarrels": true
      },
      "Medical": {
        "crateTypes": "'crate_normal_2_medical'|'dm medical'",
        "enforceBlacklist": true,
        "enableCrates": true,
        "maxItemsPerCrate": 1,
        "minItemsPerCrate": 1,
        "randomAmountCrates": true,
        "refreshCrates": true
      },
      "Crate": {
        "crateTypes": "'crate_normal'|'crate_tools'",
        "enableCrates": true,
        "maxItemsPerCrate": 1,
        "minItemsPerCrate": 1,
        "randomAmountCrates": true,
        "refreshCrates": true
      },
      "Generic": {
        "dropWeaponsWithAmmo": false,
        "enforceBlacklist": false,
        "listUpdatesOnLoaded": true,
        "listUpdatesOnRefresh": true,
        "pluginEnabled": true,
        "refreshMinutes": 1,
        "removeStackedContainers": true,
        "seperateLootTables": true
      },
      "HeliCrate": {
        "includeHeliCrate": true,
        "maxItemsPerHeliCrate": 3,
        "minItemsPerHeliCrate": 3,
        "randomAmountHeliCrate": true,
        "useCustomTableHeli": true
      },
      "Rarity": {
        "Override": {
          "autoturret": 4,
          "lmg.m249": 4,
          "targeting.computer": 3
        }
      },
      "SupplyDrop": {
        "includeSupplyDrop": true,
        "maxItemsPerSupplyDrop": 4,
        "minItemsPerSupplyDrop": 1,
        "randomAmountSupplyDrop": true,
        "useCustomTableSupply": true
      }
    }
    results: crate_normal_2_medical finally get own loot bandages,syrignes and medkits, but i'm wondering because medkits are added to blacklist so why they are spawn in that crates ?

    my LootTable.json looks like that:
    Code:
    {
      "ItemListBarrels": {
        "bleach": 1,
        "ducttape": 1,
        "glue": 1,
        "metalblade": 1,
        "metalpipe": 1,
        "propanetank": 1,
        "roadsigns": 1,
        "rope": 1,
        "sewingkit": 1,
        "sticks": 1,
        "tarp": 1,
      },
      "ItemListCrates": {
        "gears": 1,
        "sheetmetal": 1,
        "metalspring": 1,
      },
      "ItemListMedicals": {
       "bandage": 1,
       "syringe.medical": 1,
      }
    }
    Any suggestion ?
     
  15. 1.3.1??? I dont have it..Maybe the original author, dcode, has this left.
    [DOUBLEPOST=1493658456][/DOUBLEPOST]
    Such changes/extensions to the config are not noticed and not converted by the plugin.
    [DOUBLEPOST=1493658578][/DOUBLEPOST]
    This config option works as a regular expression. Thats why "crate_normal" does also include any crate beginning with that text, like "crate_normal_2".
    [DOUBLEPOST=1493658645][/DOUBLEPOST]
    Did you already try to delete the NamesList.json (and reload then the plugin)?
    [DOUBLEPOST=1493658758][/DOUBLEPOST]
    You can add there as much as custom stuff you want, but always without any effect. The plugin does/can only use what itself defines.
     
  16. Can somebody tell me how i can add the mining carts to the loottable ?
    Because since i added BetterLoot to my server they are emtpy
     
  17. why BetterLoot stop working ? he add different drop not this setuped by me ?
     
  18. Can somebody tell me, if there is a way to change the loot of onespecific box, like the green weapon box or the medic box? i can only find one command for seemlingly all boxes?
     
  19. can anybody tell me why cctv camera still show up in crates even if i remove them from loottable "crates section" ?
     
  20. hello? are you sleeping guys ?