it's working for me under oxide309 but with some delay(i.e. 3-5 sec)
also getting error on start-up but working;
Code:[2/11/2015 11:17:20 AM] [Oxide] 11:17 AM [Error] m-Time: LuaScriptException while calling ccmdEnvTime: [2/11/2015 11:17:20 AM] [Oxide] 11:17 AM [Error] m-Time: [string "m-Time.lua"]:714: 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
Day & Night System [Unmaintained]
Discussion in 'Plugin Support' started by Mughisi, Oct 22, 2014.
-
env.time works nicely, changes day/night with ease until the plugin is updated.
-
is there any chance of an Update ?
-
m-time.json is empty ...
Doesn't work for me. -
Good afternoon.
I ask you to help with the problem. While the players is different. In someone else day. At night someone else. Although the team - / time at all synchronously. It should be reconnecting to the server. I ask you to help with this problem. -
env.time is now an inherit command from rust.
mughisi needs to remove it or the plugin won't launch -
Code:
2:52 PM [Error] Failed to initialise plugin m-Time File: m-Time.lua Line: 61 An element with the same key already exists in the dictionary.: at System.Collections.Generic.Dictionary`2[System.String,ConsoleSystem+Command].Add (System.String key, .Command value) [0x00000] in <filename unknown>:0 at Oxide.Rust.Libraries.Command.AddConsoleCommand (System.String name, Oxide.Core.Plugins.Plugin plugin, System.String callbackname) [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
-
Wulf Community Admin
-
im getting that same error as well I have not changed any plugins since update
-
Wulf Community Admin
-
-
Wulf Community Admin
-
Mughisi updated Day & Night System with a new update entry:
Removed env.time
-
There is problem in your code. I can't edit m-time.json plugin reset it always on reload to default because of this:
if self.Config.Settings.Version ~= "1..0" then
Why "1..0" if should be "1.0"? After i manualy replaced this config not reseting every time when plugin loaded. -
Oh so sorry, it's from debugging stuff, I'll fix that
-
Mughisi updated Day & Night System with a new update entry:
Removed some leftover debug values
-
dont work.
env.time 6 - in console change time, in game no
/settime 6 - in console change time, in game no
=(((( -
-
sad =((((
-
I put it just in case you'd better help the developer.
This is the error in console, when i load the plugin.
Oxide] 10:44 PM [Info] Loaded plugin Day & Night System v1.0.3 by Mughisi
[Oxide] 10:44 PM [Error] Failed to initialise plugin m-Time (NullReferenceException: Object reference not set to an instance of an object)
[Oxide] 10:44 PM [Debug] at Oxide.Core.Configuration.DynamicConfigFile.GetEnumerator () [0x00000] in <filename unknown>:0
at Oxide.Lua.Utility.TableFromConfig (Oxide.Core.Configuration.DynamicConfigFile config, NLua.Lua lua) [0x00000] in <filename unknown>:0
at Oxide.Lua.Plugins.LuaPlugin.LoadConfig () [0x00000] in <filename unknown>:0
at Oxide.Core.Plugins.Plugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0
at Oxide.Lua.Plugins.LuaPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0
at Oxide.Core.Plugins.PluginManager.AddPlugin (Oxide.Core.Plugins.Plugin plugin) [0x00000] in <filename unknown>:0
at Oxide.Core.OxideMod.PluginLoaded (Oxide.Core.Plugins.Plugin plugin) [0x00000] in <filename unknown>:0Last edited by a moderator: Feb 17, 2015