Showing results 1 to 25 of 60
Search took 0.00 seconds.
Search: Posts Made By: glupikreten
Forum: AddOn Help/Support 11-10-23, 06:14 AM
Replies: 1
Views: 698
Posted By glupikreten
GetItemInfo from GetLootRollItemInfo

Hi,



I have this function:


local fr = CreateFrame('Frame', nil, UIParent)
fr:RegisterEvent('START_LOOT_ROLL')
fr:RegisterEvent('CONFIRM_LOOT_ROLL')
Forum: Classic - AddOn Search/Requests 09-03-23, 11:06 AM
Replies: 5
Views: 2,003
Posted By glupikreten
isnt this what you are looking...

isnt this what you are looking for?

https://legacy.curseforge.com/wow/addons/classicprofessionfilter-hotfix
Forum: AddOn Help/Support 08-30-23, 03:58 AM
Replies: 2
Views: 585
Posted By glupikreten
It is not my code... its nBuff addon... So i...

It is not my code... its nBuff addon...

So i commented what you pointed out.. and still if i uncomment line 38 i get regular fps drops...

I mean.. if you or someone can see it in a glimpse i...
Forum: AddOn Help/Support 08-30-23, 02:24 AM
Replies: 2
Views: 585
Posted By glupikreten
SecondsToTimeAbbrev fps drops

Hi,

Can someone please explain me why this causes fps drops and/or how to prevent it? :)

local origSecondsToTimeAbbrev = _G.SecondsToTimeAbbrev
local function...
Forum: AddOn Help/Support 10-31-22, 11:39 AM
Replies: 5
Views: 2,032
Posted By glupikreten
Is that for DF? Because i play WOTLK... dunno...

Is that for DF? Because i play WOTLK... dunno anything about v.10 :)

And i didn't even bother to think about other versions of wow :):)
Forum: AddOn Help/Support 10-28-22, 04:21 AM
Replies: 5
Views: 2,032
Posted By glupikreten
Im not very good at lua language so i dont know...

Im not very good at lua language so i dont know if there is a difference but you do 12 hooksecurefunc binds when you could do only one...

this is what i have (not my code.. its from nMainbar.. i...
Forum: AddOn Help/Support 10-27-22, 04:12 AM
Replies: 5
Views: 2,032
Posted By glupikreten
maybe...

maybe

hooksecurefunc(
'PetActionButton_SetHotkeys',
function(self)
...
end
)
Forum: Lua/XML Help 10-13-22, 02:49 AM
Replies: 0
Views: 622
Posted By glupikreten
UI taint - wotlk

Hi,

Why putting this into lua at PLAYER_ENTERINg_WORLD/initiallogin taints UI... and it taints it when change stance in combat (warr, druid...)


SHOW_MULTI_ACTIONBAR_1 = 1
SHOW_MULTI_ACTIONBAR_2 =...
Forum: Lua/XML Help 10-03-22, 09:41 AM
Replies: 0
Views: 778
Posted By glupikreten
IsSpellInRange

Hi,

Can someone please why this doesnt work?
IsSpellInRange("Heroic Strike", "target") but IsSpellInRange("Pummel", "target") does?

Also according to docs:
inRange = IsSpellInRange(spellName,...
Forum: Lua/XML Help 10-03-22, 04:23 AM
Replies: 5
Views: 1,662
Posted By glupikreten
Thank you all kindly

Thank you all kindly
Forum: Lua/XML Help 10-01-22, 11:23 AM
Replies: 5
Views: 1,662
Posted By glupikreten
Thank you .. but it doesn't go thru if... It is...

Thank you .. but it doesn't go thru if...

It is not considered as "FRAME and FRAME" but "string with spaces" if you know what i mean.

i ended up doing this... this seems to be working


local...
Forum: Lua/XML Help 10-01-22, 04:05 AM
Replies: 5
Views: 1,662
Posted By glupikreten
String parse into frame names

Hi,

How would i parse this into proper condition?

local condition
line = 'frame1 and frame2 or frame3'

for token in string.gmatch(line, "[^%s]+") do

if token == "and" or token == "or" then
Forum: Macro Help 09-14-22, 09:38 AM
Replies: 6
Views: 3,339
Posted By glupikreten
Yes.. thank you... i forgot to mention im on...

Yes.. thank you... i forgot to mention im on 3.4.0.. wotlk...

Anyhow one liner is a way to go.. thank you for pointing that out..

And thank you all for help.

Cheers
Forum: Macro Help 09-14-22, 06:00 AM
Replies: 6
Views: 3,339
Posted By glupikreten
That is all true what you both are saying.....

That is all true what you both are saying.. but...

When i spam that macro in stealth it tries to cast Ravage (getting errors if no target/energy)
When i spam that macro in cat form it tries to cast...
Forum: Macro Help 09-13-22, 09:36 AM
Replies: 6
Views: 3,339
Posted By glupikreten
multi stance macro

Hi,

This is the macro im using

#showtooltip
/startattack
/cast [stealth] Ravage
/cast [form:1] Maul
/cast [form:3] Claw
/cast [@mouseover,exists,nodead][] Regrowth
Forum: Lua/XML Help 05-27-22, 01:42 PM
Replies: 0
Views: 730
Posted By glupikreten
UpdatePaperdollStats

Hi,

Is it possible in TBC client to execute this function? UpdatePaperdollStats()

I mean i would love to be able to change stats showing im my character frame like:

If im cat then melee, if im...
Forum: Lua/XML Help 02-02-22, 03:46 AM
Replies: 1
Views: 1,294
Posted By glupikreten
Taint Global Vars

Hi,

In taint.log i see "Global variable CHAT_FLAG_AFK tainted by ..."

_G.CHAT_FLAG_AFK = "[AFK] "

How can i do this without tainting anything... is that possible?

Also i see that
Forum: Lua/XML Help 01-07-22, 03:28 PM
Replies: 4
Views: 2,461
Posted By glupikreten
i guess everything i need is...

i guess everything i need is here...

https://www.wowinterface.com/forums/showthread.php?t=57409

thank you... i came accross that after i searched for CastingInfo()
Forum: Lua/XML Help 01-07-22, 01:43 PM
Replies: 4
Views: 2,461
Posted By glupikreten
what client? https://ibb.co/Hn1sJdn

what client?

https://ibb.co/Hn1sJdn
Forum: Lua/XML Help 01-07-22, 11:01 AM
Replies: 4
Views: 2,461
Posted By glupikreten
UnitCastingInfo

Hi,

Is this supposed to be working or what?

/run print(UnitCastingInfo("target"))
/run print(UnitChannelInfo("target"))


Because i get nil ... UnitCastingInfo("player") works just fine.
Forum: Lua/XML Help 01-05-22, 10:04 AM
Replies: 6
Views: 2,784
Posted By glupikreten
Yes... i know... and when i drop just that piece...

Yes... i know... and when i drop just that piece of code you posted i get error cuz T is uknown variable (at least in classic SoM client)... dunno scope issues or what.. im not wow lua developer.. i...
Forum: Lua/XML Help 01-05-22, 08:49 AM
Replies: 6
Views: 2,784
Posted By glupikreten
That code return error... saying T is not...

That code return error... saying T is not found... i just put self:Cancel() instead...

In any case thank you.. i managed to get it working.
Forum: Lua/XML Help 01-05-22, 04:50 AM
Replies: 6
Views: 2,784
Posted By glupikreten
Hookscript

Hi,

quick 2 questions:

1. how can you remove hookscript from frame upon some condition?
2. what is the best way to wait for some frame to show in UI... and i dont mean to Show() when already...
Forum: General Authoring Discussion 10-17-20, 10:37 AM
Replies: 5
Views: 7,344
Posted By glupikreten
Yup.. i did something similar... thank...

Yup.. i did something similar... thank you.

Problem with spellid is that if you are not 60 and want the calc to scale with max rank of spell.

Anyhow.. i fixed my problem... it works fine... thank...
Forum: General Authoring Discussion 10-17-20, 09:41 AM
Replies: 5
Views: 7,344
Posted By glupikreten
@Rilgamon spells_changed event also first time...

@Rilgamon spells_changed event also first time return nil...

@DahkCeles nice little piece of code... thank you for it... i will make use of it... im not doing anything fancy... all my code is for...
Showing results 1 to 25 of 60