Download
(4Kb)
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,955
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)


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

Forum posts: 205
File comments: 173
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.
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.
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: 155
Uploads: 0
Databroker support?
Report comment to moderator  
Reply With Quote
Unread 07-24-09, 10:49 AM  
lanacan
A Warpwood Thunder Caller
 
lanacan's Avatar
AddOn Author - Click to view AddOns

Forum posts: 94
File comments: 177
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)
__________________
Busy modifying your code for my own UI.
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.
Report comment to moderator  
Reply With Quote
Unread 07-24-09, 08:59 AM  
lanacan
A Warpwood Thunder Caller
 
lanacan's Avatar
AddOn Author - Click to view AddOns

Forum posts: 94
File comments: 177
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.
__________________
Busy modifying your code for my own UI.
Last edited by lanacan : 07-24-09 at 09:00 AM.
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.
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: 642
Uploads: 4
Also, the ability to NOT have military time would be fantastic.
__________________
There is absolutely no evidence to support the theory that life is serious.
Report comment to moderator  
Reply With Quote
Unread 07-24-09, 07:18 AM  
lanacan
A Warpwood Thunder Caller
 
lanacan's Avatar
AddOn Author - Click to view AddOns

Forum posts: 94
File comments: 177
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.
__________________
Busy modifying your code for my own UI.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: