ElkFactions is the next step of development for FuBar-FactionsFu.
It provides a LDB feed for your currently tracked reputation featuring a tooltip that allows you to view all of your factions.
Dinged exalted with Armies of Legionfall and am now getting this lua error:
4x ElkFactions\ElkFactions-1.0.0-29.lua:216: attempt to compare number with nil ElkFactions\ElkFactions-1.0.0-29.lua:216: in function `UpdateBaseReputations' ElkFactions\ElkFactions-1.0.0-29.lua:190: in function <ElkFactions\ElkFactions.lua:186> (tail call): ? [C]: ? [string "safecall Dispatcher[2]"]:9: in function <[string "safecall Dispatcher[2]"]:5> (tail call): ? Ace3\AceBucket-3.0\AceBucket-3.0-3.lua:116: in function `func' Ace3\AceTimer-3.0\AceTimer-3.0-17.lua:55: in function <Ace3\AceTimer-3.0\AceTimer-3.0.lua:48>
Using the latest version, still shows something weird... like 24090/10000, it's actually 4090/10000 from Blizzard's UI, guess ElkFaction just get the raw value from API or something...well, it's not big deal, just looks weird.
I was still not sure which values the API returns when I initially wrote that code.
Try r32, it should fix that problem (but won't currently indicate that you have pending rewards).
Using latest one seems fine. :)
Well, even Blizzard didn't do their shit correctly, their own rep tracking bar(the one on the XP/Artifact Power value tracking bar(s) at bottom of screen if using default UI) still shows total value, but whatever, it seems the rep system just not fit well with their "hacking for paragon rep design". :p
Needed updates for 7.2, since it seems can't handle the new "Reputation earned beyond Exalted" design, as all exalted reputations are shows as "0/0" now(whatever the reputation is Legion one or not) and needed to work to show the progress bar for additional rewards for Legion reputations.
Don't know if there will be official updates but I wrote some stuff myself:
Replace line 205:
reputationSessionBase[factionID] = barValue
with:
local paraValue, paraThreshold, paraQuestId, paraRewardPending = C_Reputation.GetFactionParagonInfo(factionID)
if (C_Reputation.IsFactionParagon(factionID)) then
reputationSessionBase[factionID] = paraValue
else
reputationSessionBase[factionID] = barValue
end
In Addition find:
tooltipColors.standingIncrementialOld = FACTION_COLORS_INC_old[standingID] or "|cfff433ff"
And insert afterwards:
-- new paragon stuff
local isParagon = C_Reputation.IsFactionParagon(factionID)
if isParagon and barMin==42000 and barMax==42000 and barValue==42000 then
local paraValue, paraThreshold, paraQuestId, paraRewardPending = C_Reputation.GetFactionParagonInfo(factionID)
repIs = paraValue
repMax = paraThreshold
standingText = "Paragon"
tooltipColors.standingBlizzard = "|cfff433ff"
repDelta = repIs - reputationSessionBase[factionID]
if (repDelta < 0 ) then
repDelta = repDelta + 10000
end
elseif (not isParagon) and barMin==42000 and barMax==42000 and barValue==42000 then
repIs = 999
repMax = 1000
end
Currently working on my own fixes based on Blizzard's code.
The code you proposed will "break" in some edge cases (new faction reaching exalted and turning paragon, multiple paragon levels in one session, ...?)
But still thanks for trying to drop a quick fix for others :)
I'm looking into fixing the general max. standing display (i.e. no more 0/0 or 999/1000) and will try to also fix the two aforementioned cases.
Of course. And yeah I wasn't sure about the paragon stuff because I don't know what happens after the first paragon level. But I didn't want to wait till this is figured out ;) Multiple paragon levels in a session - crazy people :P
The latest update fixed the bug - however, now whenever you gain rep with the faction you have selected to show in the bar, it clears your selection...
I came here from Broker_Faction failing to recognize the new "Friend" rep with Conjurer Margoss, and it broke it. Yours works as well as your buff mod does! Thank you for the hard coding work.
One thing I did want to mention is that Conjurer Margoss is listed under Steamwheedle Cartel header, under the Classic main header. If we could get that moved sometime in the future, that would be awesome. Thank you again for the hard work Elkano.
Thanks for the praise, just trying my best (despite my laziness). :)
The position of the factions is the same as in Blizzard's default UI.
You'll find that there, Margoss is also listed at the end without any header.
Due to the way the factions are displayed, reordering them, e.g to put Margoss under the Legion header, would require larger code changes; won't happen since I expect Blizzard to fix the missing header in an upcoming update (maybe it's fixed on PTR? can't check)
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Dinged exalted with Armies of Legionfall and am now getting this lua error:
4x ElkFactions\ElkFactions-1.0.0-29.lua:216: attempt to compare number with nil
ElkFactions\ElkFactions-1.0.0-29.lua:216: in function `UpdateBaseReputations'
ElkFactions\ElkFactions-1.0.0-29.lua:190: in function <ElkFactions\ElkFactions.lua:186>
(tail call): ?
[C]: ?
[string "safecall Dispatcher[2]"]:9: in function <[string "safecall Dispatcher[2]"]:5>
(tail call): ?
Ace3\AceBucket-3.0\AceBucket-3.0-3.lua:116: in function `func'
Ace3\AceTimer-3.0\AceTimer-3.0-17.lua:55: in function <Ace3\AceTimer-3.0\AceTimer-3.0.lua:48>
Thanks for the report, should no longer happen with r31 (due to that codeblock having been removed).
Using the latest version, still shows something weird... like 24090/10000, it's actually 4090/10000 from Blizzard's UI, guess ElkFaction just get the raw value from API or something...well, it's not big deal, just looks weird.
Proof screenshot: https://sites.google.com/site/playerlintempstorage/WoWScrnShot_041617_170516.jpg
(Sorry I'm playing zhTW locale so all names are Chinese. :p)
I was still not sure which values the API returns when I initially wrote that code.
Try r32, it should fix that problem (but won't currently indicate that you have pending rewards).
A bug i noticed, there is lag when switching between watched factions, even to the point it makes WoW stop responding.
Generally happens when selecting a paragon rep.
Can't reproduce, so my guess would be that it's likely caused by some other addon you have installed.
Needed updates for 7.2, since it seems can't handle the new "Reputation earned beyond Exalted" design, as all exalted reputations are shows as "0/0" now(whatever the reputation is Legion one or not) and needed to work to show the progress bar for additional rewards for Legion reputations.
Don't know if there will be official updates but I wrote some stuff myself:
Replace line 205:
with:
In Addition find:
And insert afterwards:
I hope this helps ;)
This will fix:
- old exalted reputation display
- new paragon status on factions
- current paragon reputation
- reputation earned during session for paragon reps
Worked perfectly. Thanks for sharing!
Sure. You're welcome. Thanks for saying thanks ;)
Currently working on my own fixes based on Blizzard's code.
The code you proposed will "break" in some edge cases (new faction reaching exalted and turning paragon, multiple paragon levels in one session, ...?)
But still thanks for trying to drop a quick fix for others :)
I'm looking into fixing the general max. standing display (i.e. no more 0/0 or 999/1000) and will try to also fix the two aforementioned cases.
The latest update fixed the bug - however, now whenever you gain rep with the faction you have selected to show in the bar, it clears your selection...
Damn, I see the problem... back to the drawing board for the auto-watch by zone code. :/
r27 should fix that without breaking auto-watch (can't test atm).
Yep, that fixed it :) Thanks!
I came here from Broker_Faction failing to recognize the new "Friend" rep with Conjurer Margoss, and it broke it. Yours works as well as your buff mod does! Thank you for the hard coding work.
One thing I did want to mention is that Conjurer Margoss is listed under Steamwheedle Cartel header, under the Classic main header. If we could get that moved sometime in the future, that would be awesome. Thank you again for the hard work Elkano.
Thanks for the praise, just trying my best (despite my laziness). :)
The position of the factions is the same as in Blizzard's default UI.
You'll find that there, Margoss is also listed at the end without any header.
Due to the way the factions are displayed, reordering them, e.g to put Margoss under the Legion header, would require larger code changes; won't happen since I expect Blizzard to fix the missing header in an upcoming update (maybe it's fixed on PTR? can't check)