Quantcast
WoWInterface - Search Results
Showing results 1 to 25 of 45
Search took 0.01 seconds.
Search: Posts Made By: glupikreten
Forum: Lua/XML Help 05-27-22, 01:42 PM
Replies: 0
Views: 223
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: 781
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: 1,401
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: 1,401
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: 1,401
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: 1,362
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: 1,362
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: 1,362
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: 6,131
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: 6,131
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...
Forum: General Authoring Discussion 10-17-20, 05:12 AM
Replies: 5
Views: 6,131
Posted By glupikreten
Player entering world event

Hi,

Quick question...

If i register player_entering_world event and upon it i want to print this:
GetSpellPowerCost("Blizzard(Rank 1)")

I will get nil.

Same goes for addon_loaded event ... at...
Forum: Lua/XML Help 10-11-20, 10:48 AM
Replies: 5
Views: 5,828
Posted By glupikreten
Oh never crossed my mind to try something after 0...

Oh never crossed my mind to try something after 0 seconds...

Ill remember that.

Thank you
Forum: Lua/XML Help 10-11-20, 08:07 AM
Replies: 5
Views: 5,828
Posted By glupikreten
PLAYER_LEVEL_CHANGED works... I found...

PLAYER_LEVEL_CHANGED works...

I found PLAYER_LEVEL_UP and just didnt think of searching for other event that fires when player levels up... (or levels can go down too?)

In any case thank you.
Forum: Lua/XML Help 10-11-20, 03:09 AM
Replies: 5
Views: 5,828
Posted By glupikreten
PLAYER_LEVEL_UP event

Hi,

Quick question

If i do something like this



print(UnitMaxXP("player"))
local f = CreateFrame("Frame")
Forum: General Authoring Discussion 10-06-20, 01:01 PM
Replies: 6
Views: 6,873
Posted By glupikreten
It seems to be working... That...

It seems to be working...

That COMBAT_LOG_EVENT_UNFILTERED is not exactly user friendly .. at least not for me.

Anyhow.. thank you .
Forum: General Authoring Discussion 10-06-20, 08:40 AM
Replies: 6
Views: 6,873
Posted By glupikreten
So ... if my pet kills the target only UNIT_DIED...

So ... if my pet kills the target only UNIT_DIED event fires... and all the info i get is:

https://i.postimg.cc/rsFfVCG9/Screenshot-2020-10-06-at-16-33-27.jpg
Forum: General Authoring Discussion 10-06-20, 03:30 AM
Replies: 6
Views: 6,873
Posted By glupikreten
That is not true for pets.. only players afaik....

That is not true for pets.. only players afaik. Tho i will double check that.
Forum: General Authoring Discussion 10-06-20, 03:06 AM
Replies: 6
Views: 6,873
Posted By glupikreten
Combat Log Unfiltered

Hi,

I tried to find answer in Blizzards API and on various forum posts and whatnot but couldn't...

I'm trying to identify pet's kill (overkill)... i know i can listen PARTY_KILL and match source...
Forum: General Authoring Discussion 10-01-20, 04:26 AM
Replies: 2
Views: 4,738
Posted By glupikreten
Regarding gaining xp couldnt you do: ... local...

Regarding gaining xp couldnt you do:


...

local function calculate(event, isInitialLogin, isReloadingUi)
if event == "PLAYER_ENTERING_WORLD" and (isInitialLogin or isReloadingUi) then
maxxp =...
Forum: AddOn Search/Requests 09-04-20, 03:05 AM
Replies: 2
Views: 8,208
Posted By glupikreten
immersion do that... among 1 million other things...

immersion do that... among 1 million other things :)
Forum: General Authoring Discussion 08-02-20, 01:48 AM
Replies: 3
Views: 8,055
Posted By glupikreten
I'm new to lua and wow lua so im trying to get a...

I'm new to lua and wow lua so im trying to get a grasp at how things work and what is life cycle of an addon(s)...

I struggled with this also and havent found any solution besides delaying my...
Forum: Lua/XML Help 07-24-20, 11:27 AM
Replies: 8
Views: 4,355
Posted By glupikreten
https://ibb.co/nsT6sB3 https://ibb.co/0yZ7QHp A...

https://ibb.co/nsT6sB3

https://ibb.co/0yZ7QHp


And i get im noob... wow lua is not my area... still this eludes me:


local function test(init) -- init no init its the same
if init then
Forum: Lua/XML Help 07-24-20, 11:07 AM
Replies: 8
Views: 4,355
Posted By glupikreten
CreateBeautyBorder api has check and returns if...

CreateBeautyBorder api has check and returns if alreadz created.

what puzzles me is /run print(UnitBuff("target",1)) on enemy returns nil for existing frame.
Forum: Lua/XML Help 07-24-20, 09:14 AM
Replies: 8
Views: 4,355
Posted By glupikreten
The issue I'm having is that when I try to /run...

The issue I'm having is that when I try to /run print(UnitBuff("target",1)) on target that is mob or enemy I get nil. On friendly players, it works as it should.

https://freeimage.host/i/dICNOG


i...
Forum: Lua/XML Help 07-24-20, 01:23 AM
Replies: 8
Views: 4,355
Posted By glupikreten
Thank you...

Thank you...
Showing results 1 to 25 of 45