Quantcast WoWInterface - Search Results
Showing results 1 to 25 of 500
Search took 0.04 seconds.
Search: Posts Made By: myrroddin
Forum: Lua/XML Help 05-17-19, 06:03 AM
Replies: 2
Views: 191
Posted By myrroddin
If the addon uses or calls those functions a lot,...

If the addon uses or calls those functions a lot, like in a loop that runs hundreds or thousands of times, or if the functions are tied to event handlers that fire all the time, then creating local...
Forum: General WoW Chat 05-17-19, 05:48 AM
Replies: 1
Views: 415
Posted By myrroddin
That has always been the case, ever since the...

That has always been the case, ever since the launch of WoW. If you are lucky, the item will be mailed to you in the event that your inventory is full. But in the end, monitoring inventory space is...
Forum: General Authoring Discussion 05-12-19, 12:49 PM
Replies: 2
Views: 160
Posted By myrroddin
Modules can have their own saved variables...

Modules can have their own saved variables independently from a main addon. If you do this, treat them just like any other addon.

On the other hand, if you want modules to plug into a main addon's...
Forum: AddOn Search/Requests 05-09-19, 11:57 AM
Replies: 22
Views: 647
Posted By myrroddin
Definitely all speculative, but the going theory...

Definitely all speculative, but the going theory is that Classic is an emulated version 1.12 of the game, while the Lua code will be 8.x with several components stripped out.

We don't know for sure...
Forum: AddOn Search/Requests 05-05-19, 02:02 PM
Replies: 22
Views: 647
Posted By myrroddin
Are you talking about the nameplates above...

Are you talking about the nameplates above people's heads? I can't remember the exact key combination, but it is some variant of v, ctrl-v, or shift-v to hide enemy plates. I think it is the first...
Forum: Chit-Chat 05-04-19, 01:46 PM
Replies: 8
Views: 637
Posted By myrroddin
I have never been to Blizzcon. Maybe one year...

I have never been to Blizzcon. Maybe one year finally, if I get rich. But it won't be this year even if I could afford it. There is NO WAY I am going to install spyware on my phone in order to enter...
Forum: oUF (Otravi Unit Frames) 04-18-19, 05:15 PM
Replies: 2
Views: 438
Posted By myrroddin
PLAYER_DEAD perhaps? I think it only applies to...

PLAYER_DEAD perhaps? I think it only applies to you, not any other unit. If that's the case, it will make your raid frames grey for your player frame within the raid.
Forum: Lua/XML Help 04-13-19, 05:46 PM
Replies: 14
Views: 501
Posted By myrroddin
Maybe I'm missing something (probably), but...

Maybe I'm missing something (probably), but wouldn't naming both fp and ft "FarmootPlayerPortrait" ie: the same global name cause problems?

Wouldn't WoW complain that two frames with the same...
Forum: Lua/XML Help 04-12-19, 05:04 AM
Replies: 5
Views: 319
Posted By myrroddin
I'm not sure if it is in the documentation other...

I'm not sure if it is in the documentation other than reading the Ace3 code, so here's a tip: if you create the toggle mentioned above in your options table, you can set the load state as per user...
Forum: Lua/XML Help 04-12-19, 04:55 AM
Replies: 5
Views: 319
Posted By myrroddin
You can remove hooks if you use...

You can remove hooks if you use AceHook-3.0.

OnDisable is used if you want to create a "standby" mode for your addon. It isn't truly disabled, as the DisableAddOn API is not called. You would use...
Forum: PTR API and Graphics Changes 04-06-19, 05:00 AM
Replies: 28
Views: 4,308
Posted By myrroddin
tkle, you are better off posting this in the...

tkle, you are better off posting this in the Lua/XML help thread in the Developer section of the forums.

Not really to your point, but line 9 contains superfluous code.
if not SUIDB.A_ITEMLEVEL ==...
Forum: Lua/XML Help 04-01-19, 08:18 PM
Replies: 2
Views: 326
Posted By myrroddin
Unless someone pipes up with more information,...

Unless someone pipes up with more information, here's a few things to keep in mind:

The GCD without Haste is 1.5 seconds
With 50% Haste the GCD is 1 second
With 100% Haste the GCD is 0.5 seconds
...
Forum: Lua/XML Help 03-23-19, 09:59 AM
Replies: 3
Views: 273
Posted By myrroddin
That's a great solution. Make a temp frame, set...

That's a great solution. Make a temp frame, set the texture, get the texture path. Why didn't I think of that?
Forum: Lua/XML Help 03-22-19, 09:05 AM
Replies: 3
Views: 273
Posted By myrroddin
Get the texture path from textureID?

I've been searching all over, knowing I missed something basic. I know the following returns the path to the texture, but only if you already know the texture's name, ie: it's a string.
local...
Forum: Graphics Help 03-22-19, 06:29 AM
Replies: 11
Views: 637
Posted By myrroddin
I was just going to say that! They have to be...

I was just going to say that! They have to be powers of 2, so 2x4, 512x1024, 256x128, 64x32, etc, are all fine to use. I think there is an upper maximum, but I don't know what it might be. Obviously...
Forum: Released AddOns 03-18-19, 03:09 PM
Replies: 242
Views: 141,837
Posted By myrroddin
Awesome, thank you. :D

Awesome, thank you. :D
Forum: Lua/XML Help 01-22-19, 02:54 AM
Replies: 3
Views: 329
Posted By myrroddin
Wouldn't checking the player's buffs inform you...

Wouldn't checking the player's buffs inform you which race you've been given? UnitRace() will always return the unit's actual race; that's the point. However, temporary race changes are cosmetic, and...
Forum: Lua/XML Help 01-15-19, 06:49 PM
Replies: 8
Views: 816
Posted By myrroddin
https://wow.gamepedia.com/UI_Scale

https://wow.gamepedia.com/UI_Scale
Forum: Lua/XML Help 01-13-19, 05:35 PM
Replies: 3
Views: 263
Posted By myrroddin
Ah ha, I found a comment on the AceGUI-3.0...

Ah ha, I found a comment on the AceGUI-3.0 Tutorial page (https://www.wowace.com/projects/ace3/pages/ace-gui-3-0-tutorial) that worked. Like him, I am not sure if it is the best solution, but it...
Forum: Lua/XML Help 01-13-19, 11:52 AM
Replies: 3
Views: 263
Posted By myrroddin
my slash command code conflicts with the frame

I don't understand this behaviour. If I comment out all the lines after line 47 the GUI frame shows up and works. I can enter text in the MultiLineEditBox and the Convert button does what it is...
Forum: Lua/XML Help 01-12-19, 01:50 PM
Replies: 5
Views: 306
Posted By myrroddin
Damn... :eek:

Damn... :eek:
Forum: Lua/XML Help 01-12-19, 12:50 PM
Replies: 5
Views: 306
Posted By myrroddin
As for finding valid and invalid (turns out I...

As for finding valid and invalid (turns out I need both, but need to know the difference) this might work:
local valid = true
for w in string.gmatch(text_store, "%d+") do
if string.gmatch(w,...
Forum: Lua/XML Help 01-12-19, 11:51 AM
Replies: 5
Views: 306
Posted By myrroddin
Would the following work, or does this need to be...

Would the following work, or does this need to be more complex?
local valid = string.gmatch(myString, "i:%d+$")
if not valid then
myString = string.gsub(myString, ",", ",i:")
myString = "i:"...
Forum: Lua/XML Help 01-12-19, 11:43 AM
Replies: 5
Views: 306
Posted By myrroddin
Pattern matching is my Kryptonite!

I am writing an external AddOn that converts invalid itemID lists into valid ones for TradeSkillMaster. However, for all that I have been reading on wowpedia.org and the official Lua documentation, I...
Forum: AddOn Search/Requests 01-12-19, 11:28 AM
Replies: 5
Views: 277
Posted By myrroddin
I think every tooltip addon can do this, either...

I think every tooltip addon can do this, either by default or in their options.
Showing results 1 to 25 of 500