Thaoky / Altoholic_Retail

WoW Altoholic Addon (WoW Retail version)
24 stars 5 forks source link

Cannot access guild banks in Altoholic when the character is on a connected server to the one the guild is on (copy from Discord retail bugs) #24

Open Zs0na opened 2 months ago

Zs0na commented 2 months ago

I spent hours yesterday trying to get build banks to show. After going through everything (I am NOT a coder) it seems related to the old connected realms. Seven Day Ban is technically on Skywall while the character is on Drak'thul. It is an Alliance guild. The only other guild in the list that had the same problem was Twisted Destiny which is a Horde guild on Shandris while the character/GM is on Bronzebeard. But this guild I had an alt on Shandris and now a separate listing shows in the list under Shandris.

I tried removing the guilds from the lua lists but they added back. The first time I added them back the code changed and although Seven Day Ban was listed as 1 and 2 they were changed to 9 and 10. A bank then did show up but it was to the guild already listed with a 9 in it's line. I tried removing all Altoholic and Datastore lua files. I didn't help. Even with only a single login entry, it persisted. I tried removing every single item in the WTF Account Shared Variables and logged it didn't help. I tried to login in with nothing but Altoholic enabled as addons. It didn't help.

Last night when I went to bed the Twisted Destiny guild did not have a second listing. Today after the 11.0 update it is there. It's a nice workaround for now but the Sevan Day Ban guild doesn't have a workaround. An alt on that server doesn't exist and it's my main character in that guild.

The only guilds in that list with the issue are the "connected realms" guilds with the character logging in from the opposite realm than the guild exists on. There is code in the files connecting the two realms as well. Now that guilds can be accessed from any realm, I assume that the connection isn't necessary any more.

I included the current code and left out the actual character IDs only. I also included the code from when I removed all Saved Variable Files and it was only a single character on a fresh login, also with character ID redacted.

I'm willing to alter the code in the files if necessary (I do have backups) but at this point, I'm lost. Idk if anything there would make a difference since upon login, it writes the files that way even when fresh. Screenshot 2024-07-28 101833 Screenshot 2024-07-28 102308 Screenshot 2024-07-28 102328 Screenshot 2024-07-28 102423 Screenshot 2024-07-28 103538 Screenshot 2024-07-28 103619 Screenshot 2024-07-28 104428