• Warhammer Online Addons
  • Warhammer Online
  • Average Rating:

  • Your Rating

  • Share
  • Report Abuse

Clock

 
Project Updated:
Files Updated: Fri, Oct 16 2009
Supports Game Version: 1.3.1
Category: Miscellaneous
Tags:

[Edit Tags]

Project Manager: Aiiane
Additional Authors: No additional authors
Current Version: 1.4
License: MIT License
Development Site: CurseForge.com
Avg Daily DL (last 30 days): 12
Downloads Total: 27,159
Favorites: 98
Comments: 42
  • About Clock
  •  

Provides a simple display of the local time in-game. (Movable and scalable via the Layout Editor.)

To set an option, use /script ClockSettings.OPTION = VALUE

Hours: the number of hours the clock displays
(default = 24; possible values are 12, 24)
AmPm: whether AM/PM text is displayed after the time
(default = true, possible values are true, false)
Format: the precise format of the time display, in Lua format() wstring
(default = L"%2d:%02d:%02d")
R: Red component of color
(default = 255, possible values 0-255)
G: Blue component of color
(default = 255, possible values 0-255)
B: Green component of color
(default = 255, possible values 0-255)
  • Downloads (5)
  •  
File Name Release Type Game Version Downloads Date
Addon Curse.com Beta 2.3.3 0 9/29/2008
  File Name Release Type Game Version Downloads Date  
  Clock 1.4 Release 1.3.1 2,412 10/16/2009
  Clock 1.3 Release 1.30b 3,064 8/19/2009
  Clock 1.2 Release Beta 3.0 13,568 9/12/2008
  Clock 1.1 Release Beta 3.0 130 9/11/2008
  Clock 1.0 Release Beta 3.0 147 9/11/2008
  • 1 page(s)
  • Comments

Add Comment  

Add

You need to login or register to post.

Benefits of Registration

  • Interact with hundreds of thousands of other gamers on an open social network.
  • Post your stories, news, images, videos, and other content to share.
  • Create a network with your fellow gamers or join an existing one.
  • Gain reputation for everything you do.
  • Any plans on making this compliant with 1.3.1? Everytime i reload the ui or even relog in the game, the clock is right in the middle of the screen instead of remembering the last position it was in. It's only started doing that after today's patch, 1.3.1.

    Reply Report Permalink
  • Aiiane said

    Consider it done. :) Grab version 1.3 - though I'll warn you, when you first install it your settings will reset, but that should be a one-time thing (necessary to bring the mod up to proper standards). I also optimized it so that it takes advantage of some new functions added a patch or two ago.

    Reply Report Permalink
  • jaguar said

    Thank you, Aiiane! :)

    Reply Report Permalink
  • zworg2 said

    how do i make it just hours and minutes?
    what do i need to type for the format setting?

    Reply Report Permalink
  • phoots said

    To get this to show Hours and minutes you need to type:

    /script ClockSettings.Format = L"%2d:%02d"

    Reply Report Permalink
  • Danguard said

    Would it be possible to have a toggle to allow the clock to display in-game time and / or real world time?

    Thanks

    Reply Report Permalink
  • flobings said

    Is there any possible way to add 2 hours to the clock (as in making it say 11:00 when it is 9:00 where I live.)
    This would help me immensely. Thank you.

    Reply Report Permalink
  • Aiiane said

    The timestamps are already based off your own computer's time; do you not have your computer set to your local time?

    Reply Report Permalink
  • flobings said

    I do. and the clock is working and perfect. I am just looking to see if there is a way to off set it to tell me the time in a different time zone for scheduling purposes.
    Great add-on by the way, easy and straight forward.

    Reply Report Permalink
  • Aiiane said

    I have not programmed any such functionality into the addon, no.

    Reply Report Permalink
  • No offence, but why do you rely on combat log timestamp instead of something like TimeUtils.ParseSeconds(GetComputerTime())?

    Reply Report Permalink
  • sketerone said

    nice mod, i'd like to see another option to see Server-time :)

    Reply Report Permalink
  • Yoker19 said

    Can any1 tell me how to move the clock ??? pls

    Reply Report Permalink
  • moldavia said

    just use the layout editor that comes with the game.

    Reply Report Permalink
  • lauritz001 said

    Great AddOn, this is some of the AddOns there is serious needed.

    Reply Report Permalink
  • Trand said

    Well done thank you.

    Reply Report Permalink
  • Kravius said

    @owlcage - moldavia posted the config command. Here's the step-by-step instructions:
    1) Copy that line (select it, right-click, then select Copy)
    2) Login to your character on Warhammer.
    3) When you are in-game, press enter (this will put a cursor in the chat window) and then press Ctrl+v. The /script line should paste into the chat input window. When it does, press Enter. Voila!
    4) (Optional) If you have reconfigured the Interface to have separate interface settings for each character (you'll know if you did), you need to do this for each Character.

    Reply Report Permalink
  • owlcage said

    Can someone tell a non-scripter how to remove the seconds from the clock display? Thank you!

    Reply Report Permalink
  • Kravius said

    There is a glitch with 12-hr time where the 12am/pm shows as 0am/pm. It's the result of the way in which the hour setting is applied. There is a trouble ticket out (thanks to mimicvii). A fix has also been provided but it obviously hasn't been released officially (Aiiane's a very busy woman). The bug isn't particularly critical but, if it bugs you too much, you can apply the fix yourself.
    Follow these steps:

    1) Open the file Clock.lua with a text editor. I recommend SciTE but Wordpad will do fine. You will find the file in your warhammer install directory (usually C:\Program Files\Electronic Arts\Warhammer Online - Age of Reckoning), in the Interface\Addons\Clock subdirectory.
    2) Find this line (line 75):
    LabelSetText("ClockWindowText", wstring.format(fmt, Clock.hour % ClockSettings.Hours, Clock.min, Clock.sec))
    3) Replace it with the following code:
    local dHour = Clock.hour % ClockSettings.Hours
    if dHour == 0 and ClockSettings.Hours == 12 then dHour = 12 end

    LabelSetText("ClockWindowText", wstring.format(fmt, dHour, Clock.min, Clock.sec))
    4) Save and close the file. If Warhammer is currently running, type /reloadui

    Reply Report Permalink
  • Zehar said

    Hi Aiiane. I don't know if it is a new glitch with 1.0.2, but when I was on at noonish the clock showed the time as 0:24. It was 12:24pm.

    Reply Report Permalink
  • Addon Packs Containing Clock

Most Downloads / Day

Clock has not been added to any Addon Packs yet.

  • Similar Addons
  •  

Average downloads per day

  1. 33 WarBoard Miscellaneous
  2. 11 WarBoard_FPS Miscellaneous
  3. 9 BlackBox Miscellaneous
  4. 8 Warhammer Census Miscellaneous
  5. 6 WarBoard_TogglerSoR Miscellaneous