Quantcast WoWInterface - Search Results
Showing results 1 to 25 of 500
Search took 0.04 seconds.
Search: Posts Made By: myrroddin
Forum: AddOn Search/Requests 12-09-18, 02:03 PM
Replies: 1
Views: 74
Posted By myrroddin
No AddOn can tell the difference between a base...

No AddOn can tell the difference between a base item and one with tertiary stats, because the game's own auction house can't tell the difference.

However, you can make Tradeskillmaster smarter than...
Forum: Lua/XML Help 11-24-18, 12:29 AM
Replies: 9
Views: 285
Posted By myrroddin
You never defined constructor as file scope, so...

You never defined constructor as file scope, so it doesn't exist on line 208. I think you meant to type either self.constructor or framesConstructor. I didn't really pay enough attention to make sure...
Forum: AddOn Search/Requests 11-22-18, 08:42 AM
Replies: 8
Views: 313
Posted By myrroddin
I don't know of such an AddOn, but I can *ahem*...

I don't know of such an AddOn, but I can *ahem* say that printing the message to /say or any other channel will get annoying very quickly for everybody around you. It would be much better as a...
Forum: Lua/XML Help 11-22-18, 08:30 AM
Replies: 1
Views: 161
Posted By myrroddin
The reason you should never overwrite Blizzard...

The reason you should never overwrite Blizzard functions is because any AddOn that depends on them to work a specific way suddenly won't work, or at the very least won't work as expected. Don't...
Forum: Lua/XML Help 11-21-18, 08:16 PM
Replies: 14
Views: 461
Posted By myrroddin
I sit corrected. I haven't actually looked at...

I sit corrected. I haven't actually looked at Ace3's code in ages.
Forum: Lua/XML Help 11-18-18, 08:37 PM
Replies: 14
Views: 461
Posted By myrroddin
What you are probably seeing, as to why Ace3 is...

What you are probably seeing, as to why Ace3 is giving you "Beast Mastery" whereas non-Ace3 is "No Spec" is because of what I said above. OnInitialize registers ADDON_LOADED, but then unregisters...
Forum: Lua/XML Help 11-18-18, 08:24 PM
Replies: 14
Views: 461
Posted By myrroddin
Ace doesn't touch specialization (or really any...

Ace doesn't touch specialization (or really any event handling except ADDON_LOADED and PLAYER_ENTERING_WORLD).

What Ace does do is want coders to use OnInitialize to set up one-time, fire-and-forget...
Forum: Lua/XML Help 11-11-18, 09:47 PM
Replies: 8
Views: 336
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: 653
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: 226
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: 226
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: 284
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: 284
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: 284
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: 284
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: 380
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: 306
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: 306
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: 473
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: 473
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: 259
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: 259
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: 494
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: 494
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: 328
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
Showing results 1 to 25 of 500