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
  1. Fixed The Problem.

    I completely shut down the server and wiped the the config + the script. Then i also change the script to make the config with my own position. :D

    IngameClockGUI.cs

    Code:
    if(Config["Position", "Left"] == null)
       Config["Position", "Left"] = 0.48;if(Config["Position", "Bottom"] == null)
        Config["Position", "Bottom"] = 0.96;  if(Config["Size", "Width"] == null)
        Config["Size", "Width"] = 0.05;  if(Config["Size", "Height"] == null)
         Config["Size", "Height"] = 0.03;
    
    Thank you for the help :D
     
  2. clock is now blank. box is there but no time shown
     
  3. Enter in chat /clock twice
     
  4. Any errors?
     
  5. No errors that I'm aware of, it just requires you to prompt the clock with /clock server or /clock ingame ; its not choosing one by default, it seems
     
  6. deer_SWAG updated Ingame Clock GUI with a new update entry:

    0.0.31


    [DOUBLEPOST=1438899748][/DOUBLEPOST]
    Something like that. Sorry for that problem. Next time I will test it harder.
     
    Last edited by a moderator: Aug 6, 2015
  7. It wasn't a problem, but thanks for the fix. Apologies not necessary, your response times are quite literally insane and if i was in charge of naming i'd dub you CrazyDear
     
  8. Hi deer_SWAG,

    first of all nice Work.
    I just wanna know if there is a way to toggle it on for all User as "Default" ?

    Sorry for my bad english today :(
     
  9. By default the clock is showing for everyone.
     
  10. ah wasnt sure. Thanks!
     
  11. Did anybody can help handle with that:

    Code:
    [Oxide] 8:13 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:13 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 
     
  12. Are you updated it to the latest version? If yes, try to delete the data file.
     
  13. Thank you! Forgot about data folder))
    [DOUBLEPOST=1439154991,1439075584][/DOUBLEPOST]And again me)). Players reported me that clock GUI disappears after some time passes, and plugin stops to respond. I was thinking its kinda missunderstanding, but now i have faced this problem by myself. Any ideas?) My config is attached.
     

    Attached Files:

  14. Hmm.. Can't say anything about it. Any arrors? Anything?
     
  15. Nope(. Just disappeared clocks((. And two more questions: Is it possible to make ingame and server time shown together? And is it possible to mark them with text like "server or UTC+2" and "game time"?
    Thank you!
     
  16. Nope I can`t, because there is no option of position change.

    And i understood when your clock disappears. It is caused by the position change (as in my config that I attached earlier). Because i reinstalled and clock works fine. It disappears only on position change. Also it could be because I put it under chat, and possibly native game GUI don`t want anybody else there =))).
     
  17. Hey... i just tryed the clock but i cant change the position since the cfg is overwriting all the time - how can i change the position ?
     
  18. Just saw this and sounds nice so far, if possible I'd place a request to chenge the "clock only" into a small status bar (preferred below the health display) including the time, ping and maybe facing direction (compass system).
    Would be cool :)


    Regards
     
  19. Through the config file. Certainly not through cfg.
    There is a plugins for ping and for compass. My plugin only for time. If you are want a complex solution you can post thread on this forum.