Edit: fixed by deleting saved variables - sorry for the false alarm.
Using version 50200-1 on a level 20 character, I get this error on login/reload/attempting /bgt:
3x BattlegroundTargets\BattlegroundTargets-50200-1.lua:3687: attempt to index field "?" (a nil value)
BattlegroundTargets\BattlegroundTargets-50200-1.lua:3687: in function "CreateOptionsFrame"
BattlegroundTargets\BattlegroundTargets-50200-1.lua:8679: in function <BattlegroundTargets\BattlegroundTargets.lua:8542>
It rarely happens but from time to time, the server would fail to return the class of a player on the scoreboard; returns nil. I use the following fix...
Replace:
local qclassToken = ENEMY_Data[i].classToken
With:
local qclassToken = ENEMY_Data[i].classToken or "ZZZFAILURE"
A sample of the error is as follows:
Message: ...e\AddOns\BattlegroundTargets\BattlegroundTargets.lua:6295: attempt to index field '?' (a nil value)
Time: 03/19/13 20:20:58
Count: 86
Stack: ...e\AddOns\BattlegroundTargets\BattlegroundTargets.lua:6295: in function `MainDataUpdate'
...e\AddOns\BattlegroundTargets\BattlegroundTargets.lua:6699: in function `BattlefieldScoreUpdate'
...e\AddOns\BattlegroundTargets\BattlegroundTargets.lua:8627: in function <...e\AddOns\BattlegroundTargets\BattlegroundTargets.lua:8543>
[C]: ?
...e\AddOns\BattlegroundTargets\BattlegroundTargets.lua:8537: in function `BattlefieldScoreRequest'
...e\AddOns\BattlegroundTargets\BattlegroundTargets.lua:7225: in function <...e\AddOns\BattlegroundTargets\BattlegroundTargets.lua:7212>
Locals: self = <unnamed> {
CheckForEnabledBracket = <function> defined @Interface\AddOns\BattlegroundTargets\BattlegroundTargets.lua:4204
DefaultShuffle = <function> defined @Interface\AddOns\BattlegroundTargets\BattlegroundTargets.lua:5749
SetupLayout = <function> defined @Interface\AddOns\BattlegroundTargets\BattlegroundTargets.lua:4626
SummaryPosition = <function> defined @Interface\AddOns\BattlegroundTargets\BattlegroundTargets.lua:2225
CheckIfPlayerIsGhost = <function> defined @Interface\AddOns\BattlegroundTargets\BattlegroundTargets.lua:8520
CreateFrames = <function> defined @Interface\AddOns\BattlegroundTargets\BattlegroundTargets.lua:1781
SetOrbDebuff = <function> defined @Interface\AddOns\BattlegroundTargets\BattlegroundTargets.lua:7974
ClearConfigButtonValues = <function> defined @Interface\AddOns\BattlegroundTargets\BattlegroundTargets.lua:5698
FlagDebuffCheck = <function> defined @Interface\AddOns\BattlegroundTargets\BattlegroundTargets.lua:8006
MainFrameShow = <function> defined @Interface\AddOns\BattlegroundTargets\BattlegroundTargets.lua:5211
DisableConfigMode = <function> defined @Interface\AddOns\BattlegroundTargets\BattlegroundTargets.lua:5480
shuffleStyle = true
Frame_SetupPosition = <function> defined @Interface\AddOns\BattlegroundTargets\BattlegroundTargets.lua:5167
BattlefieldCheck = <function> defined @Interface\AddOns\BattlegroundTargets\BattlegroundTargets.lua:6941
CreateInterfaceOptions = <function> defined @Interface\AddOns\BattlegroundTargets\BattlegroundTargets.lua:1747
BattlefieldScoreRequest = <function> defined @Interface\AddOns\BattlegroundTargets\BattlegroundTargets.lua:8532
LocalizedFontNameTest = <function> defined @Interface\AddOns\BattlegroundTargets\BattlegroundTargets.lua:5276
CheckPlayerTarget = <function> defined @Interface\AddOns\BattlegroundTargets\BattlegroundTargets.lua:7314
CheckFaction = <function> defined @Interface\AddOns\BattlegroundTargets\BattlegroundTargets.lua:8487
ClearRangeData = <function> defined @Interface\AddOns\BattlegroundTargets\BattlegroundTargets.lua:8459
CheckPlayerLevel = <function> defined @Interface\AddOns\BattlegroundTargets\BattlegroundTargets.lua:8471
UpdateRange = <function> defined @Interface\AddOns\BattlegroundTargets\BattlegroundTargets.lua:8429
CreateMinimapButton = <function> defined @Interface\AddOns\BattlegroundTargets\BattlegroundTargets.lua:4525
ConfigGuildGroupFriendUpdate = <function> defined @Interface\AddOns\BattlegroundTargets\BattlegroundTargets.lua:5979
CheckPlayerFocus = <function> defined @Interface\AddOns\BattlegroundTargets\BattlegroundTargets.lua:7393
CheckFlagCarrierSTART = <function> defined @Interface\AddOns\BattlegroundTargets\BattlegroundTargets.lua:6853
InitOptions = <function> defined @Interface\AddOns\BattlegroundTargets\BattlegroundTargets.lua:1345
CarrierCheck = <function> defined @Interface\AddOns\BattlegroundTargets\BattlegroundTargets.lua:8046
CheckOrb = <function> defined @Interface\AddOns\BattlegroundTargets\BattlegroundTargets.lua:6733
EnableInsecureConfigWidges = <function> defined @Interface\AddOns\BattlegroundTargets\BattlegroundTargets.lua:4511
OptionsFrameHide = <function> defined @Interface\AddOns\BattlegroundTargets\BattlegroundTargets.lua:5218
SetOrbCorner = <function
Hello, thanks so much for this addon. I think it is amazing.
However, there is just one little problem...
While in RBG, it is impossible to know who is using your addon. I can't tell you how many times I grow so frustrated when we call targets and only half the group actually attacks the current target. I'm sure part of it has to do with people saying they are using the addon when they aren't.
A few years back, I remember DBM had a feature which checked who was using DBM and which version they were running. A few other addons do this as well (healbot is one). I don't raid anymore so I'm not sure if this feature still exists, but it helped a LOT.
Would it be possible to add a feature that checks who is using BGT and what version they are currently using? It would help a lot with PUG RBG groups.
Thanks again! Very appreciative whether you consider my idea or not.
Such a 'feature' is exactly what I do not want. I do not want that other players can see if BattlegroundTargets is running or not. Only Blizzard should know this. Because of that BattlegroundTargets does not use SendAddonMessage() or similar functions to communicate with other players.
Understood, although I'm curious as to why you think this would be a bad thing. I wouldn't care about the other group.. that's their business -- just my own raid.
Understood, although I'm curious as to why you think this would be a bad thing. I wouldn't care about the other group.. that's their business -- just my own raid.
Letting everyone see which addons you are using puts us back in the Burning Crusade days where we had to write addons just to send fake version responses because guilds required specific addons that were either not the only option (eg. requiring DBM but I preferred BigWigs) or were not actually necessary (eg. requiring healers to run a threat meter). If players aren't playing correctly, address that, but policing which addons everyone is using is not the solution.
I deleted the battlegrounds savefile, and redid the options, and still just the top name in the list is clickable.
Found out the problem, vuhdo wasn't set to hide empty frames, so it was covering part of the mod making it not clickable. So one setting in vuhdo fixed it.
I would love so see an addition where you can see the targets of your enemies in a new frame right next to bgt.
Or just make a new frame where you can see your group and a counter next to it to see how much enemies have one of your group member as target. you could see who is in focus of your team the moment the others take him as target. of course you cannot see the focus of the enemies but the person who they will attack and not cc.
This addon is so incredibly useful and well designed I had to come here and ask that you implement it for raiding to manage numerous adds on encounters like Horridon and Council. Well done on this, it should be the way the UI was designed in the first place.
not tested in rBG/WarGame. if you find a bug please post here, thanks.
Using version 50200-1 on a level 20 character, I get this error on login/reload/attempting /bgt:
Replace:
local qclassToken = ENEMY_Data[i].classToken
With:
local qclassToken = ENEMY_Data[i].classToken or "ZZZFAILURE"
A sample of the error is as follows:
BattlegroundTargets-50200-2: http://www.wowace.com/addons/battlegroundtargets/files/
However, there is just one little problem...
While in RBG, it is impossible to know who is using your addon. I can't tell you how many times I grow so frustrated when we call targets and only half the group actually attacks the current target. I'm sure part of it has to do with people saying they are using the addon when they aren't.
A few years back, I remember DBM had a feature which checked who was using DBM and which version they were running. A few other addons do this as well (healbot is one). I don't raid anymore so I'm not sure if this feature still exists, but it helped a LOT.
Would it be possible to add a feature that checks who is using BGT and what version they are currently using? It would help a lot with PUG RBG groups.
Thanks again! Very appreciative whether you consider my idea or not.
Letting everyone see which addons you are using puts us back in the Burning Crusade days where we had to write addons just to send fake version responses because guilds required specific addons that were either not the only option (eg. requiring DBM but I preferred BigWigs) or were not actually necessary (eg. requiring healers to run a threat meter). If players aren't playing correctly, address that, but policing which addons everyone is using is not the solution.
Any chance we can get some additional options to change where it is anchored on the main frame?
(It's particularly unsightly having it stuck on the bottom-left corner when my setup lists enemies from left>right instead of top>bottom.)
Found out the problem, vuhdo wasn't set to hide empty frames, so it was covering part of the mod making it not clickable. So one setting in vuhdo fixed it.
Or just make a new frame where you can see your group and a counter next to it to see how much enemies have one of your group member as target. you could see who is in focus of your team the moment the others take him as target. of course you cannot see the focus of the enemies but the person who they will attack and not cc.
http://www.workupload.com/file/kJOV0mw
The flags in Deepwind Gorge only work with enGB, enUS and deDE clients.
---------------------------------------------------------------------------------------
BattlegroundTargets-localized-carrier.lua -"koKR"
Link Removed: http://www.mediafire.com/?ns13qs8az81r2if
Thank U @Sivercate.
I'm working localization of the file for KorKR client. I hope this helps in localizing
Thank you keiibus.
I updated the code for the flags.
Could you please localize the new version again?
http://www.workupload.com/file/VC1eKfH
localization needed: esES, esMX, frFR, itIT, ptBR, ruRU, zhCN, zhTW
---------------------
I'm sorry. I have uploaded a little late.
Link Removed: http://www.mediafire.com/download/w5khzjs63wpafr0/BattlegroundTargets_50300_0.3_kor.zip