tukui-org / Tukui

Tukui - Live branch is Dragonflight, Wrath and Classic Era
https://tukui.org
49 stars 29 forks source link

Retail 11.0.5 Datatexts issue #210

Closed nemyhlol closed 1 month ago

nemyhlol commented 1 month ago
150x ...ceTukui/Modules/DataTexts/Elements/Guild.lua:138: attempt to concatenate a nil value
[string "@Tukui/Modules/DataTexts/Elements/Guild.lua"]:138: in function `Update'
[string "@Tukui/Modules/DataTexts/Elements/Guild.lua"]:150: in function <...ceTukui/Modules/DataTexts/Elements/Guild.lua:141>
[string "=[C]"]: in function `Enable'
[string "@Tukui/Modules/DataTexts/Core.lua"]:258: in function `SetTexts'
[string "@Tukui/Modules/DataTexts/Core.lua"]:292: in function `Enable'
[string "@Tukui/Core/Loading.lua"]:254: in function <Tukui/Core/Loading.lua:241>

Locals:
self = Frame {
 Enabled = false
 Text = FontString {
 }
}
(*temporary) = FontString {
}
(*temporary) = "%s %s"
(*temporary) = "|cffffffffGuild|r"
(*temporary) = "|cffffffff"
(*temporary) = nil
(*temporary) = "|r"
(*temporary) = 0
(*temporary) = "attempt to concatenate a nil value"
DataText = Frame {
 Panels = <table> {
 }
 HighlightColor = "|cffffff00"
 ValueColor = "|cffffffff"
 DefaultNumAnchors = 6
 NameColor = "|cffffffff"
 DataTexts = <table> {
 }
 Anchors = <table> {
 }
 StatusColors = <table> {
 }
 BGFrame = Frame {
 }
 Font = "TukuiFont"
 Menu = <table> {
 }
 NumAnchors = 7
}
L = <table> {
 Merchant = <table> {
 }
 Others = <table> {
 }
 ActionBars = <table> {
 }
 Miscellaneous = <table> {
 }
 Help = <table> {
 }
 UnitFrames = <table> {
 }
 DataText = <table> {
 }
 Version = <table> {
 }
 Auras = <table> {
 }
}
tetuti commented 1 month ago

The issue stems from GetNumGuildMembers returning a nil value for numOnlineAndMobileMembers (see https://warcraft.wiki.gg/wiki/API_GetNumGuildMembers). Not sure if this is some kind of undocumented change on Blizzards part as it should return either the number of online and mobile guild members or 0 if not in a guild.

tukz commented 1 month ago

It should be fixed:

https://api.tukui.org/v1/download/dev/tukui/live

jandersonai commented 1 month ago

It should be fixed:

https://api.tukui.org/v1/download/dev/tukui/live

Yep, it's fixed thank you. Feel free to close this issue ❤️