Here's an example of how TradeSkill stuff changed from Live to Legion. This code was designed to execute an a passed function on every result for a tradeskill.
Before: Code:
-- Clear the search box focus so the scan will have correct results. Code:
local recipes = _G.C_TradeSkillUI.GetAllRecipeIDs() |
Quote:
|
Quote:
I'd kill for an equivalent for the pet journal. No new indexing would be needed, just fill the table with petIDs for pets the player owns and speciesIDs otherwise. An addon can work it out from there much easier than: - hook C_PetJournal.SetSearchFilter and C_PetJournal.ClearSearchFilter to watch the search being changed (because there's no C_PetJournal.GetSearchFilter) - watch for number of owned pets changing in PET_JOURNAL_LIST_UPDATE - when that happens: - backup the collected/uncollected, types, sources filters - turn on all those filters and clear search - gather pets into a table - restore to backup and restore search |
Tested the animation widget changes. Everything is working fine as far as I can tell.
https://github.com/zorker/rothui/blo...idget/core.lua |
Forgive me if this is covered before, but UnitAura() seems to have a new argument related to nameplates:
local name, rank, texture, count, debuffType, duration, expirationTime, caster, canStealOrPurge, shouldConsolidate, spellId, canApplyAura, isBossDebuff, isCastByPlayer, nameplateShowAll, timeMod = UnitAura(unit, i, filter); Maybe these are the debuffs applied by other players that show on your nameplates? |
Actionbar cooldown timer has changed or was changed this build
Code:
CooldownFrame_SetTimer(self.cooldown, start, duration, enable) Quote:
|
In this build(21863) .tga textures will not be loaded by addons, use .blp instead.GJ BLIZZARD
|
And how do you make .BLP, thats a proprietary image format blizzard made.
Blizzard probably broke a ton of addons again. Going to be a PITA now I have to convert my images everytime I update them by a 3rd party. use paint.net, save file, convert, see how it looks in game. And repeat. Hope this is a bug. Found a converter in the blizzard forums. Glad I found out about this cause I thought my addon was bugged and this saved a lot of time. |
Just do nothing, it will be fixed in a new build. Don't panic because of stuff like that, it happens and it's not intentional.
|
DigitalUtopia made an amazing tool. It can convert BLP<->TGA or BLP<->PNG.
http://www.wowinterface.com/download...Converter.html It converts folders in seconds. Adjust your texture names to work without .tga. Just use the texture name only. WoW will pick tga or blp depending on what it finds first. |
You don't even need to convert your files, the reason textures aren't loading is because it's replacing the extension with ".blp" in the texture path.
If you rename your texture files to end in .blp it will load them. |
Cool, just removed all .TGA extensions from my addon. Then renamed all the tga to blp works fine. Blizzard could of prevented a lot of headaches if they just used a standard image format from the start.
|
ReputationWatchStatusBar seems to have gone the way of the dodo. Anyone got any pointers for how best to resize / move the reputation bar now?
Edit: I'm an idiot for not using /framestack It's ReputationWatchBar.StatusBar now. |
Quote:
|
In today's build (22018), cameraDistanceMax was removed from cvar list.
Since cameraDistanceMaxFactor was restricted from 0 to 1.9, I can't figure out any way to extend the camera distance (except for binary modification). |
Quote:
Code:
local name, rank, texture, count, debuffType, duration, expirationTime, caster, _, nameplateShowPersonal, spellId, _, _, _, nameplateShowAll = UnitAura(unit, i, filter); |
Quote:
I have a list where the content of my list are an icon followed by the spells name using ACE3. I don't see how I can put my icons into the string with the change (if at all possible) EDIT: I fixed it by using: "|T" .. icon .. ":18:18:0:0|t " instead |
Texture:GetTexture() doesn't seem to include the ".blp" extension anymore since build 22133 (July 4), maybe they reverted this change?
It was like this since the Beta, at least (Edit) Another change, the releaseUITextures cvar was removed again Quote:
|
If anyone cares,
GetTradeSkillSelectionIndex() has become TradeSkillFrame.RecipeList:GetSelectedRecipeID() Also GetTradeSkillInfo(recipeID) is replaced by a table produced by C_TradeSkillUI.GetRecipeInfo(recipeID) so if you want the name for example, just do C_TradeSkillUI.GetRecipeInfo(recipeID).name GetRecipeInfo provides tons more information. Here is a dump example from an engineering recipe disabled=false, type="recipe", hiddenUnlessLearned=false, icon=1405810, craftable=true, numSkillUps=1, recipeID=198979, sourceType=1, numIndents=1, difficulty="optimal", name="Intra-Dalaran Wormhole Generator", numAvailable=0, learned=true, favorite=false, categoryID=473 |
All times are GMT -6. The time now is 08:57 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI