Did you install the latest alpha version, or the release version?
Because there has not been a new release version since April and it wont work very well, if at all. The latest alpha versions have some fixes for 4.0 so try that out.
- Curse Premium
Member for 11 years and 19 days
Last active Wed, May, 2 2018 19:37:55
- 0 Followers
- 10 Total Posts
- 0 Thanks
Nov 8, 2010mangeg posted a message on Can't get SexyCooldown to work for my shammy spellsPosted in: AddOn HELP!
Oct 26, 2010mangeg posted a message on Problems with getting a vertical status bar to update on resize.I an not completely sure, but I think you will have to temporary set the value of the bar to 0 in your ChangeHeight() function.Posted in: Lua Code Discussion
Because I think the status bar works the way that if you send in the same value as it already have it wont do any updates to the position of the bar. But once you den kill a mob you send in a new value that is different then the current one and it then updates.
This could be all wrong but I have had the exact same problem that you are describing, but I can't remember if that was the solution since it was some time ago.
At work myself so I cannot test it, but hope it helps.
Jul 22, 2010mRunesPosted in: General AddOns
A simple addon to replace the default Rune Frame and some more.
Download from Curse
- Module based, each module can be turned on/off individually.
- Individual small bars that go from empty to full as the cooldown of the rune ends.
- Optional numeric cooldown on each rune.
- Runic Power
- Runic power shown on a movable bar.
- Current runic power shown as number.
- Change colors of each type of rune (Blood, Unholy, Frost and Death)
- Change the width and height of the runes.
- Change the spacing in between them.
- Change the texture.
- Set the position for the collection of runes.
- Set In- and Out-of-Combat alpha of the runes + one extra setting for out of combat but with runes on cooldown and the same for when runic power is not 0.
- And more...
Mar 30, 2010I am using this for finding out if it is heroic or normal for any type of instance.Posted in: Lua Code Discussion
Then use maxPlayers to see if its 10 or 25man.
_, _, difficultyIndex, _, maxPlayers, dynamicHeroic, isDynamic = GetInstanceInfo() -- If its a dynamic instance then the dynamicHeroic variable can be used 1 = heroic, 0 = normal if isDynamic then if dynamicHeroic == 1 then return true else return false end end -- If inside party dungeon if maxPlayers == 5 and difficultyIndex == 2 then return true -- If dificultyindex is above 2 and in a raid instance elseif difficultyIndex > 2 then return true end return false
Mar 26, 2009I just thought if you delete the reference to something so it is unreachable the garbage collector handles that and deletes it eventually.Posted in: Lua Code Discussion
But I guess frames are different and WoW itself still have references to them?
Mar 25, 2009So I have a question about deleting frames that have scripts attatched to them,Posted in: Lua Code Discussion
for i in ipairs(buttons) do buttons[i] = nil buttons[i] = CreateFrame("Button") -- do some settings to the button buttons[i]:SetScript("OnEnter", function() -- do stuff end) buttons[i]:SetScript("OnLeave", function() -- do stuff end) end
Unless I do
buttons[i]:SetScript("OnEnter", nil) buttons[i]:SetScript("OnLeave", nil)
before running the code that creates the buttons again I seem to get a memory leak losing the memory allocated by the script functions each time. Even after garbagecollect.
So the question is if I am supposed to nil the scripts before deleting the frames, or if I am doing something else wrong.
- To post a comment, please login or register a new account.