Hi, i cant have this plugin working on my server,
/time, env.day et night command dont work same thing for /setdaylength
my console:
my m-Time json :
{
"DayDuration": 50,
"NightDuration": 5
}
Thanks
Day & Night System [Unmaintained]
Discussion in 'Plugin Support' started by Mughisi, Oct 22, 2014.
-
Hmm I'll
Code:{ "NightDuration": 5, "Hour": 12, "Frozen": false, "DayDuration": 20 }
-
-
Wulf Community Admin
-
Code:
[Oxide] 2:05 PM [Error] Failed to call hook 'ccmdEnvTime' on plugin 'Day & Night System' File: m-Time.lua Line: 713 attempt to index upvalue 'Sky' (a nil value): 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 (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 (Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebug.gen.cpp Line: 56) [Oxide] 2:05 PM [Info] [Auto Commands] ran command env.daylength 50 (Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebug.gen.cpp Line: 56) [Oxide] 2:05 PM [Error] Failed to call hook 'ccmdEnvTime' on plugin 'Day & Night System' File: m-Time.lua Line: 753 attempt to index upvalue 'Sky' (a nil value): 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 (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 (Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebug.gen.cpp Line: 56) [Oxide] 2:05 PM [Info] [Auto Commands] ran command env.nightlength 10
Last edited by a moderator: Apr 19, 2015 -
It might actually be running the commands too soon as the sky is not immediately available but normally the daylength & nightlength values should be stored in the configuration file.
-
-
After today's update, I set env.nightlength and now time if frozen. Had to disable.
Last edited by a moderator: May 1, 2015 -
Any chance of getting this updated i cant get it to work since update
-
Wulf Community Admin
-
Mine does work without problems. :/
[DOUBLEPOST=1430524268][/DOUBLEPOST]Btw don't use the console commands take the chatcommands. This could solve it -
ok i fixed i removed it and readded sorry guys
-
Plugin is terrible.
no replay for change sunrize of sunshine..
no replay for change dayleght or nightleght..
only /settime work..
owfull. -
-
local Sunrise = 6
local Sunset = 18
local TimeTickUpdate = false )
you can set any values - they will not work.
PS: in the first message has no warning that the plugin may not work, since its developer does not conduct its own server and not check for updates in Rust. Isn't it? In the end, going at this website of the oxide, and selecting the plugin, I expect that the downloaded me the plugin is working.
[DOUBLEPOST=1430763313][/DOUBLEPOST]The same setdaylength & setnightlength, putting commands on chat or on consol. I'm sorry if my post insulted you. You must understand all the outrage, when you put the plugins from this site, as they work through the ass (almost ALL!). -
And I do check for Rust updates, the thing is that I just don't have the plugins running as much as an actual running server so if there is a bug that occurs after running for x hours I won't find out, but anything else is tested. And the time system hasn't changed since the plugin was released (exception being of FacePunch adding the env.time console command). Regarding the commands you can find everything in the overview. The Sunris/Sunset values are required for daylength & nightlength to work correctly so if you modify those values you basically break those functions. -
Whats default numbers of daylenght and nightlenght?
I have this:
{
"DayDuration": 35,
"Hour": 0,
"NightDuration": 15
}
And my sun is hopping in the sky, slow hopping but it's not nice.
Probably some command is missin in my?Last edited by a moderator: May 19, 2015 -
Only /settime works. The day length and night length won't change from Rust default even though the command says it changed the day/night lengths.
-
-
I've noticed that when freezing the time, it takes about 30 in-game minutes for the time to reset to the frozen time (for example, if I set it to 20, it will wait until 20.50 to change the time back to 20). Is there a way to modify this update interval? Trying to shoot a video and the time change is messing it up.