Download
(166Kb)
Download
Updated: 11-11-11 09:16 AM
Pictures
File Info
Updated:11-11-11 09:16 AM
Created:unknown
Downloads:36,265
Favorites:397
MD5:

Broker Factions  Popular! (More than 5000 hits)

Version: 3.2.6 Release
by: Zhinjio, Torhal

Broker Factions is a simple Ace3 LDB Data Feed plugin that provides an easy way to monitor your reputation with the various factions. It is loosely based on FactionsFu (Elkano) and the older Titan Factions (Phanx).

What it does:

  • Provides a tooltip where all faction reputations are summarized. Details can be customized in the configuration panel (Right-Click on the plugin to bring up the configuration screen automatically). Factions that are under collapsed groups (or subgroups), in Blizzard's reputation tab frame (character screen) will not be shown. Likewise, inactive factions will be hidden. You may at any point expand or collapse a faction "header" (group) by simply right clicking on it (ensure that the "Show Collapsed Headers" option is enabled, in the configuration panel, if for some reason you are unable to view a faction group after collapsing it).
  • Provides a button where the addon's monitored reputation can be shown. You can select the faction you wish to monitor from either the configuration panel or by simply left clicking on it from the tooltip. Factions that are inactive/under collapsed groups will not be monitored. You may also choose to hide the monitored faction entirely, if you only want to view the tooltip, every now and then.
  • Session gains can be shown on both the button and the tooltip.
  • The addon "remembers" collapsed groups that you set per session and will attempt to restore these settings automatically, whenever you enter the world.
  • Provides an option so that your monitored faction switches automatically to reflect the faction you last gained reputation with (you also have the option to ignore negative reputation gains). Also provides options to use Blizzard's monitored faction or even set your own monitored faction as the "watched" faction (the one shown above the normal experience bar if not level capped). You may set a "watched" faction shown as an experience bar, by holding down Ctrl and clicking on a valid faction with reputation, either from the tooltip or by ctrl + clicking the plugin itself.
  • Provides an option to paste reputation info into a currently opened chat box. Just hold down Shift and click either on the plugin or on a valid faction with reputation, shown on the tooltip.
  • Provides an option to scale the tooltip and/or use a scrolling slider, to avoid issues with extremely large and detailed tooltips.

What it doesn't do:
  • It will not automatically set a faction to monitor according to your location/zone. I have decided against implementing this feature, so that the plugin can peacefully coexist and "cooperate" with addons that automatically switch Blizzard's reputation bar (the one above the experience bar if not level capped) according to your location.


Bear in mind that Broker Factions, as all DataBroker plugins does not provide it's own display, you will need a LDB-based display addon, such as Fortress, Carousel, StatBlockCore, Wraith, Titan Panel etc.

Click here to lend your support!

3.2.6 Release
- Updated ToC version for WoW 4.2
3.2.5 Release
- First "full function" release with new code
3.2.4 Beta
- Fixed db options bug. (thanks Torhal)
3.2.3 Beta
- Fixed a config bug
3.2.2-beta
- This is the first release after taking this addon over. Fairly large portions of the code have been rewritten. Since Bliz implemented several changes that made some portions of this addon obsolete. I've removed that code.
- Most tooltip functions are now restored and working as before (or better).
- I have not yet implemented showing *any* information on the LDB display bar, though that is up next.
- I usually don't move beta version over, opting instead of wait for a full release, but I think its good to get the new code in circulation, and getting feedback and bug reports. PLEASE let me know what you find and do or don't like.
3.1 [2009.08.04]
- Library update.
- Removed LibQTipClick-1.1 from embeds.
- Modified tooltip click handler to use SetCellScript method, present in LibQTip-1.0.
- Set the BackdropBorderColor and alpha to always reflect the original values of the GameTooltip.
- .toc bump for WoW version 3.2.
---------------------------
3.0b [2009.06.21]
- Updated Chinese localization.
---------------------------
3.0 [2009.06.16]
- Major Update
- Properly localized a few forgotten global vars.
- Embedded LibQTipClick-1.1. Added support for a clickable tooltip.
- Left clicking a faction name, on the plugin's tooltip will now cause said faction to be "watched" on the button/block. Note: Left click will NOT function if the user has selected the "Use Blizzard's faction watch" option, in the plugin's configuration menu.
- Shift + left clicking a faction name, on the plugin's tooltip will paste the faction information on a chat frame editbox (assuming it's open).
- Ctrl + left clicking a faction name, on the plugin's tooltip will cause said faction to be "watched" on the default Blizzard reputation bar. Note: Ctrl + Left click will NOT function if the user has selected the "Use Blizzard's faction watch" option, in the plugin's configuration menu.
- Added a new option under the configuration "Tooltip" category, that enables the user to hide the "hint" from the plugin's tooltip.
- Split the code in the OnEnter script to acquire and set tooltip properties and implemented a new function to actually draw the rest of the tooltip, in order to facilitate clickable functionality for faction headers.
- Right clicking a faction header will now cause it to collapse or expand and the tooltip will be automatically redrawn to reflect the changes in the faction index.
- Refined the argument return table for the callback handler function, to also return the faction's index ID, in order to avoid unnecessary checks using the faction name.
- Refined the tooltip hint, to provide better explanation in regards to the new functionality.
- Updated localization to support the tooltip changes (work in progress).
---------------------------
2.4 [2009.06.05]
- Updated to the latest revision of LibQTip-1.0 that deals with the clipping issue once and for all.
- Updated .toc with proper tags for Minion support.
---------------------------
2.3c [2009.05.26]
- Updated to r92 of LibQTip.
---------------------------
2.3b [2009.05.24]
- Updated to r87 of LibQTip-1.0 in order to resolve the issue with the problematic upgrade code.
---------------------------
2.3 [2009.05.24]
- Updated to r83 of LibQTip-1.0.
- Removed the hack of the previous version, properly "releasing" the tooltip again, when the mouse isn't over it.
- Updated French localization.
---------------------------
2.2 [2009.05.16]
- Attempt to fix the broken Faction tooltip, when interacting with specific plugins using the same version of LibQTip-1.0, pending a proper update of the library.
---------------------------
2.1 [2009.05.15]
- Fixed a small bug, where the tooltip would not display properly after moving the plugin.
- Updated Chinese and Korean localization.
---------------------------
2.0 [2009.05.14]
- Updated Ace3 and LibQTip-1.0 (Elkano's scrollable branch merged).
- Corrected errors in localization (work in progress).
- Moved the slider controlling tooltip scale, under the 'Tooltip' tab, in the plugin's configuration menu.
- Implemented a new option to add an optional scrolling slider to the tooltip (can be found under the 'Tooltip' tab, in the plugin's configuration menu).
- Allowed the mouse cursor to be placed over the tooltip, in order to enable mousewheel control of the scrolling slider.
- Small optimization fixes.
---------------------------
1.10 [2009.05.09]
- Added an option to reset session reputation gains, in the configuration menu ("General" tab).
- Added Chinese localization.
- Library update.
---------------------------
1.9b [2009.04.13]
- Updated .toc to 30100
- Ace3 Update.
- Updated Korean localization.
- Properly added a global variable holding initial faction reputation values, to the addon's namespace.
- Moved icon setting according to player faction, to the PLAYER_LOGIN event.
---------------------------
1.9 [2009.03.24]
- Library Update.
- Added two more options for the tooltip configuration category, "Show Collapsed Headers" and "Show Collapsed Header Suffix". Appropriate descriptions can be found by hovering over said options.
- Added Korean localization.
- Fixed a few global references for the sake of code brevity.
---------------------------
1.8 [2009.02.03]
- Moved saved variables initialization from VARIABLES_LOADED to ADDON_LOADED event for reliability and performance purposes.
- Properly initialized variables when the addon is installed and loaded for the first time.
- Added a new option to ignore Exalted factions when the addon is set to auto-switch to a faction on reputation gains or losses.
---------------------------
1.7 [2009.01.18]
- Fixed a bug where the column titles would not display if only faction headers were visible.
- Added French localization.
---------------------------
1.6b [2009.01.10]
- Fixed a bug that would prevent the state of a few variables from properly being set to false, between sessions.
---------------------------
1.6 [2009.01.09]
- Added two new options in the addon configuration tab(s), "Ignore negative reputation gains" and "Colorize faction statistics".
---------------------------
1.5b [2009.01.08]
- Cosmetic changes to the tooltip so that the 2nd column isn't too close to the faction names.
---------------------------
1.5 [2009.01.08]
- Configuration menu has been totally revamped. Display details for factions/reputation have been split into tabs for Button/Tooltip.
- Removed unnecessary labels and characters.
- Ace3 update.
- LibQTip-1.0 beta update (experimental). This version should allow players to change tooltip style (background/borders etc) via addons that manipulate the GameTooltip.
---------------------------
1.4b [2008.11.09]
- LibTooltip-1.0 renamed to LibQTip-1.0. Implemented necessary changes.
---------------------------
1.4 [2008.10.28]
- Added German localization.
- Implemented code changes to support non-English locales for reputation gains and new factions discovered.
- Fixed a bug (hopefully) where more than 1 factions would not set initial values properly, when 'discovered'.
- Added a slider widget in the configuration menu, that allows the user to explicitly set the tooltip scale, in order to compensate for abnormally large tooltips.
---------------------------
1.3 [2008.10.28]
- Ace3 Update.
- Removed Wotlk specific code.
- Implemented an option to hide text entirely from the button/block.
- Revamped tooltip handling. LibTooltip-1.0 (beta) is now being used, faction data should properly appear, justified in columns.
- Implemented different DO icons for Horde/Alliance.
---------------------------
1.2b [2008.10.14]
- Moved LibDataBroker-1.1 outside libs to properly support no-external version.
- Ace3 lib update.
- .toc bump for WoW 3.0.
---------------------------
1.2 [2008.09.28]
- Fixed a bug with certain Wrath of the Lich King factions that also act as headers. The addon should now properly show such factions on the tooltip and monitor them as intended.
- Implemented a couple of safeguards just in case something goes wrong when faction info is requested and not found.
- Added data source type for the LDB object.
---------------------------
1.1b [2008.09.26]
- Fixed an issue where newly discovered factions would not register an initial reputation value in order to properly monitor session gains.
- Fixed a small locale typo.
---------------------------
1.0b [2008.09.26]
- Initial release (committed proper zip)
Post A Reply Comment Options
Unread 10-28-08, 01:25 PM  
Tristanian
Andúril
AddOn Author - Click to view AddOns

Forum posts: 279
File comments: 262
Uploads: 3
Originally posted by Maischter
could you include an scale option for titanpanel.. becuase the factions frame is to big for my resolution (1280)
Setting scale after the tooltip is drawn (the only way displays can "interfere") is pretty bad because some information on it, gets consolidated due to the way column spans are being handled by libtooltip and won't show up properly. I could implement a slider in the configuration menu to control it I guess, we'll see what can be done for the next release.
Last edited by Tristanian : 10-28-08 at 01:28 PM.
Report comment to moderator  
Reply With Quote
Unread 10-28-08, 12:29 PM  
Maischter
A Defias Bandit

Forum posts: 2
File comments: 94
Uploads: 0
could you include an scale option for titanpanel.. becuase the factions frame is to big for my resolution (1280)
Report comment to moderator  
Reply With Quote
Unread 10-25-08, 10:54 AM  
Tristanian
Andúril
AddOn Author - Click to view AddOns

Forum posts: 279
File comments: 262
Uploads: 3
Originally posted by ManniAT
OK, I'll see if I can manage to make a deDE locale.
Is UTF8 OK for you or do you need \espcapes?

And by the way - I just found out collapsing in the blizz ui hides factions in your addon...

Real great job man!!!
Seems as if it will become one of these "must have addons"
UTF8 should be ok, however I'm not sure if it will work for everyone, so if you can afford escapes, I guess do it that way. You can use the english locale file as a reference, simply replace the 'true' arguments with the german translations and mind the color codes as well I guess. And yes collapsing a header will hide it from the tooltip, the header will be stored in the addons saved vars and it will automatically collapsed whenever you zone or login (since blizzard resets the index afaik). That was the whole point of me making it, I was a bit tired of the default behavior.
Report comment to moderator  
Reply With Quote
Unread 10-25-08, 08:08 AM  
ManniAT
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 32
Uploads: 2
Originally posted by Tristanian
... If someone was to do a proper translation, then I would gladly include it, in the next release.
OK, I'll see if I can manage to make a deDE locale.
Is UTF8 OK for you or do you need \espcapes?

And by the way - I just found out collapsing in the blizz ui hides factions in your addon...

Real great job man!!!
Seems as if it will become one of these "must have addons"
Report comment to moderator  
Reply With Quote
Unread 10-24-08, 08:17 PM  
Tristanian
Andúril
AddOn Author - Click to view AddOns

Forum posts: 279
File comments: 262
Uploads: 3
Originally posted by ManniAT
Hi,

I gave it a try -- and all I can say - great job!!!
Only one thing is not working for me - the "auto select faction".

I set some faction by hand (Scyer) and next I finis a quest with another faction.
I get the "your reputataion with....150" but the tooltip did not change.
I work on a german (deDE) client.

Did i configure something wrong or is this a problem with deDE?
No, it does what I expected it to do, which is only catch English strings
The addon does have localization support but it only includes the english file for obvious reasons. If someone was to do a proper translation, then I would gladly include it, in the next release.
Report comment to moderator  
Reply With Quote
Unread 10-24-08, 06:42 PM  
ManniAT
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 32
Uploads: 2
Hi,

I gave it a try -- and all I can say - great job!!!
Only one thing is not working for me - the "auto select faction".

I set some faction by hand (Scyer) and next I finis a quest with another faction.
I get the "your reputataion with....150" but the tooltip did not change.
I work on a german (deDE) client.

Did i configure something wrong or is this a problem with deDE?
Report comment to moderator  
Reply With Quote
Unread 10-22-08, 09:19 AM  
Tristanian
Andúril
AddOn Author - Click to view AddOns

Forum posts: 279
File comments: 262
Uploads: 3
Originally posted by Jzar
However, I agree with Briandre. I used to have it not display any faction data on my Titan Panel itself, I only used it for the tooltip. I can understand that current functionality is how you designed it, but what about adding an option to make this a right-side plugin? That's where I had my Factions button with the old version of Titan, and then it wouldn't have to violate your idea for how the mod was intended to work.
Right-side plugin is not a on demand feature for DataBroker plugins, only Titan renders them that way in an effort abide by the launcher specification. Broker Factions was never designed to be a launcher and I won't make it one just to show properly on Titan, since I want people using other displays to be able to view it as it was intended to function in the first place. I may however, ultimately, add a checkbox on the configuration screen to totally hide the monitored faction.

I once considered seeing if I could join the Titan Rebirth project; however, I've since realized how much of a better coder you are than myself.
Thanks for the kind words but I'm not really that great of a coder as people would like to think. Proper understanding of what a piece of code does and why, is the first step to becoming better yourself. The rest is just up to experimentation and experience.
Last edited by Tristanian : 10-22-08 at 06:51 PM.
Report comment to moderator  
Reply With Quote
Unread 10-21-08, 03:56 PM  
Jzar
A Chromatic Dragonspawn
 
Jzar's Avatar
AddOn Author - Click to view AddOns

Forum posts: 158
File comments: 281
Uploads: 5
I'm glad to see this has been created to fill the void left by Titan Factions! Thanks for all your hard Tristanian, I'm really glad I've stuck with Titan all this time even when I thought FuBar was up and coming, and Titan was dead.

However, I agree with Briandre. I used to have it not display any faction data on my Titan Panel itself, I only used it for the tooltip. I can understand that current functionality is how you designed it, but what about adding an option to make this a right-side plugin? That's where I had my Factions button with the old version of Titan, and then it wouldn't have to violate your idea for how the mod was intended to work.

Anyways, thanks again for your hard work! (I once considered seeing if I could join the Titan Rebirth project; however, I've since realized how much of a better coder you are than myself. )
Report comment to moderator  
Reply With Quote
Unread 10-20-08, 04:54 AM  
Tristanian
Andúril
AddOn Author - Click to view AddOns

Forum posts: 279
File comments: 262
Uploads: 3
Re: Removing stuff

Originally posted by Briandre
Trist:
I like what you've done with the addon, but I was wondering if you could add -- or really subtract a few things. I notice you can track a certain faction, and that's great. But it sure takes up a lot of room on my titan bar. I was wondering if there was some way you could have a toggle to click this info off until needed. The same with the words broker:factions. Really, I just would like to see the icon there and click on it to see where i'm at on my reputations

Thanks again for renewing this. I guess you could say I sorta want it to work like the old titan:factions addon.
You can toggle the 'Broker Factions' label off in most displays but not the actual text. This is intended, since the plugin was meant to be a data source/data feed. I'm not sure if I want to change this really.
Report comment to moderator  
Reply With Quote
Unread 10-20-08, 03:16 AM  
Briandre
A Kobold Labourer

Forum posts: 0
File comments: 14
Uploads: 0
Removing stuff

Trist:
I like what you've done with the addon, but I was wondering if you could add -- or really subtract a few things. I notice you can track a certain faction, and that's great. But it sure takes up a lot of room on my titan bar. I was wondering if there was some way you could have a toggle to click this info off until needed. The same with the words broker:factions. Really, I just would like to see the icon there and click on it to see where i'm at on my reputations

Thanks again for renewing this. I guess you could say I sorta want it to work like the old titan:factions addon.
Report comment to moderator  
Reply With Quote
Unread 10-19-08, 11:50 AM  
Tristanian
Andúril
AddOn Author - Click to view AddOns

Forum posts: 279
File comments: 262
Uploads: 3
Originally posted by Balsta
Having a small issue with the tooltip on this plugin. When I first start up all my DB pugins are set to the middle of the screen. when I goto move this plug in the tool tip pops up ans covers the screen from top to bottom and covers the plug in itself. Because of this I cant move the plug in.

Is there a way to work around this? I have had to disable it due to the fact it sits in the middle of the screen and cant be moved.
I know exactly what you are talking about. Unfortunately, the way Broker Factions is coded right now, it leaves tooltip control up to the display addon, which means that the only way I can "interfere" is change the code, so that _I_ control the tooltip, so I can let's say disallow showing of the tip if some modifier keys are held down. I currently have plans to maybe change the way the tooltip is shown (use a library) which will allow me more "freedom" to do this, but that is under consideration at the moment.

As a workaround, I guess you can disable showing tooltips in your display addon (assuming your display does have an option like that), move your button/block, then re-enable tips. If your display doesn't support that, then you will have to wait until I can sort something out in the hopefully not so distant future.
Report comment to moderator  
Reply With Quote
Unread 10-19-08, 10:41 AM  
Balsta
Guest

Join Date: Not Yet
Forum posts: 0
File comments: 0
Uploads: 0
Having a small issue with the tooltip on this plugin. When I first start up all my DB pugins are set to the middle of the screen. when I goto move this plug in the tool tip pops up ans covers the screen from top to bottom and covers the plug in itself. Because of this I cant move the plug in.

Is there a way to work around this? I have had to disable it due to the fact it sits in the middle of the screen and cant be moved.
Report comment to moderator  
Edit/Delete Message Reply With Quote
Unread 09-29-08, 01:44 AM  
Tristanian
Andúril
AddOn Author - Click to view AddOns

Forum posts: 279
File comments: 262
Uploads: 3
Originally posted by Phanx
Hey Tristanian,

I'll go ahead and throw a note in the Titan Factions description that people wanting to use it should use this instead (since Titan now supports LDB plugins).
Sure thing, it was my original intention to update it, but I opted of doing an LDB rewrite which I believe is for the better, at the end of the day.
Report comment to moderator  
Reply With Quote
Unread 09-28-08, 06:51 PM  
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5617
File comments: 2321
Uploads: 54
Hey Tristanian,

I'll go ahead and throw a note in the Titan Factions description that people wanting to use it should use this instead (since Titan now supports LDB plugins).
Report comment to moderator  
Reply With Quote
Unread 09-26-08, 01:27 PM  
Auraka
A Kobold Labourer

Forum posts: 0
File comments: 74
Uploads: 0
Originally posted by Tristanian
That's certainly a weird issue. Did you try with the chat editbox open ? (the one that normally opens when you press 'Enter', to write something to a channel). It needs to be open really, for Shift-Click to work as intended. Perhaps I didn't phrase that part properly (should correct it when I can) :s
Yep it's the first thing I tried. Clicks just weren't being responsive (except for right click for menu) I'll try the updated version now.

Ok. No more late night mod testing for me.

All clicks work, just not in the tool tip, so switching factions and reporting another factions status are slightly different from factionsfu, but workable.

All working as intended.
Last edited by Auraka : 09-26-08 at 01:50 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

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.