• 0

    posted a message on detecting an enchant cast/failed cast
    There's an event called CURSOR_UPDATE that fires when the cursor changes. Maybe start the pixie-dust on DoCraft and stop it on next CURSOR_UPDATE?
    Posted in: Lua Code Discussion
  • 0

    posted a message on Unofficial oUF - methods used for layouts
    Quote from Neal »

    Hello, i've a problem with the OnLeave and OnEnter events :(

    all UF's use this
    	self:SetScript("OnEnter", UnitFrame_OnEnter)
    	self:SetScript("OnLeave", UnitFrame_OnLeave)

    und i want to mouseover the text

     self:SetScript("OnEnter", function() 
          powertext:Show()
          hptext:Show() 
        end)
        
        self:SetScript("OnLeave", function() 
          hptext:Hide()
          powertext:Hide() 
        end)


    But when i Use the Code above i have no tooltip for this units because UnitFrame_OnEnter and UnitFrame_OnLeave doesn't work.

    Have anywhere a answer for this problem? :(

    Sry 4 my bad english^^ i'm german X_x


    Try this:
     self:SetScript("OnEnter", function(self) 
          powertext:Show()
          hptext:Show()
          UnitFrame_OnEnter(self)
        end)
        
     self:SetScript("OnLeave", function(self)
          hptext:Hide()
          powertext:Hide()
          UnitFrame_OnLeave(self)
        end)
    Posted in: Unit Frames
  • 0

    posted a message on Driving me nuts: Quartz/Deadened
    You could try NoSeeNoInterrupt. Basicly same as Deadened. I haven't touched it since Deadened got updated for 2.4 but I still use it (with Quartz) and it works.
    Posted in: AddOn HELP!
  • 0

    posted a message on Reliable way of checking for spell existence?
    Quote from tekkub »

    GetSpellInfo("Spell Name") only returns values if the player knows the spell. GetSpellInfo(spellID) always returns values.


    So a GetSpellInfo(GetSpellInfo(spellID)) should do the trick :)
    Posted in: Lua Code Discussion
  • 0

    posted a message on Boycot screenshots.cc please
    I just had to try, so I turned off AdBlocker and NoScript for that site and I must say I'm very disappointed in the "porn" :P
    Some (dressed) girls smiling and blurry picture of what looks like an elderly couple standing close together. Oh, and a dog with glasses.
    Posted in: General Chat
  • 0

    posted a message on PeriodicTable-3.1
    Seems like a lot of work to save static memory. Is it worth it?
    Posted in: Libraries
  • 0

    posted a message on Unofficial oUF - methods used for layouts
    Quote from SprkFade »

    I read the majority of the thread but is there anyway to include yourself in the party frame? Every setup I looked into has it hidden, as does the default blizzard ui so hopefully someone could direct me as to how I can add myself to it. Any assistance would be appreciated. Thanks.


    party:SetAttribute("showPlayer", true)
    Posted in: Unit Frames
  • 0

    posted a message on Unofficial oUF - methods used for layouts
    Quote from Halcyon »

    Sometimes, not often but still, i have this error, and i have no clue why because i can't figure out what triggers it.

    [2008/06/10 23:44:45-10211-x1]: oUF_P3lim\oUF_P3lim.lua:55: attempt to concatenate field '?' (a nil value)
    oUF-$Id$\ouf.lua:368: in function <Interface\AddOns\oUF\ouf.lua:362>
    <in C code>: in function `Show'
    Interface\FrameXML\SecureStateDriver.lua:72: in function <Interface\FrameXML\SecureStateDriver.lua:62>:
    Interface\FrameXML\SecureStateDriver.lua:109: in function <Interface\FrameXML\SecureStateDriver.lua:79>:
    
     ---


    Line 55 being the one with "name:sub(1,24)"


    Let me guess... It fails when you target snakes from a hunters snake trap?
    UnitClassification(unit) on those snakes return "trivial" and my guess is your levelFormats table don't have an entry for "trivial".
    Posted in: Unit Frames
  • 0

    posted a message on IHML - I Have Macro Lol! - Official thread
    Quote from durcyn »

    public scm url? =(


    svn://svn.curseforge.net/wow/ihml/mainline/trunk
    Posted in: General AddOns
  • 0

    posted a message on IHML - I Have Macro Lol! - Official thread
    Development has moved to CurseForge.
    I'll occasionally upload new "release" versions to the WoWAce SVN but the latest bleeding edge versions can now be found at: http://wow.curseforge.com/projects/ihml/
    Latest release versions will always be found on Curse: http://www.curse.com/downloads/details/12698/

    If you encounter bugs or have any suggestions for enhancements or new features you're welcome to post a ticket for the CurseForge project.
    Posted in: General AddOns
  • 0

    posted a message on Unofficial oUF - methods used for layouts
    Quote from zariel »

    pp.value will be true, use pp.value:GetText() > 0 or so.


    pp.value:GetText() will return a string. Try
    if pp.value:GetText() ~= "" then
    Posted in: Unit Frames
  • 0

    posted a message on IHML - I Have Macro Lol! - Official thread
    Quote from GokieKS »

    Deleted the SV file, loaded game with only IHML and Ace3, still getting the same thing.


    Aha, I found it. Seems to be a problem with removing the currently active macro or removing a macro with no macro active.
    I've started working on a fix, but it don't want to behave like I want it to :P

    EDIT: Should be fixed as of r12 on CurseForge.

    Posted in: General AddOns
  • 0

    posted a message on Help with oUF
    There are no options. If you want to change anything you'll have to change the code.
    Posted in: Unit Frames
  • 0

    posted a message on IHML - I Have Macro Lol! - Official thread
    Quote from durcyn »

    might be useful to add Chrono-Beacon (item id 24289) in the dark portal instance. GetRealZoneText returns "The Black Morass", and you could probably check IsInInstance() as well

    Added.

    Quote from KiraDouji »
    You saved me sooooo much time, energy and space. This mod is freakin' awesome. Thank you.

    You're welcome :)

    Quote from KiraDouji »
    *gives cookies*

    Om nom nom nom! :D
    Posted in: General AddOns
  • 0

    posted a message on Is AceHook-3.0 what I need ?
    You don't have to embed AceEvent-2.0 to listen to its events.

    This is how I do it in IHML:
    		AceLibrary("AceEvent-2.0").RegisterEvent(IHML, "Ace2_AddonEnabled", function(addon)
    			-- do stuff
    		end)
    Posted in: Lua Code Discussion
  • To post a comment, please or register a new account.