Quantcast WoWInterface - Search Results
Showing results 1 to 25 of 500
Search took 0.03 seconds.
Search: Posts Made By: myrroddin
Forum: Lua/XML Help Yesterday, 10:55 PM
Replies: 8
Views: 134
Posted By myrroddin
This line should be in OnInitialize, and not in...

This line should be in OnInitialize, and not in your defaults table. Here (https://www.wowace.com/addons/ace3/pages/ace-db-3-0-tutorial/) is the Ace3 tutorial.
self.db =...
Forum: Lua/XML Help Yesterday, 10:44 PM
Replies: 5
Views: 84
Posted By myrroddin
(Re)creating frames every time those functions...

(Re)creating frames every time those functions get called, or the for loop runs gives me cold shivers. Create all those frames outside your functions and loops; then alter the parameters when the...
Forum: Lua/XML Help 08-26-16, 12:29 AM
Replies: 7
Views: 261
Posted By myrroddin
Your first problem is line 2. Assuming LeecherDB...

Your first problem is line 2. Assuming LeecherDB is in your ToC, then it is already a global, yet you define it again. Delete line 2.

Continuing, I didn't spend a lot of time looking at which part...
Forum: Wish List 08-22-16, 05:12 AM
Replies: 3
Views: 200
Posted By myrroddin
That's because Blizzard didn't track that data,...

That's because Blizzard didn't track that data, and thus there is no way to backtrack for vanilla and TBC.
Forum: Lua/XML Help 08-16-16, 12:41 AM
Replies: 6
Views: 351
Posted By myrroddin
If you want to go full Lua, these might help. ...

If you want to go full Lua, these might help.

http://wow.gamepedia.com/UIOBJECT_Slider
http://wow.gamepedia.com/Widget_API#ScrollFrame
Forum: Lua/XML Help 08-08-16, 09:14 PM
Replies: 7
Views: 249
Posted By myrroddin
Try SetPoint("TOPLEFT") but setting both...

Try SetPoint("TOPLEFT") but setting both justifications to "MIDDLE" or "BOTTOMRIGHT" or some combination other than "TOP" and "LEFT" and watch what happens.
Forum: Lua/XML Help 08-08-16, 08:54 AM
Replies: 21
Views: 352
Posted By myrroddin
1. You provide an option for your users to turn...

1. You provide an option for your users to turn on/off your AddOn. If you don't want that POWAH, let Ace3 call OnEnable() itself. And OnDisable() for that matter.
4. Hey, if it works, it works. I...
Forum: Lua/XML Help 08-08-16, 08:44 AM
Replies: 21
Views: 352
Posted By myrroddin
You can also look at Blizzard's globalstrings.lua...

You can also look at Blizzard's globalstrings.lua (https://www.townlong-yak.com/framexml/beta/GlobalStrings.lua) to see if there is any words or phrases they have already translated. For example, do...
Forum: Lua/XML Help 08-08-16, 08:14 AM
Replies: 21
Views: 352
Posted By myrroddin
https://www.wowace.com/addons/ace3/pages/ace-confi...

https://www.wowace.com/addons/ace3/pages/ace-config-3-0-options-tables/
Forum: Lua/XML Help 08-08-16, 08:11 AM
Replies: 21
Views: 352
Posted By myrroddin
Here is some more stuff. Your ToC is missing...

Here is some more stuff.

Your ToC is missing CallbackHandler-1.0. It should be listed immediately after LibStub, and without it, most of the Ace3 libs won't work, including AceEvent and AceDB.
I...
Forum: Lua/XML Help 08-08-16, 07:45 AM
Replies: 21
Views: 352
Posted By myrroddin
About your profiles, here's another tip. You...

About your profiles, here's another tip. You don't even need to have the word "Profiles" at all. Again, Ace3 will do stuff automatically for you. The second line is optional. I have it because I want...
Forum: Lua/XML Help 08-08-16, 07:39 AM
Replies: 21
Views: 352
Posted By myrroddin
OnInitialize() is called once, during AddOn...

OnInitialize() is called once, during AddOn startup. Think of it as a very fancy wrapper for ADDON_LOADED, because, among other things, you do not need to weed out all the other AddOns to find...
Forum: AddOn Search/Requests 08-08-16, 07:27 AM
Replies: 3
Views: 119
Posted By myrroddin
Good! If you added or changed something, post...

Good! If you added or changed something, post your code so others can see the working result. :)
Forum: Lua/XML Help 08-08-16, 06:51 AM
Replies: 21
Views: 352
Posted By myrroddin
Okay, before I go deeper into your initial...

Okay, before I go deeper into your initial problem, here's some feedback:

Having a global variable named "P" is near catastrophic. Make that a local variable.
With LibSharedMedia, do not localize...
Forum: AddOn Search/Requests 08-08-16, 06:36 AM
Replies: 3
Views: 119
Posted By myrroddin
http://wow.gamepedia.com/API_GameTooltip_AddLine i...

http://wow.gamepedia.com/API_GameTooltip_AddLine
if UnitClassification("mouseover") == "rare" then
GameTooltip:AddLine("Rare")
end

if UnitIsPlayer("mouseover") then
local className, class =...
Forum: Lua/XML Help 08-08-16, 02:00 AM
Replies: 6
Views: 190
Posted By myrroddin
Vlad, no worries. I didn't even think about...

Vlad, no worries. I didn't even think about reusing the texture look up more effieciently. Good catch!
Forum: Lua/XML Help 08-08-16, 01:56 AM
Replies: 6
Views: 190
Posted By myrroddin
Create a wrapper function that passes a variable,...

Create a wrapper function that passes a variable, in this case, your intended frame. You can also combine lines 2 & 3.
local player_frame = MyAddOn:SkinFrame(PlayerFrame)
local target_frame =...
Forum: Lua/XML Help 08-08-16, 01:43 AM
Replies: 21
Views: 352
Posted By myrroddin
Call AddOn:Refresh() in your AddOn:OnInitialize()...

Call AddOn:Refresh() in your AddOn:OnInitialize() section, after setting up your SVs.
Forum: Lua/XML Help 08-04-16, 06:54 AM
Replies: 5
Views: 193
Posted By myrroddin
Since Jim White "Cladhaire" retired arguably from...

Since Jim White "Cladhaire" retired arguably from WoW, wowprogramming has had less and less functionality, and almost no updates.

Try wowpedia.org instead.
Forum: Released AddOns 08-04-16, 06:52 AM
Replies: 140
Views: 53,303
Posted By myrroddin
Hmm. Does it have a cast time? For that matter,...

Hmm. Does it have a cast time? For that matter, do any of the items listed above have cast times?
Forum: UI Screenshots, Feedback and Design Discussion 08-04-16, 06:50 AM
Replies: 7
Views: 677
Posted By myrroddin
The only thing I can think of is it's easy to...

The only thing I can think of is it's easy to edit and change settings within the game. Plus it has a metric tonne of support AddOns.
Forum: Released AddOns 08-03-16, 12:36 PM
Replies: 140
Views: 53,303
Posted By myrroddin
Phanx and I are trying to track down the spellIDs...

Phanx and I are trying to track down the spellIDs for Brazier of Awakening (http://www.wowhead.com/item=127770/brazier-of-awakening) and Failure Detection Pylon...
Forum: Lua/XML Help 08-01-16, 11:15 PM
Replies: 6
Views: 285
Posted By myrroddin
Or you can get LibUtilities to do the pixel...

Or you can get LibUtilities to do the pixel perfect math stuff for you.

Wowinterface (http://www.wowinterface.com/downloads/info23844-LibUtilities-1.0.html)
Curse...
Forum: Lua/XML Help 08-01-16, 11:06 PM
Replies: 3
Views: 171
Posted By myrroddin
You should also define the table t outside the...

You should also define the table t outside the function. Right now you are (re)creating the table every time the function runs, which is terribad.
Forum: AddOn Help/Support 07-29-16, 07:49 PM
Replies: 4
Views: 160
Posted By myrroddin
Also, you do not need to use select if the first...

Also, you do not need to use select if the first return is all that interests you.

Both of these are identical in function, by way of example. The second adds an unnecessary function/table...
Showing results 1 to 25 of 500