Bagnon

Bagnon

124M Downloads

Connected realm bug

zanian opened this issue ยท 3 comments

commented

Unable to view contents of bags on a connected realm when the name of the connected realm contains a hyphen (e.g. Azjol-Nerub)

Problem fixed by changing first line of function Lib:GetPlayerAddress(player) in LibItemCache-1.1\Core.lua to:

      local player, realm = strsplit('-', player or self.PLAYER, 2)

(Latest connected EU realms also missing but I suspect these will get added over time).

commented

Rather than maintaining your own list of connected realms (which is currently very incomplete) you should either use GetAutoCompleteRealms (if you only need to know which realms are connected to the player's current realm) or LibRealmInfo (if you need more extensive data).

commented

Uhhh, nice trick with the GetAutoCompleteRealms. Gonna try it out.

commented

Fixed