NightLantern

Automatically turns ON and OFF lanterns after sunset and sunrise

Total Downloads: 20,602 - First Release: Jun 27, 2015 - Last Update: Jun 11, 2018

5/5, 52 likes
  1. If i set
    Code:
        "Fireplace": {
          "This type is enabled": true,
          "This type consumes fuel": false,
          "This type can be toggled by the owner": false,
          "This type requires permission to be toggled by the owner": false
        },
    as example the Fireplace Produce endless Charcoal if i put one Wood in it. Is there a way to fix or prevent it?

    And the Fireplace is Missing in there
    SNAG-0000.png
     
    Last edited by a moderator: Aug 9, 2018
  2. i am getting this error wondering if you could possibly fix thanks
    NullReferenceException: Object reference not set to an instance of an object
    at Oxide.Plugins.NightLantern+LightController.ToggleLight (System.Boolean status) [0x00000] in <4935236933e34598b9d9ee53da1ec657>:0
    at Oxide.Plugins.NightLantern+<ToggleAllLights>c__Iterator1.MoveNext () [0x000b0] in <4935236933e34598b9d9ee53da1ec657>:0
    at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00027] in <3d3ce0a05f164357836ebcee3caff781>:0

    (Filename: <4935236933e34598b9d9ee53da1ec657> Line: 0)
     
  3. I get the following error message when I reload the plugin. Any new fireplaces, tuna lamps, campfires, etc placed do not auto light up at sunset even with fuel. However, the ones placed prior to 10th August do still function automatically at sunset and sunrise. I am not sure what is the error here?

    Code:
    oxide.reload NightLantern
    Failed to call hook 'Unload' on plugin 'NightLantern v2.0.9' (NullReferenceException: Object reference not set to an instance of an object)
      at Oxide.Plugins.NightLantern+LightController.ToggleLight (System.Boolean status) [0x000ba] in <39f3803176614d319e3394b135459966>:0
      at Oxide.Plugins.NightLantern.Unload () [0x00019] in <39f3803176614d319e3394b135459966>:0
      at Oxide.Plugins.NightLantern.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0036c] in <39f3803176614d319e3394b135459966>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9affce1cd15c4ec183941adef8db1722>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <4452f821def6406d834e4149849fe7ea>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <4452f821def6406d834e4149849fe7ea>:0
    Unloaded plugin NightLantern v2.0.9 by k1lly0u
    Loaded plugin NightLantern v2.0.9 by k1lly0u
     
  4. sometimes after change "This type consumes fuel" true to false for ceilinglight
    upload_2018-8-26_21-18-58.png