Hello!
So I've been using BetterLoot for the past 2 days, and today I've come across an issue when I've been configuring my server.
I've tried looking for the error, I literally have no idea where it is lol
Here is the error below:
So I've been using BetterLoot for the past 2 days, and today I've come across an issue when I've been configuring my server.
I've tried looking for the error, I literally have no idea where it is lol
Here is the error below:
[BetterLoot] JSON error in 'LootTables' > Line: 3075 |
Unloaded plugin BetterLoot v3.0.0 by FuJiCuRa / dcode
[BetterLoot] Updating internals ...
Loaded plugin BetterLoot v3.0.0 by FuJiCuRa / dcode
[BetterLoot] No stacked LootContainer found.
Exception while calling NextTick callback (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.BetterLoot.PopulateContainer (LootContainer container) [0x0000c] in <5577e5e592924e3faebde60ff9b9f1bd>:0 at Oxide.Plugins.BetterLoot.m__0 () [0x000b2] in <5577e5e592924e3faebde60ff9b9f1bd>:0 at Oxide.Core.OxideMod.OnFrame (System.Single delta) [0x00051] in <4452f821def6406d834e4149849fe7ea>:0
Here is the code at the bottom of my LootTables.json
"assets/prefabs/npc/patrol helicopter/heli_crate.prefab": {
"Enabled": false,
"ItemList": {
"ammo.pistol": {
"Max": 250,
"Min": 200
},
"ammo.pistol.fire": {
"Max": 160,
"Min": 80
},
"ammo.pistol.hv": {
"Max": 160,
"Min": 60
},
"ammo.rifle": {
"Max": 160,
"Min": 120
},
"ammo.rifle.explosive": {
"Max": 110,
"Min": 30
},
"ammo.rifle.hv": {
"Max": 100,
"Min": 40
},
"ammo.rifle.incendiary": {
"Max": 100,
"Min": 60
},
"ammo.rocket.basic": {
"Max": 5,
"Min": 3
},
"ammo.rocket.fire": {
"Max": 5,
"Min": 5
},
"ammo.rocket.hv": {
"Max": 3,
"Min": 3
},
"ammo.shotgun": {
"Max": 46,
"Min": 16
},
"cctv.camera": {
"Max": 1,
"Min": 1
},
"door.double.hinged.toptier": {
"Max": 1,
"Min": 1
},
"door.hinged.toptier": {
"Max": 1,
"Min": 1
},
"explosive.timed": {
"Max": 3,
"Min": 2
},
"explosives": {
"Max": 25,
"Min": 20
},
"gates.external.high.stone": {
"Max": 1,
"Min": 1
},
"lmg.m249": {
"Max": 1,
"Min": 1
},
"metal.facemask": {
"Max": 1,
"Min": 1
},
"metal.plate.torso": {
"Max": 1,
"Min": 1
},
"pistol.m92": {
"Max": 1,
"Min": 1
},
"rifle.ak": {
"Max": 1,
"Min": 1
},
"rifle.bolt": {
"Max": 1,
"Min": 1
},
"rifle.l96": {
"Max": 1,
"Min": 1
},
"rifle.lr300": {
"Max": 1,
"Min": 1
},
"rifle.m39": {
"Max": 1,
"Min": 1
},
"rocket.launcher": {
"Max": 1,
"Min": 1
},
"shotgun.spas12": {
"Max": 1,
"Min": 1
},
"smg.2": {
"Max": 1,
"Min": 1
},
"smg.mp5": {
"Max": 1,
"Min": 1
},
"smg.thompson": {
"Max": 1,
"Min": 1
},
"targeting.computer": {
"Max": 1,
"Min": 1
},
"wall.window.bars.toptier": {
"Max": 1,
"Min": 1
},
"weapon.mod.8x.scope": {
"Max": 1,
"Min": 1
},
"weapon.mod.flashlight": {
"Max": 1,
"Min": 1
},
"weapon.mod.holosight": {
"Max": 1,
"Min": 1
},
"weapon.mod.lasersight": {
"Max": 1,
"Min": 1
},
"weapon.mod.silencer": {
"Max": 1,
"Min": 1
},
"weapon.mod.small.scope": {
"Max": 1,
"Min": 1
}
},
"ItemsMax": 3,
"ItemsMin": 2,
"MaxBPs": 1,
"Scrap": 0
}
}
}