- Registered User
Member for 15 years and 13 days
Last active Fri, Oct, 4 2013 21:30:09
- 0 Followers
- 387 Total Posts
- 0 Thanks
Dec 6, 2009Posted in: Lua Code DiscussionQuote from gamer1224
Edit: You cant os.clock in WoW. Thats pretty lame or im missing something.
WoW doesn't give addons access to os because they don't want people writing stuff to a file.
Nov 28, 2009_ForgeUser292617 posted a message on What does the repair.exe actually do (ie is a Mac Version possible) ?reinstalling doesn't take very long if you keep hold of the patches.Posted in: General Chat
Nov 20, 2009Instead of using an OnUpdate, you could try hooking CreateFrame(), i.e.Posted in: Lua Code Discussion
do local uframe hooksecurefunc("CreateFrame", function(_, _, parent) if parent == Minimap then if not uframe then uframe = CreateFrame("Frame") uframe:SetScript("OnUpdate", function(self) --hide frame children of Minimap self:Hide() end) end uframe:Show() end end) end
Nov 17, 2009Posted in: Lua Code DiscussionQuote from LombraWhile on the subject; in Adapt's code it says that circular masks cannot be applied to 3D models. I think this comment is quite old, but is it still true?
I'm pretty sure that it's still impossible to apply a mask to 3D models.
Nov 15, 2009Posted in: Lua Code DiscussionQuote from airscapeSo apparently SetVertexColor only adjusts the original color values of the texture rather than actually set them.
I wanted to make the playerportrait texture black&white, is this even possible?
You might be able to do it using :SetBlendMode() although I'm not certain.
edit: nvm just use :SetDesaturated(1)
Nov 9, 2009Posted in: Lua Code Discussion
if correctitem == currentitem then
Also if you un-commented out your code, D("Test over.") will never run, as you will return out of the function before D("Test over.") would ever be called.
Oct 19, 2009maybe take a look at astrolabe and more specifically http://wiki.esamynn.org/Astrolabe/API_GetDirectionToIconPosted in: Lua Code Discussion
Oct 19, 2009Posted in: Lua Code DiscussionQuote from bubblecannonI suspect slak is being a little disingenuous.
Not at all, the original question was
So, what's the best way to set up some really basic raid frames?
and from oUFs description
oUF is a unit frame framework. It attempts to simplify the process of writing unit frames for WoW by doing all the trivial and painfully boring parts for you. So you can focus more on experimenting with the look of the frames.
I'm pretty sure oUF will help simplify or assist in creating raid frames.
Oct 12, 2009_ForgeUser292617 posted a message on Newbie needs help on callback for Who list and AceConfig Option tablesPosted in: Ace3Quote from SandmahnDear Slakah,
what is your point in helping me solving my programming problems?
Quickly looked over your code and you have some more pressing issues at hand, i.e.
--- loops until a given time in seconds has passed -- @param seconds - Integer Amount of seconds to wait function GuildAdmin:WaitForSec(seconds) local timer = GetTime()+seconds while GetTime() <= timer do local i = 1 end endUse OnUpdate/Animation/Ace-Timer stuff instead, your method will lock WoW for x seconds (unless your using coroutines iirc).
finally Spam = Bad, and imo this "feature" should be removed in favour of the better built in opt in "Guild recruitment channel".
Oct 9, 2009With the default frames you could do:Posted in: General Chat
local EnumerateFrames = EnumerateFrames local lastframe -- the last frame we met. local otype local function DarkenUnitTex(f) local f = EnumerateFrames(f) while f do otype = f:GetObjectType() if otype ~= "Button" then if otype == "Texture" and f:GetTexture() == [[Interface\TargetingFrame\UI-TargetingFrame]] then f:SetVertexColor(0.6, 0.6, 0.6) end lastframe = f end f = EnumerateFrames(f) end end local function DarkenNewUnitTex() DarkenUnitTex(lastframe) end hooksecurefunc("CreateFrame", DarkenNewUnitTex) DarkenNewUnitTex()
Which will darken all Interface\TargetingFrame\UI-TargetingFrame textures.
- To post a comment, please login or register a new account.