Data for "realm" shared on connected realms #368


  • New
  • Enhancment
Open
Assigned to nevcairiel
  • Forge_User_05913966 created this issue Nov 14, 2014

    What is the enhancement in mind? How should it look and feel? Data that is based on a "realm" scope should be the same for all characters in a connected realms group since their guilds, auctions and whatnot are all shared. E.g. EU-DieTodeskrallen and EU-DerAbyssischeRat should share the same realm data.

    Please provide any additional information below. One could use GetAutoCompleteRealms to map to a single realm in a realm group.

  • Forge_User_05913966 added the tags New Enhancment Nov 14, 2014
  • Forge_User_05913966 posted a comment Nov 14, 2014

    Instead of local realmKey = GetRealmName() one could use a construct such as this one:

    local realms = GetAutoCompleteRealms()
    if realms then table.sort(realms) end
    local realmKey = realms and realms[1] or select(2, UnitFullName('player'))
    

    Note: This uses the shortened realm names that Blizzard uses in most cases, i.e. "DieTodeskrallen" instead of "Die Todeskrallen" which would probably invalidate existing databases... But of course, there are other options :)

  • nevcairiel posted a comment Nov 14, 2014

    Existing data is invalidated anyway with any change, no matter what, which is why I'm somewhat reluctant to do this.

  • Forge_User_05913966 posted a comment Nov 14, 2014

    Then maybe add an alternative scope, e.g. "realms", "realmgroup" or "connectedrealms"? That way the authors would still have full power over their data representation.


    Edited Nov 15, 2014

To post a comment, please login or register a new account.