Quantcast WoWInterface - Search Results
Showing results 1 to 25 of 500
Search took 0.04 seconds.
Search: Posts Made By: myrroddin
Forum: oUF (Otravi Unit Frames) 04-18-19, 05:15 PM
Replies: 2
Views: 135
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: 394
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: 263
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: 263
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: 3,253
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: 285
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: 225
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: 225
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: 340
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: 237
Views: 140,215
Posted By myrroddin
Awesome, thank you. :D

Awesome, thank you. :D
Forum: Lua/XML Help 01-22-19, 02:54 AM
Replies: 3
Views: 308
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: 723
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: 242
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: 242
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: 279
Posted By myrroddin
Damn... :eek:

Damn... :eek:
Forum: Lua/XML Help 01-12-19, 12:50 PM
Replies: 5
Views: 279
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: 279
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: 279
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: 261
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.
Forum: General Authoring Discussion 01-10-19, 11:00 PM
Replies: 1
Views: 213
Posted By myrroddin
You can also look at AddOnSkins...

You can also look at AddOnSkins (https://www.curseforge.com/wow/addons/addonskins) for inspiration.

There is no public API that I know, but ElvUI\Modules\skins.lua has the code to skin most...
Forum: Lua/XML Help 01-07-19, 09:37 AM
Replies: 5
Views: 420
Posted By myrroddin
Look at the Custom Controls example here:...

Look at the Custom Controls example here: https://www.wowace.com/projects/ace3/pages/ace-config-3-0-options-tables

You would need to create a defaults table and an options table, register them with...
Forum: Lua/XML Help 01-06-19, 08:18 PM
Replies: 12
Views: 395
Posted By myrroddin
In your other thread, these would be...

In your other thread, these would be equivalent:
local _, HiddenFrames = ...
print(type(HiddenFrames))
-- >>> "table"

local HiddenFrames =...
Forum: Lua/XML Help 01-06-19, 08:05 PM
Replies: 5
Views: 420
Posted By myrroddin
That's the key point. The font you are using for...

That's the key point. The font you are using for Polish doesn't have those characters mapped, and displays them as ? instead. There are unicode fonts out there, and LibSharedMedia-3.0 supports them...
Forum: Lua/XML Help 01-06-19, 07:51 PM
Replies: 8
Views: 376
Posted By myrroddin
I do, yes. Otherwise the object is in the global...

I do, yes. Otherwise the object is in the global name space, which is bad more often than getting away with it, and it is never good.

The name HiddenFrames is incredibly generic, and 99.99% likely...
Forum: Lua/XML Help 01-05-19, 06:07 AM
Replies: 8
Views: 376
Posted By myrroddin
You can go even simpler. On a side note, I added...

You can go even simpler. On a side note, I added local to the first line.
local HiddenFrames = LibStub("AceAddon-3.0"):NewAddon("HiddenFrames", "AceEvent-3.0")

function:...
Showing results 1 to 25 of 500