Download
(43Kb)
Download
Updated: 11-17-10 06:06 PM
Pictures
File Info
Updated:11-17-10 06:06 PM
Created:unknown
Downloads:5,858
Favorites:70
MD5:

PvP Flag Broker  Popular! (More than 5000 hits)

Version: 1.02
by: Tuhljin [More]

PvP Flag Broker (PFB) is a LibDataBroker addon that provides a customizable display of PvP flag information, including the time until your PvP flag "drops."

With WoW 3.0, Blizzard provided a built-in PvP timer to players. However, PFB provides customizability that the standard timer does not approach, including the ability to display the minutes and seconds remaining at all times instead of only the minutes remaining when more than 59 seconds remain... and of course its ability to be placed on the screen wherever your LDB display addon allows. (PFB can of course hide the built-in timer, and does so by default.)

PFB does not provide its own display. You will need an LDB display addon such as Fortress or Titan Panel.

Note: Older PvP-flag timer addons that I once counted as invaluable are not as reliable as PFB because they don't take advantage of functionality added to the game relatively recently that lets players know with certainty when their PvP flag will drop. Its display is also more customizable than that of those addons.



Click here to lend your support!
Buy Tuhljin a snack so he'll feel guilty about not yet implementing that suggestion you made. Or maybe just to show your support. That works, too.

v1.02
- Updated for WoW 4.0.1.
- New option added: Hide icon when unflagged.

v1.01
- Updated for WoW 3.2.
- New option added: Hide display text when unflagged.

v1.0
- Now displays "Quest" when there is a PvP quest in your log that prevents your flag from dropping.
- The name of any such quests that are currently in your log are now displayed in the PFB tooltip.
- New option added: When the display is left-clicked, only toggle PvP if Shift is held.

v0.9
- Fixed an issue where the Horde icon was sometimes displayed when playing an Alliance character if using a non-English client.
- Updated to latest Tj libraries.

v0.8
- Fixed an issue where certain LDB display addons didn't allow the tooltip to update dynamically.

v0.7
- Hostile territory (e.g. enemy cities) now shows as "Hostile" instead of "Contested" in the main display.
- Updated Tj libraries. (Includes bug fixes related to the interface options panel.)
- Removed support for WoW 2.x.

v0.6
- Now recognizes Wintergrasp's PvP mode.

v0.5
- Fixed a WotLK-beta issue that arose with a recent patch that caused the interface options panel to not open properly when the PFB frame is right-clicked.
- Fixed an issue where a zero was inappropriately placed next to the seconds remaining under some configurations.

v0.4
- Initial release.
Optional Files (0)


Post A Reply Comment Options
Unread 11-18-10, 01:28 PM  
thegriffgeeks
A Kobold Labourer
 
thegriffgeeks's Avatar

Forum posts: 0
File comments: 94
Uploads: 0
Thumbs up Re: Re: Cata

Originally posted by Tuhljin
thegriffgeeks: I intend on updating all of my addons which I still have some use for, this being one of them. Hopefully I'll get some time to look into this later this week.
Thanks and thanks for the update.
__________________
Report comment to moderator  
Reply With Quote
Unread 11-15-10, 12:05 PM  
karl_w_w
A Murloc Raider

Forum posts: 8
File comments: 10
Uploads: 0
I'm using this addon with titan panel and I'm not having any problems at all.

But I'd like to beg for a feature: it would be great if you had the option for the PvP icon to disappear or at least change to a different icon/fade when you aren't flagged.
Report comment to moderator  
Reply With Quote
Unread 11-14-10, 09:28 PM  
kittykatmax
A Fallenroot Satyr
 
kittykatmax's Avatar

Forum posts: 21
File comments: 227
Uploads: 0
I hope you still plan to update this addon. Thanks for your hard work!
Report comment to moderator  
Reply With Quote
Unread 10-24-10, 10:37 PM  
Tuhljin
A Flamescale Wyrmkin
 
Tuhljin's Avatar
AddOn Author - Click to view AddOns

Forum posts: 106
File comments: 233
Uploads: 10
Re: Cata

thegriffgeeks: I intend on updating all of my addons which I still have some use for, this being one of them. Hopefully I'll get some time to look into this later this week.
Report comment to moderator  
Reply With Quote
Unread 10-24-10, 08:36 PM  
thegriffgeeks
A Kobold Labourer
 
thegriffgeeks's Avatar

Forum posts: 0
File comments: 94
Uploads: 0
Cata

Will you be updating so that it works in Cata?

It displays in Titan Panel but if you try to use it you get the same error each click. Thanks

1x PvPFlagBroker-1.01\libs\TjQuestLog.lua:67: table index is nil
PvPFlagBroker-1.01\libs\TjQuestLog.lua:105: in function <PvPFlagBroker\libs\TjQuestLog.lua:96>
PvPFlagBroker-1.01\libs\TjQuestLog.lua:153: in function `GetDataTable'
PvPFlagBroker-1.01\PvPFlagBroker.lua:429: in function <PvPFlagBroker\PvPFlagBroker.lua:391>
PvPFlagBroker-1.01\PvPFlagBroker.lua:492: in function <PvPFlagBroker\PvPFlagBroker.lua:476>
Titan-4.3.9.40000\LDBToTitan.lua:269: in function `OnEnter'
StarTip-v1.3.29\StarTip.lua:906: in function `?'
CallbackHandler-1.0-6 (Ace3):147: in function <...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:147>
<string>:"safecall Dispatcher[3]":4: in function <[string "safecall Dispatcher[3]"]:4>
<in C code>: ?
<string>:"safecall Dispatcher[3]":13: in function `?'
CallbackHandler-1.0-6 (Ace3):92: in function `Fire'
AceEvent-3.0-3 (Ace3):120: in function <Ace3\AceEvent-3.0\AceEvent-3.0.lua:119>
__________________
Report comment to moderator  
Reply With Quote
Unread 03-16-09, 03:37 PM  
Kuzah
A Murloc Raider

Forum posts: 9
File comments: 38
Uploads: 0
Just a little suggestion, I was wondering if you would consider expanding the functionality of this to include the pvp button (the minimap button that shows que times and is visible when in a bg/wg).
Report comment to moderator  
Reply With Quote
Unread 03-06-09, 05:03 PM  
Tuhljin
A Flamescale Wyrmkin
 
Tuhljin's Avatar
AddOn Author - Click to view AddOns

Forum posts: 106
File comments: 233
Uploads: 10
Mike-N-Go:
Well, PFB uses two methods. It will assume you've got a PvP Quest when your flag timer isn't counting down when nothing else explains it, and it's got a list of quest IDs for use with the tooltip (since there's nothing in the API that lets you detect auto-flagging quests and it seemed simpler than monitoring when you accept a quest and remembering what you've got between sessions). If there's a quest somewhere that keeps you flagged but isn't listed, it wouldn't show in the tooltip but PFB should still figure out you're on such a quest. I don't think there are any Icecrown quests in PFB's list.
Report comment to moderator  
Reply With Quote
Unread 03-06-09, 12:09 PM  
Mike-N-Go
A Theradrim Guardian
 
Mike-N-Go's Avatar
AddOn Author - Click to view AddOns

Forum posts: 68
File comments: 147
Uploads: 18
Originally posted by Tuhljin
Thanks. Did you check whether the ones that auto-flag you showed up properly in the tooltip?
I think your mod detected the jump quest in Icrown and all of the auto-flag horde PvP quests in Grizly Hills. I'll pay closer attention next I do the quests fer yah.
__________________
Currently contemplating coming back to Authorship.. been away for years. Please let me know you care, by commenting on what addon(s) of mine you want to see updated.

Author of Daily Bean Counter, MyNameTogglesWhenIAFKorDND, Extended Shutdown Warning, Auto Mail Director, Duel Nullify, Spec Transmiter, Say Again, Window Teller, Who Crafts, Ad Repeater, Privy Cork, Mac Backup, and more.
Report comment to moderator  
Reply With Quote
Unread 02-25-09, 03:59 PM  
Tuhljin
A Flamescale Wyrmkin
 
Tuhljin's Avatar
AddOn Author - Click to view AddOns

Forum posts: 106
File comments: 233
Uploads: 10
Thanks. Did you check whether the ones that auto-flag you showed up properly in the tooltip?
Report comment to moderator  
Reply With Quote
Unread 02-25-09, 02:45 AM  
Mike-N-Go
A Theradrim Guardian
 
Mike-N-Go's Avatar
AddOn Author - Click to view AddOns

Forum posts: 68
File comments: 147
Uploads: 18
For all the Grizly Hills quests (arn't those the only perma-flag quests?), it looks like it properly discovered the PvP quests on Horde-PvE realm. And Keep Them at Bay does not auto flag.

Edit: Added comment about Keep Them at Bay.
__________________
Currently contemplating coming back to Authorship.. been away for years. Please let me know you care, by commenting on what addon(s) of mine you want to see updated.

Author of Daily Bean Counter, MyNameTogglesWhenIAFKorDND, Extended Shutdown Warning, Auto Mail Director, Duel Nullify, Spec Transmiter, Say Again, Window Teller, Who Crafts, Ad Repeater, Privy Cork, Mac Backup, and more.
Last edited by Mike-N-Go : 02-25-09 at 05:14 AM.
Report comment to moderator  
Reply With Quote
Unread 02-21-09, 03:15 PM  
Mike-N-Go
A Theradrim Guardian
 
Mike-N-Go's Avatar
AddOn Author - Click to view AddOns

Forum posts: 68
File comments: 147
Uploads: 18
Originally posted by Tuhljin
Thanks for the offer, but I don't think it will be necessary. I used "hadn't" for the past tense: I've since been able to test it quite a bit more, so I think it's ready for release, or at least as much as I can get in a reasonable amount of time*. Something, of course, may have slipped by, so feel free to do some testing when it's out and let me know of any problems. I'll try to get in some of your other suggestions, though they might not be included in the next version.

*Edit: It'd be especially helpful if you have a high enough level Horde character to see if their PvP quests are detected properly. And seeing if it works properly on PvP realms, too, since my highest level PvP server character is only in the 50s.
I happen to play horde side, have an 80 tauren shaman on a PvE server. I see you pushed out the new version; I'll let yah know.

Edit: Added PvE server
__________________
Currently contemplating coming back to Authorship.. been away for years. Please let me know you care, by commenting on what addon(s) of mine you want to see updated.

Author of Daily Bean Counter, MyNameTogglesWhenIAFKorDND, Extended Shutdown Warning, Auto Mail Director, Duel Nullify, Spec Transmiter, Say Again, Window Teller, Who Crafts, Ad Repeater, Privy Cork, Mac Backup, and more.
Last edited by Mike-N-Go : 02-21-09 at 03:58 PM.
Report comment to moderator  
Reply With Quote
Unread 02-20-09, 06:36 PM  
Tuhljin
A Flamescale Wyrmkin
 
Tuhljin's Avatar
AddOn Author - Click to view AddOns

Forum posts: 106
File comments: 233
Uploads: 10
Thanks for the offer, but I don't think it will be necessary. I used "hadn't" for the past tense: I've since been able to test it quite a bit more, so I think it's ready for release, or at least as much as I can get in a reasonable amount of time*. Something, of course, may have slipped by, so feel free to do some testing when it's out and let me know of any problems. I'll try to get in some of your other suggestions, though they might not be included in the next version.

*Edit: It'd be especially helpful if you have a high enough level Horde character to see if their PvP quests are detected properly. And seeing if it works properly on PvP realms, too, since my highest level PvP server character is only in the 50s.
Last edited by Tuhljin : 02-20-09 at 08:50 PM.
Report comment to moderator  
Reply With Quote
Unread 02-20-09, 03:32 PM  
Mike-N-Go
A Theradrim Guardian
 
Mike-N-Go's Avatar
AddOn Author - Click to view AddOns

Forum posts: 68
File comments: 147
Uploads: 18
Originally posted by Tuhljin
Mike-N-Go:
Thanks for the ideas. I've already written code to handle the detection of PvP Quests that keep you flagged; this will be in the next version. I've actually had it done for a few weeks now, but I hadn't been able to test some things as thoroughly as I'd like.
I would be glad to test that for yah. Yah can either PM me on this site, on wowuidev IRC, or email me at [email protected]; I could test and tinker with it, and let yah know what I found out.
__________________
Currently contemplating coming back to Authorship.. been away for years. Please let me know you care, by commenting on what addon(s) of mine you want to see updated.

Author of Daily Bean Counter, MyNameTogglesWhenIAFKorDND, Extended Shutdown Warning, Auto Mail Director, Duel Nullify, Spec Transmiter, Say Again, Window Teller, Who Crafts, Ad Repeater, Privy Cork, Mac Backup, and more.
Report comment to moderator  
Reply With Quote
Unread 02-20-09, 10:03 AM  
Tuhljin
A Flamescale Wyrmkin
 
Tuhljin's Avatar
AddOn Author - Click to view AddOns

Forum posts: 106
File comments: 233
Uploads: 10
Mike-N-Go:
Thanks for the ideas. I've already written code to handle the detection of PvP Quests that keep you flagged; this will be in the next version. I've actually had it done for a few weeks now, but I hadn't been able to test some things as thoroughly as I'd like.
Report comment to moderator  
Reply With Quote
Unread 02-20-09, 04:43 AM  
Mike-N-Go
A Theradrim Guardian
 
Mike-N-Go's Avatar
AddOn Author - Click to view AddOns

Forum posts: 68
File comments: 147
Uploads: 18
Here are a few ideas:

1) 'Protected' enable PvP when clicked and shift is held, insted of just a click; should prevent accidentally enabling PvP.

Code:
function PvPFlagBroker.OnClick(self, button)
  if (button == "LeftButton") then
    if (PvPFlagBroker_Settings.panel.TogglePvPClick) then
    	if UnitIsPVP("player") and not IsShiftKeyDown() then
    		if GetPVPDesired() == 1 then
    			TogglePVP()
    		end
    	elseif IsShiftKeyDown() then
     		 TogglePVP()
     	end
    end
  else
    PlaySound("igMainMenuOption")
    InterfaceOptionsFrame_OpenToCategory(OptionsPanel)
  end
end
2) Daily PvP quest detection: The PvP flag would be stuck, but it is not relayed by the addon

Code:
1) A possible fix would be to check if the PvP cool-down is 301000 ms and it was the last time or a few updates prior when GetPVPTimer() was checked
2) Scan the quest log =O
3) Stick with 1, because 2 would add bulk
4) Go back to number 3
3) An optional warning to chat/scrolling text/etc. on the player entering world event (target is when the unit goes into an instance) if the player is perma-flagged

4) An option to automatically disable the perma-flag, if active, on the player entering world event


Edit: Added number 4
__________________
Currently contemplating coming back to Authorship.. been away for years. Please let me know you care, by commenting on what addon(s) of mine you want to see updated.

Author of Daily Bean Counter, MyNameTogglesWhenIAFKorDND, Extended Shutdown Warning, Auto Mail Director, Duel Nullify, Spec Transmiter, Say Again, Window Teller, Who Crafts, Ad Repeater, Privy Cork, Mac Backup, and more.
Last edited by Mike-N-Go : 02-20-09 at 04:45 AM.
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.