Ace3

368 - Data for "realm" shared on connected realms

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.

User When Change
ckaotik Nov 14, 2014 at 16:41 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

  • 3 comments
  • Avatar of ckaotik ckaotik Nov 14, 2014 at 23:56 UTC - 0 likes

    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.

    Last edited Nov 15, 2014 by ckaotik
  • Avatar of Nevcairiel Nevcairiel Nov 14, 2014 at 20:21 UTC - 0 likes

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

  • Avatar of ckaotik ckaotik Nov 14, 2014 at 16:54 UTC - 0 likes

    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 :)

  • 3 comments

Facts

Last updated
Jan 12, 2016
Reported
Nov 14, 2014
Status
New - Issue has not had initial review yet.
Type
Enhancement - A change which is intended to better the project in some way
Priority
Medium - Normal priority.
Votes
1
Component
AceDB-3.0

Reported by

Possible assignees