1. for example make 600m day 10m night
    then day and night passing cycle will take about 2hrs and there will be total 4hrs night
    it' not working properly
     
  2. Read post Day & Night System
     
  3. Always not upgraded?

    Very usefull plugin
     
  4. How do I change the logo?
     
  5. Wulf

    Wulf Community Admin

    What logo?
     
  6. are there any alternatives to this plugin ? i still cant get it to work properly
     
  7. Wulf

    Wulf Community Admin

    What issue are you having with it?
     
  8. Code:
    [Oxide] 4:51 PM [Error] Failed to call hook 'ccmdEnvTime' on plugin 'Day & Night System' File: m-Time.lua Line: 563 attempt to compare number with nil:
       at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0
       at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0
       at NLua.Lua.CallFunction (System.Object function, System.Object[] args) [0x00000] in <filename unknown>:0
       at NLua.LuaFunction.Call (System.Object[] args) [0x00000] in <filename unknown>:0
       at Oxide.Ext.Lua.Plugins.LuaPlugin.OnCallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0
       at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0
    that gives me this error ?
     
  9. It is not working for me.
    When I change the settings (shorter night) it actually makes the sky (not the server) lag every 5 seconds, without increasing the speed.
    The moon and stars just move across the sky and every 5 seconds they pop back to where they were the 5 seconds before.
    Edit: This also happens during the day, even though I have not changed the day length settings.
     
  10. please do some updates...
     
  11. So, I installed this plugin last night, set the night cycle to 5 minutes. Instead of only lasting 5 minutes it lasted way longer than the night would of been without installing the mod. I just want to be able to adjust the night slightly on my lightly modded server. Am I configuring this wrong? Is there something I need to modify other than just using the "env.nightlength <length in minutes (5-720)>" command? I noticed that the in game clock/time was slowed down a lot! Any information would be helpful! thanks!
     
  12. After last update it doesn't work.
    Time rolls back and loops.
    For example, if the set time is 8 am, then it comes to 8.15, and is reset to 8
    [DOUBLEPOST=1440718304][/DOUBLEPOST]> env.time
    env.time: "8.140606"

    > env.time
    env.time: "8.157864"

    > env.time
    env.time: "8.059074"
     
  13. I have this problem too, any solutions @Wulf ?
    Code:
    [Oxide] 12:46 AM [Error] Failed to call hook 'ccmdEnvTime' on plugin 'm-Time v1.0.3'
    File: m-Time.lua Line: 563 attempt to compare number with nil:
      at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0
      at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0
      at NLua.Lua.CallFunction (System.Object function, System.Object[] args) [0x00000] in <filename unknown>:0
      at NLua.LuaFunction.Call (System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Ext.Lua.Plugins.LuaPlugin.OnCallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0
    [DOUBLEPOST=1440893903,1440802110][/DOUBLEPOST]Keep having this problem :/ No solution? @Wulf

    Server is stuck at 9AM :/
     
    Last edited by a moderator: Aug 30, 2015
  14. Wulf

    Wulf Community Admin

    You could use Rust's env.time, you don't need this plugin to change the time.
    [DOUBLEPOST=1440903423][/DOUBLEPOST]
    That error means someone didn't give an actual time to set.
     
  15. Plugin doesnt work since new update?
    I try to change de time duration of the night but nothing change :m

    Thanks anyway for the plugin ;)
     
    Last edited by a moderator: Sep 4, 2015
  16. I do that to describe what is going on.
    env.time returns actual time on server.
    As you can see it returns back to 8 o'clock (loop)
    [DOUBLEPOST=1441360266][/DOUBLEPOST]1 time: 8.140606
    2 time: 8.157864
    3 time: 8.059074
     
  17. The plugin needs a rewrite but haven't managed to find the time for doing so, I'll hopefully be able to do that soon.
     
  18. I installed this plugin last night and now my day/night is all messed up :( Its day for 20 seconds, then the sun goes in the other direction again and the moon races along the sky and it's night for a few seconds.

    Tried deleting all plugin related files and reinstalling (with restarts) but the problem still occurs.

    Console throws me this huge list of exceptions every time:
    'ArgumentOutOfRangeException: Argument is out of range.'

    It seems to me the value for time itself is screwed up.

    Does anyone know of a way to fix the time via console? I think I need to reset the internal values to align the sun and sky to the correct time of day.

    Edit 1: also tried setting constant values in server.cfg and freezing/unfreezing time. Setting time via env.time also does nothing.

    Edit 2: after reinstalling the entire server without plugins and just placing back the map (server/<name>/save/etc) time is still jumping around.
    Why would the procedural map also store the information about the timescaling?
     
    Last edited by a moderator: Sep 10, 2015
  19. Please fix Mughisi :)
     
  20. Wulf

    Wulf Community Admin

    Any errors in your oxide/logs?