Showing results 1 to 21 of 21
Search took 0.00 seconds.
Search: Posts Made By: fatrog
Forum: Lua/XML Help 01-15-24, 01:44 PM
Replies: 4
Views: 888
Posted By fatrog
To be honest, I can't remember when I started...

To be honest, I can't remember when I started this so I have no idea where "placeholderG" comes from but I can assure you I didnt invented this name because it is not the style of naming I'm...
Forum: Lua/XML Help 01-15-24, 12:58 PM
Replies: 4
Views: 888
Posted By fatrog
trying to call placeholderG a nil value

Hello, I have a problem with this bit

local function GetMacroIDInfos(tt)
spellID = nil

displayedName = placeholderG[tt:GetName().."TextLeft"..1]:GetText()
...
Forum: Lua/XML Help 11-21-23, 09:49 AM
Replies: 4
Views: 939
Posted By fatrog
Oh, maybe it's not the right spot for spellId,...

Oh, maybe it's not the right spot for spellId, where can I get the info? because on the combatlog events page on wiki I can't find it or it shown as first.. idk why

Yes, It was a bad pasta, my bad:...
Forum: Lua/XML Help 11-20-23, 12:21 PM
Replies: 4
Views: 939
Posted By fatrog
Troubles checking debuff on raid members

Hello,

I have made a custom tiny addon just for my personal use. (It helps me getting better with addon making)
My goal is to put a symbol on the 4 players who got the debuff "Controlled Burn" (used...
Forum: Lua/XML Help 01-19-23, 05:33 PM
Replies: 2
Views: 939
Posted By fatrog
Thanks it worked :)

Thanks it worked :)
Forum: Lua/XML Help 01-19-23, 09:16 AM
Replies: 6
Views: 2,054
Posted By fatrog
I'm not sure if I can help you, but have you...

I'm not sure if I can help you, but have you tried to get the target of the spell itself?
spell id of disenchant is 13262
Forum: Lua/XML Help 01-19-23, 07:03 AM
Replies: 2
Views: 939
Posted By fatrog
how to use OnKeyDown so it doesn't block other addon nor the game itself

Hello,

I have this part in my addon

local function onKeyDown(self, key)
-- code
end

local frame = CreateFrame("Frame")
frame:EnableKeyboard(true)
Forum: Lua/XML Help 12-22-22, 09:50 AM
Replies: 4
Views: 1,628
Posted By fatrog
oh ok :( my dream addon sink into oblivion...

oh ok :( my dream addon sink into oblivion then

Thank you for your answers, that was very kind of you (and sorry for your addon)
Forum: Lua/XML Help 12-20-22, 09:51 AM
Replies: 4
Views: 1,628
Posted By fatrog
Ok, thank you so much for this great answer. I'll...

Ok, thank you so much for this great answer. I'll scour the Blizzard_NamePlates api.

So I guess I have to "cheat" to perform what I'm trying to do. I'll use distance with target, but I miss an...
Forum: Lua/XML Help 12-17-22, 08:04 PM
Replies: 4
Views: 1,628
Posted By fatrog
Add frame in world view (like worldframe?)

Hello,

I'd like to create a small addon to add images on top of group members characters (eg. above nameplate). What do I need to read to learn how to do that? I have ended up playing around with...
Forum: Lua/XML Help 12-10-22, 12:37 PM
Replies: 6
Views: 2,007
Posted By fatrog
Ok, i'm stupid. I kept the getItem() method...

Ok, i'm stupid. I kept the getItem() method call..

Thanks for help, all good now
Forum: Lua/XML Help 12-08-22, 11:14 AM
Replies: 6
Views: 2,007
Posted By fatrog
Hello, Thank you so much for explainations. And...

Hello,

Thank you so much for explainations. And sorry for very late answer.

So, as you suggested, I have made it like this:

local function GetItemGCDInfos(tt)
ctt =...
Forum: Lua/XML Help 12-02-22, 07:23 PM
Replies: 6
Views: 2,007
Posted By fatrog
Thank you for your help Ok, by using tooltip...

Thank you for your help

Ok, by using tooltip frame you mean 'GameTooltip' object? It confuses me
Forum: Lua/XML Help 12-02-22, 08:14 AM
Replies: 6
Views: 2,007
Posted By fatrog
noone knows? I wanted to add that it also appens...

noone knows?

I wanted to add that it also appens (obviously) on comparison tooltip (shift key)

Edit:
Ultimately, is there a way to make errors die silently in lua?
Forum: Lua/XML Help 11-30-22, 07:14 AM
Replies: 6
Views: 2,007
Posted By fatrog
How to handle multiple tooltip

Hello,

I have a problem with my tiny addon I made. I get error while its event get triggered by multiple tooltip at once.
eg. when you put your mouse on inventory items while switch it and it show...
Forum: Lua/XML Help 11-24-22, 04:41 PM
Replies: 5
Views: 947
Posted By fatrog
Ok now I know where to search. Than you very much...

Ok now I know where to search. Than you very much :)
Forum: Lua/XML Help 11-24-22, 01:56 PM
Replies: 5
Views: 947
Posted By fatrog
Hey, thank you, I should have known that I had to...

Hey, thank you,
I should have known that I had to check patch changes >,< my bad..

local function GetDisplayGCDInfos(tt)
gcdMS, cooldownMS, spellName, spellName, spellID, itemName, ItemLink =...
Forum: Lua/XML Help 11-24-22, 10:30 AM
Replies: 5
Views: 947
Posted By fatrog
I have check others post about tooltip, but I...

I have check others post about tooltip, but I can't find people discussing about that new line disappearing.

Any idea?
Forum: Lua/XML Help 11-23-22, 05:15 PM
Replies: 5
Views: 947
Posted By fatrog
AddLine new line disappear

Hello,

I have made this to train myself

local gcdMS, gcdMSControl, cooldownMS, spellName, spellName, spellID, itemName, ItemLink, gcdText

_G["GameTooltip"]:HookScript("onShow",function(this)

...
Forum: Lua/XML Help 11-23-22, 02:30 PM
Replies: 1
Views: 725
Posted By fatrog
I got myself through it :) here's how I did...

I got myself through it :)

here's how I did it

_G["GameTooltip"]:HookScript("onShow",function(this)

local cooldownMS, gcdMS, spellName
local spellName, spellID = this:GetSpell()
local...
Forum: Lua/XML Help 11-23-22, 11:58 AM
Replies: 1
Views: 725
Posted By fatrog
Cannot get spell id from tooltip generated by metashowtooltip

Hello,

I'm facing a problem while trying to get spellid from tooltips. When I try to get it from a macro tooltip, it returns nil

Here is my...
Showing results 1 to 21 of 21