Download
(43 Kb)
Download
Updated: 11-17-10 06:06 PM
Pictures
File Info
Updated:11-17-10 06:06 PM
Created:unknown
Downloads:4,353
Favorites:71
MD5:
PvP Flag Broker
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)


Archived Files (4)
File Name
Version
Size
Author
Date
1.01
42kB
Tuhljin
08-17-09 03:46 PM
1.0
40kB
Tuhljin
02-20-09 09:07 PM
0.9
36kB
Tuhljin
01-05-09 03:55 PM
0.8
26kB
Tuhljin
12-06-08 11:16 PM


Post A Reply Comment Options
Unread 09-18-08, 04:36 AM  
thesm
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Great addon man, you have some cool addons. Very helpful
thesm is offline Report comment to moderator  
Reply With Quote
Unread 09-27-08, 12:24 PM  
Soulsbane
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 13
Uploads: 2
Originally posted by thesm
Great addon man, you have some cool addons. Very helpful
I second that. Very well polished and helpful addon.
Soulsbane is offline Report comment to moderator  
Reply With Quote
Unread 02-04-09, 12:57 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: 19
Awesome. I have a mod that takes the data from the API and displays it in LDB on my todo list, guess I do not have to make it =D.

This will work great with my PitBull unit frames, because those unit frames don't have an option to display PvP flagging information, as far as I know.
__________________
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.
Mike-N-Go is offline 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: 19
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.
Mike-N-Go is offline 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: 101
File comments: 229
Uploads: 11
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.
Tuhljin is offline 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: 19
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 MikeNGoSupport@gmail.com; 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.
Mike-N-Go is offline 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: 101
File comments: 229
Uploads: 11
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.
Tuhljin is offline 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: 19
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.
Mike-N-Go is offline 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: 19
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.
Mike-N-Go is offline 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: 101
File comments: 229
Uploads: 11
Thanks. Did you check whether the ones that auto-flag you showed up properly in the tooltip?
Tuhljin is offline 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: 19
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.
Mike-N-Go is offline 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: 101
File comments: 229
Uploads: 11
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.
Tuhljin is offline 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).
Kuzah is offline 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>
__________________
thegriffgeeks is offline 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: 101
File comments: 229
Uploads: 11
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.
Tuhljin is offline 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.