- Registered User
Member for 10 years, 8 months, and 11 days
Last active Fri, Oct, 4 2013 14:35:27
- 0 Followers
- 58 Total Posts
- 0 Thanks
Jun 12, 2010These are the addons I use.Posted in: AddOn HELP!
VBM (Vision Boss Mod)
+ a custom made font replacement addon
Like you said the fps drop usually occurs when combat starts (in raids). I can go from 50+ fps out of combat to ~20 when combat starts. I'm gonna try to disable MSBT next time we raid and see if it helps, I wish I could re create the raiding scenario but not even AV fights puts me down to 20 fps..
By the way I'm usually running /combatlog logging for world of logs, could that have any impact on performance?
May 14, 2010I know this is not directly related to programing but I don't know where else to turn. I'm trying to make custom textures and I'm using this tutorial http://www.edowner.net/Texture-Tutorial/.Posted in: Lua Code Discussion
I got everything working except for one small problem, when I set my texture to my object it adds a small glow-like effect to the outer border of my texture. I double checked and my alpha channel in photoshop has no shades of gray, only black and white.
Is this how it's supposed to be? Every texture you add in wow automatically gets this glowy border effect?
Apr 1, 2010Another question, I tried to make a range check on the buttons but my event driven function failed since there are no events that fire as you move in/out of range of something.Posted in: Lua Code Discussion
Looking through blizzards code I noticed it runs an OnUpdate script with range check included. So is that what I have to do? Create my own OnUpdate to check range?
And if so, let's say I do 1 check every second and each check goes through 20 spells, will that create a lot of cpu processing?
Apr 1, 2010What if you did something like thisPosted in: Lua Code Discussion
local function UpdateCooldowns() for i = 1, numSpells do CooldownFrame_SetTimer(_G["frame_name"..i.."Icon"], GetSpellCooldown(table.spell[i])) end end f:RegisterEvent("ACTIONBAR_UPDATE_COOLDOWN") f:SetScript("OnEvent", UpdateCooldowns)
to avoid OnUpdate having to run constantly?
Mar 31, 2010I know how to set attributes but I can't figure out how to put the icon and cooldown on the button, actually I'm really only interested in the cooldown (frame?). I'm probably asking the wrong question here.Posted in: Lua Code Discussion
What I want is a copy of my action bar that's not actually a real action bar, but only displays the icon (or texture) and the cooldown animation.
Mar 30, 2010I want to make my own action bar with a few buttons and I've managed to create the secure action button..Posted in: Lua Code Discussion
local btn = CreateFrame("Button", "test", UIParent, "SecureActionButtonTemplate, ActionButtonTemplate") btn:SetPoint("CENTER") btn:SetNormalTexture("Interface\\Buttons\\UI-Quickslot")
But how do I actually add one of my skills to the button? Including cooldown and icon. :confused:
Also, another question. Is SetHeight and SetWidth completely ignored when you use templates?
Feb 2, 2010Thanks a lot!Posted in: Lua Code Discussion
By the way, is this a good idea?
[I]local btn = CreateFrame("Button", "testButton", UIParent, "SecureActionButtonTemplate, ActionButtonTemplate") btn:SetPoint("CENTER") btn:SetWidth(100) btn:SetHeight(55) btn:SetText("Test") btn:SetNormalTexture("UIPanelButtonUpTexture") [/I] btn:SetAttribute("type1", "macro") btn:SetAttribute("macrotext", "/cast Frost Bolt\n/script print('casting frostbolt')\n[B]/script testButton:Hide()[/B]")
It casts the spell and prints it out and then hides the button, am I using this thing correctly? :p
Feb 2, 2010Nice thanks guys I got it working now, just 1 last question about the SetAttribute. What if I want to perform 2 actions by clicking the button, like this:Posted in: Lua Code Discussion
btn:SetAttribute("type1", "macro") btn:SetAttribute("macrotext", "/cast Frost Bolt") btn:SetAttribute("macrotext", "/script print('casting frostbolt')")
Feb 2, 2010well that didn't work.. I can't even get the button to show up. Am i missing something?Posted in: Lua Code Discussion
local btn = CreateFrame("Button", "test", UIParent, "SecureActionButtonTemplate") btn:SetPoint("CENTER") btn:SetWidth(100) btn:SetHeight(55) btn:SetText("Test")
- To post a comment, please login or register a new account.