have to keep spamming o.reload BetterLoot till it actually accepts the load, this is stupid it always breaks on random things and its a 100x server too.
have to keep spamming o.reload BetterLoot till it actually accepts the load, this is stupid it always breaks on random things and its a 100x server too.
It would be more helpful to see why you are spamming o.reload in the first place. Do you get errors? Show your oxide log.
(01:51:26) | Failed to call hook 'OnLootSpawn' on plugin 'BetterLoot v3.5.8' (KeyNotFoundException: The given key was not present in the dictionary.)
at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <fb001e01371b4adca20013e0ac763896>:0
at Oxide.Plugins.BetterLoot.MightyRNG (System.String type, System.Int32 itemCount, System.Boolean blockBPs) [0x0020a] in <1a2f488bf0074cd2bc57e806e8bba7b1>:0
at Oxide.Plugins.BetterLoot.PopulateContainer (LootContainer container) [0x001d5] in <1a2f488bf0074cd2bc57e806e8bba7b1>:0
at Oxide.Plugins.BetterLoot.OnLootSpawn (LootContainer container) [0x0006d] in <1a2f488bf0074cd2bc57e806e8bba7b1>:0
at Oxide.Plugins.BetterLoot.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x006dc] in <1a2f488bf0074cd2bc57e806e8bba7b1>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <d431e37658ba4727b7490299d12dfc44>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <157a94ee66ab4a7991faecd1eb84be3b>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <157a94ee66ab4a7991faecd1eb84be3b>:0
This is not something preventing the plugin from loading. No reason for you to keep o.reloading it. Something is wrong with your config or loottables file. One issue I see is trying to put 25 items into a lockedcrate, can it even hold that much!? What I would do is manually spawn each of your containers until you see this error again, then you will know where to start looking.
happense on bradley, airdrop crates , everything else works sometimes the signposts break also
Merged post
isn't the whole point of this plugin to allow 'better loot' in drops? seems counter productive.
It's a very old plugin, maintained by several people over the years, it's kind of a mess. It's frustrating when the end user doesn't have any helpful information/errors to show - things that should and probably could be fixed by the plugin itself. I don't see anything wrong with your bradley container, but I think the problem with your roadsigns is you have set 3 items max, when you only have 2 items to pick from. Scrap will always drop if it's > 0. Go through your roadsigns and change ItemsMax to 2 - that should cut down on a lot of the spam.
do you have a better plugin to recommend from here or CF?