eePanels2 & Bongos3 Questions
#1
Here are two questions I posed in a UI help thread on EJ, with no real luck so far. Perhaps someone here either a) has experience with eePanels, orB)has a slick answer to my hotkey/bars question:

<span style="color:Green">eePanels2

I've been trying to mimic the PitBull frames of Caith's UI, but I encounter errors trying to unzip the files he posted links to in his thread, here.

Missing that, I have been trying to mimic them sans files, and as a first time eePanels2 user, am having some issues there that the wowace thread and the wowace wiki on it aren't helping me with.

First, if I simply create a new panel, add a LUA script to color the border according to the Player's class (my class), the border simply never changes colors from white, even if I reload my UI, exit the game and relog, etc.
Code:
function eePanels2:PlayerFrameVisibility(self, event, ...)
&nbsp;&nbsp;&nbsp;&nbsp;local _, class = UnitClass("player");
&nbsp;&nbsp;&nbsp;&nbsp;if class == "WARRIOR" then
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;eePanel2:SetBackdropBorderColor(0.780,0.611,0.431,1)
&nbsp;&nbsp;&nbsp;&nbsp;elseif class == "PRIEST" then
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;eePanel2:SetBackdropBorderColor(1,1,1,1)
&nbsp;&nbsp;&nbsp;&nbsp;elseif class == "DRUID" then
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;eePanel2:SetBackdropBorderColor(1,0.490,0.0392,1)
&nbsp;&nbsp;&nbsp;&nbsp;elseif class == "HUNTER" then
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;eePanel2:SetBackdropBorderColor(0.6705,0.8313,0.4509,1)
&nbsp;&nbsp;&nbsp;&nbsp;elseif class == "MAGE" then
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;eePanel2:SetBackdropBorderColor(0.4117,0.8,0.9411,1)
&nbsp;&nbsp;&nbsp;&nbsp;elseif class == "PALADIN" then
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;eePanel2:SetBackdropBorderColor(0.9607,0.5490,0.7294,1)
&nbsp;&nbsp;&nbsp;&nbsp;elseif class == "SHAMAN" then
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;eePanel2:SetBackdropBorderColor(0.1411,0.3490,1,1)
&nbsp;&nbsp;&nbsp;&nbsp;elseif class == "WARLOCK" then
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;eePanel2:SetBackdropBorderColor(0.580,0.5098,0.7882,1)
&nbsp;&nbsp;&nbsp;&nbsp;elseif class == "ROGUE" then
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;eePanel2:SetBackdropBorderColor(1,0.9607,0.4117,1)
&nbsp;&nbsp;&nbsp;&nbsp;end
end
eePanels2:RegisterEvent("PLAYER_ENTERING_WORLD", eePanels2.PlayerFrameVisibility)
eePanels2:RegisterEvent("PLAYER_LOGIN", eePanels2.PlayerFrameVisibility)

Second, most of the time if I create a new panel, and add a script to color the border by my target's class, it also does not work, although mysteriously it DID work for one time that I tried it. Note that I am reloading UI often, and definitely after removing any panels or scripts.
Code:
function eePanel1:TargetFrameVisibility(self, event, ...)
&nbsp;&nbsp;&nbsp;&nbsp;local _, class = UnitClass("target");
&nbsp;&nbsp;&nbsp;&nbsp;if class == "WARRIOR" then
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;THIS:SetBackdropBorderColor(0.780,0.611,0.431,1)
&nbsp;&nbsp;&nbsp;&nbsp;elseif class == "PRIEST" then
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;THIS:SetBackdropBorderColor(1,1,1,1)
&nbsp;&nbsp;&nbsp;&nbsp;elseif class == "DRUID" then
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;THIS:SetBackdropBorderColor(1,0.490,0.0392,1)
&nbsp;&nbsp;&nbsp;&nbsp;elseif class == "HUNTER" then
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;THIS:SetBackdropBorderColor(0.6705,0.8313,0.4509,1)
&nbsp;&nbsp;&nbsp;&nbsp;elseif class == "MAGE" then
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;THIS:SetBackdropBorderColor(0.4117,0.8,0.9411,1)
&nbsp;&nbsp;&nbsp;&nbsp;elseif class == "PALADIN" then
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;THIS:SetBackdropBorderColor(0.9607,0.5490,0.7294,1)
&nbsp;&nbsp;&nbsp;&nbsp;elseif class == "SHAMAN" then
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;THIS:SetBackdropBorderColor(0.1411,0.3490,1,1)
&nbsp;&nbsp;&nbsp;&nbsp;elseif class == "WARLOCK" then
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;THIS:SetBackdropBorderColor(0.580,0.5098,0.7882,1)
&nbsp;&nbsp;&nbsp;&nbsp;elseif class == "ROGUE" then
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;THIS:SetBackdropBorderColor(1,0.9607,0.4117,1)
&nbsp;&nbsp;&nbsp;&nbsp;end
end
eePanel1:RegisterEvent("PLAYER_ENTERING_WORLD", eePanel1.TargetFrameVisibility)
eePanel1:RegisterEvent("PLAYER_TARGET_CHANGED", eePanel1.TargetFrameVisibility)

Note that I am doing the obvious thing, and changing where it says eePanel1 or eePanels2 to be the name of the panel listed at the top of the script I have added, so I'm not making that basic mistake.

I am testing these panels without even binding them to a Pitbull frame by changing their parent or anything, just watching the default sized panel in the middle of my screen.

<span style="color:green">Bongos3

As a prot paladin and someone that uses my mouse for movement and hotkeys for spells/abilities/macros exclusively, I have a LOT of hotkeys (50+, all hitable with my left hand in normal typing position and my right hand on my mouse).

I had an idea to take advantage of Bongos3's new Action Set capability. I set up a bar that was 6 columns x 3 rows. I gave it three action sets, and configured it so that shift- brought up action set 2 and alt- brought up action set 3.

I generally have around 18 hotkeys that do not involve shift- or alt-, then shift- versions of those, then alt- versions, so my idea was that the shift- hotkeys would be on action set 2, alt- on action set 3, saving screen space, and allowing my buttons to be larger so the cooldowncount was more visible on the primary ones, etc (lot of advantages with my UI, lets say).

However, it looks like each button on that bar shares hotkeys with the other 2 action sets. Fine....so, for example, on one button I bound the following hotkeys: 5, shift-f, alt-5 and put a different skill on each action set.

Things seemed to work fine. I hit 5, it casts max rank Consecration. I hit shift-f, it casts Seal of Wisdom. I hit alt-5, it casts rank 1 Consecration.

BUT, what I noticed is that if I hit shift-f fast enough, it would take effect before bongos3 had a chance to switch the bar to action set 2, and shift-f would cast max rank consecration. It wasn't just mis-hitting shift-f either, because even if I accidentally hit f without shift being down yet, it would not have cast consecration (it would have triggered my /assist macro).

Anyone set up action sets to work like this effectively? If it isn't possible to get around the problem, is there an alternative way to have a bunch of hotkeys bound to skills/spells that don't have to take up space on my screen?
Jormuttar is Soo Fat...
Reply


Messages In This Thread
eePanels2 & Bongos3 Questions - by Mordekhuul - 04-08-2008, 03:34 PM
eePanels2 & Bongos3 Questions - by Mordekhuul - 04-08-2008, 04:46 PM
eePanels2 & Bongos3 Questions - by Taelas - 04-08-2008, 05:29 PM
eePanels2 & Bongos3 Questions - by Mordekhuul - 04-08-2008, 07:18 PM
eePanels2 & Bongos3 Questions - by Pantalaimon - 04-08-2008, 09:33 PM
eePanels2 & Bongos3 Questions - by Taelas - 04-08-2008, 09:51 PM
eePanels2 & Bongos3 Questions - by PapaSmurf - 04-09-2008, 04:56 AM
eePanels2 & Bongos3 Questions - by Mordekhuul - 04-09-2008, 02:38 PM
eePanels2 & Bongos3 Questions - by PapaSmurf - 04-09-2008, 11:56 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)