Download
(104 Kb)
Download
Updated: 09-15-13 08:17 AM
Pictures
File Info
Compatibility:
Siege of Orgrimmar (5.4)
Updated:09-15-13 08:17 AM
Created:01-30-12 09:23 AM
Downloads:4,677
Favorites:80
MD5:
5.4
Faction Addict
Version: 1.15
by: gmz323 [More]
Description:
Faction Addict is a stand-alone addon that provides additional faction information to your characters working towards faction based achievements. Intended for those players who work on gaining exalted with many factions but also helpful to those that do not. There are in game achievements for being exalted with 1, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, and 60 factions respectively.

Faction Addict also provides a reputation logging system that allows the player to see what reputation gains they have made in the current and previous sessions.

Use slash commands /fa or /factionaddict or click the new button on the upper right corner of your characters reputation panel to open and/or close the addon window.


Usage: (slash commands)
  • /fa
  • /factionaddict
  • *click button* on upper right corder of character's reputation page
Features:
  • Factions - Shows all factions - including those not "known" by your character.
  • Log - Reputation gain logging - shows reputation gains your characters has made in the current and previous sessions.
  • Faction info panel - click on a faction in the addon to see more specific info.
  • Exalted Count - Shows count of exalted factions and how many required for next achievement.
  • Display Ordering - Faction display can be ordered by % to exalted or faction name.
  • Display Filters - Faction display can be filtered by standing, expansion, alliance/horde only.
  • Auto-Change Reputation Bar - reputation bar will auto-change to faction that had last gain
  • Hide Inactive Factions - Faction display will hide any factions your mark as inactive in the default reputation ui. (Click 'Move to Inactive')
Official Homepage:My Other Addons:
  • Tabard Addict - tracks how many tabards have been equipped for the various tabard achievements.
  • Below Average Items - puts indicators on low level items on character sheet.
Changelog:
  • See 'Change Log' tab for details of each revision.
  • Lastest Version: v1.15 (2013-09-15)
v1.15 (2013-09-15)
------------------
* Added Emperor Shaohao faction
* Order/Filter modes updated to support game changes to Tillers subfactions (Ella, Gina Mudclaw, Jogu, etc...)

v1.14 (2013-09-10)
------------------
* Updated for WoW 5.4

v1.13 (2013-05-21)
------------------
* Updated for WoW 5.3

v1.12 (2013-04-06)
------------------
* New Feature! - Auto-Change Reputation Bar - reputation bar will now auto-change to faction that had last gain, not including your guild faction gains. This feature can be turned on/off via the config tab.
* New Feature! - Hide Inactive Factions - Faction display will hide any factions your mark as inactive in the default reputation ui. (Click 'Move to Inactive') This feature can be turned on/off via the config tab.
* Much credit to Phanx for help on this update. Thanks Phanx!

v1.11 (2013-03-28)
------------------
* Added indicator on reputation bars for account wide 'bonus reputation'. This is the bonus unlocked when you buy the various Grand Commendations from faction quartermasters. (Same indicator as used in the default ui)
* NOTE - 'Champion a faction' star indicators still to be added in future release

v1.10 (2013-03-05)
------------------
* Updated for client 5.2
* Added new factions - Shado-Pan Assault, Sunreaver Onslaught, and Kirin Tor Offensive
* NOTE! - Indicators for account 'Bonus Reputation and 'Champion a faction' will be added in future release.

v1.09 (2012-12-3)
------------------
* Added new 5.1 factions - Dominance Offensive, Operation: Shieldwall, and Akama's Trust.

v1.08 (2012-11-28)
------------------
* update toc for client 5.1

v1.07 (2012-10-20)
------------------
* Minor tweaks to layout of faction logos.

v1.06 (2012-8-28)
------------------
* Changes to support Mists of Pandaria, client 5.0.4.
* Added many new factions identified in MoP. More sorting and config options will be added for them in the future.

v1.05 (2012-4-16)
------------------
* (bugfix) Fix generic reputation gain case where reputation gain message didn't include a value. - ie "Reputation with FACTION increased" instead of "Reputation with FACTION increased by VALUE".
* (bugfix) Fix reputation gains that include a "refer-a-friend" bonus in chat message.

v1.04 (2012-3-7)
------------------
* Added new tooltip containing list of all the exalted reputation achievements. Tooltip is shown when mouse over "Next Achievement" text at bottom of addon.

v1.03 (2012-2-20)
------------------
* increased reputation logging to hold more previous days of reputation gains
* changes to make addon more localization friendly in the future
* fixed refresh issue with info panel

v1.02 (2012-2-1)
------------------
* (bugfix) Fix handling of guild name faction on character load.

v1.01 (2012-01-30)
------------------
* Initial release of Faction Addict
Archived Files (14)
File Name
Version
Size
Author
Date
1.14
104kB
gmz323
09-10-13 06:00 AM
1.13
104kB
gmz323
05-21-13 07:15 AM
1.12
104kB
gmz323
04-06-13 09:50 AM
1.11
102kB
gmz323
03-28-13 08:12 AM
1.10
101kB
gmz323
03-05-13 09:32 AM
1.09
101kB
gmz323
12-03-12 08:44 AM
1.08
101kB
gmz323
11-28-12 07:08 AM
1.07
101kB
gmz323
10-21-12 08:09 AM
1.06
101kB
gmz323
08-28-12 05:24 AM
1.05
99kB
gmz323
04-16-12 01:07 PM
1.04
99kB
gmz323
03-07-12 08:58 AM
1.03
98kB
gmz323
02-20-12 09:07 AM
1.02
94kB
gmz323
02-01-12 10:08 AM
1.01
94kB
gmz323
01-30-12 09:23 AM


Post A Reply Comment Options
Unread 04-03-13, 08:30 AM  
gmz323
A Kobold Labourer
 
gmz323's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 43
Uploads: 3
Thanks again Phanx! I have the initial implementation working now and will probably spend a few days with it before putting out the release.

I really appreciate the time you've spent helping with these features and have learned more along the way.

In case you need to reuse this snippet in the future below is an updated paste. There were a few tiny syntactic changes plus a case to handle when 'Inactive' header is collapsed.

http://pastebin.com/Pm4v6nKD

Thanks again!
gmz323 is offline Report comment to moderator  
Reply With Quote
Unread 04-02-13, 04:20 PM  
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4129
File comments: 1937
Uploads: 39
I don't know why Blizzard designs APIs like this... the pet journal is the same, but infinitely worse. Anyway, a simple flag to prevent recursion should be sufficient. I updated my previous code and combined them:

http://pastebin.com/V9gmF9kH

You can continue to call UpdateInactiveFactionList() in response to UPDATE_FACTION; it won't run again if it's already in the middle of a run. SetWatchedFactionByID(factionID) will still trigger the events, but won't cause UpdateInactiveFactionList to run while it's running. Instead of a table lookup to determine if a faction is inactive, call IsFactionInactive(factionID).
__________________
Author/maintainer of Grid, PhanxChat, ShieldsUp, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
Last edited by Phanx : 04-02-13 at 04:21 PM.
Phanx is offline Report comment to moderator  
Reply With Quote
Unread 04-02-13, 08:48 AM  
gmz323
A Kobold Labourer
 
gmz323's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 43
Uploads: 3
Originally Posted by Phanx
With the latter, you just need to call the UpdateInactiveFactionsList function in response to the UPDATE_FACTION event, and then you can check InactiveFactions[factionID] to see if a particular faction should be ignored...
Hi Phanx. I was able to implement the auto-change reputation bar without issue. However having some problem with inactive factions.

The problem is that UpdateInactiveFactionsList itself generates multiple UPDATE_FACTION events as the headers are expanded and collapsed. So the whole thing kind of recurses on itself and stack overflows when you call it in response to an UPDATE_FACTION event. I had a thought of unregistering that event handler while in the function but seems a bit risky. Any thoughts?
gmz323 is offline Report comment to moderator  
Reply With Quote
Unread 03-28-13, 03:53 PM  
gmz323
A Kobold Labourer
 
gmz323's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 43
Uploads: 3
Appreciate the code and time you spent on this Phanx. It must be a feature you're really interested in!

I'll work on rolling this support into the next release.
gmz323 is offline Report comment to moderator  
Reply With Quote
Unread 03-28-13, 01:54 PM  
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4129
File comments: 1937
Uploads: 39
Set watched faction by ID:
http://pastebin.com/9Tb6X3Lm

Get list of inactive factions:
http://pastebin.com/BqDGmc0s

With the latter, you just need to call the UpdateInactiveFactionsList function in response to the UPDATE_FACTION event, and then you can check InactiveFactions[factionID] to see if a particular faction should be ignored:

Code:
if InactiveFactions[factionID] then
	-- don't display
else
	-- display
end
Both functions will have no visible impact on the state of the default faction panel, so even if the user is currently viewing it, they won't notice the headers being collapsed/expanded.
__________________
Author/maintainer of Grid, PhanxChat, ShieldsUp, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
Last edited by Phanx : 03-28-13 at 01:59 PM.
Phanx is offline Report comment to moderator  
Reply With Quote
Unread 03-23-13, 07:15 AM  
gmz323
A Kobold Labourer
 
gmz323's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 43
Uploads: 3
Thanks for the feedback Phanx.

This is somewhat difficult with the current implementation of Faction Addict. FA was written to be independent of the default reputation UI. That means it can only use faction APIs that pass faction ID and can't really use those that pass a faction INDEX. When I looked into workaround sometime back for mapping INDEXes to IDs I realized that the indexes keep changing based on what is currently displayed and/or folded/unfolded in the default display. It added a level of complexity that I didn't want to deal with.

This is also why I've not been able to easily implement the quick change reputation bar as SetWatchedFactionIndex(index) uses the indexes instead of Faction IDs.

It is more likely that I would implement custom standalone active/inactive and reputatation bar features into the addon than try to find a workaround with the indexes. But it will take some time.

Thanks!

Originally Posted by Phanx
Could you add an option to not display factions the player has moved to the Inactive group? When you're scanning the faction list, just check the text of each header you encounter against the FACTION_INACTIVE global. If it's a match, stop the scan; all the remaining factions are in the Inactive group.

This would help keep the list clean. For example, I don't need to see Forest Hozen at the top of the list (99.52% Revered)... Blizzard failed to consider that not all players are guilded (with the +rep bonus from their guild) when setting the rep rewards for those quests, and didn't fix it until after I'd already leveled through Jade Forest and done all the quests, so I can never gain any more rep with them to get Exalted. Then there are some factions that are just totally useless, like the Gelkis and Magram Clan Centaur from the level 30 quests in Desolace back in Vanilla... I'm not even sure those quests exist anymore.
gmz323 is offline Report comment to moderator  
Reply With Quote
Unread 03-23-13, 02:51 AM  
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4129
File comments: 1937
Uploads: 39
Could you add an option to not display factions the player has moved to the Inactive group? When you're scanning the faction list, just check the text of each header you encounter against the FACTION_INACTIVE global. If it's a match, stop the scan; all the remaining factions are in the Inactive group.

This would help keep the list clean. For example, I don't need to see Forest Hozen at the top of the list (99.52% Revered)... Blizzard failed to consider that not all players are guilded (with the +rep bonus from their guild) when setting the rep rewards for those quests, and didn't fix it until after I'd already leveled through Jade Forest and done all the quests, so I can never gain any more rep with them to get Exalted. Then there are some factions that are just totally useless, like the Gelkis and Magram Clan Centaur from the level 30 quests in Desolace back in Vanilla... I'm not even sure those quests exist anymore.
__________________
Author/maintainer of Grid, PhanxChat, ShieldsUp, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
Phanx is offline Report comment to moderator  
Reply With Quote
Unread 10-19-12, 06:18 AM  
gmz323
A Kobold Labourer
 
gmz323's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 43
Uploads: 3
Originally Posted by Aisenfaire
Hello! Just wanted to mention your link to "Below Average Items" in your description seems to be broken.

Great addons!
Thanks Aisenfaire! I won't be able to update the link until the next file update so heres the link for now:
Below Average Items Link - http://www.wowinterface.com/download...Indicator.html
gmz323 is offline Report comment to moderator  
Reply With Quote
Unread 10-18-12, 07:15 PM  
Aisenfaire
A Murloc Raider

Forum posts: 4
File comments: 275
Uploads: 0
Hello! Just wanted to mention your link to "Below Average Items" in your description seems to be broken.

Great addons!
Aisenfaire is offline Report comment to moderator  
Reply With Quote
Unread 09-06-12, 05:39 AM  
Barleduq
Ruler of All I Survey
 
Barleduq's Avatar

Forum posts: 62
File comments: 261
Uploads: 0
Just a note...

... thanking you for working to update this for all the new stuff.

Thank you!

Barleduq is offline Report comment to moderator  
Reply With Quote
Unread 05-13-12, 07:22 AM  
gmz323
A Kobold Labourer
 
gmz323's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 43
Uploads: 3
Re: Feature suggestion

Thanks for the suggestions Hentaya!

I will look into what info is available via the api in regards to having some guild level functionality in the addon and consider adding some guild level features to it.

Thanks!
gmz323 is offline Report comment to moderator  
Reply With Quote
Unread 05-12-12, 10:09 AM  
Hentaya
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 19
Uploads: 1
Thumbs up Feature suggestion

Haven't started using it yet, but reading the blurbs make me pretty sure I want to.

One tracking feature that would be useful would be to track the guild achievement for 55 exalted reps. Even BETTER would be if it had a way to figure out if anyone else in your guild (for whatever value of 'anyone else' is accessable to the API level) is closer than you to ones that are needed.

Of course, going the latter way makes one think of lots of features for Guild Achievement Addict. I just haven't gotten around to examining the API for access to guild member info. Right now, my guild on Elune doesn't seem to exist to the Armory, so there's more desire for me to get info via addons.
Hentaya is offline Report comment to moderator  
Reply With Quote
Unread 04-18-12, 06:06 AM  
gmz323
A Kobold Labourer
 
gmz323's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 43
Uploads: 3
Re: Re: Whee!

I wasn't able to reproduce the problem reported by Barleduq exactly. Version 1.05 has been released as a best "guess" fix as to what the problem is.

Thanks!
gmz323 is offline Report comment to moderator  
Reply With Quote
Unread 04-15-12, 06:05 AM  
gmz323
A Kobold Labourer
 
gmz323's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 43
Uploads: 3
Re: Whee!

Thanks for the detailed bug report Barleduq! I'll work on getting this reproduced and fixed.

Thanks!

Originally Posted by Barleduq
More data than I know what to do with!

I was running a random into UBRS and had swatter pop up an error for Faction Addict. I've removed the list of addons so as not to wall-of-text; if you want them, let me know.

Mind you, I went to hit something, and this popped up. I hadn't touched my character pane at all, never mind the faction pane, or pulling up FA. So no clue what triggered it. I *think* I was mousing over something to click on to target, but things were moving fast and I honestly am not sure.

There were 4 instances of this in Swatter, 2 at each timestamp, but I'm not sure what 'count' means in the fourth line of the listout.
gmz323 is offline Report comment to moderator  
Reply With Quote
Unread 04-15-12, 02:04 AM  
Barleduq
Ruler of All I Survey
 
Barleduq's Avatar

Forum posts: 62
File comments: 261
Uploads: 0
Whee!

More data than I know what to do with!

I was running a random into UBRS and had swatter pop up an error for Faction Addict. I've removed the list of addons so as not to wall-of-text; if you want them, let me know.

Mind you, I went to hit something, and this popped up. I hadn't touched my character pane at all, never mind the faction pane, or pulling up FA. So no clue what triggered it. I *think* I was mousing over something to click on to target, but things were moving fast and I honestly am not sure.

There were 4 instances of this in Swatter, 2 at each timestamp, but I'm not sure what 'count' means in the fourth line of the listout.

Code:
Date: 2012-04-14 21:59:24
 ID: -1
 Error occured in: Global
 Count: 288
 Message: ..\AddOns\FactionAddict\FactionAddict.lua line 1264:
   attempt to compare number with nil
 Debug:
   [C]: ?
   FactionAddict\FactionAddict.lua:1264: FactionAddict_OnEvent()
   [string "*:OnEvent"]:1:
      [string "*:OnEvent"]:1

 ---

 Date: 2012-04-14 21:50:07
 ID: -3
 Error occured in: Global
 Count: 35
 Message: ..\AddOns\FactionAddict\FactionAddict.lua line 1264:
   attempt to compare number with nil
 Debug:
   [C]: ?
   FactionAddict\FactionAddict.lua:1264: FactionAddict_OnEvent()
   [string "*:OnEvent"]:1:
      [string "*:OnEvent"]:1

 ---
Barleduq is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: