1. #1

    GetCVar("realmName") gives nil

    Hello!

    Just patched into 5.4.1. And now GetCVar("realmName") only gives back nil and not the server i am on.

    Tested with:

    Code:
    /run local c = GetCVar("realmName") print(c)
    Am I the only one experiencing this? or is this a new and exciting thing Blizzard have broken?

    Space

  2. #2
    The "realmName" CVar was removed. Use GetRealmName() instead:
    /run local c = GetRealmName() print(c)

  3. #3
    thanks very much!

    is there a place where i can easily see the new API changes? as mmo-champ doesnt list them during patches

  4. #4
    You can see differences between the different FrameXML versions at http://wow.go-hero.net/framexml, but I haven't been able to find a nice consistent API differences list for each patch. I generally just search for "wow <version> api changes" and check out the various hits. At least one of them normally has the info I need.

  5. #5
    The change makes sense, though is annoying to find no official reference as to those changes, which sometimes only appear on last minute on live, skipping the PTR completely.

    Quote Originally Posted by Mule View Post
    You can see differences between the different FrameXML versions at http://wow.go-hero.net/framexml, but I haven't been able to find a nice consistent API differences list for each patch. I generally just search for "wow <version> api changes" and check out the various hits. At least one of them normally has the info I need.
    Useful source of reference that, thank you.
    Last edited by ComputerNerd; 2013-10-30 at 12:48 PM.

  6. #6
    High Overlord tinystomper's Avatar
    10+ Year Old Account
    Join Date
    Sep 2012
    Location
    mostly florida
    Posts
    105
    why wouldn't you use GetRealmName() ?

    seems the api call was made specifically for this

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •