Get an Epic Experience with Premium

BG Defender

PvP Login to Add Favorites
  • 12 Likes
  • World of Warcraft
  • 1,697 Monthly Downloads
  • Supports: 5.4.1
  • 176,604 Total Downloads
  • Updated 11/23/2013
  • Created 08/25/2007
  • 347 Favorites
  • Project Site
  • Comments
  • Release Type: Inactive
  • License: All Rights Reserved
  • Newest File: BG Defender 1.6.6
or

About BG Defender

BG Defender (Based on AB Defender) gives you a little movable window with buttons to announce the number of incoming enemies at the base you're defending in AB, EoS, AV and WSG. There are also buttons to call for help or announce the base you're defending is safe. BG Defender will automatically pop up when entering a battle ground and close after you leave.

/bgd - to show/hide window

/bgd help - to show all commands

AB Defender was created by Riel Kil'Jaeden GER EU, based on FaraFrames by Farang.

BG Defender 1.6.6
    Support for Silvershard Mines and Deepwind Gorge, only English locale for now.
    Added the Alliance start zone in Twin Peaks, so now BG Defender should load for alliance players too.

BG Defender 1.6.5
    Updated TOC for patch 5.4

BG Defender 1.6.4.1
    Minor cleanups.
    Doing late initialization of drop down menus. Eight or more menu items might cause taint issues,
    trying to work around it by only initialize them if they are needed.

BG Defender 1.6.4
    Updated the French translation. Thanks to cortan on Curse for the update.
    Updated TOC for patch 5.2

BG Defender 1.6.3
    Updated for patch 5.1
    Added new INSTANCE_CHAT channel and removed the old BATTLEGROUND channel.

BG Defender 1.6.2
    Fix for unable to post announcements even though in a battleground.

BG Defender 1.6.1
    Found the bug that stopped message postings when the locale was changed.

BG Defender 1.6.0
    Added feature to select locale used to format messages. By default it is the current client locale,
    but it is possible to change to one of the known locales from the options menu. Thanks to ninjadall on
    Curse for the suggestion.

    Added French language translations.  Thanks to phxsnt on Curse for the input.

    Update to support 4.3 version :-) Thanks to Roxafina on Curse for the reminder.

BG Defender 1.5.10
    Added contributed Chinese (zhCN and zhTW) language files

BG Defender 1.5.9
    Added keybinding support to bind announcements to specified keys

BG Defender 1.5.8
    Fixed error with Russian language file

BG Defender 1.5.7
    Added Dragonmaw Stronghold as a PvP zone
    Added contributed Russian (ruRU) language file

BG Defender 1.5.6
    Added contributed Spanish (esMX) language file
    Added ability to select Raid Warning for announcements from the options page
    Added button on UI beside the option button to toggle frame being pinned or movable
        m - frame is movable
        p - frame is pinned to current location
        clicking on the m or p toggles the movable state

BG Defender 1.5.5
    Fixed bug not identifying The Battle for Gilneas zone properly

BG Defender 1.5.4
    Fixed bug where correct saved variables were not being saved and reloaded
    Updated German zone names for SOTA, TP and GIL

BG Defender 1.5.3
    Added option to hide 'BGDefender' preface to announcement messages
    Added support for Tol Bard, Battle of Gilneas and Twin Peaks
        Note however German localization is not translated, so zones may not be detected

BG Defender 1.5.2 (Shoogi)
    Added options frame to select announcement channels (/bgd options, or select "o" button on window)
        - note: Blizzard limits how fast messages can be sent to General
        - Allow seperate configuration for Battleground and World PVP Zone channels (Wintergrasp)
        - Saving state of channels for each character
    Improved status output

BG Defender 1.5.1
    Added Wintergrasp support
    Added Raid chatframe for output if in a raid instance (such as WG)
    Fixed initialization to now recognize if you reload or log into the instance instead of zoning in

BG Defender 1.5.0
    Reworked a fair bit of BG Defender (Shoogi)
        - added support for L10N, but would need input on zone names
        - removed changing of messages - a nice but not necessary feature
        - added support for WoW 4.0.1
        - fixed bugs (mousemoves, events, and others)
        - changed status message to be informative and allow debugging

BG Defender 1.4.2
    Added minimal Isle of conquest support (Shoogi @ Wyrmrest Accord)

BG Defender 1.4.1
    Fixed Some Bugs in WSG updated for 3.0.2 patch

BG Defender 1.4
    Changed entry in layoutcache.txt from, RIC5 to BGDefenderFrame
    Toc Update

BG Defender 1.3
    Updated .toc for 2.3.0 patch

BG Defender 1.2
    BG Defender encompasses all the other defender mods into one small package.

    To install just copy the BGDefender folder into your \World of Warctaft\Interface\Addons\ directory.
    You will probably need to deactivate or uninstall WSG,AV,EoS or AB Defender if you have them installed.

    BG Defender localization for the German language completed (Thanks too Kazagore, Tomslayer and BenChavo with translations)

    Thx,

    Shaboo Frostmourne

    P.S. If you would like to see BG Defender localized for another language just post the zone name for each battleground as it appears in WoW on http://www.curse.com/downloads/details/8921/

Comments

First Previous Page 2 of 9 Next Last
  • #119

    Sorry about the delay on this update, I forgot about it for a few weeks. Uploading it now.

  • #118

    I manually patched my local version by doing this, it works for Deepwind Gorge

    Add to top:

    local map_points = {}

    Add to function BGD_OnLoad(self), this will need local settings:

       map_points["Deepwind Gorge"] = {}
       map_points["Deepwind Gorge"]["Pandaren Mine"] = { left = 50, top = 8, right = 65, bottom = 20 }
       map_points["Deepwind Gorge"]["Goblin Mine"] = { left = 40, top = 76, right = 55, bottom = 85 }

    Add a new function

    function BGD_GetSubZoneText()

       local subZoneText = GetSubZoneText()
       if ( subZoneText == nil ) then
          subZoneText = GetZoneText()
       end
       
       if ( subZoneText == nil ) then
          return "Unknown"
       end
       
       local map_xy = map_points[subZoneText]
       
       if ( map_xy ) then
          local posX, posY = GetPlayerMapPosition("player")
          posX = posX * 100
          posY = posY * 100
          
          -- Replace the zone text with the real missing subzone
          for k,v in pairs(map_xy) do
             if ( posX >= v.left ) and ( posX <= v.right ) and ( posY <= v.bottom ) and ( posY >= v.top ) then
                subZoneText = k
                break
             end        
          end      
       end
       
       return subZoneText
    end

    Find and replace GetSubZoneText() with BGD_GetSubZoneText()

  • #114

    Date: 2013-08-23 11:07:03
    ID: 2
    Error occured in: AddOn: BGDefender
    Count: 22
    Message: Note: AddOn BGDefender attempted to call a protected function (CompactRaidFrame1:Show()) during combat lockdown.
    Debug:
       [C]: Show()
       ..\FrameXML\CompactUnitFrame.lua:282: CompactUnitFrame_UpdateVisible()
       ..\FrameXML\CompactUnitFrame.lua:240: CompactUnitFrame_UpdateAll()
       ..\FrameXML\CompactUnitFrame.lua:97:
          ..\FrameXML\CompactUnitFrame.lua:44
    Locals:
    None
    AddOns:
      Swatter, v4.3.1 (<%codename%>)
      NPCScan, v5.0.0.5
      NPCScanOverlay, v5.0.0.3
      Altoholic, v5.3.001
      AucAdvanced, v5.17.5413 (NeedyNoddy)
      AucFilterBasic, v5.17.5413 (NeedyNoddy)
      AucFilterOutlier, v5.17.5413.5347(5.17/embedded)
      AucMatchUndercut, v5.17.5413.5364(5.17/embedded)
      AucScanData, v5.17.5413 (NeedyNoddy)
      AucStatHistogram, v5.17.5413 (NeedyNoddy)
      AucStatiLevel, v5.17.5413 (NeedyNoddy)
      AucStatPurchased, v5.17.5413 (NeedyNoddy)
      AucStatSales, v5.17.5413.5376(5.17/embedded)
      AucStatSimple, v5.17.5413 (NeedyNoddy)
      AucStatStdDev, v5.17.5413 (NeedyNoddy)
      AucStatWOWEcon, v5.17.5413.5323(5.17/embedded)
      AucUtilAHWindowControl, v5.17.5413.5347(5.17/embedded)
      AucUtilAppraiser, v5.17.5413.5393(5.17/embedded)
      AucUtilAskPrice, v5.17.5413.5347(5.17/embedded)
      AucUtilAutoMagic, v5.17.5413.5392(5.17/embedded)
      AucUtilCompactUI, v5.17.5413.5400(5.17/embedded)
      AucUtilEasyBuyout, v5.17.5413.5347(5.17/embedded)
      AucUtilFixAH, v5.17.5413 (NeedyNoddy)
      AucUtilItemSuggest, v5.17.5413.5365(5.17/embedded)
      AucUtilPriceLevel, v5.17.5413.5365(5.17/embedded)
      AucUtilScanButton, v5.17.5413.5403(5.17/embedded)
      AucUtilScanFinish, v5.17.5413.5347(5.17/embedded)
      AucUtilScanProgress, v5.17.5413.4979(5.17/embedded)
      AucUtilScanStart, v5.17.5413.5347(5.17/embedded)
      AucUtilSearchUI, v5.17.5413.5373(5.17/embedded)
      AucUtilSimpleAuction, v5.17.5413.5388(5.17/embedded)
      AucUtilVendMarkup, v5.17.5413.4828(5.17/embedded)
      AutoProfitX, vr84
      Babylonian, v5.1.DEV.332(/embedded)
      BattlePetQualityNotifier, v1.3.0
      BGDefender, v1.6.3
      BunnyHunter, v2.7
      Collectinator, v2.0.2
      Configator, v5.1.DEV.344(/embedded)
      DataStore, v5.3.001
      DataStoreAchievements, v5.3.001
      DataStoreAgenda, v5.3.001
      DataStoreAuctions, v5.3.001
      DataStoreCharacters, v5.3.001
      DataStoreContainers, v5.3.001
      DataStoreCrafts, v5.3.001
      DataStoreCurrencies, v5.3.001
      DataStoreInventory, v5.3.001
      DataStoreMails, v5.3.001
      DataStorePets, v5.3.001
      DataStoreQuests, v5.3.001
      DataStoreReputations, v5.3.001
      DataStoreSpells, v5.3.001
      DataStoreStats, v5.3.001
      DataStoreTalents, v5.3.001
      DBMCore, v
      DebugLib, v5.1.DEV.337(/embedded)
      Dresser, v3.3
      ErrorFilter, v2.8
      FBTitan, v1.0.8
      FishingBuddy, v1.2o
      Junkit, v5.01
      LibExtraTip, v5.12.DEV.350(/embedded)
      MinimapTarget, vv1.7
      OmniCC, v5.3.1
      Overachiever, v0.72
      PetBattleTeams, v3.2.5
      Prat30, v3.5.6      
      Prat30Libraries, v
      Routes, vv1.4.2
      Skada, v1.4-12
      SkadaCC, v1.0
      SkadaDamage, v1.0
      SkadaDamageTaken, v1.0
      SkadaDeaths, v1.0
      SkadaDebuffs, v1.0
      SkadaDispels, v1.0
      SkadaEnemies, v1.0
      SkadaHealing, v1.0
      SkadaPower, v1.0
      SkadaThreat, v1.0
      Stubby, v5.17.5413 (NeedyNoddy)
      TidyPlates, v6.11.3
      TidyPlatesGraphite, v
      TidyPlatesGrey, v
      TidyPlatesNeon, v
      TidyPlatesQuatre, v
      TidyPlatesHub, v
      TidyPlatesWidgets, v
      TipHelper, v5.12.DEV.351(/embedded)
      Titan, v5.1.23.50300
      TitanBag, v5.1.23.50300
      TitanClock, v5.1.23.50300
      TitanGold, v5.1.23.50300
      TitanLocation, v5.1.23.50300
      TitanLootType, v5.1.23.50300
      TitanPerformance, v5.1.23.50300
      TitanRepair, v5.1.23.50300
      TitanVolume, v5.1.23.50300
      TitanXP, v5.1.23.50300
      WeakAuras, v1.4.7.10
      WIM, v3.6.9
      BlizRuntimeLib_enUS v5.3.0.50300 <us>
      (ck=cb2)

  • #113

    is there a way to edit the messages?

  • #110

    I get a similar  error (BGDefender has been blocked from an actton only available to the Bilzzard UI) when attempting to Queue for AV  - but not all the time and some of my toons (lvl 90s) seem to not get the error as much.  I have show LUA errors on - but I just get the blizzard dialog.

     One other addon author (sorry can't remember which one) claimed that this sort of error was a Blizzard bug - and I'm starting to come around to that view.

     And, for example,I couldnt queue because of the error, so I allowed Blizzard to disable the BGDefender addon,  then queued succesfully, then re-enabled BGDefender (without logging off by using an Addon called "Addon Control Panel") , did an AV, exited and now I CAN queue for AV

    So I dont think its the Addon which has the bug - its blizzard

    Last edited by rjwilson01 on 4/6/2013 7:41:18 PM
  • #112

    Yeah, I've seen that from time to time too. Don't know what is causing it but I suspect it might have something to do with reforging, as it usually shows up right after that.

    Just hitting the ignore button and then doing a "/reload" solves the problem for me.

  • #109

    Hi, just got this

    1689x [ADDON_ACTION_BLOCKED] AddOn "BGDefender" tried to call the protected function "CompactRaidFrame1:Show()".
    !BugGrabber-r188\BugGrabber.lua:587: in function <!BugGrabber\BugGrabber.lua:587>
    <in C code>
    FrameXML\CompactUnitFrame.lua:276: in function "CompactUnitFrame_UpdateVisible"
    FrameXML\CompactUnitFrame.lua:234: in function "CompactUnitFrame_UpdateAll"
    FrameXML\CompactUnitFrame.lua:46: in function <FrameXML\CompactUnitFrame.lua:43>

    Locals:
    nil

  • #111

    I've got a workaround that might solve that issue, try version 1.6.4.1 and see if that works better. With that version, as long as you don't open the addons options window, you should be fine.

  • #108

    The only enabled addons were:  BGdefender, Bugsack, Buggrabber.

    I get the following after I enter combat in a BG:

    3x [ADDON_ACTION_BLOCKED] AddOn "BGDefender" tried to call the protected function "CompactRaidFrame11:Show()". !BugGrabber-r191-release\BugGrabber.lua:587: in function <!BugGrabber\BugGrabber.lua:587> <in C code> FrameXML\CompactUnitFrame.lua:279: in function "CompactUnitFrame_UpdateVisible" FrameXML\CompactUnitFrame.lua:237: in function "CompactUnitFrame_UpdateAll" FrameXML\CompactUnitFrame.lua:97: in function <FrameXML\CompactUnitFrame.lua:44>

    Locals: nil

  • #106

    Date: 2013-03-09 13:32:02
    ID: -31
    Error occured in: AddOn: BGDefender
    Count: 1
    Message: Note: AddOn BGDefender attempted to call a protected function (CompactRaidGroup4Member3:SetAttribute()) during combat lockdown.
    Debug:
    [C]: SetAttribute()
    ..\FrameXML\CompactUnitFrame.lua:124: CompactUnitFrame_SetUnit()
    ..\FrameXML\CompactRaidGroup.lua:57: CompactRaidGroup_UpdateUnits()
    ..\FrameXML\CompactRaidGroup.lua:10: CompactRaidGroup_OnEvent()
    [string "*:OnEvent"]:1:
    [string "*:OnEvent"]:1
    Locals:
    None
    AddOns:
    Swatter, v4.2.0 (<%codename%>)
    NPCScan, v5.0.0.5
    NPCScanOverlay, v5.0.0.3
    NPCScanOverlayBroker, v1.2.0
    Altoholic, v5.1.001
    Babylonian, v5.1.DEV.332(/embedded)
    BagBrother, v
    Bagnon, v5.2.0
    BagnonConfig, v
    Bartender4, v4.5.8
    BattlegroundTargets, v50200-1
    BGDefender, v1.6.4
    BGSpy, v1.2.6
    BittensSpellFlashDK, v3.5.0
    BittensSpellFlashLibrary, v4.2.1
    CLCRet, v
    Configator, v5.1.DEV.344(/embedded)
    DataStore, v5.1.001
    DataStoreAchievements, v5.1.001
    DataStoreAgenda, v5.1.001
    DataStoreAuctions, v5.1.001
    DataStoreCharacters, v5.1.001
    DataStoreContainers, v5.1.001
    DataStoreCrafts, v5.1.001
    DataStoreCurrencies, v5.1.001
    DataStoreInventory, v5.1.001
    DataStoreMails, v5.1.001
    DataStorePets, v5.1.001
    DataStoreQuests, v5.1.001
    DataStoreReputations, v5.1.001
    DataStoreSpells, v5.1.001
    DataStoreStats, v5.1.001
    DataStoreTalents, v5.1.001
    Gatherer, v4.2.0
    GathererHUD, v4.2.0
    GoH, v5.2.077 Beta
    GoHDeathKnight, v5.2.077 Beta
    GoHHunter, v5.2.047 Beta
    GoHMage, v5.2.029 Beta
    GoHMonk, v5.2.030 Beta
    GoHPaladin, v5.2.042 Beta
    GoHPriest, v5.2.038 Beta
    GoHWarlock, v5.2.029 Beta
    HealBot, v5.1.0.7
    HealersHaveToDie, v2.1.0
    MessageBoard, v
    NugComboBar, v
    NugComboBarGUI, v
    OmniCC, v5.2.1
    PallyPower, vv5.0.7
    Postal, v3.5.1
    PvPness, v1.2
    PVPSound, v3.9.0
    SaySapped, v2012-10-01
    SlideBar, v4.2.0 (<%codename%>)
    SpellFlash, v6.5
    SpellFlashCore, v2.0.2
    TidyPlates, v6.9.0
    TidyPlatesGraphite, v
    TidyPlatesGrey, v
    TidyPlatesNeon, v
    TidyPlatesQuatre, v
    TidyPlatesThreatPlates, v6.008
    TidyPlatesHub, v
    TidyPlatesWidgets, v
    TomTom, vv50200-1.0.2
    BlizRuntimeLib_enUS v5.2.0.50200 <eu>
    (ck=69b)

     

  • #107

    What were you doing when the error occurred and does it still happen if you disable all other addons?

  • #102

    Great addon, but this version is constantly spamming my UI with errors.

    [ADDON_ACTION_BLOCKED] AddOn "BGDefender" tried to call the protected function "CompactRaidFrame14:Show()".
    FrameXML\CompactUnitFrame.lua:276: in function "CompactUnitFrame_UpdateVisible"
    FrameXML\CompactUnitFrame.lua:234: in function "CompactUnitFrame_UpdateAll"
    FrameXML\CompactUnitFrame.lua:127: in function "CompactUnitFrame_SetUnit"
    Blizzard_CompactRaidFrameContainer.lua:318: in function "CompactRaidFrameContainer_AddUnitFrame"
    Blizzard_CompactRaidFrameContainer.lua:254: in function "CompactRaidFrameContainer_AddPlayers"
    Blizzard_CompactRaidFrameContainer.lua:176: in function "CompactRaidFrameContainer_LayoutFrames"
    Blizzard_CompactRaidFrameContainer.lua:130: in function "CompactRaidFrameContainer_TryUpdate"
    Blizzard_CompactRaidFrameContainer.lua:57: in function "CompactRaidFrameContainer_OnEvent"
    <string>:"*:OnEvent":1: in function <string>:"*:OnEvent":1

    Locals:
    nil

  • #104

    I'm sorry but I don't think those errors are related to this addon, it's most likely another addon that's to blame. Try disabling all other addons and see if the problem goes away.

  • #101

    those in which the addon does not work in Eye of the Storm c is simply because the apostrophe is not coded corectement, it must be written like this in Lua :

    L’Œil du cyclone

    so it looks like this :

    BGD_HELP = "Besoin d'aide à $base."
    BGD_SAFE = "$base sécurisée."
    BGD_INC = "$num ennemis en approche à $base."
    BGD_INCPLUS = "Plus de 5 ennemis arrivent à $base."

    BGD_AV = "Vallée d'Alterac"
    BGD_AB = "Bassin Arathi"
    BGD_WSG = "Goulet des Chanteguerres"
    BGD_WSL = "Scierie des Chanteguerres"
    BGD_SWH = "Fort d'Aile-argent" ???
    BGD_EOTS = "L’Œil du cyclone"
    BGD_SOTA = "Rivage des Anciens"
    BGD_IOC = "Île des Conquérants"
    BGD_TP = "Pics-Jumeaux"
    BGD_DMH = "Bastion Gueule-de-dragon"
    BGD_GIL = "La bataille de Gilnéas"

    BGD_WG = "Joug-d'hiver"
    BGD_TB = "Tol Barad"

    BGD_AWAY = "Vous n'êtes pas assez près d'un point à défendre!"
    BGD_OUT = "Vous n’êtes pas dans un Champ de bataille!"

    BGD_GENERAL = "Général"

  • #103

    Thanks for reporting the issue, the French translation is updated in version 1.6.4.

  • To post a comment, please login or register a new account.
Login to Curse

Don't have an account? Create One.

Get an epic experience with Curse Premium
  • Faster addon downloads
  • Premium-Only Beta Giveaways
  • Ad-Free Curse experience
  • Premium Curse Client
  • and many More Features
  • Learn More »

VIP trip to SMITE World Championship