"realmName" no longer a valid CVar
Any instances of GetCVar("realmName") should probably be replaced with GetRealmName().
I'm not sure how early GetRealmName() returns valid information, but you might have to wait until PLAYER_LOGIN. |
Way to go Blizzard! Not even a release note!
I did a mass search and replace (using grepWin) but that isn't enough. Either I play with no addons or instead of playing, I spend the rest of the day doing a binary search for which addons are busted. |
CVar still returns data for me on 5.4.0 (EU so no maintenance yet)
Is that a 5.4.1 thing? |
Quote:
find . -type f -exec grep "GetCVar" {} /dev/null \; | grep realmName Should tell you what still uses realmName (or whatever you choose to replace that with). |
Apparently. I've just been bitten by it after the new download.
Quote:
|
Quote:
|
Quote:
|
Sorry for the "Mac-only" find command. I thought Windows had adopted a bunch of the Unix commands a while back. I don't have anything more modern than Windows NT and I used to use Unix commands in that.
|
The same seems to be for SetCVar("raidFramesDisplayIncomingHeals", 1 ) which is used in nUI. Looking at UnitFrame.lua in the 5.4.1 FrameXML it looks like they removed that one as well. Does this mean that all cvars have been removed I wonder.
|
Probably just the ones they added function calls for in 5.4.
Quote:
|
And apparently you can't overwrite WORLDMAP_WINDOWED_SIZE anymore without causing a guaranteed taint error every time you open the world map. :(
There goes easy resizing. Edit: this workaround was added to Mapster: Code:
setfenv(WorldMapFrame_OnShow, setmetatable({ UpdateMicroButtons = function() end }, { __index = _G })) |
Quote:
No need to be on Linux to have a full-feature command line toolset. |
All times are GMT -6. The time now is 12:05 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI