留言

Shane · 2024-07-23 22:06:59

您好,辛苦了。我更新11.0.1版本後進入游戲報錯,頭像顯示内建頭像,重載也沒有用,11.0.0版本我也試過了,也是報錯,重載沒有用。請問如何解決?

Message: Interface/AddOns/Stuf/text.lua:8: attempt to call field 'GetSpellTexture' (a nil value)
Time: Tue Jul 23 22:10:40 2024
Count: 1
Stack: Interface/AddOns/Stuf/text.lua:8: attempt to call field 'GetSpellTexture' (a nil value)
[string "@Interface/AddOns/Stuf/text.lua"]:8: in function `func'
[string "@Interface/AddOns/Stuf/core.lua"]:294: in function `?'
[string "@Interface/AddOns/Stuf/core.lua"]:171: in function <Interface/AddOns/Stuf/core.lua:170>

Locals: _ = <table> {
 party3target = <table> {
 }
 arenapet4 = <table> {
 }
 party3 = <table> {
 }
 party1target = <table> {
 }
 arena4target = <table> {
 }
 target = <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> {
 }
 partypet3 = <table> {
 }
 arena2target = <table> {
 }
 party4 = <table> {
 }
 arena5 = <table> {
 }
 focus = <table> {
 }
 boss5 = <table> {
 }
 boss4target = <table> {
 }
 arenapet3 = <table> {
 }
 boss2target = <table> {
 }
 targettarget = <table> {
 }
 arena1target = <table> {
 }
 pettarget = <table> {
 }
 arena5target = <table> {
 }
 partypet4 = <table> {
 }
 focustarget = <table> {
 }
 party4target = <table> {
 }
 boss3 = <table> {
 }
 boss1target = <table> {
 }
 party1 = <table> {
 }
 arena3target = <table> {
 }
 arena4 = <table> {
 }
}
idbg = <table> {
 bglist = "statusbar"
 bgcolor = <table> {
 }
 shortk = 10000
 disableprframes = true
 hpgreen = <table> {
 }
 bg = "Blizzard"
 hpred = <table> {
 }
 init = 9
 failcolor = <table> {
 }
 font = "預設"
 castcolor = <table> {
 }
 bordermousecolor = <table> {
 }
 strata = "LOW"
 hidehints = false
 shadowcolor = <table> {
 }
 hidepartyinraid = true
 initDragonflight = 1
 classcolor = <table> {
 }
 reactioncolor = <table> {
 }
 border = "Blizzard Tooltip"
 classification = <table> {
 }
 borderaggrocolor = <table> {
 }
 bartexture = "Blizzard"
 nM = "M"
 completecolor = <table> {
 }
 alpha = 1
 disableboss = true
 auracolor = <table> {
 }
 nK = "K"
 channelcolor = <table> {
 }
 hpfadecolor = <table> {
 }
 bgmousecolor = <table> {
 }
 powercolor = <table> {
 }
 mpfadecolor = <table> {
 }
 gray = <table> {
 }
}
(*temporary) = nil
(*temporary) = 774
(*temporary) = "attempt to call field 'GetSpellTexture' (a nil value)"
dbg = <table> {
 bglist = "statusbar"
 bgcolor = <table> {
 }
 shortk = 10000
 disableprframes = true
 hpgreen = <table> {
 }
 bg = "Blizzard"
 hpred = <table> {
 }
 init = 9
 failcolor = <table> {
 }
 font = "預設"
 castcolor = <table> {
 }
 bordermousecolor = <table> {
 }
 strata = "LOW"
 hidehints = false
 shadowcolor = <table> {
 }
 hidepartyinraid = true
 initDragonflight = 1
 classcolor = <table> {
 }
 reactioncolor = <table> {
 }
 border = "Blizzard Tooltip"
 classification = <table> {
 }
 borderaggrocolor = <table> {
 }
 bartexture = "Blizzard"
 nM = "M"
 completecolor = <table> {
 }
 alpha = 1
 disableboss = true
 auracolor = <table> {
 }
 nK = "K"
 channelcolor = <table> {
 }
 hpfadecolor = <table> {
 }
 bgmousecolor = <table> {
 }
 powercolor = <table> {
 }
 mpfadecolor = <table> {
 }
 gray = <table> {
 }
}
s40 = nil
Stuf = Stuf {
 0 = <userdata>
 GetMedia = <function> defined @Interface/AddOns/Stuf/core.lua:636
 whitecolor = <table> {
 }
 RemoveEvent = <function> defined @Interface/AddOns/Stuf/core.lua:480
 AddEvent = <function> defined @Interface/AddOns/Stuf/core.lua:455
 cls = "德魯伊"
 nofunc = <function> defined @Interface/AddOns/Stuf/core.lua:50
 GetBackdropColor = <function> defined @Interface/AddOns/Blizzard_SharedXML/Backdrop.lua:390
 GroupUpdate = <function> defined @Interface/AddOns/Stuf/core.lua:1136
 mainunits2 = <table> {
 }
 AddColorMethod = <function> de

Dololo · 2024-07-23 23:22:12

可以麻煩你用記事本打開 AddOns\Stuf\text.lua
然後將開頭前十行左右的內容截圖貼上來看一下嗎?

Shane · 2024-07-24 01:10:40

好的,麻煩你了

Dololo · 2024-07-24 07:45:51

你的程式碼是舊版本的,並沒有正確更新到。魔獸 11.0 Beta 的資料夾在 World of Warcraft\_beta_\ 請再次檢查檔案放置的位置。