Thaoky / Altoholic_Retail

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

Unable to use Account Sharing #26

Open RinelCynfire opened 3 months ago

RinelCynfire commented 3 months ago

I decided to wipe my Altoholic settings with the new patch and have spent most of the day logging onto my alts to re-add them to the addon. I have two accounts and like being able to track the secondary account with the account sharing funtion, so after getting both accounts updated, I went to use the account sharing and recieved these errors.

Message: Interface/AddOns/DataStore/API/Core.lua:337: attempt to index field 'Characters' (a nil value)
Time: Sun Jul 28 16:13:55 2024
Count: 1
Stack: Interface/AddOns/DataStore/API/Core.lua:337: attempt to index field 'Characters' (a nil value)
[string "@Interface/AddOns/DataStore/API/Core.lua"]:337: in function `GetCharacterTable'
[string "@Interface/AddOns/Altoholic/Services/SharedContent.lua"]:349: in function `GetSourceTableOfContent'
[string "@Interface/AddOns/Altoholic/Services/AccountSharing.lua"]:97: in function <...terface/AddOns/Altoholic/Services/AccountSharing.lua:95>
[string "@Interface/AddOns/Altoholic/Services/AccountSharing.lua"]:206: in function `onClickButton1'
[string "@Interface/AddOns/AddonFactory/Templates/MessageBox.lua"]:35: in function `Button_OnClick'
[string "*MessageBox.xml:53_OnClick"]:1: in function <[string "*MessageBox.xml:53_OnClick"]:1>

Locals: self = <table> {
 ThisCharID = 1
 Enum = <table> {
 }
 Version = "v2024.07.28"
 ThisFaction = "Horde"
 ThisChar = "Autumnshots"
 Frames = DataStoreFrames {
 }
 ThisAccount = "Default"
 name = "DataStore"
 ThisRealm = "Uldaman"
 AltGroups = <table> {
 }
 ThisCharKey = "Default.Uldaman.Autumnshots"
}
module = <table> {
 name = "DataStore_Characters"
 CharacterTables = <table> {
 }
 ThisCharID = 1
}
name = "Cynfire"
realm = "Nesingwary"
account = nil
(*temporary) = nil
(*temporary) = "Default.Nesingwary.Cynfire"
(*temporary) = "Cynfire"
(*temporary) = "Nesingwary"
(*temporary) = "Default"
(*temporary) = "attempt to index field 'Characters' (a nil value)"
Message: Interface/AddOns/DataStore/API/Core.lua:337: attempt to index field 'Characters' (a nil value)
Time: Sun Jul 28 16:26:32 2024
Count: 5
Stack: Interface/AddOns/DataStore/API/Core.lua:337: attempt to index field 'Characters' (a nil value)
[string "@Interface/AddOns/DataStore/API/Core.lua"]:337: in function `GetCharacterTable'
[string "@Interface/AddOns/Altoholic/Services/SharedContent.lua"]:349: in function `GetSourceTableOfContent'
[string "@Interface/AddOns/Altoholic/Services/AccountSharing.lua"]:97: in function <...terface/AddOns/Altoholic/Services/AccountSharing.lua:95>
[string "@Interface/AddOns/Altoholic/Services/AccountSharing.lua"]:206: in function `onClickButton1'
[string "@Interface/AddOns/AddonFactory/Templates/MessageBox.lua"]:35: in function `Button_OnClick'
[string "*MessageBox.xml:53_OnClick"]:1: in function <[string "*MessageBox.xml:53_OnClick"]:1>

Locals: self = <table> {
 ThisCharID = 1
 Enum = <table> {
 }
 Version = "v2024.07.28"
 ThisFaction = "Alliance"
 ThisChar = "Cynfire"
 Frames = DataStoreFrames {
 }
 ThisAccount = "Default"
 name = "DataStore"
 ThisRealm = "Uldaman"
 AltGroups = <table> {
 }
 ThisCharKey = "Default.Uldaman.Cynfire"
}
module = <table> {
 name = "DataStore_Characters"
 CharacterTables = <table> {
 }
 ThisCharID = 1
}
name = "Fydriel"
realm = "Nesingwary"
account = nil
(*temporary) = nil
(*temporary) = "Default.Nesingwary.Fydriel"
(*temporary) = "Fydriel"
(*temporary) = "Nesingwary"
(*temporary) = "Default"
(*temporary) = "attempt to index field 'Characters' (a nil value)"

Cynfire - Uldaman is "account 1" and Autumnshots - Uldaman is "account 2".

I do have other addons, but I only had the Altoholic addons enabled on both accounts when I got these errors.

I'm guessing the issue has to do with the new way Blizz has the charater screen, were it can auto-switch you to the realms, because all of my characters are on Uldaman/Ravencrest, expect for three, who are on Nesingwary.

This bug isn't the end of the world, but would be awesome if it could be fixed when you're back from your vacation!

Thanks!

mgomersbach commented 2 months ago

I have the same issue on Cata Getting a different error