If player input in the chat commsnd "/clock" then plugin ceases to work until I remove the file in DATA directory and not a reload a plugin.

Ingame Clock GUI
Displays ingame and server time
Total Downloads: 6,357 - First Release: Jul 18, 2015 - Last Update: Oct 27, 2017
- 5/5, 20 likes
-
About the config file- As soon as i change anything in the config file its get overwritten by the plugin !!!!! Cant even change the ShowSeconds.
-
[DOUBLEPOST=1439301887][/DOUBLEPOST]Last edited by a moderator: Aug 11, 2015 -
Hi deer_SWAG,
Love the plugin, very useful and appreciate your time in making this and keeping it up to date.
Our server is having a similar issue with the clock stopping and not working until I unload the plugin, remove the file in the Data directory and load the plugin back in.
I have tested a scenario and think have confirmed the cause.
Once clock is working after unload, remove file from data and reload, if I type /clock in chat, it says disabled which is as expected.
Problem is it also disables it for everyone else on the server.
I am NOT logged in as admin, I am just a normal user in game.
When I type /clock again, it turns my clock back on but now the clock is not working for anyone else.
Anyone typing /clock in chat sees no message and gets no clock.
There are also no errors in RCON
We then reversed the role and had someone else do the same after unload, delete file from data and load back up.
Once that 1 person used /clock, he had control over the clock for himself and no one else could see the clock anymore.
It seems that whoever uses /clock 1st takes the clock offline for everyone, but then no one ever gets it back except that person who 1st used the /clock command.
The file in the data directory has that person's SteamID and they can turn it on and off as much as they want, even after they leave and come back to the game.
Hope that helps to sort out the issue.
Thank you. -
-
deer_SWAG updated Ingame Clock GUI with a new update entry:
0.0.32
-
Thank you, tested it today and now working fine.
Much appreciated. -
Hey Deer,
I still got this Error:
Code:[Oxide] 5:37 PM [Debug] at Oxide.Plugins.IngameClockGUI.AddGUI () [0x00000] in <filename unknown>:0 at Oxide.Plugins.IngameClockGUI.UpdateTime () [0x00000] in <filename unknown>:0 at Oxide.Plugins.IngameClockGUI.Load () [0x00000] in <filename unknown>:0 at Oxide.Plugins.IngameClockGUI.OnPluginLoaded () [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
-
-
i think thats all of it i will check it
Code:[Oxide] 8:06 PM [Info] IngameClockGUI was compiled successfully in 173ms [Oxide] 8:06 PM [Info] Loaded plugin Ingame Clock GUI v0.0.32 by deer_SWAG [Oxide] 8:06 PM [Error] Failed to call hook 'OnPluginLoaded' on plugin 'Ingame Clock GUI' (NullReferenceException: Object reference not set to an instance of an object) [Oxide] 8:06 PM [Debug] at Oxide.Plugins.IngameClockGUI.AddGUI () [0x00000] in <filename unknown>:0 at Oxide.Plugins.IngameClockGUI.UpdateTime () [0x00000] in <filename unknown>:0 at Oxide.Plugins.IngameClockGUI.Load () [0x00000] in <filename unknown>:0 at Oxide.Plugins.IngameClockGUI.OnPluginLoaded () [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
-
Last edited by a moderator: Aug 13, 2015
-
Wulf we NEED you, come in!).
We need to summon Wulf, because he can help to solve this problem for sure =)) -
-
Got it again today, does anyone has any idea?
Code:[Oxide] 12:59 PM [Error] Failed to call hook 'OnPluginLoaded' on plugin 'IngameClockGUI v0.0.32' (NullReferenceException: Object reference not set to an instance of an object) [Oxide] 12:59 PM [Debug] at Oxide.Plugins.IngameClockGUI.AddGUI () [0x00000] in <filename unknown>:0 at Oxide.Plugins.IngameClockGUI.UpdateTime () [0x00000] in <filename unknown>:0 at Oxide.Plugins.IngameClockGUI.Load () [0x00000] in <filename unknown>:0 at Oxide.Plugins.IngameClockGUI.OnPluginLoaded () [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
-
[DOUBLEPOST=1439554611][/DOUBLEPOST]Because on my server plugin is working. -
Where do i find the Configuration File. We rented a server from Multiplay* and i cant finde en file so i can move the clock to another corner
Edit * A Multiplay server not multigame serverLast edited by a moderator: Aug 17, 2015 -
In config folder.
I never rented a dedicated servers especially on "Multigame". -
Ok but i cant seem to find the Configuration File in the Config folder om our Multiplay server.
-
Compile failure:
[SERVER] Started as service
[SERVER] Running as service
[SERVER] Got Message: Ready
[SERVER] Got Message: Compile
[SERVER] Console: error CS1705: Assembly `Oxide.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' references `Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' which has a higher version number than imported assembly `Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' -