NullReferenceException at PopulateContainerError
Exception while calling NextTick callback (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.BetterLoot.PopulateContainer (LootContainer container) [0x002da] in <a56b79f1a1b44e1aad3b59086c9ff1e9>:0 
  at Oxide.Plugins.BetterLoot.<UpdateInternals>m__0 () [0x000b2] in <a56b79f1a1b44e1aad3b59086c9ff1e9>:0 
  at Oxide.Core.OxideMod.OnFrame (System.Single delta) [0x00051] in <1fe782f4b27a43ae85d29ebb2d56c007>:0

I found the reason why its giving problem. Sorry. Do not left any box blank. Fill in any value be it 0.

I was using BLMC web config.

BLMC is not updated afaik.
I wouldn't suggest using the tool until the creator updates it.
It is. Even stated in their website. Just don't leave any field blank. I manage to find out why now. Meaning the value for the amount of item. Some assume leaving it blank would mean zero. Instead you need to put "0" value in order for it work and not leave it blank. :)

Merged post

A short description. :)Te
rustkoyak
It is. Even stated in their website. Just don't leave any field blank. I manage to find out why now. Meaning the value for the amount of item. Some assume leaving it blank would mean zero. Instead you need to put "0" value in order for it work and not leave it blank. :)

Interesting, haven't look at the site in a few months. Assumed it wasn't being maintained. Thanks for the info!
Unfortunately, I won't be adding that note to the documentation, since it does deal with a 3rd party application/website.

If it becomes a fruther issue, I'll add it. For now I think a check for any blank/null fields would suffice in letting the user know that something's wrong.

Yea, as the Loot Tables is puzzling enough to look at. XD

That 3rd Party website sure makes life alot easier though.

It took quite sometime to find out the issue. And I just tried out my luck by filling and unfilling the field. True enough it works when you don't leave the field empty.

Your Plugin is great no worries. As you already mentioned, BLMC is not related to you, but maybe a cooperation would really help. :)

Perhaps, but the owner/maintainer of the site would have to reach out to me first for something like that to happen.
5e8e906c6016a.png Default
Perhaps, but the owner/maintainer of the site would have to reach out to me first for something like that to happen.

Understood. At least one annoying issues from BLMC is found. XD

I made a custom loot table json and its saved in the data folder under betterloot, however on the server all the crates and barrels still have vanilla loot. When I try reloading the plugin this message appears:

I'm not quite sure what to make of this. If anyone could help me out I'd appreaciate it.

Exception while calling NextTick callback (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.BetterLoot.PopulateContainer (LootContainer container) [0x001a0] in <0c48f34d734d45bca28e04d43c1634db>:0 
  at Oxide.Plugins.BetterLoot.<UpdateInternals>m__0 () [0x000b2] in <0c48f34d734d45bca28e04d43c1634db>:0 
  at Oxide.Core.OxideMod.OnFrame (System.Single delta) [0x00051] in <ec05e0208c9149bba43236ca58fea105>:0  
I made a custom loot table json and its saved in the data folder under betterloot, however on the server all the crates and barrels still have vanilla loot. When I try reloading the plugin this message appears:
Exception while calling NextTick callback (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.BetterLoot.PopulateContainer (LootContainer container) [0x001a0] in <0c48f34d734d45bca28e04d43c1634db>:0 
  at Oxide.Plugins.BetterLoot.<UpdateInternals>m__0 () [0x000b2] in <0c48f34d734d45bca28e04d43c1634db>:0 
  at Oxide.Core.OxideMod.OnFrame (System.Single delta) [0x00051] in <ec05e0208c9149bba43236ca58fea105>:0  ​

I'm not quite sure what to make of this. If anyone could help me out I'd appreaciate it.

(06:39:50) | Loaded plugin BetterLoot v3.1.0 by Default

(06:39:50) | [BetterLoot] Removed 117 stacked LootContainer

(06:39:50) | 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 <d111894624754f9090ccffa93af6a206>:0

at Oxide.Plugins.BetterLoot.<UpdateInternals>m__0 () [0x000bd] in <d111894624754f9090ccffa93af6a206>:0

at Oxide.Core.OxideMod.OnFrame (System.Single delta) [0x00051] in <ec05e0208c9149bba43236ca58fea105>:0

What should I do about this if anything?



Merged post

I guess I should have added that I am not a coder nor do I understand C#.

Merged post

Nevermind.... found the comma that was missed using the .json validator.  Problem is now resolved.

i have made my custom loot for better loot to drop from barrels ect and when i loaded the plugin into oxide/data/BetterLoot and repleced the existing LootTables.jason with my own LootTables.jason file im getting an error on the server in red-

Exception while calling NextTick callback (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.BetterLoot.PopulateContainer (LootContainer container) [0x00206] in <fcdf77ed3d0f429cb6b6b5bf1e06853e>:0 558 ents, 0 slprs 0b/s in, 0b/s out
at Oxide.Plugins.BetterLoot.<UpdateInternals>m__0 () [0x000bd] in <fcdf77ed3d0f429cb6b6b5bf1e06853e>:0
at Oxide.Core.OxideMod.OnFrame (System.Single delta) [0x00051] in <ec05e0208c9149bba43236ca58fea105>:0

WJbiz1I7nQp17C8.png Default

Interesting, haven't look at the site in a few months. Assumed it wasn't being maintained. Thanks for the info!
Unfortunately, I won't be adding that note to the documentation, since it does deal with a 3rd party application/website.

If it becomes a fruther issue, I'll add it. For now I think a check for any blank/null fields would suffice in letting the user know that something's wrong.

Added a check for an empty or null value

Axyx8oAlPo3g1BP.jpg artemdanilkin

Added a check for an empty or null value

Thank you, that should help solve people having errors from using your site.