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

    posted a message on wowsim - A world of warcraft addon environment simulator
    Quote from jerry
    The strong point of wowsim is its ability to parse XML file and convert them into lua scripts.


    ^_^
    Posted in: Lua Code Discussion
  • 0

    posted a message on UIDropDownMenu
    frame.filtertxt:SetScript("OnClick", function(self, button)
    	ToggleDropDownMenu(1, nil, self.dropdown, self);
    end);
    Posted in: Lua Code Discussion
  • 0

    posted a message on UIDropDownMenu
    I'm using a UIDropDownMenu using the UIDropDownMenuTemplate with a separate frame. It works perfectly fine except when the menu shows if my frame is too high in the interface the menu gets cut off by the top of the screen. How can I make it like GameTooltip where it will expand in a different direction based on where the parent object currently is positioned, if possible?
    Posted in: Lua Code Discussion
  • 0

    posted a message on FauxScrollFrame trouble
    Thanks for your help! I fixed it and it works perfectly. I only had one more problem and in case anyone else ever reads this i'll put the solution. The problem: it wasn't showing the final one (111). With update:

    FauxScrollFrame_Update(frame, totalNumberOfLines, visibleLines, heightOfASingleLine)

    totalNumberOfLines = 56
    visibleLines = 10
    heightOfASingleLine = however tall your buttons are

    You told me to divide totalNumberOfLines by 2 since i'm doing 2 per row (20, 10 on each side)

    Since I had 111 it of course divides to 55.5 since its uneven, and the LUA interpreter apparently just drops the .5 instead of rounding, so the total number came out to 110. I solved it by rounding the 111/2.
    Posted in: Lua Code Discussion
  • 0

    posted a message on FauxScrollFrame trouble
    There's 111 results shown. Every time I scroll down the offset increases by 20. When I can't scroll down anymore its at offset 101. There's 5 displayed (actually 10, but side-by-side) and there's 5 rows that are blank under that. If I scroll up using the scrollbar on the right (1 by 1) the last entry (111) keeps switching from the right column and then alone on the left below the others. Perhaps I misunderstand but isn't FauxScrollFrame supposed to just stop scrolling and 111 would just be one on the left side by itself?
    Posted in: Lua Code Discussion
  • 0

    posted a message on FauxScrollFrame trouble
    Okay, now the full 111 results display (they didn't before, probably because I have the wrong update call) but there's still blank space at the end of the list. What else could be wrong?
    Posted in: Lua Code Discussion
  • 0

    posted a message on Impossible Addons
    What we can do with LUA and add-ons in WoW is limited by what Blizzard gives us. If you could create add-ons using C++ and the WoW client code what would you make and why?
    Posted in: General Chat
  • 0

    posted a message on FauxScrollFrame trouble
    I'll post back my results when Tuesday maintenance is up.
    Posted in: Lua Code Discussion
  • 0

    posted a message on FauxScrollFrame trouble
    I have twenty results displayed 2 per row so ten on each side. For visibleLines do I put 10 or 20?

    Heres a code snippet:

    	frame.itemButtons[i] = CreateFrame("Button", "$parentScrollFrameButton"..i, frame);
    	frame.itemButtons[i]:SetWidth(238);
    	frame.itemButtons[i]:SetHeight(30);
    	if ( i == 1 ) then
    		frame.itemButtons[i]:SetPoint("BOTTOMLEFT", 11, 288);
    	elseif ( i == 2 ) then
    		frame.itemButtons[i]:SetPoint("TOPLEFT", frame.itemButtons[i-1], "TOPRIGHT", 1, 0);
    	else
    		frame.itemButtons[i]:SetPoint("TOPLEFT", frame.itemButtons[i-2], "BOTTOMLEFT", 0, -1);
    	end
    Posted in: Lua Code Discussion
  • 0

    posted a message on FauxScrollFrame trouble
    I have a FauxScrollFrame that has 20 things displayed at any one time. The button indexs go like this

    1:2
    3:4
    5:6
    7:8
    9:10
    11:12
    13:14
    15:16
    17:18
    19:20

    Now, whenever I scroll down there's a large amount of blank space below the last result. I think its because I don't have even 20s, I actually have 111 results to display. When it hits the last entry I want it to be at the bottom of the scrollbar and therefore you can't scroll farther down. How can I do this?
    Posted in: Lua Code Discussion
  • 0

    posted a message on [In development] GuildPanel: A better guild management window
    Quote from NeoDeathXp
    no problem take your time this one looks great!


    Its not my add-on, but thats what any author thinks when they see that question. (from your previous post) =)
    Posted in: Addon Ideas
  • 0

    posted a message on HybridScrollFrame
    Been looking through the Achievement window code and this looks useful. Are there any examples of using it aside from just looking at Blizzard code?
    Posted in: Lua Code Discussion
  • 0

    posted a message on [In development] GuildPanel: A better guild management window
    Quote from Epophis
    And don't listen to those folks saying they won't use it just because of the way the UI looks. :p I think it looks just fine. :D


    We're just saying that we *personally* won't use it due to the appearance and he should be aware that more than one person would like to see it with a way to change the window appearance.

    Quote from NeoDeathXp
    wow im really excited for this one any ETA?


    Its ready when its ready, no author likes being pressured. ;)
    Posted in: Addon Ideas
  • 0

    posted a message on What's hoggin me?
    Quote from Phanx
    Addons can cause that too, though, and the Windows Task Manager won't help you figure out which one. :p


    Yes, but its far more likely that its a background process. Besides, he said he only had Pitbull enabled and I haven't heard of anyone having these problems with it before.
    Posted in: AddOn HELP!
  • 0

    posted a message on What's hoggin me?
    Quote from Chrnotic
    After about 2 months of addon switching, from fanupdates and lols to ace. I suddenly found myself lagging all the time while tanking. FPS drops from 50~ to 10-20 once i find myself in combat, raids in particular... I tried turning off most (or so I thought) CPU hogging addons but in vain. My question would be... could pitbull be the culprit?

    But most of these moments feels mostly like bursts rather than typical "lag". Could perhaps the HDD be at fault? I checked it a couple of times and it comes up clean.


    Assuming you're using Windows i'd suggest keeping Task Manager open sorting by CPU in the process tab. Something probably is spiking at different intervals, and if your CPU hits high numbers (95%+) then you'll experience a momentary FPS 'freeze' (0 for a few seconds). Check and see if anything spikes when your FPS drops, if so post back here with the name of the process.
    Posted in: AddOn HELP!
  • To post a comment, please or register a new account.