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

    posted a message on Prat 2.0 Chat Mod Framework
    Well I am still working on it but I was able to make a temporary fix by checking if the button was anchored topleft then fixing the points to anchor topright.

    I am looking for information on the frame vs font justification and looking for a better solution ie one that doesnt have to be done on every update.
    Posted in: General AddOns
  • 0

    posted a message on FuBar - QuestsFu
    Quote from Sent »

    When you uncheck it, it goes to default frame which has that one quest in it. I just had to abandon those quests, turn it off, then get em again.


    delete the config file when its not working correctly, that solved some of my problems
    Posted in: FuBar AddOns
  • 0

    posted a message on Prat 2.0 Chat Mod Framework
    Quote from sylvanaar »


    d is probably a negative number, the chatframes werent designed for aligning right or center, so itemlinks are in the wrong location the x position "d" in the code is incorrect. So i discard it and try to realign with the start of the line.

    To do what you mention, you first have to understand what the blizzard code is doing to generate the erroneous x position, then correct for that. I


    Thats what is happening when you get the frame width subtracting the string size and then subtracting the initial adjustment (and dividing in half if the string is centered).

    That does not address the update issue with clearallpoints.
    Posted in: General AddOns
  • 0

    posted a message on Prat 2.0 Chat Mod Framework
    more research

    function Prat_Justify:MoveLink(coeff, ...)
     for i=1,select("#", ...) do
      local o = select(i, ...)
        a,b,c,d,e = o:GetPoint()
        if b and b:GetObjectType() == "FontString" and o:GetObjectType() == "Button" then
        	o:ClearAllPoints()
    		p = (b:GetWidth()-b:GetStringWidth())/coeff+d/coeff
        	o:SetPoint(a, b, c, p, e)		
    		DEFAULT_CHAT_FRAME:AddMessage(" ...Result: " .. (b:GetWidth()-b:GetStringWidth())/coeff+d/coeff .. " ...Window width: " .. b:GetWidth() .. " ...string width: " .. b:GetStringWidth() .. " ...d:" .. d .. " ...p: " .. p, 1, 1, 1);
        end
     end
    end


    Ends up with a never ending accumulation

    but if I put clearallpoints right after the setpoint it does it once. I am not sure what that function does since its not on wowwiki
    Posted in: General AddOns
  • 0

    posted a message on Prat 2.0 Chat Mod Framework
    I am really new to lua so I am still trying to figure this out and coming up with strange results.

    I added in a line to output what the calculation is and I get a never ending output of numbers.

    function Prat_Justify:MoveLink(coeff, ...)
     for i=1,select("#", ...) do
      local o = select(i, ...)
        a,b,c,d,e = o:GetPoint()
        if b and b:GetObjectType() == "FontString" and o:GetObjectType() == "Button" then
        	o:ClearAllPoints()
        	o:SetPoint(a, b, c, ((b:GetWidth()-b:GetStringWidth())/coeff)+d/coeff, e)
    		DEFAULT_CHAT_FRAME:AddMessage(" ... " .. ((b:GetWidth()-b:GetStringWidth())/coeff)+d/coeff .. " ... ", 1, 1, 1);
        end
     end
    end


    very strange I would have thought it would have outputed once but it seems to repeat over and over does that mean it has to redraw the button all the time?
    Posted in: General AddOns
  • 0

    posted a message on Prat 2.0 Chat Mod Framework
    Quote from sylvanaar »

    afaik those changes are in the current release. The algorithm does not correct for leading text before the link. So if you are using timestamps or your have some text on the line before the link it will be off.


    Yeah, stupid me posted before looking at the code... after testing its not only time stamps, it looks like the calculation is off, but I am a lua nub and don't know how to fix it.

    In the function Prat_Justify:MoveLink to fix the leading text dont you need to just add the current lead back into it?

    b:GetWidth() gets the window width
    b:GetStringWidth() get the width of the line being printed
    coeff is 1 or 2 depending if centered

    so
    o:SetPoint(a, b, c, (b:GetWidth()-b:GetStringWidth())/coeff, e)
    will always set the itemlink button at the start of the line.

    cant you use the existing d variable to move it over the needed amount or?

    o:SetPoint(a, b, c, ((b:GetWidth()-b:GetStringWidth())/coeff)+d/coeff, e)

    I couldn't it to work but maybe there is something I am missing
    Posted in: General AddOns
  • 0

    posted a message on FuBar - QuestsFu
    Quote from Sent »

    How do I turn off that damn tracker? I want to punch someone in the face having the same questup twice on my screen


    duh right click on the fubar mmenu for questfu and check/uncheck use own tracker.
    Posted in: FuBar AddOns
  • 0

    posted a message on Prat 2.0 Chat Mod Framework
    I found in trac that clicking links in windows other than left justified windows was supposed to be fixed but it does not work.

    Anyone have this working?
    Posted in: General AddOns
  • 0

    posted a message on CharacterInfo
    Can you add items waiting in the mail also?
    Posted in: General AddOns
  • 0

    posted a message on Cartographer Qustions
    Thanks good info, will try it tonight
    Posted in: Addon Ideas
  • 0

    posted a message on Hunter Item Comparision
    Can someone make this into a mod?

    http://files.filefront.com/HICS_30xls/;6692881;;/fileinfo.html
    Posted in: Addon Ideas
  • 0

    posted a message on Dependancies
    Can someone tell me the benifit of breaking blizzards dependancy system is?

    I have been looking for documentation for the end user on the wowace standards for installing mods but am fairly confused.

    I see some !!!standalone packages, some packages with externals that get installed in the same directory without externals, some addons that don't work correctly without externals. Some that are packages... some addons that duplicate the functionality of others and then cause errors. I am lost.

    I will gladly help where I can but am questioning the whole process atm because of the problems I am having just getting working packages.

    I am not sure that the load on demand works since I couldnt get half the mods to work that way and MCP says that they cant load on demand
    Posted in: Addon Ideas
  • 0

    posted a message on Dependancies
    I thought you used to be able to click a addon off and other addon's that depended on that addon would indicate dependancy was missing.

    I seem to be having problems telling what addon needs what. Is this typical or is my wowace setup messed up?
    Posted in: Addon Ideas
  • 0

    posted a message on Top ScoreFu - no mangle tracking.
    Thats because droods are op'd please ask blizzard to give other people drops in bc too!
    Posted in: FuBar AddOns
  • 0

    posted a message on Fubar profiles fubar'd (IMHO)
    /sign

    profiles definately seem fubar'd to me

    I don't know if its limited to just the fubar mod or in general to all ace mods.
    Posted in: FuBar AddOns
  • To post a comment, please or register a new account.