留言

小布布 · 2024-07-23 19:15:16

更新出錯 頭像會顯示內建6x Stuf/text.lua:8: attempt to call field 'GetSpellTexture' (a nil value)
[string "@Stuf/text.lua"]:8: in function `func'
[string "@Stuf/core.lua"]:294: in function `?'
[string "@Stuf/core.lua"]:171: in function <Stuf/core.lua:170>

Locals:
_ = <table> {
 party3target = <table> {
 }
 arenapet4 = <table> {
 }
 party3 = <table> {
 }
 party1target = <table> {
 }
 arena4target = <table> {
 }
 arena2target = <table> {
 }
 arenapet2 = <table> {
 }
 boss2 = <table> {
 }
 arena1 = <table> {
 }
 global = <table> {
 }
 arenapet1 = <table> {
 }
 pet = <table> {
 }
 boss4 = <table> {
 }
 player = <table> {
 }
 boss3target = <table> {
 }
 partypet2 = <table> {
 }
 partypet1 = <table> {
 }
 targettargettarget = <table> {
 }
 boss5target = <table> {
 }
 arena3 = <table> {
 }
 arenapet5 = <table> {
 }
 party2target = <table> {
 }
 party2 = <table> {
 }
 boss1 = <table> {
 }
 arena2 = <table> {
 }
 boss1target = <table> {
 }
 partypet3 = <table> {
 }
 party4 = <table> {
 }
 arena5 = <table> {
 }
 focus = <table> {
 }
 boss5 = <table> {
 }
 boss4target = <table> {
 }
 focustarget = <table> {
 }
 boss2target = <table> {
 }
 targettarget = <table> {
 }
 arenapet3 = <table> {
 }
 pettarget = <table> {
 }
 arena5target = <table> {
 }
 partypet4 = <table> {
 }
 arena1target = <table> {
 }
 party4target = <table> {
 }
 boss3 = <table> {
 }
 arena4 = <table> {
 }
 party1 = <table> {
 }
 arena3target = <table> {
 }
 target = <table> {
 }
}
idbg = <table> {
 bglist = "background"
 gray = <table> {
 }
 bgcolor = <table> {
 }
 nM = "M"
 shortk = 10000
 shadowcolor = <table> {
 }
 border = "None"
 hidepartyinraid = true
 font = "預設"
 channelcolor = <table> {
 }
 initDragonflight = 1
 bgmousecolor = <table> {
 }
 classcolor = <table> {
 }
 auracolor = <table> {
 }
 reactioncolor = <table> {
 }
 hpred = <table> {
 }
 completecolor = <table> {
 }
 classification = <table> {
 }
 borderaggrocolor = <table> {
 }
 bartexture = "Gloss"
 powercolor = <table> {
 }
 initlegion = 1
 alpha = 1
 failcolor = <table> {
 }
 init = 9
 nK = "K"
 bg = "None"
 hpfadecolor = <table> {
 }
 hpgreen = <table> {
 }
 castcolor = <table> {
 }
 mpfadecolor = <table> {
 }
 bordermousecolor = <table> {
 }
}
(*temporary) = nil
(*temporary) = 19750
(*temporary) = "attempt to call field 'GetSpellTexture' (a nil value)"
dbg = <table> {
 bglist = "background"
 gray = <table> {
 }
 bgcolor = <table> {
 }
 nM = "M"
 shortk = 10000
 shadowcolor = <table> {
 }
 border = "None"
 hidepartyinraid = true
 font = "預設"
 channelcolor = <table> {
 }
 initDragonflight = 1
 bgmousecolor = <table> {
 }
 classcolor = <table> {
 }
 auracolor = <table> {
 }
 reactioncolor = <table> {
 }
 hpred = <table> {
 }
 completecolor = <table> {
 }
 classification = <table> {
 }
 borderaggrocolor = <table> {
 }
 bartexture = "Gloss"
 powercolor = <table> {
 }
 initlegion = 1
 alpha = 1
 failcolor = <table> {
 }
 init = 9
 nK = "K"
 bg = "None"
 hpfadecolor = <table> {
 }
 hpgreen = <table> {
 }
 castcolor = <table> {
 }
 mpfadecolor = <table> {
 }
 bordermousecolor = <table> {
 }
}
s40 = nil
Stuf = Stuf {
 0 = <userdata>
 GetMedia = <function> defined @Stuf/core.lua:636
 whitecolor = <table> {
 }
 RemoveEvent = <function> defined @Stuf/core.lua:480
 AddEvent = <function> defined @Stuf/core.lua:455
 cls = "聖騎士"
 nofunc = <function> defined @Stuf/core.lua:50
 GetBackdropColor = <function> defined @Blizzard_SharedXML/Backdrop.lua:390
 GroupUpdate = <function> defined @Stuf/core.lua:1136
 mainunits2 = <table> {
 }
 AddColorMethod = <function> defined @Stuf/core.lua:774
 SetBackdropBorderColor = <function> defined @Blizzard_SharedXML/Backdrop.lua:422
 CLS = "PALADIN"
 UpdateGuild = <function> defined @Stuf/core.lua:840
 font = "Fonts\bLEI00D.ttf"
 vunit = "player"
 statusbar = "Interface\Addons\SharedMedia_Rainbow\statusbar\Gloss"
 numraid = 0
 ApplyBackdrop = <function> defined @Blizzard_SharedXML/Backdrop.lua:294
 SetBackdrop = <function> defined @Blizzard_SharedXML/Backdrop.lua:329
 ClearBackdrop = <function> defined @Blizzard_SharedXML/Backdrop.lua:282
 GetColorFromMethod = <function> defined @Stuf/core.lua:779
 GetBack
 

Dololo · 2024-07-23 19:42:21

您好,我在 11.0 Beta 和 10.2.7 測試都是正常的,不會發生這個錯誤。
這個錯誤比較像是舊版的 Stuf 頭像在 11.0 Beta 會發生的錯誤,請確認一下你的 Stuf 版本是否為 v11.0.1。