| Tested: | Hour of Twilight 4.3 |
| Updated: | 02-06-12 05:58 PM |
| Created: | unknown |
| Downloads: | 31,151 |
| Favorites: | 166 |
| MD5: |

File Name |
Version |
Size |
Author |
Date |
40200.10-Releas |
1kB |
p3lim |
10-03-11 07:24 PM |
|
40000.9-Release |
2kB |
p3lim |
10-14-10 11:56 AM |
|
40000.8-Release |
2kB |
p3lim |
10-13-10 12:39 PM |
|
30300.5-Release |
2kB |
p3lim |
12-28-09 11:53 AM |
|
30200.4-Release |
2kB |
p3lim |
09-07-09 04:24 PM |
|
30200.3-Release |
2kB |
p3lim |
08-22-09 03:20 PM |
|
30200.2-Release |
2kB |
p3lim |
08-17-09 03:58 PM |
|
30200.1-Beta |
2kB |
p3lim |
08-08-09 10:06 AM |
|
30200.39 |
2kB |
p3lim |
08-04-09 04:22 PM |
|
30200.38 |
2kB |
p3lim |
08-04-09 01:28 PM |
|
30000.37 |
2kB |
p3lim |
07-15-09 12:51 PM |
|
30000.36 |
2kB |
p3lim |
06-13-09 12:31 PM |
|
30000.35 |
2kB |
p3lim |
06-11-09 02:27 PM |
|
30000.34 |
2kB |
p3lim |
06-01-09 10:45 AM |
|
30000.33 |
2kB |
p3lim |
06-01-09 03:55 AM |
|
30000.32 |
2kB |
p3lim |
05-26-09 02:36 PM |
|
30000.31 |
2kB |
p3lim |
05-24-09 07:28 PM |
|
30000.30 |
2kB |
p3lim |
05-20-09 10:52 AM |
|
30000.29 |
2kB |
p3lim |
04-17-09 09:34 AM |
|
30000.28 |
2kB |
p3lim |
02-07-09 01:36 PM |
|
30000.26 |
2kB |
p3lim |
01-14-09 01:38 PM |
|
30000.25 |
2kB |
p3lim |
01-13-09 01:41 PM |
![]() |
Comment Options |
|
|
||
And keep up your awesome work ![]() EDIT: tried the fix, it doesn't work. Looking deeper into the files.
Last edited by Coldkil : 02-08-12 at 12:10 PM.
|
||
|
|
|
|
|||
You can look at the old code on how to do it: https://github.com/p3lim/oUF_Experie...nce.lua#L31-43 This is also the reason why I removed it. People were suggesting options for the tooltip, so to have it customizable I just removed it so people can make their own.
Last edited by p3lim : 02-07-12 at 05:05 PM.
|
|||
|
|
|
|
||
I'm guessing it is because the bar has no real size. Try setting the size manually with SetSize or SetHeight/SetWidth, that did the trick for me. Note that the tooltip part was removed with the first release after Cataclysm. Also note that the version you find here only supports the 1.5.x versions of oUF, not the version haste has on his git repo. |
||
|
|
|
|
|
|
Yes, downloaded latest version yesterday, but nothing changed.
Going to post code as soon as i return from work. Code's here: Code:
-- XP Bar
if UnitLevel("player") ~= MAX_PLAYER_LEVEL then
local Experience = CreateFrame("StatusBar", "ColdExperience", self)
Experience:SetStatusBarTexture(_TEXTURE)
Experience:SetStatusBarColor(.9, .2, 1)
Experience:SetPoint("TOPLEFT", Power, "TOPLEFT")
Experience:SetPoint("BOTTOMRIGHT", Power, "BOTTOMRIGHT")
Experience:SetFrameLevel(8)
Experience:SetAlpha(0)
Experience.Tooltip = true
Experience.Rested = CreateFrame('StatusBar', nil, self)
Experience.Rested:SetParent(Experience)
Experience.Rested:SetAllPoints(Experience)
Experience.Rested:SetStatusBarTexture(_TEXTURE)
Experience.Rested:SetStatusBarColor(0, .4, 1)
Experience.Rested:SetFrameLevel(7)
local Resting = lib.SetFontString(Experience, font, smalls, "OUTLINE, MONOCHROME")
Resting:SetText"Resting"
Resting:SetTextColor(1, 1, 0)
Resting:SetPoint"CENTER"
self.Resting = Resting
self.Experience = Experience
Experience:SetScript("OnEnter",function()
Experience:SetAlpha(1)
end)
Experience:SetScript("OnLeave",function()
Experience:SetAlpha(0)
end)
end
Last edited by Coldkil : 02-06-12 at 10:00 AM.
|
|
|
|
|
|
||
Do you have the latest version? |
||
|
|
|
|
|
|
I have an issue, the xp value won't update on my chars - the xpbar looks like full, tooltip doesn't appear and is just stays there.
Only thing i've done is to create the frame and put it on mouseover. If you need, i can post the code. |
|
|
|
|
|
||
|
||
|
|
|
|
|
|
A Defias Bandit
Forum posts: 2
File comments: 10
Uploads: 0
|
Here is the section with the experience text code.
Code:
if(IsAddOnLoaded('oUF_Experience')) then
self.Experience = createStatusbar(self, texture, nil, 4, nil, 0, .7, 1, 1)
self.Experience:SetPoint('TOPLEFT', self, 'BOTTOMLEFT', 0, -2)
self.Experience:SetPoint('TOPRIGHT', self, 'BOTTOMRIGHT', 0, -2)
self.Experience.Rested = createStatusbar(self.Experience, texture, nil, nil, nil, 0, .4, 1, .6)
self.Experience.Rested:SetAllPoints(self.Experience)
self.Experience.Rested:SetBackdrop(backdrop)
self.Experience.Rested:SetBackdropColor(0, 0, 0)
self.Experience.bg = self.Experience.Rested:CreateTexture(nil, 'BORDER')
self.Experience.bg:SetAllPoints(self.Experience)
self.Experience.bg:SetTexture(texture)
self.Experience.bg:SetVertexColor(.1, .1, .1)
self.Experience.bd = createBackdrop(self.Experience, self.Experience)
self.Experience.text = createFont(self.Experience, "OVERLAY", font, fontsize, fontflag, 1, 1, 1)
self.Experience.text:SetPoint("CENTER")
self.Experience.text:Hide()
self:Tag(self.Experience.text, '[freeb:curxp] / [freeb:maxxp] - [freeb:perxp]%')
self:SetScript("OnEnter", OnEnter)
self:SetScript("OnLeave", OnLeave)
end
|
|
|
|
|
||
|
||
|
|
|
|
|
|
A Defias Bandit
Forum posts: 2
File comments: 10
Uploads: 0
|
I looked through the comments and didn't see anyone with a similar issue.
For some odd reason, my experience bar's text component doesn't update unless I am moused over the bar as I gain experience. The bar itself works fine. Any ideas about what could be causing this? |
|
|
|
|
||
|
||
|
|
|
|
|||
I thought of the parenting too, but i don't see anything wrong with it. You said in the Wiki to anchor the bg or backdrop to the Rested Bar, yet it's not hidding even if I anchor it to the Experience Bar nor the Rested ofc. This is what I use. Like I said nothing important, but might be a bug, or something stupid I'm making. Code:
-- oUF_Experience
local function ExperienceBar(self, unit)
if(IsAddOnLoaded('oUF_Experience')) then
local Experience = CreateFrame('StatusBar', nil, self)
Experience:SetStatusBarTexture(fill_texture)
Experience:SetStatusBarColor(178/255, 53/255, 240/255,1)
Experience:SetPoint('BOTTOM', self.InfoBar,'TOP', 0, 6)
Experience:SetHeight(cfg.expbar_height)
Experience:SetWidth(cfg.mainframe_width)
local Rested = CreateFrame('StatusBar', nil, Experience)
Rested:SetStatusBarTexture(fill_texture)
Rested:SetStatusBarColor(35/255, 127/255, 255/255,1)
Rested:SetAllPoints(Experience)
SetBackdrop(Experience, 2, 2, 2, 2)
self.Experience = Experience
self.Experience.Rested = Rested
self.Experience.PostUpdate = ExperiencePostUpdate
-- Tooltip
self.Experience:EnableMouse()
self.Experience:HookScript('OnLeave', GameTooltip_Hide)
self.Experience:HookScript('OnEnter', XPTooltip)
end
end
__________________
My oUF Layout: oUF Lumen
Last edited by neverg : 10-20-10 at 09:05 AM.
|
|||
|
|
|
|
||
Anyways, I can't test this as I don't have an active account. |
||
|
|
|
|
||
Another thing, I've noticed on 80 Chars it shows when entering a vehicle? We at least this vehicle. It's the black bar at the top of the frame (it's the Backdrop that). At least it's not hiding the backdrop. Do I need to handle this in the layout with a PostUpdate? Or this appears because it "thinks" it's a Pet? Using it on live with the latest version of oUF_Experience.
__________________
My oUF Layout: oUF Lumen
Last edited by neverg : 10-20-10 at 06:32 AM.
|
||
|
|
![]() |
You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.