Quantcast WoWInterface - Search Results
Showing results 1 to 25 of 500
Search took 0.04 seconds.
Search: Posts Made By: semlar
Forum: Lua/XML Help 02-13-18, 05:06 PM
Replies: 3
Views: 108
Posted By semlar
It can be turned off, it's one of the name...

It can be turned off, it's one of the name options. I don't know what cvar controls it off the top of my head but I know it can be toggled in the interface menu.
Forum: Lua/XML Help 02-13-18, 04:17 AM
Replies: 2
Views: 110
Posted By semlar
It's unclear to me what you're trying to do from...

It's unclear to me what you're trying to do from the screenshot and your description, but you can give the illusion of making a section of a texture transparent by placing two textures side by side,...
Forum: Lua/XML Help 02-05-18, 01:48 PM
Replies: 8
Views: 372
Posted By semlar
Read the Lua Basics section from this post...

Read the Lua Basics section from this post (https://www.mmo-champion.com/threads/817817-Creating-Your-Own-WoW-Addon), and consider clicking through the introduction section of the lua manual...
Forum: General Authoring Discussion 01-21-18, 04:28 PM
Replies: 7
Views: 274
Posted By semlar
I use this technique in Crack Cooldown...

I use this technique in Crack Cooldown (https://wow.curseforge.com/projects/crackcooldown) to show the duration of your buffs and debuffs on your action buttons, but it only works when the name of...
Forum: Lua/XML Help 01-12-18, 09:02 PM
Replies: 6
Views: 297
Posted By semlar
That will only work for units with a valid UnitID...

That will only work for units with a valid UnitID like your target or mouseover.

The closest you can get to tracking what you're in combat with is to monitor the combat log for every hostile...
Forum: AddOn Help/Support 01-11-18, 08:57 PM
Replies: 34
Views: 1,051
Posted By semlar
Alt-F4ing out of the game does not prevent it...

Alt-F4ing out of the game does not prevent it from writing to the disk before it exits, unless it crashes during the process.
Forum: Lua/XML Help 01-11-18, 02:12 PM
Replies: 67
Views: 19,725
Posted By semlar
Upvaluing globals is a micro-optimization that...

Upvaluing globals is a micro-optimization that you shouldn't bother actively thinking about when you're coding; looking up a variable is very fast and any addon that would see an appreciable...
Forum: AddOn Help/Support 01-11-18, 01:11 PM
Replies: 34
Views: 1,051
Posted By semlar
If this is the case then loading later in the...

If this is the case then loading later in the loading process won't be enough to really solve this problem.

Since any addon can change any cvar at any point while the game is running, to actually...
Forum: AddOn Help/Support 01-11-18, 11:42 AM
Replies: 34
Views: 1,051
Posted By semlar
If he decides to disable AIO it won't be...

If he decides to disable AIO it won't be overriding his settings any more. If he sets his cvars through AIO then it won't matter if they override his addon because they'll be the same.

It does not...
Forum: AddOn Help/Support 01-11-18, 11:17 AM
Replies: 34
Views: 1,051
Posted By semlar
If that were the case, the addon would not need...

If that were the case, the addon would not need to set these cvars when they could be set through AIO, making worrying about the loading process a moot point.
Forum: AddOn Help/Support 01-11-18, 10:19 AM
Replies: 34
Views: 1,051
Posted By semlar
AIO has an option to "enforce" all cvars that...

AIO has an option to "enforce" all cvars that were set the last time you logged out, so temporary and character-specific cvars get reapplied the next time you log into any character.

It's meant to...
Forum: AddOn Help/Support 12-13-17, 06:19 AM
Replies: 20
Views: 2,176
Posted By semlar
Discord has a more robust chat system, is far...

Discord has a more robust chat system, is far more accessible to new users than IRC, and has a client that was actually designed in this century.

The only thing keeping the IRC chat going right now...
Forum: Graphics Help 10-15-17, 10:18 PM
Replies: 23
Views: 911
Posted By semlar
No, none of this is something the average addon...

No, none of this is something the average addon author should even be thinking about.

Unless you have a very compelling reason to ignore the user's UI scale, all you're doing is making your addon...
Forum: Graphics Help 10-12-17, 03:56 PM
Replies: 17
Views: 975
Posted By semlar
A pixel-perfect texture is, by definition, a...

A pixel-perfect texture is, by definition, a specific number of pixels. Every pixel is drawn where it's supposed to be.

You can have a repeating pixel-perfect image, like a 1px border around a...
Forum: Graphics Help 10-11-17, 04:06 PM
Replies: 17
Views: 975
Posted By semlar
While pixel-perfection might be desirable when...

While pixel-perfection might be desirable when trying to draw straight single-pixel borders, it produces hard, jagged lines everywhere else. A pixel-perfect image also can't be scaled, so will end up...
Forum: Graphics Help 10-10-17, 05:27 PM
Replies: 17
Views: 975
Posted By semlar
When I made pixel perfect nameplates some years...

When I made pixel perfect nameplates some years ago, rather than anchor my frame to the existing nameplates I manually calculated their offset relative to the WorldFrame and moved them OnUpdate...
Forum: Graphics Help 10-06-17, 05:22 PM
Replies: 17
Views: 975
Posted By semlar
Fractions get rounded to the nearest pixel, you...

Fractions get rounded to the nearest pixel, you can't draw something halfway between two pixels.

The client has an internal resolution with a height of 768 pixels (width depends on widescreen...
Forum: AddOn Help/Support 09-21-17, 04:55 PM
Replies: 4
Views: 452
Posted By semlar
When you hook a script like...

When you hook a script like GameTooltip:HookScript("OnUpdate"), its cpu usage is not measured correctly, it combines every other piece of code that's run along with the hooked function and counts...
Forum: AddOn Help/Support 09-21-17, 01:11 PM
Replies: 4
Views: 452
Posted By semlar
This appears to actually be something I wrote a...

This appears to actually be something I wrote a few years ago on the official forum (https://us.battle.net/forums/en/wow/topic/14928092809#post-7) to hide the cooldown that shows up on your abilities...
Forum: Lua/XML Help 09-20-17, 01:17 PM
Replies: 4
Views: 320
Posted By semlar
A /reload resets the interface to its initial...

A /reload resets the interface to its initial state; regardless of what your addon does, if you've properly disabled it and reloaded your ui it will not be doing it any more. The only exception to...
Forum: Lua/XML Help 09-19-17, 08:51 PM
Replies: 9
Views: 381
Posted By semlar
This will throw an error if x and y are both nil.

This will throw an error if x and y are both nil.
Forum: General Authoring Discussion 04-25-17, 04:44 PM
Replies: 20
Views: 3,719
Posted By semlar
There are programs that "unlock" the lua...

There are programs that "unlock" the lua environment for the game, allowing you to do things through the addon api that you wouldn't normally be allowed to do.

Since they very clearly have friendly...
Forum: Lua/XML Help 04-19-17, 01:50 PM
Replies: 5
Views: 735
Posted By semlar
Since the UI lists out your currencies on the...

Since the UI lists out your currencies on the vendor frame, you can look at how it does that (https://www.townlong-yak.com/framexml/live/MerchantFrame.lua#817) to get your currency counts.

It calls...
Forum: Lua/XML Help 04-18-17, 03:56 PM
Replies: 5
Views: 735
Posted By semlar
Looks like you can just call...

Looks like you can just call GetMerchantItemCostItem (http://wowprogramming.com/docs/api/GetMerchantItemCostItem) for the item link and then call GetItemCount(itemLink, false, false, true) for your...
Forum: General Authoring Discussion 04-13-17, 04:33 AM
Replies: 2
Views: 575
Posted By semlar
You can call the function PickupSpell(spellID) on...

You can call the function PickupSpell(spellID) on spells that you don't know yet and place them on your action bar, but I believe the game will remove them from your bars when you relog, so you would...
Showing results 1 to 25 of 500