
BetterLoot
A complete re-implementation of the drop system
Total Downloads: 42,529 - First Release: Feb 26, 2015 - Last Update: Mar 20, 2018
- 4.95699/5, 93 likes
-
Anyone else getting errors after update? Might just be me:
Code:Failed to call hook 'OnServerInitialized' on plugin 'BetterLoot v2.15.0' (JsonReaderException: Invalid property identifier character: ,. Path 'ItemList['pistol.nailgun']', line 51, position 24.) at Newtonsoft.Json.JsonTextReader.ParseProperty () [0x00000] in :0 at Newtonsoft.Json.JsonTextReader.ParseObject () [0x00000] in :0 at Newtonsoft.Json.JsonTextReader.Read () [0x00000] in :0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateDictionary (IDictionary dictionary, Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonDictionaryContract contract, Newtonsoft.Json.Serialization.JsonProperty containerProperty, System.String id) [0x00000] in :0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x00000] in :0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x00000] in :0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue (Newtonsoft.Json.Serialization.JsonProperty property, Newtonsoft.Json.JsonConverter propertyConverter, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerProperty, Newtonsoft.Json.JsonReader reader, System.Object target) [0x00000] in :0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject (System.Object newObject, Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonObjectContract contract, Newtonsoft.Json.Serialization.JsonProperty member, System.String id) [0x00000] in :0
-
Nevermind, found my issue.
-
I don't know if its this plugin but ever since the Compound update today I have not found any scuba gear in any crates or barrels around the map. I searched at least 50 different crates, players too - no scuba gear. Any suggestions?
-
-
Well yeah, I've been using Betterloot forever, but the scuba stuff is new so I'm assuming since its not in the loot table yet, that is why its not able to be found anywhere.
-
Having an issue. All the different crate types are defaulting to the ItemListCrates, none of the Mil or Tool loot tables are working properly.
Code:{ "ItemListBarrels": {"propanetank": 3, "gears": 2, "metalblade": 1, "metalpipe": 2, "metalspring": 2, "roadsigns": 5, "rope": 5, "sewingkit": 5, "sheetmetal": 5, "tarp": 5, "techparts": 1, "semibody": 2, "smgbody": 2, "targeting.computer": 1 }, "ItemListCrates": {"cctv.camera": 1, "syringe.medical": 3, "ammo.pistol": 20, "longsword": 1, "shoes.boots": 1, "pants": 1, "hoodie": 1, "roadsign.jacket": 1, "roadsign.kilt": 1, "coffeecan.helmet": 1, "workbench2": 1, "hat.wolf": 1, "furnace.large": 1, "small.oil.refinery": 1, "barricade.metal": 1, "wall.external.high.stone": 1, "gates.external.high.stone": 1, "weapon.mod.simplesight": 1, "weapon.mod.flashlight": 1, "shotgun.waterpipe": 1, "pistol.eoka": 1, "pistol.revolver": 1, "grenade.f1": 1, "grenade.beancan": 1, "door.double.hinged.metal": 1, "shutter.metal.embrasure.a": 1, "smg.mp5": 1, "bandage": 3, "largemedkit": 1, "black.raspberries": 3, "guntrap": 1, "riflebody": 2, "floor.ladder.hatch": 1, "ammo.shotgun.slug": 5, "ammo.rifle": 10, "flameturret": 1, "sign.pictureframe.tall": 1, "sign.pictureframe.xxl": 1, "locker": 1, "wall.frame.cell": 1, "wall.frame.cell.gate": 1, "wall.frame.garagedoor": 1, "searchlight": 1, "explosive.satchel": 1, "floor.grill": 1, "spear.stone": 1, "bow.hunting": 1, "burlap.shirt": 1, "burlap.trousers": 1, "burlap.headwrap": 1, "wood.armor.jacket": 1, "wood.armor.pants": 1, "shirt.tanktop": 1, "longsword": 1, "mace": 1, "pickaxe": 1, "arrow.fire": 4, "arrow.hv": 4,}, "ItemListMil": { "weapon.mod.holosight": 1, "weapon.mod.lasersight": 1, "weapon.mod.muzzleboost": 1, "weapon.mod.muzzlebrake": 1, "weapon.mod.silencer": 1, "weapon.mod.simplesight": 1, "weapon.mod.small.scope": 1, "ammo.pistol.fire": 10, "ammo.pistol.hv": 10, "ammo.rifle.explosive": 10, "ammo.rifle.hv": 10, "ammo.rifle.incendiary": 10, "ammo.rocket.fire": 1, "ammo.rocket.hv": 1, "ammo.shotgun.slug": 1, "pistol.semiauto": 1, "rifle.semiauto": 1, "smg.2": 1, "smg.thompson": 1, "shotgun.pump": 1, "metal.plate.torso": 1, "metal.facemask": 1, "heavy.plate.helmet": 1, "heavy.plate.jacket": 1, "heavy.plate.pants": 1, "autoturret": 1, "pookie.bear": 1, "ammo.rocket.basic": 1, "rocket.launcher": 1, "supply.signal": 1, "door.hinged.toptier": 1, "axe.salvaged": 1, "icepick.salvaged": 1, "pistol.python": 1, "trap.landmine": 1},"ItemListTool": { "chainsaw": 1, "hatchet": 1, "pickaxe": 1 }, "ItemListPrim": { "arrow.bone": 10 } }
-
Try this you had multiple longswords in there
{
"ItemListBarrels": {
"propanetank": 3,
"gears": 2,
"metalblade": 1,
"metalpipe": 2,
"metalspring": 2,
"roadsigns": 5,
"rope": 5,
"sewingkit": 5,
"sheetmetal": 5,
"tarp": 5,
"techparts": 1,
"semibody": 2,
"smgbody": 2,
"targeting.computer": 1
},
"ItemListCrates": {
"cctv.camera": 1,
"syringe.medical": 3,
"ammo.pistol": 20,
"longsword": 1,
"shoes.boots": 1,
"pants": 1,
"hoodie": 1,
"roadsign.jacket": 1,
"roadsign.kilt": 1,
"coffeecan.helmet": 1,
"workbench2": 1,
"hat.wolf": 1,
"furnace.large": 1,
"small.oil.refinery": 1,
"barricade.metal": 1,
"wall.external.high.stone": 1,
"gates.external.high.stone": 1,
"weapon.mod.simplesight": 1,
"weapon.mod.flashlight": 1,
"shotgun.waterpipe": 1,
"pistol.eoka": 1,
"pistol.revolver": 1,
"grenade.f1": 1,
"grenade.beancan": 1,
"door.double.hinged.metal": 1,
"shutter.metal.embrasure.a": 1,
"smg.mp5": 1,
"bandage": 3,
"largemedkit": 1,
"black.raspberries": 3,
"guntrap": 1,
"riflebody": 2,
"floor.ladder.hatch": 1,
"ammo.shotgun.slug": 5,
"ammo.rifle": 10,
"flameturret": 1,
"sign.pictureframe.tall": 1,
"sign.pictureframe.xxl": 1,
"locker": 1,
"wall.frame.cell": 1,
"wall.frame.cell.gate": 1,
"wall.frame.garagedoor": 1,
"searchlight": 1,
"explosive.satchel": 1,
"floor.grill": 1,
"spear.stone": 1,
"bow.hunting": 1,
"burlap.shirt": 1,
"burlap.trousers": 1,
"burlap.headwrap": 1,
"wood.armor.jacket": 1,
"wood.armor.pants": 1,
"shirt.tanktop": 1,
"mace": 1,
"pickaxe": 1,
"arrow.fire": 4,
"arrow.hv": 4
},
"ItemListMil": {
"weapon.mod.holosight": 1,
"weapon.mod.lasersight": 1,
"weapon.mod.muzzleboost": 1,
"weapon.mod.muzzlebrake": 1,
"weapon.mod.silencer": 1,
"weapon.mod.simplesight": 1,
"weapon.mod.small.scope": 1,
"ammo.pistol.fire": 10,
"ammo.pistol.hv": 10,
"ammo.rifle.explosive": 10,
"ammo.rifle.hv": 10,
"ammo.rifle.incendiary": 10,
"ammo.rocket.fire": 1,
"ammo.rocket.hv": 1,
"ammo.shotgun.slug": 1,
"pistol.semiauto": 1,
"rifle.semiauto": 1,
"smg.2": 1,
"smg.thompson": 1,
"shotgun.pump": 1,
"metal.plate.torso": 1,
"metal.facemask": 1,
"heavy.plate.helmet": 1,
"heavy.plate.jacket": 1,
"heavy.plate.pants": 1,
"autoturret": 1,
"pookie.bear": 1,
"ammo.rocket.basic": 1,
"rocket.launcher": 1,
"supply.signal": 1,
"door.hinged.toptier": 1,
"axe.salvaged": 1,
"icepick.salvaged": 1,
"pistol.python": 1,
"trap.landmine": 1
},
"ItemListTool": {
"chainsaw": 1,
"hatchet": 1,
"pickaxe": 1
},
"ItemListPrim": {
"arrow.bone": 10
}
} -
[BetterLoot] There are 14 items in the global Barrels LootTable.
[BetterLoot] There are 57 items in the global Crates LootTable. -
or for simple and fast u just add in the config file as exapmle like this
"crateTypes": "crate_normal|crate_tools|crate_elite|crate_basic|crate_underwater_basic|crate_underwater_advanced",
-
Followed the directions and getting the following error:
Failed to run a 0.10 timer in 'BetterLoot v2.15.0' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.BetterLoot.PopulateContainer (.LootContainer container) [0x00000] in :0 at Oxide.Plugins.BetterLoot.m__1 () [0x00000] in :0 at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00000] in :0
Double checked what I entered, so a little lost.Last edited by a moderator: Jul 1, 2018 -
anyone can upload he's config with Elite Crates and military crates
-
post your config in here rob
-
This is what I have.
Attached Files:
-
-
i have this for elite crate but idk where is the error anyone can help me
-
Hello,
I have another question:
How setup this plugin to remove items from all cointainers but not this one crafgted by players? For now i have "enforceBlacklist": true, and when player put weapon into any container it dissapear, please i need help. -
any help from plugin creator? or this forum is dead?
-
what's the point of this plugin if i can't setup my own loot table for any container? everything going to screw up...
-
will we be updating this and adding chinook loot ?
also how do i go about editing elite crates ? -
or for simple and fast u just add in the config file as exapmle like this
"crateTypes": "crate_normal|crate_tools|crate_elite|crate_basic|crate_underwater_basic|crate_underwater_advanced, codelockedhackablecrate",