Solved Fast Ovens | Error on smelting

Newest version has consone spam

I already tried removing the config but as soon as I put everything 1000x again it says
(13:56:47) | Failed to call hook 'OnConsumeFuel' on plugin 'FastOvens v1.0.3' (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Plugins.FastOvens.SmeltItems (BaseOven oven) [0x000bd] in <6462754f55f2421f8319d8cdc3502493>:0

at Oxide.Plugins.FastOvens.OnConsumeFuel (BaseOven oven, Item item, ItemModBurnable burnable) [0x00000] in <6462754f55f2421f8319d8cdc3502493>:0

at Oxide.Plugins.FastOvens.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00038] in <6462754f55f2421f8319d8cdc3502493>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <d09a1f46ca2f4432811bcfe45ad13c7b>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <cf88a28c7fb44d36890d85a78331cc9d>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <cf88a28c7fb44d36890d85a78331cc9d>:0

(13:56:48) | Failed to call hook 'OnConsumeFuel' on plugin 'FastOvens v1.0.3' (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Plugins.FastOvens.SmeltItems (BaseOven oven) [0x000bd] in <6462754f55f2421f8319d8cdc3502493>:0

at Oxide.Plugins.FastOvens.OnConsumeFuel (BaseOven oven, Item item, ItemModBurnable burnable) [0x00000] in <6462754f55f2421f8319d8cdc3502493>:0

at Oxide.Plugins.FastOvens.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00038] in <6462754f55f2421f8319d8cdc3502493>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <d09a1f46ca2f4432811bcfe45ad13c7b>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <cf88a28c7fb44d36890d85a78331cc9d>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <cf88a28c7fb44d36890d85a78331cc9d>:0
 
Same issue here, no config from previous versions or anything....

(20:20:34) | Failed to call hook 'OnConsumeFuel' on plugin 'FastOvens v1.0.3' (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Plugins.FastOvens.SmeltItems (BaseOven oven) [0x000bd] in <579b2d64001346879989dd660b7f0769>:0

at Oxide.Plugins.FastOvens.OnConsumeFuel (BaseOven oven, Item item, ItemModBurnable burnable) [0x00000] in <579b2d64001346879989dd660b7f0769>:0

at Oxide.Plugins.FastOvens.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00038] in <579b2d64001346879989dd660b7f0769>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <d09a1f46ca2f4432811bcfe45ad13c7b>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <cf88a28c7fb44d36890d85a78331cc9d>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <cf88a28c7fb44d36890d85a78331cc9d>:0

(20:20:35) | Unloaded plugin Fast Ovens v1.0.3 by Orange

Look like issue is here, when you change {"*", 1}, to any other value in config it error up
private static void ValidateConfig()
{
if (config.rates.Count == 0)
{
config.rates = new Dictionary<string, int>
{
{"ore", 10},
{"meat", 5},
{"hq.metal.ore", 5},
{"wood", 5},
{"*", 1},
};
}
}
 
Last edited:
Top