Quantcast WoWInterface - Search Results
Showing results 1 to 25 of 25
Search took 0.02 seconds.
Search: Posts Made By: jlam
Forum: General Authoring Discussion Yesterday, 05:57 PM
Replies: 1
Views: 79
Posted By jlam
Using Moonscript is fine, but you will need to...

Using Moonscript is fine, but you will need to transpile to plain Lua when distributing the addon because Moonscript requires LPeg, which isn't available to the WoW client. But certainly if you...
Forum: Lua/XML Help 01-26-19, 08:47 PM
Replies: 5
Views: 299
Posted By jlam
If you are using UNIT_AURA to track unit debuffs,...

If you are using UNIT_AURA to track unit debuffs, you will need to keep track of the debuffs that you see when UNIT_AURA is received so that the next time you receive UNIT_AURA, you can figure out...
Forum: Lua/XML Help 01-15-19, 02:36 PM
Replies: 4
Views: 306
Posted By jlam
You can look in FrameXML/LossOfControlFrame.lua...

You can look in FrameXML/LossOfControlFrame.lua for examples of how the C_LossOfControl system is meant to be used. However, not every debuff that causes a Loss Of Control event is caught by the...
Forum: Lua/XML Help 01-10-19, 09:18 AM
Replies: 2
Views: 221
Posted By jlam
The GUI just listens for UNIT_POWER_FREQUEST and...

The GUI just listens for UNIT_POWER_FREQUEST and calls UnitPower() from the handler (Interface/Addons/Blizzard_Nameplates), so it doesn't seem to be doing anything differently from what you are...
Forum: Lua/XML Help 01-09-19, 09:09 PM
Replies: 17
Views: 1,422
Posted By jlam
I dry-coded this (didn't run, didn't check for...

I dry-coded this (didn't run, didn't check for syntax errors), but hopefully it gets the idea across. It looks like you're mainly concerned with replacing names with class-colored versions of those...
Forum: Lua/XML Help 01-07-19, 11:50 AM
Replies: 17
Views: 1,422
Posted By jlam
Your function does this when it is invoked: local...

Your function does this when it is invoked:
local words, coloredMessage = {strsplit(' ', chatMessage)}, ''
for i = 1, #words do
...
end
You are not using words in any way further on in the code...
Forum: Lua/XML Help 01-05-19, 09:40 AM
Replies: 4
Views: 246
Posted By jlam
As an alternative that many addons use that have...

As an alternative that many addons use that have a "configuration mode", you can create a dialog button on the screen while in configuration mode that cancels the mode.
Forum: Lua/XML Help 12-29-18, 02:51 PM
Replies: 15
Views: 550
Posted By jlam
Here is one way to shorten it. You're doing the...

Here is one way to shorten it. You're doing the same thing per faction, so you can create a loop that does the same thing. I've renamed some variables to make it more obvious what values they hold. I...
Forum: Lua/XML Help 12-24-18, 08:30 PM
Replies: 6
Views: 396
Posted By jlam
I doubt they will ever update the version of Lua...

I doubt they will ever update the version of Lua (5.1.x) that is embedded into WoW. The changes from 5.1 to 5.2 with function environments will probably break too many things that were written with...
Forum: Lua/XML Help 12-09-18, 08:34 AM
Replies: 3
Views: 362
Posted By jlam
I believe he was just directing interested forum...

I believe he was just directing interested forum users to where the thread was hashed out since the discussion didn't take place here.
Forum: Lua/XML Help 12-04-18, 12:22 PM
Replies: 1
Views: 216
Posted By jlam
Is it possible to post the actual Lua instead of...

Is it possible to post the actual Lua instead of a WA export string?
Forum: Lua/XML Help 11-20-18, 10:32 PM
Replies: 14
Views: 698
Posted By jlam
I don't think that's quite right. AceAddon-3.0...

I don't think that's quite right. AceAddon-3.0 probably registers PLAYER_LOGIN to trigger all of the OnEnable() methods of any Ace3 addons, since OnEnable is only run once per login. ...
Forum: Lua/XML Help 11-18-18, 10:10 AM
Replies: 14
Views: 698
Posted By jlam
I don't think GetSpecialization() returns a spec...

I don't think GetSpecialization() returns a spec ID. You want GetInspectSpecialization() (https://wow.gamepedia.com/API_GetInspectSpecialization), but I think that only returns valid information...
Forum: General Authoring Discussion 11-09-18, 09:40 PM
Replies: 17
Views: 849
Posted By jlam
I wonder if you have seen this project...

I wonder if you have seen this project already?

https://github.com/wowts

There is a TypeScript-to-Lua transpiler as well as a Lua-to-TypeScript transpiler under that project umbrella. It is...
Forum: Wish List 11-19-16, 08:08 PM
Replies: 5
Views: 4,128
Posted By jlam
It sounds like the problem is more that the...

It sounds like the problem is more that the client receives events in a different order than the server generated them sometimes.

Having the server ensure that events are well-ordered when received...
Forum: Wish List 11-18-16, 01:41 AM
Replies: 5
Views: 4,128
Posted By jlam
What's the use-case for this change? Sent from...

What's the use-case for this change?

Sent from my SAMSUNG-SM-G920A using Tapatalk
Forum: Tutorials & Other Helpful Info. 02-14-15, 06:00 PM
Replies: 30
Views: 18,119
Posted By jlam
curseforge-packager...

curseforge-packager (https://github.com/ultijlam/curseforge-packager) is a shell script that you can get from GitHub (https://github.com/ultijlam/curseforge-packager). If you have Git for Windows...
Forum: Dev Tools 01-18-15, 08:03 PM
Replies: 59
Views: 30,578
Posted By jlam
I've not looked at the project code yet, but from...

I've not looked at the project code yet, but from the description I'm uneasy with using Curse's download bandwidth as part of a project to upload to WowInterface. Is there a way to just provide the...
Forum: Site help, bugs, suggestions/questions 01-15-15, 02:34 AM
Replies: 6
Views: 2,237
Posted By jlam
Ah, yes, that threw me as well. Sorry for the...

Ah, yes, that threw me as well. Sorry for the noise.
Forum: Site help, bugs, suggestions/questions 01-14-15, 02:12 AM
Replies: 6
Views: 2,237
Posted By jlam
Supporting Markdown for description & changelog

I'd like to request that Markdown support be added to the descriptions and changelogs when uploading a new file for an addon. This is mostly for convenience -- GitHub supports Markdown for the...
Forum: WoD Beta archived threads 10-12-14, 01:56 AM
Replies: 10
Views: 10,456
Posted By jlam
Ah, having GlobalStrings.lua for all locales will...

Ah, having GlobalStrings.lua for all locales will make this easier. Thanks for the link.
Forum: WoD Beta archived threads 10-11-14, 11:17 AM
Replies: 10
Views: 10,456
Posted By jlam
I'm searching for a way to do this that's...

I'm searching for a way to do this that's locale-independent. The tooltip has the information in a consistent place, but the format of that line differs between locales and also has to deal with...
Forum: General Authoring Discussion 07-26-14, 10:52 AM
Replies: 6
Views: 3,976
Posted By jlam
You'll need to be careful -- the stance numbers...

You'll need to be careful -- the stance numbers do not always match between Mac and PC. You can get the stance number via "stance = GetShapeshiftForm()", but you need to match up the localized name...
Forum: AddOn Help/Support 12-13-13, 09:43 AM
Replies: 10
Views: 5,990
Posted By jlam
There is a Grid layout module that does exactly...

There is a Grid layout module that does exactly that, with the caveats that Phanx mentioned: GridConfigurableLayout. I use it for raiding with Grid and works well.
Forum: Lua/XML Help 12-09-13, 11:40 AM
Replies: 5
Views: 2,797
Posted By jlam
This is how I scan a spellbook in Ovale and deal...

This is how I scan a spellbook in Ovale and deal with flyout spells.

local function ParseHyperlink(hyperlink)
return select(3, strfind(hyperlink,...
Showing results 1 to 25 of 25