Please check your oxide/logs for any errors.

NightLantern
Automatically turns ON and OFF lanterns after sunset and sunrise
Total Downloads: 20,633 - First Release: Jun 27, 2015 - Last Update: Jun 11, 2018
- 5/5, 52 likes
-
Wulf Community Admin
-
Please devs
can add the new Wall lamp (the tuna can lamp) ?
thanks in advance! -
Yeah, definitely need to add the Tuna Lamps to the mix.
-
Code:
04:58 [Error] Failed to call hook 'OnEntitySpawned' on plugin 'NightLantern v2.0.4' (NullReferenceException: Object reference not set to an instance of an object) 04:58 [Stacktrace] at Oxide.Plugins.NightLantern.CheckType (.BaseOven oven) [0x00000] in <filename unknown>:0 at Oxide.Plugins.NightLantern.OnEntitySpawned (.BaseEntity entity) [0x00000] in <filename unknown>:0 at Oxide.Plugins.NightLantern.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 04:58 [Error] Failed to call hook 'OnConsumeFuel' on plugin 'NightLantern v2.0.4' (NullReferenceException: Object reference not set to an instance of an object) 04:58 [Stacktrace] at Oxide.Plugins.NightLantern.OnConsumeFuel (.BaseOven oven, .Item fuel, .ItemModBurnable burnable) [0x00000] in <filename unknown>:0 at Oxide.Plugins.NightLantern.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
Last edited by a moderator: Feb 3, 2017 -
Please Update
-
Wanted to see if anyone had the string for the Tuna Can light at all to add them....
-
same, tuna lights need to be added
-
Yeah, lets light up tuna
-
Code:
Failed to call hook 'OnConsumeFuel' on plugin 'NightLantern v2.0.4' ceException: Object reference not set to an instance of an object)
Server Version: 1150.84
Oxide Version: 2.0.3024 -
LOL! I got it to work with TunaLamp. I did not change the version #, but this works. Add "TunaLamp": true to your config, or delete your config and let the plugin add it. Don't put , if you add it as the bottom one or the .json will be corrupt. Best to let the plugin add it and re customize your variables, since it's only a few lines in the config.
Here are the things I added to the plugin:
Added @ Line 170: case "tunalight.deployed":
Added @ Line 171: return ConsumeTypes.TunaLamp;
Line 210 changed: Campfires, CeilingLight, TunaLamp, Furnace, LargeFurnace, Lanterns, JackOLantern, None
Added @Line 218: public bool TunaLamp { get; set; }
Added @Line 244: {ConsumeTypes.TunaLamp, true }, -
Wulf Community Admin
-
-
Wulf Community Admin
-
-
-
k1lly0u updated NightLantern with a new update entry:
2.0.5
-
Getting this now:
Code:Failed to call hook 'OnConsumeFuel' on plugin 'NightLantern v2.0.5' (KeyNotFoundException: The given key was not present in the dictionary.)
-
Read the patch notes
-
[02/05/2017 08:38:01] Failed to call hook 'OnServerInitialized' on plugin 'NightLantern v2.0.5' (KeyNotFoundException: The given key was not present in the dictionary.)
-
Ok, Those changes do work