NightLantern

Automatically turns ON and OFF lanterns after sunset and sunrise

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

5/5, 52 likes
  1. Thanks
     
    Last edited by a moderator: Mar 26, 2017
  2. @k1lly0u can you add the new Search light?
    "searchlight.deployed"

    Thanks in advance!
     
  3. @k1lly0u would also like to request that
     
  4. yeah it would be very good if u could add this to the addon.
     
  5. Just noticed this issue today on my server. I have ConsumeFuel set to false, and that is working more or less. Light sources are not actually consuming the fuel. The issue however is that if the light container has no fuel in it, when the mod is supposed to turn that light on, it flickers on then back off immediately. Previously, lights turned on and stayed on no problem regardless of how much fuel it had.
     
  6. Need update Search light was added to light sources
     
  7. k1lly0u updated NightLantern with a new update entry:

    2.0.7

     
  8. Hi, even with searchlight being set to true and consumefuel true or false, they do not activate.
     
  9. The searchlight does not turn on.
     
    Last edited by a moderator: Apr 1, 2017
  10. k1lly0u updated NightLantern with a new update entry:

    2.0.8

     
  11. k1lly0u updated NightLantern with a new update entry:

    2.0.8

     
  12. Mine is not working either and there are no log entries
    [DOUBLEPOST=1491062051][/DOUBLEPOST]For example /lantern does not respond in chat
    [DOUBLEPOST=1491062126][/DOUBLEPOST]To be clear though... mine stopped working before my update.... I do not know why... last night they were working and today they are not.... I do not know what changed.
    [DOUBLEPOST=1491062296][/DOUBLEPOST]Is it remotely possible they are conflicting with the QuickSmelt mod??
    [DOUBLEPOST=1491062552][/DOUBLEPOST]OK so somehow now all the lights have to be replace to allow them to work.... I do not know why. I added a searchlight and it worked but then I went and removed and added a lantern and it worked also.... players should not have to replace all lights to get them to work.
     
  13. Good to go!
     
  14. IF you have this error:

    (20:32:35) | Loaded plugin NightLantern v2.0.8 by k1lly0u
    (20:32:35) | Failed to call hook 'OnServerInitialized' on plugin 'NightLantern v2.0.8' (KeyNotFoundException: The given key was not present in the dictionary.)


    Then you need add this line on Config:

    "Searchlights": true,
     
  15. Lookin sick, thanks
     
  16. A follow up to this issue, I found that this bug only pertained to light containers that were built before updating the mod. I'm just telling people to either replace their lights or deal with it since forced wipe patch is soon. Not much point in fixing a short lived issue that is likely not an easy fix.
     
  17. im still having the hook error issue and the lights are now not turning off or on when its day or night. can anyone lend me a hand please?
    this is from my oxide log:
    13:07 [Stacktrace] at System.Collections.Generic.Dictionary`2[Oxide.Plugins.NightLantern+ConsumeTypes,System.Boolean].get_Item (ConsumeTypes key) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.NightLantern.FindLights () [0x00000] in <filename unknown>:0
    at Oxide.Plugins.NightLantern.OnServerInitialized () [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: Apr 6, 2017
  18. I'm having the same errors. Deleted config,, reinstalled, restarted server didn't resolve itself.
    Also searchlight seems unaffected by the plugin consumes fuel no lights are effected by the automation on/off.
    /lantern doesn't work in chat.
    I'm assuming issue is on my end in installation where else does the plugin write files to the server besides config?
     
  19. Is it working for anyone?
     
  20. Wulf

    Wulf Community Admin

    Have you tested it? Are you getting any errors?