NightLantern

Automatically turns ON and OFF lanterns after sunset and sunrise

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

5/5, 52 likes
  1. I disabled Campfires but they still turn on at night. Am I the only one with this issue and if not is there a fix for that?
     
  2. The lighting but time to trip. Can you see where have the problem thank you
    [DOUBLEPOST=1473921881][/DOUBLEPOST]It takes between 15 and 20 seconds after the time scheduled for the lights comes on. Is this normal ??
     
  3. Code:
    [Oxide] 13:00 [Error] Failed to call hook 'OnEntitySpawned' on plugin 'NightLantern v2.0.1' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 13:00 [Debug]   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 name, System.Object[] args) [0x00000] in <filename unknown>:0 
     
  4. Hi, first I really like this plugin. I have an issue. I did disable campfire and furnaces but still comes up with lantern. What is wrong?
    Thanks,
     
  5. This is one of my favorite plugins. Everything looks really cool at night.

    Have and of you noticed that (at times) fire will still burn you even after it goes out?

    If you open/close the fire then it won't do that. I haven't yet narrowed down how to reproduce this. It may be the ones that are added and lit at night, the get auto-turned off, but somehow there's a flag somewhere indicating that it's still let.
     
  6. I've noticed this to and I agree. To reproduce I think you would have to wait for the fire to automatically turn off. Still waiting for a fix to the config for campfires... :(
     
  7. Code:
    [Oxide] 19:02 [Info] Loaded plugin NightLantern v2.0.1 by k1lly0u
    [Oxide] 19:02 [Error] Failed to call hook 'OnServerInitialized' on plugin 'NightLantern v2.0.1' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 19:02 [Error] Failed to call hook 'OnServerInitialized' on plugin 'NightLantern v2.0.1' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 19:02 [Debug]   at Oxide.Plugins.NightLantern.CheckType (.BaseOven oven) [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 name, System.Object[] args) [0x00000] in <filename unknown>:0
    [Oxide] 19:02 [Debug]   at Oxide.Plugins.NightLantern.CheckType (.BaseOven oven) [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 name, System.Object[] args) [0x00000] in <filename unknown>:0
    [Oxide] 19:02 [Warning] Calling 'OnServerInitialized' on 'NightLantern v2.0.1' took 1129ms
    [Oxide] 19:02 [Warning] Calling 'OnServerInitialized' on 'NightLantern v2.0.1' took 1129ms
     
  8. I love this Plugin so much, Works like a charm, but...
    I want to Just let use the autolights to a specific group, not all "default" users.

    There is a permissiones for do this?
     
  9. read the overview
     
  10. I know you are pointing to this permission: nightlantern.use

    But that Only will avoid the use of /lanter on chat, anyway the autlights will work anyway, or im wrong? I tested and all ppl had autolights withuot the permission anyway
     
  11. I pointed you to the overview so you could read there was no way to do what you are asking maybe the coder will put the option in
     
  12. I dont know why but this mod doesnt seem to be working on my server. It says lantern is enabled, but nothing happens. They have fuel in them and I have the latest version of this mod. I just reloaded it this morning after having deleted the plugin and config file. But I wont be able to test it till i get home in a few hours.
     
  13. [Oxide] 14:31 [Info] Loaded plugin NightLantern v2.0.1 by k1lly0u
    [Oxide] 14:31 [Error] Failed to call hook 'OnServerInitialized' on plugin 'NightLantern v2.0.1' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 14:31 [Debug] at Oxide.Plugins.NightLantern.CheckType (.BaseOven oven) [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 name, System.Object[] args) [0x00000] in <filename unknown>:0
     
  14. The plugin works when he wants. There is an ignition problem of lights. Thank you for an update soon 20161020073137_1.jpg
     
  15. I can also confirm this isn't working. This is the errors I'm getting spammed with:


    [Oxide] 16:35 [Error] Failed to call hook 'OnEntitySpawned' on plugin 'NightLantern v2.0.1' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 16:35 [Debug] 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 name, System.Object[] args) [0x00000] in <filename unknown>:0
    [DOUBLEPOST=1478302737][/DOUBLEPOST]Well I guess I just realized I replied to an old comment of yours, but yeah... I have found that this plugin isn't working for me at the moment and these are the errors I'm seeing.
     
  16. I'm not getting any errors, however the plugin is not working? I swear I saw my light sources kick on last night..Waiting for the next night-cycle now..

    EDIT- It's working just fine :)
     
    Last edited by a moderator: Nov 5, 2016
  17. Well, just reinstalled it and its also working fine for me
     
  18. k1lly0u updated NightLantern with a new update entry:

    2.0.2

     
  19. Hello, I have some errors in console :

    (15:14:17) | [Oxide] 15:14 [Debug] 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 name, System.Object[] args) [0x00000] in <filename unknown>:0

    (15:14:27) | [Oxide] 15:14 [Error] Failed to call hook 'OnConsumeFuel' on plugin 'NightLantern v2.0.2' (NullReferenceException: Object reference not set to an instance of an object)
     
  20. Did you already try deleting the config file and reloading the plugin?