Bagnon

Bagnon

122M Downloads

Connected Realm bug?

bukjones opened this issue ยท 2 comments

commented

Scarlet Crusade and Feathermoon are connected
If I'm on a scarlet ally toon I can "see" my feathermoon toons
but if I'm on my feathermoon ally toon, I can't see the scarlet ones.
This is also true if I try horde characters.
I have tried logging into all
Also, I can no longer see my characters that are on the other faction, this was a feature I really liked.
I understand you changed it recently, is there a way I can get it back the old way?
Thanks

commented

I have the same problem: It seems Bagnon uses the API funktion GetAutoCompleteRealms() to get a table of realms connected to your realm. Unfortunately, the realm names are returned without whitespaces (just like the realm names you see when writing ingame mails to characters on different but connected servers). The addon however uses GetRealmName() to save your character information. GetRealmName() returns your realm name WITH whitespaces...
So whenever bagnon looks for character data from other connected servers which happen to contain whitespaces in their names, no match is found (since "Scarlet Crusade" != "ScarletCrusade").

Not sure what's the best way to fix that though, I'm not really into lua. One could change the addon to only use realm names trimmed of whitespaces when saving its data (could be problematic elsewhere, i dont know) or one could add a mapping table listing all the realm names and their whitespace-trimmed counterpart (sounds like a bit of work).

Solved that for me by using a mapping table which replaces the servernames of my server, works ike a charm now (only checked the tooltip).

commented

Solved with 6.0.14. Now ignores server spaces when browsing players.