Download
(6Kb)
Download
Updated: 01-15-11 10:46 AM
Pictures
File Info
Updated:01-15-11 10:46 AM
Created:12-27-10 04:19 AM
Downloads:4,563
Favorites:33
MD5:

MicroExperience

Version: 40000.6
by: saulhudson [More]

MicroExperience

A simple, clean and lite experience bar. Now with rep tracking!

Tracks rep if you have a "Watched Faction" selected or are at max level. Unselecting the watched faction will return to tracking experience.

Features

  • Tracks experience and reputation
  • Displays current, max and percentage exp / rep
  • Displays last gained exp
  • Tooltip offer more detailed exp information on rested and session gained exp
  • Tooltip displays total completed quest experience and adjusted remaining experience
  • Tooltip displays session gained reputation
  • Tooltip doesn't display in combat
  • Exp bar is class coloured to fit in with many minimalist UI designs
  • Rep bar colours based on your standing with that faction
  • Rested exp bar also class coloured with a low alpha
  • Small lua configuration
  • Only uses under 15 Kb of memory

To Do
  • Track guild rep
  • Open to suggestions ...

40000.06
  • Added tracking of reputation via the tooltip when there is a watched faction
  • Added tracking of completed quest experience displayed on the tooltip
  • Cleaned the logic that switched exp / rep tracking
  • Added a small amount of configuration at the top of lua file
  • Adjusted the truncate() function to only truncate values above 9999
  • Re-order much of the file to make is more readable
  • Added comments

40000.05
  • Fixed issue with session gained xp being calculated incorrectly when levelling up
  • Cleaned code with value() function

40000.04
  • Fixed logic issue with rep / exp tracking at max level

40000.03
  • Minor bug fix regarding setting variables at run time

40000.02
  • Added reputation tracking
  • Several minor bugs fixed
  • Slight size adjustments

40000.01
  • Initial release
Post A Reply Comment Options
Unread 02-01-13, 05:10 PM  
Solarin
A Deviate Faerie Dragon

Forum posts: 13
File comments: 15
Uploads: 0
I've been getting this recurring error on all my characters.

Code:
Date: 2013-02-01 17:02:03
ID: 3
Error occured in: Global
Count: 4
Message: ..\AddOns\MicroExperience\MicroExperience.lua line 293:
   attempt to compare nil with number
Debug:
   MicroExperience\MicroExperience.lua:293: PLAYER_XP_UPDATE()
   MicroExperience\MicroExperience.lua:354: ?()
   MicroExperience\MicroExperience.lua:371:
      MicroExperience\MicroExperience.lua:371
Locals:
self = <unnamed> {
 PLAYER_LOGIN = <function> defined @Interface\AddOns\MicroExperience\MicroExperience.lua:283
 0 = <userdata>
 PLAYER_XP_UPDATE = <function> defined @Interface\AddOns\MicroExperience\MicroExperience.lua:290
 UPDATE_FACTION = <function> defined @Interface\AddOns\MicroExperience\MicroExperience.lua:333
}
(*temporary) = 0
(*temporary) = nil
(*temporary) = 0
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to compare nil with number"
min = nil
gained = nil
max = nil
sessionxp = nil
name = nil
standing = 0
minrep = 0
maxrep = 0
value = 0
xpbar = <unnamed> {
 PLAYER_LOGIN = <function> defined @Interface\AddOns\MicroExperience\MicroExperience.lua:283
 0 = <userdata>
 PLAYER_XP_UPDATE = <function> defined @Interface\AddOns\MicroExperience\MicroExperience.lua:290
 UPDATE_FACTION = <function> defined @Interface\AddOns\MicroExperience\MicroExperience.lua:333
}
r = 0
g = 1
b = 0.59
text = <unnamed> {
 0 = <userdata>
}
truncate = <function> defined @Interface\AddOns\MicroExperience\MicroExperience.lua:75
rested = <unnamed> {
 0 = <userdata>
}

AddOns:
  Swatter, v5.15.5383 (LikeableLyrebird)
  NPCScan, v5.0.0.5
  NPCScanOverlay, v5.0.0.3
  Ace3, v
  ACP, v3.4.1 
  AddonLoader, v2.0.1
  Auditor2, v4.4.2
  BadBoy, v11.525
  BadBoyCCleaner, v3.62
  BadBoyLevels, v2.94
  BankStack, vv29
  Bartender4, v4.5.8
  BrokerAuditor, v4.4.2
  BrokerLFG, v5.1.0.48
  ButtonFacade, v5.0.389
  CallbackHandler10, v
  Chatter, vv1.4.1
  ChocolateBar, vv2.3.3
  clcInfo, v
  clcppb, v
  FactionAddict, v1.09
  FBMergeDatabase, v1.2d
  FBOutfitDisplayFrame, v1.2i
  FBTrackingFrame, v1.2h
  FishingBuddy, v1.2i
  FlightMap, v5.0.3
  FlyoutButtonCustom, v2.50
  fontain, v
  ForteCooldown, v
  ForteCore, v1.980.8
  GupPet, v2.104
  GupPetButtonFacade, v0.2
  kgPanels, v1.14
  LibAbacus30, v
  LibAboutPanel, v1.6.0
  LibActionButton10, v
  LibBase6410, v
  LibDBIcon10, v
  LibDDI10, v
  LibDialog10, vr50-release
  LibDualSpec10, vv1.8
  LibKeyBound10, v
  LibMapData10, v1.0.0.27-release
  LibQTip10, vr154-release 
  LibQTipClick11, vr10 
  LibSharedMedia30, v3.0-74
  LibSink20, v
  LibStub, v
  LibWindow11, v1.1.10
  Mapster, v1.5.1
  Masque, v5.1.389
  MasqueCaith, v5.1.82
  MasqueDarion, v4.1.2
  MasqueOnyx, v5.1.76
  MasqueSerenity, v5.1.76
  MasqueSleek, v5.1.0
  MicroExperience, v40000.6
  MikScrollingBattleText, v5.7.125
  Misspelled, v1.5.09
  MoveAnything, v13.4.0
  Omen, v3.1.8
  OmniCC, v5.1.3
  oUF, v1.6.0
  oUFMovableFrames, v1.16
  oUFQulight, v0.1 beta
  Outfitter, v5.7
  Overachiever, v0.70
  PowerAuras, v5.0.0.P
  qMinimap, v
  Recount, v
  RepairBroker, v5.1.0
  SharedMedia, v3.0.5-184
  SharedMediaAdditionalFonts, v1.0.13
  SharedMediaLib, v1.0
  shNameplates, v
  SimpleRaidTargetIcons, v1.21
  TipTac, v12.10.30
  TipTacItemRef, v12.08.30
  TipTacTalents, v12.09.05
  VuhDo, v3.25
  VuhDoOptions, v3.25
  WIM, v3.6.4
  WIMSkinSpartanUI, v
  XLoot10, vz34-release
  xMerchant, v120928
  ZOMGBuffs, vr217
  ZygorGuidesViewer, v4.0
  BlizRuntimeLib_enUS v5.1.0.50100 <us>
  (ck=794)
Does anyone have any ideas as to what a fix would entail?
Report comment to moderator  
Reply With Quote
Unread 04-10-11, 07:08 AM  
Borrie
A Deviate Faerie Dragon
AddOn Compiler - Click to view compilations

Forum posts: 16
File comments: 43
Uploads: 5
Originally posted by Kendian
Can you point out where exactly in the lua to get rid of shadow border completely? I'd like to use kgpanels to attach a border that matches the rest of my UI, but the shadow overlays everything except "TOOLTIP", lol, and forget about putting it next to anything else, the shadow overlays it, unless I set strata so high its ridiculous. My thanks, for any/all help~
I'd like to get only one border instead of 2. Can someone point me in the right direction? Thank!
Report comment to moderator  
Reply With Quote
Unread 03-31-11, 05:52 AM  
Kendian
A Molten Giant
 
Kendian's Avatar
AddOn Author - Click to view AddOns

Forum posts: 614
File comments: 167
Uploads: 11
Can you point out where exactly in the lua to get rid of shadow border completely? I'd like to use kgpanels to attach a border that matches the rest of my UI, but the shadow overlays everything except "TOOLTIP", lol, and forget about putting it next to anything else, the shadow overlays it, unless I set strata so high its ridiculous. My thanks, for any/all help~
__________________
Report comment to moderator  
Reply With Quote
Unread 03-17-11, 10:50 PM  
Andone
A Deviate Faerie Dragon

Forum posts: 10
File comments: 6
Uploads: 0
Was hoping someone could help me to move the xpbar and frame to anchor to the bottom of the minimap. I figured out how to move the bar, but I have no clue how to move the frame so for now it just kind of does what it wants, any help would be greatly appreciated!
Report comment to moderator  
Reply With Quote
Unread 03-10-11, 09:37 AM  
toxict33n
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Lua Error

"Message: Interface/Addons/MicroExperience/MicroExperience.lua:293 attempt to compare nil with number"
pops up at start each time
Report comment to moderator  
Reply With Quote
Unread 03-08-11, 04:08 PM  
toxict33n
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Seperate Exp from rep?

How can i disable the rep showing of the exp bar? i just want it to show. but i have an addon that shows my rep seperately im using "reputationbars"
i want it to look like this:

|_______________|
|___Game here___|
|_______________|
|__exp__|__rep__|

i would even consider using this addon for both if i could use two bars, one for rep and one for exp
Last edited by toxict33n : 03-08-11 at 04:14 PM.
Report comment to moderator  
Reply With Quote
Unread 03-04-11, 10:21 AM  
frohanss
A Cyclonian
AddOn Author - Click to view AddOns

Forum posts: 40
File comments: 231
Uploads: 2
Originally posted by -Dank-
Can anyone help me to change the font type in the .lua? I'm very, very new to .lua and can only do simple tasks in it at this time.

I've already added the extra line from a response on page 2 here [re: font outline, size] but none of my experiments to that line have panned out.

'local font = CreateFont("xpBarFont")
--font:SetFontObject(GameFontHighlightSmall)
font:SetFont("Fonts\\FRIZQT__.TTF", 9)
font:SetTextColor(r, g, b)'

is the section I'm guessing I need to edit.
Have you added the font/made the folder?
You need a subfolder called "Fonts" under ur wow folder. And have the font there that you are gona use. So wow\Fonts\FRIZQT_.TTF
Note you must fully restart wow after adding that file/folder.
Last edited by frohanss : 03-04-11 at 10:22 AM.
Report comment to moderator  
Reply With Quote
Unread 02-27-11, 05:05 PM  
-Dank-
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Can anyone help me to change the font type in the .lua? I'm very, very new to .lua and can only do simple tasks in it at this time.

I've already added the extra line from a response on page 2 here [re: font outline, size] but none of my experiments to that line have panned out.

'local font = CreateFont("xpBarFont")
--font:SetFontObject(GameFontHighlightSmall)
font:SetFont("Fonts\\FRIZQT__.TTF", 9)
font:SetTextColor(r, g, b)'

is the section I'm guessing I need to edit.
Last edited by -Dank- : 02-27-11 at 05:08 PM.
Report comment to moderator  
Reply With Quote
Unread 02-21-11, 04:19 PM  
barbol12
A Cyclonian
 
barbol12's Avatar
AddOn Author - Click to view AddOns

Forum posts: 42
File comments: 63
Uploads: 2
Re: LUA error

Originally posted by crack-monkey
First, thx for this great bar

I use it with the LUI v3 UI and i get a LUA error msg.

Here it is:

Code:
Message: Interface\AddOns\MicroExperience\MicroExperience.lua:293: attempt to compare nil with number
Time: 02/17/11 00:19:39
Count: 2
Stack: Interface\AddOns\MicroExperience\MicroExperience.lua:293: in function `PLAYER_XP_UPDATE'
Interface\AddOns\MicroExperience\MicroExperience.lua:354: in function `?'
Interface\AddOns\MicroExperience\MicroExperience.lua:371: in function <Interface\AddOns\MicroExperience\MicroExperience.lua:371>

Locals: self = <unnamed> {
 PLAYER_LOGIN = <function> defined @Interface\AddOns\MicroExperience\MicroExperience.lua:283
 0 = <userdata>
 PLAYER_XP_UPDATE = <function> defined @Interface\AddOns\MicroExperience\MicroExperience.lua:290
 UPDATE_FACTION = <function> defined @Interface\AddOns\MicroExperience\MicroExperience.lua:333
}
(*temporary) = 353701
(*temporary) = nil
(*temporary) = 353701
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to compare nil with number"
min = nil
gained = nil
max = nil
sessionxp = nil
name = nil
standing = 0
minrep = 0
maxrep = 0
value = 0
xpbar = <unnamed> {
 PLAYER_LOGIN = <function> defined @Interface\AddOns\MicroExperience\MicroExperience.lua:283
 0 = <userdata>
 PLAYER_XP_UPDATE = <function> defined @Interface\AddOns\MicroExperience\MicroExperience.lua:290
 UPDATE_FACTION = <function> defined @Interface\AddOns\MicroExperience\MicroExperience.lua:333
}
r = 0.58
g = 0.51
b = 0.79
text = <unnamed> {
 0 = <userdata>
}
truncate = <function> defined @Interface\AddOns\MicroExperience\MicroExperience.lua:75
rested = <unnamed> {
 0 = <userdata>
}
Can somebody help me with this error?

Reinstalling changed nothing :/


The bar seems to work, but im not shur from what this error come.

sry for bad english ^^


greetings

monkey
ya, im getting that same error.
Report comment to moderator  
Reply With Quote
Unread 02-17-11, 07:53 AM  
KiLLMasTer
A Deviate Faerie Dragon
 
KiLLMasTer's Avatar

Forum posts: 12
File comments: 74
Uploads: 0
plz update it stopped work as of the 15th.....
__________________
My Toons: LVL 70 MW Monk Name Brewballs on Ysera
US. LVL 70 Restoration Druid Name Goodfel on Ysera US
Report comment to moderator  
Reply With Quote
Unread 02-16-11, 05:22 PM  
crack-monkey
A Defias Bandit

Forum posts: 2
File comments: 3
Uploads: 0
LUA error

First, thx for this great bar

I use it with the LUI v3 UI and i get a LUA error msg.

Here it is:

Code:
Message: Interface\AddOns\MicroExperience\MicroExperience.lua:293: attempt to compare nil with number
Time: 02/17/11 00:19:39
Count: 2
Stack: Interface\AddOns\MicroExperience\MicroExperience.lua:293: in function `PLAYER_XP_UPDATE'
Interface\AddOns\MicroExperience\MicroExperience.lua:354: in function `?'
Interface\AddOns\MicroExperience\MicroExperience.lua:371: in function <Interface\AddOns\MicroExperience\MicroExperience.lua:371>

Locals: self = <unnamed> {
 PLAYER_LOGIN = <function> defined @Interface\AddOns\MicroExperience\MicroExperience.lua:283
 0 = <userdata>
 PLAYER_XP_UPDATE = <function> defined @Interface\AddOns\MicroExperience\MicroExperience.lua:290
 UPDATE_FACTION = <function> defined @Interface\AddOns\MicroExperience\MicroExperience.lua:333
}
(*temporary) = 353701
(*temporary) = nil
(*temporary) = 353701
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to compare nil with number"
min = nil
gained = nil
max = nil
sessionxp = nil
name = nil
standing = 0
minrep = 0
maxrep = 0
value = 0
xpbar = <unnamed> {
 PLAYER_LOGIN = <function> defined @Interface\AddOns\MicroExperience\MicroExperience.lua:283
 0 = <userdata>
 PLAYER_XP_UPDATE = <function> defined @Interface\AddOns\MicroExperience\MicroExperience.lua:290
 UPDATE_FACTION = <function> defined @Interface\AddOns\MicroExperience\MicroExperience.lua:333
}
r = 0.58
g = 0.51
b = 0.79
text = <unnamed> {
 0 = <userdata>
}
truncate = <function> defined @Interface\AddOns\MicroExperience\MicroExperience.lua:75
rested = <unnamed> {
 0 = <userdata>
}
Can somebody help me with this error?

Reinstalling changed nothing :/


The bar seems to work, but im not shur from what this error come.

sry for bad english ^^


greetings

monkey
Report comment to moderator  
Reply With Quote
Unread 02-09-11, 02:37 AM  
ylarion
A Defias Bandit

Forum posts: 3
File comments: 25
Uploads: 0
I found a small Bug yesterday: If i hide the UI for screenschots the Exp-Bar without the border is still shown. Maybe your using a wrong strata there?

Anyway, this is a nice little mod.
Report comment to moderator  
Reply With Quote
Unread 01-15-11, 12:46 PM  
saulhudson
A Deviate Faerie Dragon
 
saulhudson's Avatar
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 61
Uploads: 7
Re: Guild experience

Originally posted by Xylan Trueheart
I like to suggest Guild Experience Tracking for my character. I been looking for this feature and made a request in the forums but no takers.
Agreed good idea! It might take me a few days but I'll give it a go.
__________________
The Jack bauer of all trades
Report comment to moderator  
Reply With Quote
Unread 01-15-11, 11:46 AM  
Xylan Trueheart
Premium Member
Premium Member

Forum posts: 64
File comments: 166
Uploads: 0
Guild experience

I like to suggest Guild Experience Tracking for my character. I been looking for this feature and made a request in the forums but no takers.
Last edited by Xylan Trueheart : 01-15-11 at 11:47 AM.
Report comment to moderator  
Reply With Quote
Unread 01-15-11, 10:51 AM  
saulhudson
A Deviate Faerie Dragon
 
saulhudson's Avatar
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 61
Uploads: 7
Quite a big update for 40000.7 including rep and completed quest experience tracking along some basic configuration. Thanks to Shadowlycaon for his code I'll take a better look now I've finished this update as it is a good idea. For now I've added some basic configuration at the top of the lua and it is really quite simple to adjust.

Thanks
saul
__________________
The Jack bauer of all trades
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: