PvPness2

r22 1.1.2

  • fixed another saved variable issue
  • forgot to mark as release. whoops.
  • first pass at time to win bars (only for AB, BfG, and EotS currently)
  • fixed saved variable naming issue (maybe)
  • temporarily removed auto bg leaving functionality
  • fixed arena frame option overriding (maybe)

I will iron out inevitable bugs and improve some things over the next few days.

Setup

Each battleground has a variety of both appearance and information options. It may be a bit daunting at first, but the initial setup should get you off to a good start. These options may be accessed via the in-game addon menu or the chat command /p2. The general tab of the options deals with generic addon behavior including customizable class and spec names, team spy formatting, and out of battleground display among others. The battleground tab handles the individual setups. Every battleground's appearance is initially governed by the "Global appearance" settings, but these may be overridden as per your liking. Every battleground also comes with several "features" which handle the display of objectives and useful information for that battleground.

An out-of-battleground setup option for every battleground is on my to-do list, but for now, you'll have to settle for using the currency display.

Custom messages

This is something I think turned out quite well. They will let you customize the messages broadcast to your battleground team (eg: EFC message for WSG).

There are two parts: the message itself and the keys.

  • The message is contained in double quotes (") and can be whatever you feel like putting there.
  • The keys are battleground specific and will provide access to dynamic values that change as the battleground progresses. The keys will be substituted into the message wherever a "%s" appears and will be substituted in the order they are written after the message. In addition, keys can also be proceeded by '+' for all uppercase values or '-' for all lowercase.

    For Example:
    "EFC: %s %s %s (%s)",name,spec+,class,percent

    Will broadcast as:
    EFC: Examplename PROTECTION Warrior (100%)

Quirks

These are things that might seem like bugs the first time they are noticed, but it's really just how the addon currently operates.

  • Spy: If you click spy and you see "Fetching fresh battleground data" but nothing happens, just click it again. Pretty sure it has to do with the server query timing out or something.
  • EotS: If you are in combat when a player from your team grabs the flag, the flag frame will not be target-able until you leave combat.
  • WSG/TP: If you are in combat when the second flag is picked up, the debuff timer will not show until you leave combat.
  • IoC: The wall health bars correspond to the order in which they are damaged. There *might* be something I can do about this, but it's not high on the list.
  • SSM: The first round of carts will not have cap timers. There's a good chance this will be fixed in 5.3 if the change to the initial spawns on the PTR goes through.

To-Do

  • Time to win estimations. They will be the death of me.
  • Setup mode for adjusting options outside battlegrounds.
  • Special spy sorting/display for rated teams.
  • Possibly more custom messages (WSG/ToK auto low low health warning, SoTA/IoC wall down, others...?)
  • Per character options saving (maybe)

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of Twopro Twopro Mar 18, 2014 at 01:20 UTC - 0 likes

    fyi auto exit bg option needs fixing because it quit working for me a while back.

  • Avatar of Bloodymary88 Bloodymary88 Mar 10, 2014 at 18:05 UTC - 0 likes

    hey i am getting the following errors:

    6x pvpness2-r22\PvPness2-r22.lua:316: attempt to index local "t" (a nil value)
    pvpness2-r22\PvPness2-r22.lua:316: in function <pvpness2\PvPness2.lua:311>
    (tail call): ?
    AceConfigDialog-3.0\AceConfigDialog-3.0-58.lua:249: in function <AceConfigDialog-3.0\AceConfigDialog-3.0.lua:197>
    AceConfigDialog-3.0\AceConfigDialog-3.0-58.lua:1135: in function <AceConfigDialog-3.0\AceConfigDialog-3.0.lua:1055>
    AceConfigDialog-3.0\AceConfigDialog-3.0-58.lua:1082: in function <AceConfigDialog-3.0\AceConfigDialog-3.0.lua:1055>
    AceConfigDialog-3.0\AceConfigDialog-3.0-58.lua:1588: in function "FeedGroup"
    AceConfigDialog-3.0\AceConfigDialog-3.0-58.lua:1513: in function <AceConfigDialog-3.0\AceConfigDialog-3.0.lua:1493>
    (tail call): ?
    <in C code>
    <string>:"safecall Dispatcher[3]":9: in function <string>:"safecall Dispatcher[3]":5
    (tail call): ?
    Bartender4-4.5.13.2\libs\AceGUI-3.0\AceGUI-3.0-34.lua:314: in function "Fire"
    AceConfigDialog-3.0\AceConfigDialog-3.0-58.lua:1624: in function "FeedGroup"
    AceConfigDialog-3.0\AceConfigDialog-3.0-58.lua:1860: in function "Open"
    AceConfigDialog-3.0\AceConfigDialog-3.0-58.lua:829: in function <AceConfigDialog-3.0\AceConfigDialog-3.0.lua:614>
    (tail call): ?
    <in C code>
    <string>:"safecall Dispatcher[3]":9: in function <string>:"safecall Dispatcher[3]":5
    (tail call): ?
    Bartender4-4.5.13.2\libs\AceGUI-3.0\AceGUI-3.0-34.lua:314: in function "Fire"
    Ace3\6AceGUI-3.0-34\widgets\AceGUIWidget-EditBox.lua:74: in function <Ace3\AceGUI-3.0\widgets\AceGUIWidget-EditBox.lua:71>
    Ace3\6AceGUI-3.0-34\widgets\AceGUIWidget-EditBox.lua:120: in function <Ace3\AceGUI-3.0\widgets\AceGUIWidget-EditBox.lua:117>
    
    Locals:
    nil
    
    2x pvpness2-r22\spy.lua:210: attempt to concatenate local "name" (a nil value)
    pvpness2-r22\spy.lua:210: in function <pvpness2\spy.lua:197>
    (tail call): ?
    pvpness2-r22\wsg.lua:52: in function <pvpness2\wsg.lua:45>
    pvpness2-r22\wsg.lua:186: in function <pvpness2\wsg.lua:185>
    pvpness2-r22\wsg.lua:113: in function <pvpness2\wsg.lua:94>
    
    Locals:
    (*temporary) = 0.015000000596046
    (*temporary) = <function> defined =[C]:-1
    
    2x [ADDON_ACTION_BLOCKED] AddOn "pvpness2" tried to call the protected function "<unnamed>:Hide()".
    !BugGrabber-r198-release\BugGrabber.lua:552: in function <!BugGrabber\BugGrabber.lua:552>
    <in C code>
    pvpness2-r22\PvPness2-r22.lua:450: in function "Reset"
    pvpness2-r22\PvPness2-r22.lua:874: in function "End"
    pvpness2-r22\dwg.lua:426: in function "End"
    pvpness2-r22\PvPness2-r22.lua:901: in function <pvpness2\PvPness2.lua:899>
    <string>:"safecall Dispatcher[2]":4: in function <string>:"safecall Dispatcher[2]":4
    <in C code>
    <string>:"safecall Dispatcher[2]":13: in function "?"
    libs\CallbackHandler-1.0\CallbackHandler-1.0-6.lua:92: in function "Fire"
    libs\AceEvent-3.0\AceEvent-3.0-3.lua:120: in function <libs\AceEvent-3.0\AceEvent-3.0.lua:119>
    
    Locals:
    nil
    
    4x [ADDON_ACTION_BLOCKED] AddOn "pvpness2" tried to call the protected function "<unnamed>:SetPoint()".
    !BugGrabber-r198-release\BugGrabber.lua:552: in function <!BugGrabber\BugGrabber.lua:552>
    <in C code>
    pvpness2-r22\PvPness2-r22.lua:487: in function "Resize"
    pvpness2-r22\PvPness2-r22.lua:453: in function "Reset"
    pvpness2-r22\PvPness2-r22.lua:874: in function "End"
    pvpness2-r22\dwg.lua:426: in function "End"
    pvpness2-r22\PvPness2-r22.lua:901: in function <pvpness2\PvPness2.lua:899>
    <string>:"safecall Dispatcher[2]":4: in function <string>:"safecall Dispatcher[2]":4
    <in C code>
    <string>:"safecall Dispatcher[2]":13: in function "?"
    libs\CallbackHandler-1.0\CallbackHandler-1.0-6.lua:92: in function "Fire"
    libs\AceEvent-3.0\AceEvent-3.0-3.lua:120: in function <libs\AceEvent-3.0\AceEvent-3.0.lua:119>
    
    Locals:
    nil
    
    1x pvpness2-r22\PvPness2-r22.lua:234: bad argument #3 to "format" (string expected, got nil)
    <in C code>
    pvpness2-r22\PvPness2-r22.lua:234: in function <pvpness2\PvPness2.lua:229>
    
    Locals:
    self = <unnamed> {
     0 = <userdata>
     info = <unnamed> {
     }
     active = true
     status = <unnamed> {
     }
     id = 8
    }
    button = "RightButton"
    info = "2:33"
    status = nil
    (*temporary) = <function> defined @Interface\AddOns\pvpness2\PvPness2.lua:244
    (*temporary) = <table> {
     SetDefaultModuleLibraries = <function> defined @Interface\AddOns\Bartender4\libs\AceAddon-3.0\AceAddon-3.0.lua:398
     FormatText = <function> defined @Interface\AddOns\pvpness2\PvPness2.lua:256
     ShowFrames = <function> defined @Interface\AddOns\pvpness2\PvPness2.lua:389
     SlashCommand = <function> defined @Interface\AddOns\pvpness2\PvPness2.lua:1330
     GetSpecs = <function> defined @Interface\AddOns\pvpness2\PvPness2.lua:969
     baseName = "pvpness2"
     IterateEmbeds = <function> defined @Interface\AddOns\Bartender4\libs\AceAddon-3.0\AceAddon-3.0.lua:473
     End = <function> defined @Interface\AddOns\pvpness2\PvPness2.lua:864
     RequestBattlefieldScoreData = <function> defined @Interface\AddOns\pvpness2\spy.lua:217
     Printf = <function> defined @Interface\AddOns\Bartender4\libs\AceConsole-3.0\AceConsole-3.0.lua:69
     TestInput = <function> defined @Interface\AddOns\pvpness2\PvPness2.lua:326
     defaultModuleState = true
     Parse = <function> defined @Interface\AddOns\pvpness2\PvPness2.lua:277
     IsEnabled = <function> defined @Interface\AddOns\Bartender4\libs\AceAddon-3.0\AceAddon-3.0.lua:482
     Spy = <function> defined @Interface\AddOns\pvpness2\spy.lua:223
     DisableModule = <function> defined @Interface\AddOns\Bartender4\libs\AceAddon-3.0\AceAddon-3.0.lua:381
     DefaultClickText = <function> defined @Interface\AddOns\pvpness2\PvPness2.lua:222
     Log = <function> defined @Interface\AddOns\pvpness2\debug.lua:57
     RegisterMessage = <function> defined @Interface\AddOns\Bartender4\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:118
     UnregisterMessage = <function> defined @Interface\AddOns\Bartender4\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:181
     callback = <function> defined @Interface\AddOns\pvpness2\ab.lua:86
     mode = "ab"
     SetEnabledState = <function> defined @Interface\AddOns\Bartender4\libs\AceAddon-3.0\AceAddon-3.0.lua:455
     enabledState = true
     RegisterEvent = <function> defined @Interface\AddOns\Bartender4\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:118
     DefaultDisplay = <function> defined @Interface\AddOns\pvpness2\PvPness2.lua:723
     IterateModules = <function> defined @Interface\AddOns\Bartender4\libs\AceAddon-3.0\AceAddon-3.0.lua:468
     frame = PvPness2 {
     }
     OnInitialize = <function> defined @Interface\AddOns\pvpness2\PvPness2.lua:1017
     NewModule = <function> defined @Interface\AddOns\Bartender4\libs\AceAddon-3.0\AceAddon-3.0.lua:266
     SetBarAsTimer = <function> defined @Interface\AddOns\pvpness2\PvPness2.lua:341
     GetModule = <function> defined @Interface\AddOns\Bartender4\libs\AceAddon-3.0\AceAddon-3.0.lua:241
     GetPlayerSpec = <function> defined @Interface\AddOns\pvpness2\spy.lua:197
     Resize = <function> defined @Interface\AddOns\pvpness2\PvPness2.lua:457
     UnregisterChatCommand = <function> defined @Interface\AddOns\Bartender4\libs\AceConsole-3.0\AceConsole-3.0.lua:111
     ApplyDefaultColors = <function> defined @Interface\AddOns\pvpness2\PvPness2.lua:587
     GetName = <function> defined @Interface\AddOns\Bartender4\libs\AceAddon-3.0\AceAddon-3.0.lua:310
     Redraw = <function> defined @Interface\AddOns\pvpness2\PvPness2.lua:498
     name = "PvPness2"
     orderedModules = <table> {
     }
     Error = <function> defined @Interface\AddOns\pvpness2\debug.lua:48
     Disable = <function> defined @Interface\AddOns\Bartender4\libs\AceAddon-3.0\AceAddon-3.0.lua:345
     Unparse = <function> defined @Interface\AddOns\pvpness2\PvPness2.lua:311
     RegisterChatCommand = <function> defined @Interface\AddOns\Bartender4\libs\AceConsole-3.0\AceConsole-3.0.lua:85
     Alpha = <function> defined @Interface\AddOns\pvpness2\PvPness2.lua:602
     OnEnable = <function> defined @Interface\AddOns\pvpness2\PvPness2.lua:1291
     Print = <function> defined @Interface\AddOns\Bartender4\libs\AceConsole-3.0\AceConsole-3.0.lua:54
     ToggleDebugLog = <function> defined @Interface\AddOns\pvpness2\debug.lua:75
     Info = <function> defined @Interface\AddOns\p
    
    5x pvpness2-r22\dwg.lua:155: attempt to call method "DefaultClick" (a nil value)
    pvpness2-r22\dwg.lua:155: in function <pvpness2\dwg.lua:138>
    pvpness2-r22\dwg.lua:184: in function <pvpness2\dwg.lua:177>
    pvpness2-r22\dwg.lua:401: in function "Start"
    pvpness2-r22\PvPness2-r22.lua:896: in function <pvpness2\PvPness2.lua:885>
    pvpness2-r22\PvPness2-r22.lua:1309: in function <pvpness2\PvPness2.lua:1291>
    (tail call): ?
    <in C code>
    <string>:"safecall Dispatcher[1]":9: in function <string>:"safecall Dispatcher[1]":5
    (tail call): ?
    libs\Ace3\AceAddon-3.0\AceAddon-3.0-12.lua:558: in function "EnableAddon"
    libs\Ace3\AceAddon-3.0\AceAddon-3.0-12.lua:651: in function <libs\Ace3\AceAddon-3.0\AceAddon-3.0.lua:636>
    <in C code>
    FrameXML\UIParent.lua:306: in function "UIParentLoadAddOn"
    FrameXML\UIParent.lua:380: in function "TimeManager_LoadUI"
    FrameXML\UIParent.lua:740: in function <FrameXML\UIParent.lua:705>
    
    Locals:
    nil
    
    31x [ADDON_ACTION_BLOCKED] AddOn "pvpness2" tried to call the protected function "PvPness2:SetHeight()".
    !BugGrabber-r198-release\BugGrabber.lua:552: in function <!BugGrabber\BugGrabber.lua:552>
    <in C code>
    pvpness2-r22\PvPness2-r22.lua:492: in function "Resize"
    pvpness2-r22\PvPness2-r22.lua:453: in function "Reset"
    pvpness2-r22\PvPness2-r22.lua:874: in function "End"
    pvpness2-r22\ssm.lua:449: in function "End"
    pvpness2-r22\PvPness2-r22.lua:901: in function <pvpness2\PvPness2.lua:899>
    <string>:"safecall Dispatcher[2]":4: in function <string>:"safecall Dispatcher[2]":4
    <in C code>
    <string>:"safecall Dispatcher[2]":13: in function "?"
    Ace3\CallbackHandler-1.0\CallbackHandler-1.0-6.lua:92: in function "Fire"
    libs\Ace3\AceEvent-3.0\AceEvent-3.0-3.lua:120: in function <libs\Ace3\AceEvent-3.0\AceEvent-3.0.lua:119>
    
    Locals:
    nil
    
  • Avatar of Twopro Twopro Sep 01, 2013 at 05:51 UTC - 0 likes

    hey, i've encountered an error. sometimes when i join a bg map the addon auto removes me from the game instantly upon joining. i'm not sure what causes it.

  • Avatar of Twopro Twopro Aug 29, 2013 at 03:02 UTC - 0 likes

    Every single Flag carrying map or temple this gets magically checkmarked again.

    http://s1224.photobucket.com/user/pwnbusiness/media/WoWScrnShot_082813_213944_zps49eaf1dc.jpg.html?sort=3&o=0

  • Avatar of Twopro Twopro Aug 29, 2013 at 01:00 UTC - 0 likes

    @shabadoo17: Go

    yes, sorry i didn't check back right away. i got busy messin with class combo bars on pal/boomkin and few other classes. i'll get ya that screen shot. i'm doin bt run to get my mh glaive / waiting on food to be done.

    Last edited Aug 29, 2013 by Twopro
  • Avatar of shabadoo17 shabadoo17 Aug 25, 2013 at 19:58 UTC - 0 likes

    @Twopro: Go

    Can you post a screenshot of what you are talking about?

  • Avatar of Twopro Twopro Aug 25, 2013 at 04:38 UTC - 0 likes

    hey, when you get time could you add a thing to auto remove blizzard's stupid auto recheck mark for "unite frames" - "arena enemy frames" that pops up every Flag carrier battle ground match.

  • Avatar of shabadoo17 shabadoo17 Jun 21, 2013 at 00:23 UTC - 0 likes

    @richh2: Go

    Are you talking about time to win or time to cap? This version currently doesn't have time to win implemented yet. It's something I keep meaning to do but haven't had the time to just sit and do yet. The time to cap bars will broadcast when you right click them, as long as you have at least 1 broadcast channel selected in the options.

  • Avatar of richh2 richh2 Jun 20, 2013 at 22:39 UTC - 0 likes

    Hi there, and thanks for this very useful addon!

    I wonder if there's a way to broadcast the time-to-win information into the chat frame? If it's there and I've overlooked it then I'm sorry to bother you but... I can't find a way to do that. I do see the bar (Arathi Basin is where I'd like to broadcast it) with the timer, and the timing seems to be spot-on as far as I can tell. But I can't figure out how to click that bar or send a command to post the current countdown into the chat frame.

    If this ability is already present, please tell me how to activate it. And, if it's not yet available, would it be much of a pain to add it when you have some time?

    Thanks again for a great addon! :)

  • Avatar of shabadoo17 shabadoo17 May 22, 2013 at 00:23 UTC - 0 likes

    @loneshark88: Go

    In the settings for SSM, there is an option to set the cart names to whatever you'd like. To use this custom name in the broadcast, use the altname keyword.

Facts

Date created
Jan 31, 2013
Categories
Last update
Sep 18, 2013
Development stage
Release
Language
  • enUS
License
BSD License
Curse link
PvPness2
Downloads
2,794
Recent files
  • R: r22 for 5.4.0 Sep 18, 2013
  • R: r21 for 5.4.0 Sep 10, 2013
  • R: r20 for 5.3.0 May 21, 2013
  • R: r19 for 5.2.0 May 09, 2013
  • A: r18 for 5.2.0 May 01, 2013

Authors