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
Day & Night System [Unmaintained]
Discussion in 'Plugin Support' started by Mughisi, Oct 22, 2014.
-
-
Always not upgraded?
Very usefull plugin -
How do I change the logo?
-
Wulf Community Admin
-
are there any alternatives to this plugin ? i still cant get it to work properly
-
Wulf Community Admin
-
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
-
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. -
please do some updates...
-
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!
-
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" -
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
Server is stuck at 9AM :/Last edited by a moderator: Aug 30, 2015 -
Wulf Community Admin
[DOUBLEPOST=1440903423][/DOUBLEPOST] -
Plugin doesnt work since new update?
I try to change de time duration of the night but nothing change :m
Thanks anyway for the pluginLast edited by a moderator: Sep 4, 2015 -
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 -
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.
-
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 -
Please fix Mughisi
-
Wulf Community Admin