Addon Information
Download Latest Version.
To add favorites please register for a free account. If you already have one you need to login. How do I install this? (FAQ)
Author:
Version:
3.2
Date:
08-05-2009 11:11 AM
Size:
4.15 Kb
Downloads:
576
Favorites:
5
MD5:
Pictures
ExpClock
ExpClock
Single text line showing current time, estimated time for next level up, level completion in % and remaining exp of level. Option for also showing experience gain per min.


example: 21:15 | 23:27 | 76% | 14k | 438

now time | estimated time for level up | exp % of level | remaining exp of level | exp gain per min


The estimated time for level up, is calculated from your average experience gain per min for the last hour. If the estimate is more than 24 hours ahead, the estimated time will show "--:--".

Any exp gain is taken into calculation. First estimate is shown after a couple of exp gains.

The text line can be moved around screen by click, hold and drag.

* Options - set preference by editing the top rows in ExpClock.lua

DisplayClock24
- true= 24 hour display (14:37) / false= 12 hour display (2:37pm)
UseLocalTime
- true= Takes time from local OS / false= Takes time from Game server
ShowExpPerMin
- true= Will enable the aditional showing of exp gain per min
ExpAMStr
- text to be used for 12 hour time display am
ExpPMStr
- text to be used for 12 hour time display pm
ExpKStr
- text to be used for exp in thousands. Empty '' will show full exp values



* Credits go to author of XPRate - Danboo. His initial idea is the base for ExpClock.
  Change Log - ExpClock
3.2 - Updated TOC file to work with WOW patch 3.2
  Optional Files - ExpClock
Sorry, there are currently no optional files available.
  Comments - ExpClock
Post A Reply Comment Options
Old 07-30-2009, 01:37 PM  
Kelrim
A Kobold Labourer
Interface Author - Click to view interfaces

Forum posts: 0
File comments: 3
Uploads: 1
Quote:
Originally posted by slickwalker
Databroker support?
I am not a lua or wow api expert. Just an old school programmer, that wanted to give a little back to this community, by taking an outdated addon and making it show a little more, but keeping it a simple text line.

If anyone would care to make ExpClock support DataBroker, you are most welcome.
Kelrim is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 07-24-2009, 03:48 PM  
slickwalker
A Deviate Faerie Dragon

Forum posts: 16
File comments: 120
Uploads: 0
Databroker support?
__________________
My Minicity, click it!
slickwalker is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Old 07-24-2009, 12:49 PM  
lanacan
Random, Crazy, Mental...
 
lanacan's Avatar
Premium Member
Interface Author - Click to view interfaces

Forum posts: 91
File comments: 359
Uploads: 13
Quote:
Originally posted by Kelrim
Thanks Lanacan

I'm not at home either right now, but I will use your great input and have a new version ready within 24 hours , using local time and option to edit the .lua file for am/pm notation.
I would suggest putting the time format into a separate function too, that way you just call it when you need it instead of having it in the code twice (current time and est. time at next level time)
lanacan is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 07-24-2009, 12:29 PM  
Kelrim
A Kobold Labourer
Interface Author - Click to view interfaces

Forum posts: 0
File comments: 3
Uploads: 1
Thanks Lanacan

I'm not at home either right now, but I will use your great input and have a new version ready within 24 hours , using local time and option to edit the .lua file for am/pm notation.
Kelrim is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 07-24-2009, 10:59 AM  
lanacan
Random, Crazy, Mental...
 
lanacan's Avatar
Premium Member
Interface Author - Click to view interfaces

Forum posts: 91
File comments: 359
Uploads: 13
Quote:
Originally posted by Kelrim
Lanacan: I think it should show your local time? Correct me if im wrong.

xtog: I wil make a version showing am and pm as an optional download.
I was going off your description for the addon, I am at work and can't test it in game.

Looking at your code you use "GetGameTime()" which Returns the current server time in hours and minutes.


To get local time and do a toggle for 24|12 hour time you could do this (ripped from lynStats ):

Code:
local time24 = true -- true: 24h / false: 12h
local timeText

if time24 == true then
	timeText= date("%H.%M")
else
	timeText= date("%I.%M")
end
There is no need to make a separate addon just put options in.

Last edited by lanacan : 07-24-2009 at 11:00 AM.
lanacan is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 07-24-2009, 10:21 AM  
Kelrim
A Kobold Labourer
Interface Author - Click to view interfaces

Forum posts: 0
File comments: 3
Uploads: 1
Lanacan: I think it should show your local time? Correct me if im wrong.

xtog: I wil make a version showing am and pm as an optional download.
Kelrim is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 07-24-2009, 09:42 AM  
xtoq
A Fallenroot Satyr
 
xtoq's Avatar
Interface Author - Click to view interfaces

Forum posts: 24
File comments: 499
Uploads: 1
Also, the ability to NOT have military time would be fantastic.
__________________
There is absolutely no evidence to support the theory that life is serious.
xtoq is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 07-24-2009, 09:18 AM  
lanacan
Random, Crazy, Mental...
 
lanacan's Avatar
Premium Member
Interface Author - Click to view interfaces

Forum posts: 91
File comments: 359
Uploads: 13
Local Time?

Instead of realm time could you have it display local time?
Or at least give the option in the lua via a true|false local variable at the top of the file.
lanacan is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Post A Reply



Category Jump:




The Network:
EQInterface | EQ2Interface | LoTROInterface | MMOInterface | War.MMOUI | WoWInterface | VGInterface | Allakhazam | Thottbot | Wowhead | Zam


©2009 MMOUI / ZAM Network
vBulletin - Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.