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. This is the right thing to do... :)
     
  2. Not getting any errors via RCON, but none of the items are lighting up as I need. Here is my config:
    {
    "ConsumeFuel": false,
    "LightTypes": {
    "Campfires": true,
    "CeilingLight": true,
    "Furnace": false,
    "JackOLantern": true,
    "Lanterns": true,
    "LargeFurnace": false,
    "TunaLight": true
    },
    "SunriseHour": 7.5,
    "SunsetHour": 18.5
    }
     
  3. ye same no lighty no likey
    [DOUBLEPOST=1486767961][/DOUBLEPOST]but thanks kil1you, as im a server owner an no the problems we have with mods not working and the tits that scream at us telling us its broken and us telling you its broken and i will wait till the fix comes out many thanks again for your hard work i salute.
     
  4. I only even have a server so I can be sure to have this plugin, can't wait for update! I am a business intelligence programmer but interested in helping update this plugin if I can get good enough at it.
     
  5. I have been experiencing server crashes and am slowly adding mods back... so far no crashes with mods I have added back (minimal mods) but this is one of the mods I suspect is causing the crash... nearly everytime I install it I crash immediately. I am not blaming this mod so please do not take this post wrong, k1lly0u does GREAT WORK... I am still trying to find the suspect mod.... in any case I wanted to ask if mods in general and maybe this mod specifically have the potential to "leave open ojejects or memory leaks" after they are unloaded. Knowing coding enough to know that programs can have memory leaks and cause damage even after they are removed so I am asking anyone OR k1lly0u specifically if this mod even might be causing this leak??

    I have not reloaded this mod back yet as I am reloading mods 2 at a time over about an 8-16 hour period spanning the loads.
     
  6. I'm running it now and it just only sometimes works. Not causing total server instability...
     
  7. Getting a constant error on console repeating every few seconds while lights are on. "Failed to call hook 'onConsumeFuel' on plugin 'NightLanter v2.0.3' (NullReferenceException: object reference not set to an instance of an object)" seems to be new to the recent update.
     
  8. @k1lly0u @Wulf

    With last Oxide version and last version of Plugin, is giving this error:

    Failed to call hook 'OnServerInitialized' on plugin 'NightLantern v2.0.61' (KeyNotFoundException: The given key was not present in the dictionary.)
     
  9. Does your config match the one posted in the overview?
     
  10. mmm checking, let me see.. I just Update

    YES! You was right
    the config missed the tuna can light

    Code:
        "TunaLight": true
    I add it and working now.
     
  11. I really do not like it when people solve a problem and never return to the post to tell people how.... so here goes...

    First off I did not "solve" the crashing / restarting issue on my server but I put a huge dent in it.

    Here is what I did:
    1. Removed a bunch of random building blocks and randomly placed entities, especially concentrating on abandoned raided bldgs and bldgs of ppl that have not been on my server in a while. This was a manual process that toopk me time but is worth it... autopurge did not work.

    2. Lowered entity counts by changing the spawn.density to .3 (we went from about 59k to about 10k)

    3. Added the NODECAY mod and used x2 and x3 for wood and twig respectively

    4. Added the block removal mod to allow me to remove all twig and wood periodically

    I have not so far had a crash.

    I am also considering paying for 100 seats but only using 25 (low pop server).
     
  12. I'm having an issue where all the lights that I set to True turn on on sunset but none of them turn off on sunrise...
    Is there maybe a command I can use to just turn everything off at once?
     
  13. Appreciate the response, but at the same time - none of this has anything to do with this Plugin and is a little off-topic to be posted here. Really only watching this thread looking for updates.


    That said -

    I'm still getting the following error when I try to call "/Lantern" in game - I have recently reinstalled the plugin and recopied the config file, not sure what the problem is at this point.

    Code:
    Failed to call hook 'cmdLantern' on plugin 'NightLantern v2.0.61' (NullReferenceException: Object reference not set to an instance of an object)
     
  14. Anyone have this currently working? I'm still getting the above error, and this plugin is my absolute favorite.

    @k1lly0u - I know you have a ton of Plugins you have created, but any chance you might be able to take a look at this before my server wipe tomorrow? Appreciate you very much either way!

    Thanks
     
    Last edited by a moderator: Feb 16, 2017
  15. It was posted here BECAUSE I had posted earlier that this mod was causing the crash... I did it because I felt it right to set the records straight.
     

  16. Code:
    Failed to call hook 'OnServerInitialized' on plugin 'NightLantern v2.0.61' (ArgumentException: The requested value 'CeilingLights' was not found.)
     
  17. i am getting a small "hook" related error....here's log
     

    Attached Files:

  18. Same error for me too.
     
  19. since update, no working lights..
     
  20. Favorite plugin, still hoping we will get an update here. I tried, but haven't been able to figure out the problem.