Forum: AddOn Search/Requests
11-05-20, 12:18 AM
|
Replies: 4
Views: 7,840
|
Forum: Lua/XML Help
10-27-20, 04:08 PM
|
Replies: 7
Views: 12,818
Have you checked with...
Have you checked with print(string.find(_G["TooltipTextLeft"..i]:GetText()) that one of the lines actually contains the refund message?
Maybe REFUND_TIME_REMAINING was changed in the pre patch.
|
Forum: Lua/XML Help
10-24-20, 02:32 AM
|
Replies: 7
Views: 12,818
|
Forum: Lua/XML Help
10-10-20, 01:59 AM
|
Replies: 7
Views: 12,818
I scan the tooltip for the...
I scan the tooltip for the BIND_TRADE_TIME_REMAINING string
local tip = CreateFrame("GameTooltip","Tooltip",nil,"GameTooltipTemplate")
local function isTradable(itemLocation)
local itemLink =...
|
Forum: AddOn Help/Support
09-09-20, 12:04 PM
|
Replies: 2
Views: 13,037
|
Forum: AddOn Help/Support
05-05-20, 12:51 AM
|
Replies: 14
Views: 12,139
|
Forum: AddOn Help/Support
04-29-20, 06:56 AM
|
Replies: 3
Views: 9,411
Enable Lua errors:/console scriptErrors 1
The...
Enable Lua errors:/console scriptErrors 1
The second " indicates the end of macrotext.
Therfore in example 2 your macrotext is cut off.
If you want to use special characters inside a string you...
|
Forum: Classic - AddOn Help/Support
04-18-20, 03:08 PM
|
Replies: 3
Views: 7,041
For timers there is C_Timer: ...
For timers there is C_Timer: https://wow.gamepedia.com/API_C_Timer
But in this case you should look into events like LudiusMaximus mentioned it.
|
Forum: AddOn Search/Requests
01-16-20, 04:02 PM
|
Replies: 2
Views: 7,987
|
Forum: Classic - AddOn Help/Support
12-05-19, 01:01 PM
|
Replies: 3
Views: 7,272
The error message says: string expected, got...
The error message says: string expected, got table. Name should be a string but somehow it's a table.
Why is that? C_FriendList.GetFriendInfo(Name) returns a table with a bunch of info:...
|
Forum: AddOn Help/Support
11-24-19, 08:30 AM
|
Replies: 10
Views: 11,767
If you use Kanegasis example, the trigger...
If you use Kanegasis example, the trigger function itself never returns true and your aura will never show up.
You could do this whit custom event.
Custom Trigger - Events: BOSS_KILL,...
|
Forum: Lua/XML Help
10-16-19, 06:10 AM
|
Replies: 3
Views: 2,761
|
Forum: Lua/XML Help
10-16-19, 03:49 AM
|
Replies: 11
Views: 3,516
|
Forum: AddOn Search/Requests
10-16-19, 03:30 AM
|
Replies: 2
Views: 9,053
|
Forum: General Authoring Discussion
10-16-19, 02:00 AM
|
Replies: 2
Views: 5,105
Line 119: Your addon is called...
Line 119: Your addon is called "DevilsHuntersClassic" and not "DevilsHunters"
And all the functions and variables you use should be locals.
|
Forum: Lua/XML Help
09-17-19, 02:30 AM
|
Replies: 4
Views: 3,772
|
Forum: Lua/XML Help
08-29-19, 11:21 AM
|
Replies: 7
Views: 3,470
|
Forum: Lua/XML Help
08-27-19, 10:47 AM
|
Replies: 7
Views: 3,470
I use GetMouseFocus() to determine whether the...
I use GetMouseFocus() to determine whether the mouse is still hovering above the chat.
First I check for names or links. If you hover over one of those f.messageInfo exists.
Next I check if the...
|
Forum: Lua/XML Help
08-27-19, 02:45 AM
|
Replies: 7
Views: 3,470
|
Forum: RealUI
06-25-19, 10:41 PM
|
Replies: 2
Views: 5,826
|
Forum: AddOn Search/Requests
04-17-19, 09:19 AM
|
Replies: 10
Views: 3,732
|
Forum: Lua/XML Help
10-26-18, 05:31 AM
|
Replies: 16
Views: 3,714
If you just replace TabPartyIndex with i you...
If you just replace TabPartyIndex with i you would always target the same player.
For the increasing loop:
i is always 1, 2, 3, 4 and then 5.
We always want the next possible partymember as a...
|
Forum: Lua/XML Help
10-25-18, 10:23 PM
|
Replies: 16
Views: 3,714
local f =...
local f = CreateFrame("Button","TabParty2",nil,"SecureActionButtonTemplate")
f:SetAttribute("type","target")
SecureHandlerWrapScript(f,"OnClick",f,[[
local unit
for i=1,5,1 do
TabPartyIndex =...
|
Forum: Dev Tools
06-26-18, 01:37 PM
|
Replies: 9
Views: 13,183
|
Forum: Dev Tools
02-22-18, 11:17 AM
|
Replies: 16
Views: 27,358
|