Showing results 1 to 25 of 25
Search took 0.00 seconds.
Search: Posts Made By: Urtgard
Forum: AddOn Search/Requests 11-05-20, 12:18 AM
Replies: 4
Views: 7,211
Posted By Urtgard
What's your idea of a fair payment? Have you...

What's your idea of a fair payment?

Have you tried doing it by yourself? This project is rather simple and would be a good start with addon coding.
Forum: Lua/XML Help 10-27-20, 04:08 PM
Replies: 7
Views: 11,531
Posted By Urtgard
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: 11,531
Posted By Urtgard
How did you search for REFUND_TIME_REMAINING? If...

How did you search for REFUND_TIME_REMAINING?

If you just search for REFUND_TIME_REMAINING it can't work.
Becuase REFUND_TIME_REMAINING contains %s. If you use string.format %s is a placeholder...
Forum: Lua/XML Help 10-10-20, 01:59 AM
Replies: 7
Views: 11,531
Posted By Urtgard
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: 12,479
Posted By Urtgard
You must change how many bars ArkInventory shows...

You must change how many bars ArkInventory shows in one row. I think 5 is the default, therefore you'll always see 5 bars next to each...
Forum: AddOn Help/Support 05-05-20, 12:51 AM
Replies: 14
Views: 9,306
Posted By Urtgard
Is this all of your code? The loop will only run...

Is this all of your code? The loop will only run once on login/reload.

You could take a look at the events when you apply or update a buff.
Then check when the buff expires and use C_Timer to show...
Forum: AddOn Help/Support 04-29-20, 06:56 AM
Replies: 3
Views: 7,935
Posted By Urtgard
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: 4,316
Posted By Urtgard
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,080
Posted By Urtgard
How does World Quests Lists helps you with that?...

How does World Quests Lists helps you with that? Can you post a screenshot?

You know that you can do these quests while mounted?
Forum: Classic - AddOn Help/Support 12-05-19, 01:01 PM
Replies: 3
Views: 4,258
Posted By Urtgard
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: 10,092
Posted By Urtgard
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,238
Posted By Urtgard
You need an event handler and you must tell the...

You need an event handler and you must tell the frame to use this handler.


local frame = CreateFrame("FRAME", "FooAddonFrame");
frame:RegisterEvent("PLAYER_ENTERING_WORLD");
local function...
Forum: Lua/XML Help 10-16-19, 03:49 AM
Replies: 11
Views: 2,868
Posted By Urtgard
break stops the loop. You stop the loop if id ~=...

break stops the loop.

You stop the loop if id ~= factionID but you want to stop it when you found the correct id.

if id == factionID then
--do stuff with id
break
end
Forum: AddOn Search/Requests 10-16-19, 03:30 AM
Replies: 2
Views: 8,391
Posted By Urtgard
Add IPopBarFrame:SetFrameLevel(1) in line 94.

Add IPopBarFrame:SetFrameLevel(1) in line 94.
Forum: General Authoring Discussion 10-16-19, 02:00 AM
Replies: 2
Views: 4,180
Posted By Urtgard
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: 2,805
Posted By Urtgard
If you just want to know approximately how far...

If you just want to know approximately how far away your pet is, you can use IsItemInRange and IsSpellInRange.

That's how LibRangeCheck-2.0 works.
Forum: Lua/XML Help 08-29-19, 11:21 AM
Replies: 7
Views: 2,440
Posted By Urtgard
I've had the same problem with Big Wigs icons in...

I've had the same problem with Big Wigs icons in the chat.

That's why I not only change the alpha value (for smooth fades) but also completly hide the frames.

If you do it that way you'll need a...
Forum: Lua/XML Help 08-27-19, 10:47 AM
Replies: 7
Views: 2,440
Posted By Urtgard
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: 2,440
Posted By Urtgard
A few years ago I made a similiar addon:...

A few years ago I made a similiar addon: https://github.com/Urtgard/Hide-Chat-In-Combat/blob/master/HCIC.lua

Probably not the best solution but maybe it helps.
Forum: RealUI 06-25-19, 10:41 PM
Replies: 2
Views: 5,146
Posted By Urtgard
I think what you mean are the nameplates. The...

I think what you mean are the nameplates.

The default keybind to toggle them is V. With Shift + V and Strg + V you can toggle nameplates for friendly units and all units.
Forum: AddOn Search/Requests 04-17-19, 09:19 AM
Replies: 10
Views: 2,525
Posted By Urtgard
This looks similar:...

This looks similar: https://www.wowinterface.com/downloads/info21119
Forum: Lua/XML Help 10-26-18, 05:31 AM
Replies: 16
Views: 3,031
Posted By Urtgard
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,031
Posted By Urtgard
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: 9,352
Posted By Urtgard
Your videos are expired.

Your videos are expired.
Forum: Dev Tools 02-22-18, 11:17 AM
Replies: 16
Views: 23,142
Posted By Urtgard
Is this still a thing? I hereby authorize WoWI...

Is this still a thing?

I hereby authorize WoWI to automatically pull the latest version of the following addons from...
Showing results 1 to 25 of 25