Missing Frames, Events and Functions in Battle For Azeroth
Granted this is from a quick nUI test, but I had got it working for Legion Beta, so assume these were changed in Battle For Azeroth. nUI on Login resulted in 33 unique error messages, some were these events, others what appeared to be Blizzard functions and the rest nUI functions.
Events: >Attempt to register unknown event "PLAYER_AURAS_CHANGED" >Attempt to register unknown event "UNIT_AURA_STATE" >Attempt to register unknown event "UNIT_SPELLCAST_SPELLMISS" >Attempt to register unknown event "PARTY_MEMBERS_CHANGED" >Attempt to register unknown event "UNIT_COMBO_POINTS" >Attempt to register unknown event "UNIT_PVP_UPDATE" >Attempt to register unknown event "RUNE_TYPE_UPDATE" >Attempt to register unknown event "UPDATE_WORLD_STATES" Functions (assumed Blizzard Functions not nUI) : >attempt to index global 'BattlefieldMinimap' (a nil value) >attempt to call upvalue 'GetPlayerMapPosition' (a nil value) Frames (assumed Blizzard Frames not nUI) : >Couldn't find inherited node: SecureFrame This is an event that flagged up as missing when testing my mage portals addon >Attempt to register unknown event "PARTY_CONVERTED_TO_RAID" These came up while logging in with Titan Panel ( and its built in modules activated ) so I could test my Alt ILevel Addon >Attempt to register unknown event "MINIMAP_ZONE_CHANGED" >Attempt to register unknown event "PARTY_MEMBERS_CHANGED" ---- Same as above >attempt to index global 'WorldStateAlwaysUpFrame' (a nil value) And my Alt ILevel addon came up with this one >Attempt to register unknown event "PLAYER_AVG_ITEM_LEVEL_READY" |
Add events that can't be registered for:
|
It looks like they've taken the rank returns out of functions like UnitBuff, UnitDebuff, UnitCastingInfo, UnitChannelInfo.
|
|
COMBAT_LOG_EVENT_UNFILTERED seems to be returning nothing back.
Looks like you have to use CombatLogGetCurrentEventInfo() instead. |
|
Does anyone know what's the BfA replacement for "QuestLogQuests_GetTitleButton" function?
|
Are the documentation .lua files up to date? I ask because they document several functions that, when called, don't seem to exist.
And anyone know of an up-to-date Removed/Name_Changed/Similar API comparison? The map/location related ones are killing me atm. |
Quote:
https://github.com/Ellypse/wow-ui-source/branches And the link Fizzlemizz posted has some additional notes on what they have found to be changed. Comparing the same files between versions will hopefully highlight event and function name changes. |
Quote:
Code:
function QuestLogQuests_AddQuestButton(prevButton, questLogIndex, poiTable, title, level, suggestedGroup, isHeader, isCollapsed, isComplete, frequency, questID, startEvent, displayQuestID, isOnMap, hasLocalPOI, isTask, isBounty, isStory, isHidden, isScaling, layoutIndex) Here is a portion of the Legion QuestMapFrame.lua file that has the function you are talking about. Code:
if (not headerCollapsed) then Code:
if (not headerCollapsed or C_CampaignInfo.IsCampaignQuest(questID)) then |
oUF will have a PR dedicated to the expansion, containing unitframe-related changes:
https://github.com/oUF-wow/oUF/pull/434 |
Thank you, Xrystal!
|
Thank you Fizzlemizz and Xrystal for linking to my observations and my GitHub :D
Please note that I have also started updating the API changes article on Wowpedia with the things I am able to test and confirm in-game. If you can, please consider participating in this article to gather all the changes. |
Blue post with changes went up today.
|
Quote:
|
The changes are really not that bad. Most come down to removing the spell rank from all sorts of places and in some cases also going away from spell name in favor of spellID. All of those are relatively easy to fix.
The Map is the area which really breaks a lot, though. |
Quote:
Also, could anyone tell me if IsHarmfulSpell and IsHelpfulSpell take spellID again or still just spellName? |
Quote:
What is interesting is that the following code block Code:
GameTooltip:AddLine(IsHarmfulSpell(spellName) or "Helpful",1.0,1.0,1.0) |
RegisterUnitEvent seems bugged, simple test code:
Lua Code:
IsEventRegistered return values on Live: true player IsEventRegistered return values on Beta (26491): true I don't know if it has been like this in the previous builds aswell, just stumbled upon it when updating some addons. |
Is an invite required? I just installed beta and logged in.
|
All times are GMT -6. The time now is 08:45 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI