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 11-11-18, 09:47 PM
Replies: 8
Views: 263
Posted By myrroddin
If no license is specified, then legally it...

If no license is specified, then legally it defaults to All Rights Reserved. In that case you must fork and modify your work by a certain percentage. I don't remember what that percentage is, and it...
Forum: General Authoring Discussion 11-09-18, 05:58 AM
Replies: 17
Views: 577
Posted By myrroddin
Minor quibble, but since you need to document......

Minor quibble, but since you need to document... Lua is the name, it is Portuguese for "Moon", and it is not an acronym, meaning it is not LUA.

Not related to your project, but it is just like the...
Forum: Lua/XML Help 11-07-18, 05:39 PM
Replies: 3
Views: 182
Posted By myrroddin
Sorry for the delay as I was not at home. Anyway,...

Sorry for the delay as I was not at home. Anyway, if I understand it correctly, if I want to clear the text (I do not want to clear the tab names themselves) of both the chat frames and their docked...
Forum: Lua/XML Help 11-04-18, 11:33 PM
Replies: 3
Views: 182
Posted By myrroddin
Cycle through tabs in a chat window

Is there a way to programmatically cycle through the chat tabs in a chatframe? For example, in my ChatFrame1, I have General, Log, Guild, but what if you don't know how many tabs a user has, or what...
Forum: Lua/XML Help 11-03-18, 11:44 AM
Replies: 8
Views: 228
Posted By myrroddin
I think I solved it with your hints, tips, and...

I think I solved it with your hints, tips, and extra eyes. I'll trim out the extra code, so the line numbers won't line up, but it gets the point. I will know for sure next time I log in. The...
Forum: Lua/XML Help 11-03-18, 10:20 AM
Replies: 8
Views: 228
Posted By myrroddin
In Ace, values = AddOnList is a table, and it...

In Ace, values = AddOnList is a table, and it looks like the key is a number and value in this case is a string (although it could be anything valid). In other words:
values = k, v
No worries that...
Forum: Lua/XML Help 11-02-18, 10:25 PM
Replies: 8
Views: 228
Posted By myrroddin
Ah ha. Here's my entire code. I'll load into game...

Ah ha. Here's my entire code. I'll load into game shortly to test. After line adjustments, I am trying to populate line 186 with the values contained in AddOnList. I don't need a table inside a...
Forum: Lua/XML Help 11-02-18, 07:02 PM
Replies: 8
Views: 228
Posted By myrroddin
Need a second set of eyes to spot the error

I am getting an "unexpected symbol near 'local'" error, and for the life of me, I can't see the thing. Is the word "list" a bad name for a variable in Lua and I missed the memo?

Full error:
3x...
Forum: Lua/XML Help 10-30-18, 04:46 PM
Replies: 12
Views: 290
Posted By myrroddin
You've tried all the combinations you thought of,...

You've tried all the combinations you thought of, but did you try
if UnitIsUnit("targettarget", "player" then
-- do stuff
end
Forum: Lua/XML Help 10-27-18, 11:18 PM
Replies: 9
Views: 243
Posted By myrroddin
To disable if the unit is not the player, add...

To disable if the unit is not the player, add this where appropriate:
disabled = function() return unit ~= "player" end,
Forum: Lua/XML Help 10-27-18, 11:13 PM
Replies: 9
Views: 243
Posted By myrroddin
Before I think about your requested issue, your...

Before I think about your requested issue, your functions need to be local functions. Having names like CreateOption and CreateUnitOption in the global namespace is a very bad idea.

Also, you do not...
Forum: Lua/XML Help 10-27-18, 11:33 AM
Replies: 23
Views: 413
Posted By myrroddin
No, don't create the .toc file for LibDataBroker....

No, don't create the .toc file for LibDataBroker. If you have a Libs folder, make sure your zipped upload includes Libs\LibDataBroker-1.1\LibDataBroker-1.1.lua in its file structure, and in your...
Forum: Lua/XML Help 10-26-18, 09:16 PM
Replies: 23
Views: 413
Posted By myrroddin
There hasn't been an update to LibDataBroker-1.1...

There hasn't been an update to LibDataBroker-1.1 in years because it hasn't generated any bugs to squash. The only odd thing about it is that the author chose to not include a .toc file, meaning you...
Forum: Lua/XML Help 10-26-18, 06:11 PM
Replies: 3
Views: 188
Posted By myrroddin
Thanks! I thought PEW might work as well, which...

Thanks! I thought PEW might work as well, which nicely covers if someone crashes during an instance and zones back in.
Forum: Lua/XML Help 10-26-18, 05:22 PM
Replies: 3
Views: 188
Posted By myrroddin
Is this the correct event for instances?

I am looking at ZONE_CHANGED_NEW_AREA to see if the player has zoned into an instance. Any instance, scenario, raid, dungeon, arena, battleground, or whatever else, so long as it is an instance.

I...
Forum: Lua/XML Help 10-26-18, 12:55 PM
Replies: 16
Views: 423
Posted By myrroddin
To answer the OP's question about cycling in...

To answer the OP's question about cycling in reverse:
-- cycle all the units in the party, including the player, in reverse order
local function ReverseParty()
for i = GetNumGroupMembers() + 1,...
Forum: Lua/XML Help 10-26-18, 12:38 PM
Replies: 16
Views: 423
Posted By myrroddin
AFAIK, player is never in partyN, but player will...

AFAIK, player is never in partyN, but player will be in raidN. partyN is 1-4. If you are trying to find out how many total units are in your party, including the player, use GetNumGroupMembers() + 1,...
Forum: Lua/XML Help 10-26-18, 12:29 PM
Replies: 3
Views: 268
Posted By myrroddin
The first two lines should be merged. local...

The first two lines should be merged.
local AFriend = LibStub( blah blah) stuff stuff etc
Forum: Released AddOns 10-24-18, 09:45 PM
Replies: 218
Views: 136,467
Posted By myrroddin
Just flew from Exodar to Azure Watch, and got an...

Just flew from Exodar to Azure Watch, and got an error with version 8.0.004
1x InFlight\InFlight-8.0.004.lua:392: attempt to call method 'Sanitise' (a nil value)
InFlight\InFlight-8.0.004.lua:392: in...
Forum: Graphics Help 10-23-18, 10:55 PM
Replies: 6
Views: 201
Posted By myrroddin
Thank you MuffinManKen. I'll check both versions...

Thank you MuffinManKen. I'll check both versions out, but unless someone is viewing these icons from space, I think the sizes will be fine :)
Forum: Graphics Help 10-23-18, 05:04 PM
Replies: 6
Views: 201
Posted By myrroddin
Terenna, perfect! Thank you so very much...

Terenna, perfect! Thank you so very much :D

Fizzlemizz, thank you for clarifying for me! :D

Now to make the addon... :banana:
Forum: Graphics Help 10-23-18, 02:09 PM
Replies: 6
Views: 201
Posted By myrroddin
Help with making an icon

Attached is a great picture of an aardvark, which I would like to use as an icon for an AddOn. However, I don't know how to use GIMP all that well, and don't own Photoshop.

What I'd like is no...
Forum: AddOn Search/Requests 10-04-18, 02:17 PM
Replies: 3
Views: 214
Posted By myrroddin
As Semlar said, you can do it with the base UI,...

As Semlar said, you can do it with the base UI, but if you are wanting access via a mini map icon or LDB/Broker button, I use SpecializationEquip...
Forum: Lua/XML Help 10-04-18, 02:15 PM
Replies: 7
Views: 353
Posted By myrroddin
Just so you know in future, events are entirely...

Just so you know in future, events are entirely capitalized, like UNIT_AURA, whereas API instructions are camel-cased, like AuraUtil.FindAuraByName.
Forum: Lua/XML Help 10-04-18, 02:10 PM
Replies: 1
Views: 203
Posted By myrroddin
UnitGUID requires the unit to actually be in the...

UnitGUID requires the unit to actually be in the game, while UnitExists could be someone in the game or merely in remote chat. At least that's how I would interpret the intent. Also, UnitExists can...
Showing results 1 to 25 of 500