What conditions Bongos can change a bar on?
Bongos can be set to switch a bar on the following conditions:
- <Modifier> Down: Occurs when you press control, alt, or shift
- Page <Number>: Occurs when you press a paging binding. These are bound, by default, to shift + 1-6 and shift + mouse wheel. Shift + 1 returns to your normal state
- Stances, Forms, Stealth: Occurs when you're in Defensive stance, Cat form, stealth, etc.
- Friendly/Enemy Target: Occurs when you're targeting a friendly or enemy target
Bongos checks each state in the listed order, and will switch to the first condition is find that's mapped to an action set other than the first. If no condition is found, the bar will display the actions in set 1.
I want to suggest an option for a different behavior:
Bongos2 works like that, too. When I got into arena pvp with my druid, I changed the code: it first checks for friendly/enemy target and after that for forms. This way I can cast heals for a friendly target while running around in a form.
I cannot get GarbageFu to recognize "Conjured Manna Biscuit". I tried looking through the code and added the PT3 class for the new conjured combo food in the GarbageFu menu for "Drop food/water". There seems to be something in the code which outright prevents recognizing the biscuits. It isn't listed under "Drop items" for example. On the other hand it's shown in the menu for setting specific item prices.
Anyone familiar with the code have suggestions about this problem? Perhaps it is a problem with PT3.1 and not GarbageFu? :(
Got a new issue with PitBull, when someone is in the middle of a cast, be it me or anyone else friend or foe, and I target em the casting bar doesn't show how much hes progressed, infact theres no casting bar in my target frame at all..
For example, enemy paladin casts holy light, I hear the sound and I target him, but it doesn't show hes casting anything in my target frame, is this a known issue or can it be fixed?
Basically if I wanna see the progress off my enemies or friends spell i need to have his frame up all the time in target, or focus, cant detarget him and target him again, or let him cast and then target him, and its rather bollocks if i need to switch to a target and es it and i dunno if they gonna land the spell or something, another issue is that a few spells share the same animation and i can't really see the difference between em without the casting bar..
I guess I fixed this error on my local copy:
In Pitbull/Castbar/Castbar.lua, function Pitbull_Castbar:OnUpdateFrame(...), I changed all self:UNIT_SPELLCAST_BLAH(unit) calls to self:UNIT_SPELLCAST_BLAH(nil, nil, unit). It seems to work, but I didn't test it much. :P
function PitBull:PLAYER_TARGET_CHANGED()
if ( UnitExists("target") ) then
if ( UnitIsEnemy("target", "player") ) then
PlaySound("igCreatureAggroSelect");
elseif ( UnitIsFriend("player", "target") ) then
PlaySound("igCharacterNPCSelect");
else
PlaySound("igCreatureNeutralSelect");
end
end
for frame in self:IterateUnitFramesForUnit("target") do
if configMode or UnitExists('target') then
if frame:IsShown() then
self:PopulateUnitFrame(frame, true)
end
elseif frames[frame] then
PlaySound("INTERFACESOUND_LOSTTARGETUNIT");
self:ClearUnitFrame(frame)
end
end
end
I've changed the code in my local oRA2 copy to get MT an PT to work with names like "Änka" etc.:
Leader/MainTank.lua line 439 and Optional/PlayerTarget.lua line 1479:
-- lower the name and upper the first letter, not for chinese and korean though
if GetLocale() ~= "zhTW" and GetLocale() ~= "zhCN" and GetLocale() ~= "koKR" then
local _, len = string.find(name, "[%z\1-\127\194-\244][\128-\191]*")
name = string.upper(string.sub(name, 1, len)) .. string.lower(string.sub(name, len + 1))
end
I've tested it on the last few raids and didn't find problems.
This code in oRA2/Leader/Maintank.lua (line 439) doesn't work with the name of a warrior in my guild:
-- lower the name and upper the first letter, not for chinese and korean though
if GetLocale() ~= "zhTW" and GetLocale() ~= "zhCN" and GetLocale() ~= "koKR" then
name = string.upper(string.sub(name, 1, 1)) .. string.lower(string.sub(name, 2))
end
His name starts with "À", which is a two-byte UTF-8 character. string.upper("à") does correctly return "À", but string.sub works with the bytes of the string and not the characters. :(
Sounds like it's similar to player targets, that Ora2 recently added. I loved it in CTRA.
Yes, but it works for mobs. You can even ride away, so that the mob disappears because it's 200 yards away (or whatever that range is) and the focus unitframe will disappear, too. When you return and the mob comes back into your view range, the focus unitframe will reappear. It's awesome. :P
Quote from Miles »
Hmm.. in theory, it's quite easy to create a frame for whatever unitid you want, just use the metro-driven variant of aUFunit.
/aguf addframe unitid? :P
Since I've replaced CTRA with Ace Addons, I've missed *good* player target frames sooo much. :(
0
I want to suggest an option for a different behavior:
Bongos2 works like that, too. When I got into arena pvp with my druid, I changed the code: it first checks for friendly/enemy target and after that for forms. This way I can cast heals for a friendly target while running around in a form.
0
Anyone familiar with the code have suggestions about this problem? Perhaps it is a problem with PT3.1 and not GarbageFu? :(
0
I guess I fixed this error on my local copy:
In Pitbull/Castbar/Castbar.lua, function Pitbull_Castbar:OnUpdateFrame(...), I changed all self:UNIT_SPELLCAST_BLAH(unit) calls to self:UNIT_SPELLCAST_BLAH(nil, nil, unit). It seems to work, but I didn't test it much. :P
0
After looking at Blizzard's code (http://wdn.wowinterface.com/code/live/FrameXML/TargetFrame.lua), I did this change to my local PitBull.lua (Revision 42443) at line 2750:
0
Leader/MainTank.lua line 439 and Optional/PlayerTarget.lua line 1479:
I've tested it on the last few raids and didn't find problems.
0
-- lower the name and upper the first letter, not for chinese and korean though
if GetLocale() ~= "zhTW" and GetLocale() ~= "zhCN" and GetLocale() ~= "koKR" then
name = string.upper(string.sub(name, 1, 1)) .. string.lower(string.sub(name, 2))
end
His name starts with "À", which is a two-byte UTF-8 character. string.upper("à") does correctly return "À", but string.sub works with the bytes of the string and not the characters. :(
0
Yes, but it works for mobs. You can even ride away, so that the mob disappears because it's 200 yards away (or whatever that range is) and the focus unitframe will disappear, too. When you return and the mob comes back into your view range, the focus unitframe will reappear. It's awesome. :P
Since I've replaced CTRA with Ace Addons, I've missed *good* player target frames sooo much. :(
0
module:SetCandyBarReversed(id, true)