Thread Tools Display Modes
11-24-15, 03:39 PM   #1
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,710
Event changes in Legion

See this thread for diffs: http://www.wowinterface.com/forums/s...ad.php?t=53455

Last edited by p3lim : 05-26-16 at 05:48 AM.
 
04-28-16, 11:35 PM   #2
yoshimo
An Aku'mai Servant
Join Date: May 2006
Posts: 30
Which events are used for learned appearances and for the new class spells you get when your demon hunter kills a certain quest npc?
 
05-25-16, 04:02 PM   #3
Nevcairiel
Premium Member
Premium Member
AddOn Author - Click to view addons
Join Date: Aug 2006
Posts: 63
As a follow up to UNIT_SPELLCAST_* events, the 5th argument does represent the actual spellID now. It was always supposed to, but was apparently bugged initially. So you don't need to parse the GUID just for that.
 
05-25-16, 06:25 PM   #4
galvin
A Frostmaul Preserver
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 265
Thank god!, woot!
 
05-26-16, 12:59 AM   #5
Nevcairiel
Premium Member
Premium Member
AddOn Author - Click to view addons
Join Date: Aug 2006
Posts: 63
Originally Posted by galvin View Post
Thank god!, woot!
It really isn't that big of a deal.
 
04-24-16, 07:09 PM   #6
galvin
A Frostmaul Preserver
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 265
There any lists I can look into?
UNIT_SPELLCAST_START returns different info than live. Having a hardtime finding what it is.
 
04-24-16, 07:17 PM   #7
TOM_RUS
A Warpwood Thunder Caller
AddOn Author - Click to view addons
Join Date: Sep 2008
Posts: 95
Originally Posted by galvin View Post
There any lists I can look into?
UNIT_SPELLCAST_START returns different info than live. Having a hardtime finding what it is.
Code:
if event == "UNIT_SPELLCAST_START" then
    local unitTag, spellName, rank, lineID, spellID = ...;
end
 
04-24-16, 08:21 PM   #8
galvin
A Frostmaul Preserver
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 265
SpellID is not a spellID anymore.
Here is the info I got back from the event.
This is for Solar Wrath spellID 190984

Unit: player
Name: Solar Wrath
Rank: Solar
LineID: 3-2084-1-152-190984-00001D7EA8
SpellID: 569608

Edit: With more testing the last set of digits on the lineID changes when casting over and over. There must be a function to parse the lineID. The SpellID is a random number each time. So its most likely a useless parm now.

Last edited by galvin : 04-24-16 at 08:38 PM.
 
04-25-16, 04:59 AM   #9
Resike
A Pyroguard Emberseer
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,290
Originally Posted by galvin View Post
SpellID is not a spellID anymore.
Here is the info I got back from the event.
This is for Solar Wrath spellID 190984

Unit: player
Name: Solar Wrath
Rank: Solar
LineID: 3-2084-1-152-190984-00001D7EA8
SpellID: 569608

Edit: With more testing the last set of digits on the lineID changes when casting over and over. There must be a function to parse the lineID. The SpellID is a random number each time. So its most likely a useless parm now.
This is retaded, we seriously have to parse a guid string just for the spellID?
 
04-25-16, 07:11 AM   #10
Nevcairiel
Premium Member
Premium Member
AddOn Author - Click to view addons
Join Date: Aug 2006
Posts: 63
We decomposed the new UNIT_SPELLCAST_* GUID some time ago, this is the layout:

3-[server id]-[instance id]-[zone uid]-[spell id]-[cast UID]

So yes, you need to parse this GUID to get the spell id. The cast UID is unique to every single spell cast.
What the last parameter is on the U_S_* events is not yet known. It looks like flags of some sort, but I was unable to determine their meaning.

The GUID has a bunch of advantages, it allows you to clearly group spell cast events together, like the appropriate start with the success or cancel, or whichever.
The previous method the old events offered was generally not very reliable.

Interestingly the FrameXML UI itself seems to not have been updated to properly use these new events.

Last edited by Nevcairiel : 04-25-16 at 07:15 AM.
 
 

WoWInterface » Site Forums » Archived Beta Forums » Legion Beta archived threads » Event changes in Legion


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off