Forum: Classic - AddOn Search/Requests
06-27-22, 02:01 AM
|
Replies: 2
Views: 137
First of all, there's a distinct difference...
First of all, there's a distinct difference between an addon and a 3rd party tool.
An addon for WoW is a set of scripts written in Lua and/or XML that are loaded by the game itself and have limited...
|
Forum: Lua/XML Help
06-23-22, 07:04 PM
|
Replies: 3
Views: 338
UnitXP("player")...
UnitXP("player") (https://wowpedia.fandom.com/wiki/API_UnitXP) returns player experience. You should also look at UnitLevel() to check if they're level 1.
|
Forum: Tutorials & Other Helpful Info.
06-22-22, 05:48 PM
|
Replies: 8
Views: 334
I haven't watched any of the streams. I just...
I haven't watched any of the streams. I just don't have the time or attention span really for that format of media. Even so, the way BackdropTemplate was coded, it seems like it's a bridge between...
|
Forum: General Authoring Discussion
06-22-22, 05:03 PM
|
Replies: 2
Views: 233
Can you give an example of a stack trace that...
Can you give an example of a stack trace that you're having trouble with?
A stack trace basically lists all active functions with the currently running one at the top. With few exceptions, it...
|
Forum: Tutorials & Other Helpful Info.
06-22-22, 04:23 PM
|
Replies: 8
Views: 334
|
Forum: Classic - AddOn Help/Support
06-06-22, 05:23 PM
|
Replies: 1
Views: 224
|
Forum: Lua/XML Help
06-06-22, 05:09 PM
|
Replies: 9
Views: 566
Assuming your :get() and :set() functions are...
Assuming your :get() and :set() functions are working correctly, this is a simpler method.
["onclick"]=function(self)
local newvalue=self.options[Wrap((tIndexOf(self.options,self:get()) or...
|
Forum: Macro Help
05-17-22, 10:55 AM
|
Replies: 1
Views: 412
|
Forum: Lua/XML Help
05-09-22, 01:03 PM
|
Replies: 5
Views: 1,250
|
Forum: Lua/XML Help
05-03-22, 05:18 PM
|
Replies: 3
Views: 655
|
Forum: Lua/XML Help
04-27-22, 08:56 PM
|
Replies: 5
Views: 712
|
Forum: AddOn Help/Support
04-27-22, 08:46 PM
|
Replies: 3
Views: 364
|
Forum: Lua/XML Help
04-23-22, 11:27 AM
|
Replies: 6
Views: 699
xpcall() specifically lets you set a specific...
xpcall() specifically lets you set a specific error handler to run if it encounters an error. Even though the Lua documentation doesn't show this, it also allows you to pass arguments to the function...
|
Forum: Lua/XML Help
04-22-22, 10:11 AM
|
Replies: 6
Views: 699
|
Forum: Lua/XML Help
04-21-22, 02:07 PM
|
Replies: 6
Views: 699
|
Forum: AddOn Help/Support
04-21-22, 01:47 PM
|
Replies: 1
Views: 627
Short explanation, no. Running a macro is a...
Short explanation, no. Running a macro is a protected action and can't be done from addons.
Longer explanation, depending on what task you want Player2 to do, you may not need to run a macro to do...
|
Forum: Lua/XML Help
04-21-22, 01:38 PM
|
Replies: 5
Views: 1,250
|
Forum: Lua/XML Help
04-17-22, 01:11 AM
|
Replies: 5
Views: 1,250
A quick and easy way is to copy/paste the code...
A quick and easy way is to copy/paste the code into addon.bool.no (https://addon.bool.no/). You may have to open the .toc file in something like Notepad after you extract everything and make sure the...
|
Forum: General Authoring Discussion
04-06-22, 09:51 AM
|
Replies: 5
Views: 1,307
It's good practice to make local functions...
It's good practice to make local functions instead of global ones whenever you can. It'll help you avoid name collisions like these in the global table.
As with any local variable, you need to...
|
Forum: Lua/XML Help
04-04-22, 05:57 AM
|
Replies: 2
Views: 541
|
Forum: General WoW Chat
04-01-22, 01:09 PM
|
Replies: 6
Views: 1,751
|
Forum: General Authoring Discussion
04-01-22, 01:01 PM
|
Replies: 3
Views: 1,018
|
Forum: Macro Help
04-01-22, 12:44 PM
|
Replies: 1
Views: 464
You need a valid UnitID...
You need a valid UnitID (https://wowpedia.fandom.com/wiki/UnitId) to check anything. Even then, targeting is a protected action, especially in combat when half the entire UI is locked down.
|
Forum: Lua/XML Help
04-01-22, 12:36 PM
|
Replies: 4
Views: 665
|
Forum: Lua/XML Help
03-28-22, 12:17 AM
|
Replies: 4
Views: 665
I honestly prefer using verbose messages over...
I honestly prefer using verbose messages over inserting random nils in where I expect a list. Even if said list is empty. Perhaps if you kept track if the loop has printed anything and at the end,...
|