This project is inactive and its default file will likely not work with the most recent version of World of Warcraft. The author may have abandoned it, or it may have outlived its usefulness.
FactionsFu has been superseded by ElkFactions: WoWAce / Curse
I have a different issue. If I manually click to just watch the faction, it works fine. But alt-clicking to link watching the particular faction to the zone I'm in is completely borked. FactionsFu just refuses to remember zone-linkages now. I still use the mod because I can just manually set it each time i want to pay attn to a faction, but I miss the zone-linkage greatly.
here's my handy dandy Alliance Vanguard hack. i inserted the middle line in the below 3 lines (the top and bottom line already existed):
name, description, standingID, barMin, barMax, barValue, atWarWith, canToggleAtWar, isHeader, isCollapsed, hasRep, isWatched, isChild = GetFactionInfo(i)
if ( name == "Alliance Vanguard" ) then isHeader = false; end
if ( isHeader ) then
this merely fools the mod into thinking that AV is not actually a header with sub-factions after all. it doesn't seem to affect anything other than not listing the sub-factions in a collapsable section beneath AV in the tooltip, but most of us just want to view one at a time on the fubar iteself anyway (i think).
Took your fix a little farther to show Alliance Vanguard both as a regular entry as well as the header for it's four subfactions. Probably not the most elegant solution, but it works.
From line ~113, replace the " for i=1, numFactions do" for loop with:
local AVswitch = 0
for i=1, numFactions do
name, description, standingID, barMin, barMax, barValue, atWarWith, canToggleAtWar, isHeader, isCollapsed, hasRep, isWatched, isChild = GetFactionInfo(i)
if ( name == "Alliance Vanguard" ) then
isHeader = false
AVswitch = 1
end
if ( isHeader ) then
header = name
table_insert(self.factions, getfactiontable("name", header, "isHeader", true, "isCollapsed", isCollapsed, "isChild", isChild))
if collapsedheaders[header] and not isCollapsed then
-- self:Print("Loop 1:", i, name, isHeader, isCollapsed)
table_insert(collapsids, i)
end
else
if header ~= UNKNOWN then
-- Normalize values
table_insert(factions, getfactiontable("name", name, "isHeader", false, "standing", standingID, "repIs", barValue - barMin, "repMax", barMax - barMin, "repAbs", barValue, "atWarWith", atWarWith, "canToggleAtWar", canToggleAtWar, "isWatched", isWatched, "isChild", isChild))
if not self.SessionChangesBase[name] then self.SessionChangesBase[name] = barValue end
if isWatched then
self.watched = name
self.watchedid = i
end
end
end
if (AVswitch == 1) then
AVSwitch = 2
if ( name == "Alliance Vanguard" ) then
isHeader = true
header = name
table_insert(self.factions, getfactiontable("name", header, "isHeader", true, "isCollapsed", isCollapsed, "isChild", isChild))
if collapsedheaders[header] and not isCollapsed then
-- self:Print("Loop 1:", i, name, isHeader, isCollapsed)
table_insert(collapsids, i)
end
OK, so that looked nice but unfortunately screwed things up when trying to track any rep under the Alliance Vanguard. Ended up going for a cosmetic alternative, just added if statements to set the "name" variable w/ a leading " -- " prior to printing for each of the 4 Valiance factions, and back to default afterwards (to display normally if the faction is being tacked). Can post the code if anyone wants.
Any news on whether you've figured out how to make it track the Alliance Vanguard rep? I'd really like to be able to track it, but it's listed as a header, so won't show the rep.
Not sure if its a bug with Factionsfu or a blizz problem, but ever since wotlk the settings for hide/show sections by using the +/- on the headers don't work properly.
I set it to hide all Classic and BC factions by hitting the -, but after zoning/updating it shows all factions as open again.
The same happends requardless if i do it in the afctionsfu tooltip or ion blizz rep tab.
I'd like to see profiles for this addon like other fubar addons. I would like to track Aldor on one character but Scryer on another, but setting it on one seems to set it for the other as well.
Love the mod. Can you color the faction level along the line of item quality? Such as, purple for exalted? The other mod for fubar that tracks faction does this and I would love to see that in this mod since Im switching to it for the simple click to select faction to monitor. Sample of this coloring is at http://www.curse-gaming.com/en/wow/modscreen-3615-7489-1.html
Thanks!
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
name, description, standingID, barMin, barMax, barValue, atWarWith, canToggleAtWar, isHeader, isCollapsed, hasRep, isWatched, isChild = GetFactionInfo(i)
if ( name == "Alliance Vanguard" ) then isHeader = false; end
if ( isHeader ) then
this merely fools the mod into thinking that AV is not actually a header with sub-factions after all. it doesn't seem to affect anything other than not listing the sub-factions in a collapsable section beneath AV in the tooltip, but most of us just want to view one at a time on the fubar iteself anyway (i think).
enjoy,
Chaws of Silvermoon US
From line ~113, replace the " for i=1, numFactions do" for loop with:
local AVswitch = 0
for i=1, numFactions do
name, description, standingID, barMin, barMax, barValue, atWarWith, canToggleAtWar, isHeader, isCollapsed, hasRep, isWatched, isChild = GetFactionInfo(i)
if ( name == "Alliance Vanguard" ) then
isHeader = false
AVswitch = 1
end
if ( isHeader ) then
header = name
table_insert(self.factions, getfactiontable("name", header, "isHeader", true, "isCollapsed", isCollapsed, "isChild", isChild))
if collapsedheaders[header] and not isCollapsed then
-- self:Print("Loop 1:", i, name, isHeader, isCollapsed)
table_insert(collapsids, i)
end
else
if header ~= UNKNOWN then
-- Normalize values
table_insert(factions, getfactiontable("name", name, "isHeader", false, "standing", standingID, "repIs", barValue - barMin, "repMax", barMax - barMin, "repAbs", barValue, "atWarWith", atWarWith, "canToggleAtWar", canToggleAtWar, "isWatched", isWatched, "isChild", isChild))
if not self.SessionChangesBase[name] then self.SessionChangesBase[name] = barValue end
if isWatched then
self.watched = name
self.watchedid = i
end
end
end
if (AVswitch == 1) then
AVSwitch = 2
if ( name == "Alliance Vanguard" ) then
isHeader = true
header = name
table_insert(self.factions, getfactiontable("name", header, "isHeader", true, "isCollapsed", isCollapsed, "isChild", isChild))
if collapsedheaders[header] and not isCollapsed then
-- self:Print("Loop 1:", i, name, isHeader, isCollapsed)
table_insert(collapsids, i)
end
end
end
end
I set it to hide all Classic and BC factions by hitting the -, but after zoning/updating it shows all factions as open again.
The same happends requardless if i do it in the afctionsfu tooltip or ion blizz rep tab.
However, FactionsFu doesn't show reputation on that line.
Elkano, check out this ticket:
http://wow.curseforge.com/projects/curse-profiler-2/tickets/9-factions-not-counted/
I just submitted a beta version of my fubar plugin that monitors reputation, ReputationFu at http://wow-en.curse-gaming.com/downloads/addons/interface-enhancements/fubar-reputationfu/
Since it's a FuBar addon it should already have profile support build in, accessable via it's rightclick dropdown menu.
I'd like to see profiles for this addon like other fubar addons. I would like to track Aldor on one character but Scryer on another, but setting it on one seems to set it for the other as well.
Love the mod. Can you color the faction level along the line of item quality? Such as, purple for exalted? The other mod for fubar that tracks faction does this and I would love to see that in this mod since Im switching to it for the simple click to select faction to monitor. Sample of this coloring is at http://www.curse-gaming.com/en/wow/modscreen-3615-7489-1.html
Thanks!