Well, unfortunately, I've tried editing the code, downloading the jostle libs, and updating, which I notice there was an update to it today. However, it still is not working for me. Much as it saddens me while it is not working, I will be patient and look forward to when it does work again.
The problem is that FuXPFu calls for Jostle in it's code, but doesn't ask for Jostle as an external. So, when you download FuXPFu, you don't get Jostle with it.
This is true. I had LibJostle-3.0 in my addon folder already. I suppose I should a step 3.5 - Besure to download LibJostle if you don't have it.
Most recent update today, it works again. FABULOUS!! Thank you for the work, I understand trying to find time for projects like this with a life, and work etc. I also understand the difficulty presented with the changes in Fubar that have been going on. All I have to say is thank you for making this mod in the first place, and fixing it for us all.
I'm also having a problem with this addon, more precisely with the text it is supposed to show in the FuBar. The XP Bar itself works fine, but whenever I log on, FuBar doesn't show the text even though its configured to show the text. I've set up the addon so it doesn't show the icon or rested XP but only the current XP.
When I enter the options, disable "show text" and then enable "show text" again, it shows the text just fine. Seems to me like it doesn't load its saved settings correctly when starting.
Playing around with the FuBar_FuXPFu.lua a bit I managed to get mine to work as I wanted. Only problem : I don't really know lua nor do I know WoW Addon programming, so I have no idea if what I did really makes sense other than working now and now working before.
What I did was comment out the first three lines of the funtion FuXP:OnTextUpdate(). That seemed to do the trick. So it now reads
function FuXP:OnTextUpdate()
-- if not self.Loaded then
-- return
-- end
-- Setup watched factions
if self.db.profile.ShowText == "Rep" and self.db.profile.Faction ~= 0 then
local name, standing, minRep, maxRep, currentRep = GetWatchedFactionInfo()
if name then
self:SetText(string.format(L["%s: %3.0f%% (%s/%s) %s left"], name, ((currentRep-minRep)/(maxRep-minRep))*100 , currentRep-minRep, maxRep-minRep, maxRep - currentRep))
end
and so on. However it would be nice if a more experienced programmer might point out to me as to why this works and if this really fixes the problem without creating new ones. And if it is, if this programmer could use this fix to update the downloadable FuXPFu version :D.
I've been using this addon for a good long while just to show the bars, I used other fubar plugins for the textual information so it was always just an icon on my bar.
Everything worked perfectly until I hit 70. After that the reputation bar would not show at log in and I'd have to manually switch off the XP bar and switch it back on to get the rep bar to show (if I switched the rep bar off and on nothing happened) and even then it would not update with reputation gains.
I went looking through the code and noticed that OnDataUpdate would return after setting the NoXP bar to full if the player was at max level, it did this before ever doing anything with the reputation bar and hence that bar would never be updated. Moving the reputation bar 'if' block up above the xp bar 'if' block fixes this particular bug, basically moving lines 635-638 up above line 614. Either that or rework the XP bar 'if' block not to return and include an 'else' block.
I'm having problems with the icon. One day as i was messing with some options i accidentally clicked the attach to minimap option and it popped it up on to my minimap. The problem is that now no matter what i try it won't go back onto the FuBar. After i deselect the attach to minibar option it does nothing but gives me this error when i click on the icon:
[2007/10/17 03:49:37-523-x1]: FuBar_FuXPFu\FuBar_FuXPFu.lua:681: attempt to call method 'GetAttachPoint' (a nil value)
FuBarPlugin-2.0-48629:366: in function `runChildren'
Tablet-2.0-49630 (TabletLib):2355: in function `children'
Tablet-2.0-49630 (TabletLib):2399: in function `Open'
Tablet-2.0-49630 (TabletLib):2533: in function <Interface\AddOns\TabletLib\Tablet-2.0\Tablet-2.0.lua:2527>
deselecting the attach to minimap option and reloading does nothing it just pops it on to the minimap when i log in again.
Can someone tell me if its just my comp being dumb or is it an error with the coding?
My guess would be an error in the coding, possibly resulting from incompatibilities between old FuBar2 (Ace) addons and the new FuBar3 (Rock) implementation.
Have you tried editing your FuXPFu saved variables file? There will probably be some entry like "attachToMinimap=true", maybe deleting that entry will make it work again.
Haven't tested that though and I'd like to point out that I am not a developer ;), just trying to provide ideas what I'd try if this problem had occured to me.
It needs to load last so it will always show up on the bottommost/topmost fubar of whichever block it's on, rather than on whichever bar it's actually positioned on.
I could probably just fix it so it attaches to whatever bar it loads on, I guess. That functionality isn't -really- necessary, as such...
Everything worked perfectly until I hit 70. After that the reputation bar would not show at log in and I'd have to manually switch off the XP bar and switch it back on to get the rep bar to show (if I switched the rep bar off and on nothing happened) and even then it would not update with reputation gains.
I went looking through the code and noticed that OnDataUpdate would return after setting the NoXP bar to full if the player was at max level, it did this before ever doing anything with the reputation bar and hence that bar would never be updated. Moving the reputation bar 'if' block up above the xp bar 'if' block fixes this particular bug, basically moving lines 635-638 up above line 614. Either that or rework the XP bar 'if' block not to return and include an 'else' block.
I have the same issue. I hope this can be fixed in a future version, because I like the looks of these bars.
I'm having problems with the icon. One day as i was messing with some options i accidentally clicked the attach to minimap option and it popped it up on to my minimap. The problem is that now no matter what i try it won't go back onto the FuBar. After i deselect the attach to minibar option it does nothing but gives me this error when i click on the icon:
[2007/10/17 03:49:37-523-x1]: FuBar_FuXPFu\FuBar_FuXPFu.lua:681: attempt to call method 'GetAttachPoint' (a nil value)
FuBarPlugin-2.0-48629:366: in function `runChildren'
Tablet-2.0-49630 (TabletLib):2355: in function `children'
Tablet-2.0-49630 (TabletLib):2399: in function `Open'
Tablet-2.0-49630 (TabletLib):2533: in function <Interface\AddOns\TabletLib\Tablet-2.0\Tablet-2.0.lua:2527>
deselecting the attach to minimap option and reloading does nothing it just pops it on to the minimap when i log in again.
Can someone tell me if its just my comp being dumb or is it an error with the coding?
I am having the same problem. It would be nice if it were fixed, but as a quick fix, how can I get rid of or change manually the option to have it attached to the minimap? I couldn't find the setting in either the WTF folder or in the addon itself.
okay, after some looking into it, it appears there's a slight bug in the FuBarRock plugin code that has it show the "detach to minimap" option even when it's specifically set that it's not to be shown (for the above reasons)
The fix, (aside from not checking that tickbox) is to go into your FuBar savedvariables, and remove the FuXP reference from there. Then re-add the plugin as per normal and it should be put back where it's supposed to. Meanwhile, don't click that option til that bug is fixed =)
I have the same issue. I hope this can be fixed in a future version, because I like the looks of these bars.
I've fixed this...
I replaced lines 613-639 as such:
if self.db.profile.ShowXP then
if UnitLevel("player") == MAX_PLAYER_LEVEL then
self.NoXP:SetWidth(total)
else
local currentXP = UnitXP("player")
local maxXP = UnitXPMax("player")
local restXP = GetXPExhaustion() or 0
local remainXP = maxXP - (currentXP + restXP)
if remainXP < 0 then
remainXP = 0
end
self.XPBar:SetWidth((currentXP/maxXP)*total)
if (restXP + currentXP)/maxXP > 1 then
self.RestedXP:SetWidth(total - self.XPBar:GetWidth())
else
self.RestedXP:SetWidth((restXP/maxXP)*total + 0.001)
end
self.NoXP:SetWidth((remainXP/maxXP)*total)
end
end
if self.db.profile.ShowRep then
self.RepBar:SetWidth(((currentRep - minRep)/(maxRep-minRep))*total)
self.NoRep:SetWidth(((maxRep - currentRep)/(maxRep - minRep))*total)
end
end
This will cause the rep bar to appear even if you're at max level.
The fix, (aside from not checking that tickbox) is to go into your FuBar savedvariables, and remove the FuXP reference from there. Then re-add the plugin as per normal and it should be put back where it's supposed to. Meanwhile, don't click that option til that bug is fixed =)
Great ! As you said, I simply removed the FuXPFu reference from the [Detached] submenu in the Fubar SV, and it worked.
Thanks !
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
This is true. I had LibJostle-3.0 in my addon folder already. I suppose I should a step 3.5 - Besure to download LibJostle if you don't have it.
Do you have "Load Out of Date Addons" checked?
When I enter the options, disable "show text" and then enable "show text" again, it shows the text just fine. Seems to me like it doesn't load its saved settings correctly when starting.
Could be my mistake or a plugin one ?
What I did was comment out the first three lines of the funtion FuXP:OnTextUpdate(). That seemed to do the trick. So it now reads
and so on. However it would be nice if a more experienced programmer might point out to me as to why this works and if this really fixes the problem without creating new ones. And if it is, if this programmer could use this fix to update the downloadable FuXPFu version :D.
/Whizz
There's probably a better way to go about it though.
Everything worked perfectly until I hit 70. After that the reputation bar would not show at log in and I'd have to manually switch off the XP bar and switch it back on to get the rep bar to show (if I switched the rep bar off and on nothing happened) and even then it would not update with reputation gains.
I went looking through the code and noticed that OnDataUpdate would return after setting the NoXP bar to full if the player was at max level, it did this before ever doing anything with the reputation bar and hence that bar would never be updated. Moving the reputation bar 'if' block up above the xp bar 'if' block fixes this particular bug, basically moving lines 635-638 up above line 614. Either that or rework the XP bar 'if' block not to return and include an 'else' block.
Anyway another question : why does your addon need to be loaded last? It seems to work fine like that ...
[2007/10/17 03:49:37-523-x1]: FuBar_FuXPFu\FuBar_FuXPFu.lua:681: attempt to call method 'GetAttachPoint' (a nil value)
FuBarPlugin-2.0-48629:366: in function `runChildren'
Tablet-2.0-49630 (TabletLib):2355: in function `children'
Tablet-2.0-49630 (TabletLib):2399: in function `Open'
Tablet-2.0-49630 (TabletLib):2533: in function <Interface\AddOns\TabletLib\Tablet-2.0\Tablet-2.0.lua:2527>
deselecting the attach to minimap option and reloading does nothing it just pops it on to the minimap when i log in again.
Can someone tell me if its just my comp being dumb or is it an error with the coding?
Have you tried editing your FuXPFu saved variables file? There will probably be some entry like "attachToMinimap=true", maybe deleting that entry will make it work again.
Haven't tested that though and I'd like to point out that I am not a developer ;), just trying to provide ideas what I'd try if this problem had occured to me.
I could probably just fix it so it attaches to whatever bar it loads on, I guess. That functionality isn't -really- necessary, as such...
I have the same issue. I hope this can be fixed in a future version, because I like the looks of these bars.
I am having the same problem. It would be nice if it were fixed, but as a quick fix, how can I get rid of or change manually the option to have it attached to the minimap? I couldn't find the setting in either the WTF folder or in the addon itself.
The fix, (aside from not checking that tickbox) is to go into your FuBar savedvariables, and remove the FuXP reference from there. Then re-add the plugin as per normal and it should be put back where it's supposed to. Meanwhile, don't click that option til that bug is fixed =)
I've fixed this...
I replaced lines 613-639 as such:
This will cause the rep bar to appear even if you're at max level.
Great ! As you said, I simply removed the FuXPFu reference from the [Detached] submenu in the Fubar SV, and it worked.
Thanks !