Quantcast WoWInterface - Search Results
Showing results 1 to 25 of 500
Search took 0.03 seconds.
Search: Posts Made By: Phanx
Forum: AddOn Help/Support 02-20-18, 10:29 AM
Replies: 34
Views: 1,076
Posted By Phanx
Anyway, back on topic, @X33STORM if you can't...

Anyway, back on topic, @X33STORM if you can't just set your CVars through Advanced Interface Options and your current code isn't working, here is the code I've been using to set my CVars for about a...
Forum: AddOn Help/Support 02-20-18, 10:14 AM
Replies: 34
Views: 1,076
Posted By Phanx
You don't need to know anything about XML either...

You don't need to know anything about XML either unless you're writing secure templates, which you (general "you" that applies to anyone who will ever read this post) will almost certainly never do;...
Forum: AddOn Help/Support 02-19-18, 10:46 AM
Replies: 34
Views: 1,076
Posted By Phanx
Let's start over. Your original post implies, but...

Let's start over. Your original post implies, but doesn't actually say, that the code you posted isn't working the way you expect. Is it working as expected, or not? If it is working, what is the...
Forum: General Authoring Discussion 02-19-18, 09:49 AM
Replies: 3
Views: 148
Posted By Phanx
That question doesn't make any sense. Events...

That question doesn't make any sense. Events don't get called. Events fire (that is to say, they are emitted by the game, and that action occurs in the underlying C code, not in the Lua code that...
Forum: AddOn Help/Support 02-19-18, 09:36 AM
Replies: 34
Views: 1,076
Posted By Phanx
My personal UI setup addon sets CVars only on...

My personal UI setup addon sets CVars only on PLAYER_LOGIN, does not register or unregister events on any other frames, and does not name any dependencies, optional or otherwise. This has worked for...
Forum: Lua/XML Help 02-19-18, 04:22 AM
Replies: 26
Views: 1,006
Posted By Phanx
Odd; I was actually playing in Pandaria, and was...

Odd; I was actually playing in Pandaria, and was using the same code in my mount addon back then.

What is the output from /run print(string.format("%8$d %1$s", GetInstanceInfo())) while on the...
Forum: General Authoring Discussion 02-17-18, 04:22 AM
Replies: 3
Views: 148
Posted By Phanx
It's the list of currencies you see when you...

It's the list of currencies you see when you click the "Currency" tab on the bottom of the character (equipped items) frame.

That said, in my own currency addon I just hook (non-intrusively with...
Forum: Lua/XML Help 02-17-18, 03:46 AM
Replies: 2
Views: 129
Posted By Phanx
https://wow.gamepedia.com/API_IsUsableSpell

https://wow.gamepedia.com/API_IsUsableSpell
Forum: Lua/XML Help 02-16-18, 06:48 AM
Replies: 26
Views: 1,006
Posted By Phanx
I've tagged version 2 of LibFlyable. Right;...

I've tagged version 2 of LibFlyable.



Right; this means garrisons will now be treated just like Draenor itself.



I'm not doing any map querying, and don't need to know anything about maps, so...
Forum: Lua/XML Help 02-15-18, 12:52 AM
Replies: 26
Views: 1,006
Posted By Phanx
The intention is (1); addons should be able to do...

The intention is (1); addons should be able to do something like:


if allOtherConditionsForMountingAreMet then
if IsFlyableArea() then
summonHugeDragonOrRocket()
else
...
Forum: General Authoring Discussion 02-15-18, 12:07 AM
Replies: 6
Views: 146
Posted By Phanx
I see you've already replied to the thread, so be...

I see you've already replied to the thread, so be aware I've edited the code in my last post several times in the meantime.
Forum: General Authoring Discussion 02-14-18, 11:42 PM
Replies: 6
Views: 146
Posted By Phanx
I already don't know what the heck you've done...

I already don't know what the heck you've done there. :p

I'd do something like this very light and totally untested system that uses AceDB and replicates the basic features of AceAddon and AceEvent,...
Forum: General Authoring Discussion 02-14-18, 11:10 PM
Replies: 6
Views: 223
Posted By Phanx
Nope! Here's how you would adapt the example...

Nope!

Here's how you would adapt the example from the AceDB-3.0 documentation page (https://www.wowace.com/projects/ace3/pages/api/ace-db-3-0) to use it without AceAddon-3.0. Yellow parts are copied...
Forum: Lua/XML Help 02-14-18, 10:46 PM
Replies: 26
Views: 1,006
Posted By Phanx
It returns false in buildings in Orgrimmar, so I...

It returns false in buildings in Orgrimmar, so I assumed it did that everywhere. However, if that's not the case, then I won't bother checking it in garrisons. You also have a good point...
Forum: General Authoring Discussion 02-14-18, 10:54 AM
Replies: 6
Views: 223
Posted By Phanx
I think you're laboring under a...

I think you're laboring under a misapprehension... Ace3 is a family of standalone libraries. Each Ace(whatever)-3.0 library is totally independent of any of the others, with a few obvious exceptions...
Forum: Lua/XML Help 02-14-18, 10:45 AM
Replies: 26
Views: 1,006
Posted By Phanx
Changes for the class order halls are on...

Changes for the class order halls are on GitHub.



Inside the cave should be covered by "indoors". Normally IsFlyableArea() returns false while indoors, so I'm waiting to hear whether it's actually...
Forum: Lua/XML Help 02-14-18, 04:20 AM
Replies: 26
Views: 1,006
Posted By Phanx
Thanks for the info. Can you get me the...

Thanks for the info. Can you get me the instanceMapIDs from GetInstanceInfo for the bugged ones (demon hunter, monk, shaman, warlock, warrior)? Wowpedia is missing the instanceMapIDs for class...
Forum: Lua/XML Help 02-12-18, 05:42 AM
Replies: 26
Views: 1,006
Posted By Phanx
Can you check if IsFlyableArea() now returns...

Can you check if IsFlyableArea() now returns correct info in all those scenarios? (e.g. false in the mine, buildings, and when swimming; true otherwise). If it does then I can just remove the special...
Forum: Lua/XML Help 02-11-18, 02:38 AM
Replies: 26
Views: 1,006
Posted By Phanx
There is...

There is now:
https://github.com/phanx-wow/LibFlyable

I've had a number of people email me about the IsFlyableArea replacement function in my mount addon, and this weekend have had the inexplicable...
Forum: Lua/XML Help 11-29-16, 09:29 AM
Replies: 68
Views: 4,686
Posted By Phanx
You need to make sure each table in the chain...

You need to make sure each table in the chain exists, and if it doesn't, you need to create it before you can add values in it:


if not addonDB then
addonDB = {}
end
if not addonDB["chars"]...
Forum: Site help, bugs, suggestions/questions 11-29-16, 09:25 AM
Replies: 4
Views: 692
Posted By Phanx
I'm currently using Vivaldi on Linux Mint...

I'm currently using Vivaldi on Linux Mint (basically Ubuntu). I don't know off the top of my head whether it's pre-selected in Firefox or Opera, the other two browsers installed on my computer, as I...
Forum: Lua/XML Help 11-29-16, 09:20 AM
Replies: 8
Views: 1,076
Posted By Phanx
Flashing every second sounds pretty annoying, and...

Flashing every second sounds pretty annoying, and wouldn't actually communicate any useful information. Generally a UI element should only flash to grab the user's attention. However, if nothing...
Forum: Lua/XML Help 11-29-16, 08:58 AM
Replies: 4
Views: 986
Posted By Phanx
There is no such way. Adding items to unit popup...

There is no such way. Adding items to unit popup menus taints the UI, period.


There are plenty of ways you could achieve that without tainting the popup menu:

Put the toggle button on your list...
Forum: General Authoring Discussion 11-29-16, 08:51 AM
Replies: 6
Views: 1,354
Posted By Phanx
If you know when the event occurs, just type...

If you know when the event occurs, just type "/etrace" soon before it happens to bring up the Blizzard event monitor tool. I'd suggest removing some of the super-spammy events like...
Forum: General Authoring Discussion 11-29-16, 08:49 AM
Replies: 8
Views: 829
Posted By Phanx
The "/etrace" command is built into the game and...

The "/etrace" command is built into the game and provides a graphical interface for monitoring all events. You can easily remove events you're not interested in (eg. CLEU) by clicking the "X" next to...
Showing results 1 to 25 of 500