CurseForge and Overwolf are joining forces!
Awesome More Information
  • 0

    posted a message on HI, Maybe someone can help with this
    My bad on the Minimap thing. The only thing I've ever done that deals with that is moving the tracker frame which is initially anchored to MinimapCluster.

    Quote from scotsmanjc

    Error
    [string "APLiveframe:OnUpdate"]:1:atempt
    to call global 'APLive_OnUpdate' (a nil value)

    It's complaining because you don't have a function APLive_OnUpdate defined in your lua file. Also, you can't have two APLiveFrame_OnEvent functions defined. You should just combine those two into one function.
    Posted in: AddOn HELP!
  • 0

    posted a message on HI, Maybe someone can help with this
    Where did you get this code? A bunch of things:

    1) Does this code throw errors (relatedly, do you have BugSack installed)? Does the string you send to the chat frame ("AP Live 0.1 Loaded") appear?

    2) PLAYER_POWER isn't an event as far as I know. When do you want your display to update?

    3) Also as far as I know, "Minimap" isn't a frame. MinimapCluster is a frame though. Is that what you mean?

    4) What is MoneyFrame_Update?

    5) You have a typo in this line:
    local increase = (power - SATTACKPOWER_STARTPOWER)
    -- Should be ATTACKPOWER_STARTPOWER, no S


    6) What is SmallAttackFrameTemplate?
    Posted in: AddOn HELP!
  • 0

    posted a message on UISpecialFrames - Esc not working for my frame
    Really? I always just assumed those things were case sensitive because all the Blizz code seems to capitalize them.
    Posted in: Lua Code Discussion
  • 0

    posted a message on OptDep for libraries
    I'm not 100% sure where to post this, but I think that somewhere there should be a post or knowledge base article or something that tells new authors that they have to add libraries to optional dependencies in order for nolib packages to work correctly. I personally only ever found this out through random posts in random threads that I was reading for other reasons.
    Posted in: Libraries
  • 0

    posted a message on Broker_Location
    I take it you run standalone libs? Broker_Location doesn't mark LibTourist as an optional dependency so to fix this you either have to put LibTourist back into the libs folder or to add it as an optional dependency.
    Posted in: AddOn HELP!
  • 0

    posted a message on Positioning text on buttons
    Figured it out with your help, thanks :). Apparently I had to set the button's text to something before I could use GetFontString.
    Posted in: Lua Code Discussion
  • 0

    posted a message on Positioning text on buttons
    If you make a button in XML, there's a child you can provide called ButtonText that you can position using SetPoint to move the text around in the button. How do you do something similar with a button that you've created using Lua? My code for the button is something like this:

    local button = CreateFrame("Button", nil, frame)
    button:SetWidth(136)
    button:SetHeight(20)
    button:SetNormalFontObject(GameFontNormalSmallLeft)
    button:SetHighlightFontObject(GameFontHighlightSmallLeft)


    Again, I want a way to position the button's text so I can offset it from the left side of the button, ideally using SetPoint.
    Posted in: Lua Code Discussion
  • 0

    posted a message on Close frame on escape
    Well I'm using the textures from the auction panel for now and just plan on changing them really slightly. Is there a good place to read about the panel system and that UISpecialFrames thing you mentioned?
    Posted in: Lua Code Discussion
  • 0

    posted a message on Close frame on escape
    When making a visible frame in the UI, is there something you have to do to make it close when you hit the escape button?
    Posted in: Lua Code Discussion
  • 0

    posted a message on LibItemBonus-2.0
    The base item has spell power. The "Elder" suffix only adds mp5 though.
    Posted in: Libraries
  • 0

    posted a message on Inquest - Quest log and tracker addon
    Posted an update that adds localization to the options category titles. I added a string for "Profiles" and changed one of the other options values so those need to be changed in deDE if/when you get the chance. Thanks!
    Posted in: General AddOns
  • 0

    posted a message on New site layout is worse than the old one.
    My only complaint about the new layout is that it seems slower than the old one. For example, I get a little lag when scrolling through pages using the mousewheel where I didn't before.
    Posted in: General Chat
  • 0

    posted a message on Question about localization
    So I should set the packager to use the enUS strings for unlocalized phrases?
    Posted in: Lua Code Discussion
  • 0

    posted a message on Question about localization
    Well I mean I set the packager thing to its default which is to just comment out phrases that don't have translations in that locale.
    Posted in: Lua Code Discussion
  • 0

    posted a message on 3.2 Changes
    I would argue that the default implementation of the Equipment Manager is pretty bad.
    Posted in: General Chat
  • To post a comment, please or register a new account.