Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(4 Kb)
Download
Updated: 12-11-09 03:31 AM
Pictures
File Info
Updated:12-11-09 03:31 AM
Created:07-24-09 07:01 AM
Downloads:2,408
Favorites:7
MD5:
ExpClock
Version: 3.3
by: Kelrim [More]
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.
3.3 - Updated and tested for work with patch 3.3

3.2 - Updated TOC file to work with WOW patch 3.2
Optional Files (0)


Archived Files (1)
File Name
Version
Size
Author
Date
3.2
4kB
Kelrim
08-05-09 09:11 AM


Post A Reply Comment Options
Unread 06-10-10, 12:37 PM  
karmamuscle
Premium Member
 
karmamuscle's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 193
File comments: 163
Uploads: 1
I love the simple design.
One thing I have tried but failed at, is to add a font size value. Gets kind of small at my UI scale.
karmamuscle is online now Report comment to moderator  
Reply With Quote
Unread 07-30-09, 11:37 AM  
Kelrim
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 6
Uploads: 1
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  
Reply With Quote
Unread 07-24-09, 01:48 PM  
slickwalker
A Deviate Faerie Dragon
 
slickwalker's Avatar

Forum posts: 18
File comments: 156
Uploads: 0
Databroker support?
slickwalker is offline Report comment to moderator  
Reply With Quote
Unread 07-24-09, 10:49 AM  
lanacan
Random, Crazy, Mental...
 
lanacan's Avatar
AddOn Author - Click to view AddOns

Forum posts: 94
File comments: 134
Uploads: 13
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)
__________________
[SIGPIC][/SIGPIC]
lanacan is offline Report comment to moderator  
Reply With Quote
Unread 07-24-09, 10:29 AM  
Kelrim
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 6
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  
Reply With Quote
Unread 07-24-09, 08:59 AM  
lanacan
Random, Crazy, Mental...
 
lanacan's Avatar
AddOn Author - Click to view AddOns

Forum posts: 94
File comments: 134
Uploads: 13
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.
__________________
[SIGPIC][/SIGPIC]
Last edited by lanacan : 07-24-09 at 09:00 AM.
lanacan is offline Report comment to moderator  
Reply With Quote
Unread 07-24-09, 08:21 AM  
Kelrim
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 6
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  
Reply With Quote
Unread 07-24-09, 07:42 AM  
xtoq
An Aku'mai Servant
 
xtoq's Avatar
AddOn Author - Click to view AddOns

Forum posts: 32
File comments: 640
Uploads: 3
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  
Reply With Quote
Unread 07-24-09, 07:18 AM  
lanacan
Random, Crazy, Mental...
 
lanacan's Avatar
AddOn Author - Click to view AddOns

Forum posts: 94
File comments: 134
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.
__________________
[SIGPIC][/SIGPIC]
lanacan is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: