留言

KillermanZ · 2020-12-15 19:37:43

大大 我最近換了個血條UI
用了Plater NAMEplates
但是裝了之後都無用 只會顯示暴雪內建的血條
然後跳Bug 是為什麼?

178x Plater\Plater-Plater-v9.0.1.321-Retail.lua:3235: attempt to index local 'unitFrame' (a nil value)
[string "@Plater\Plater-Plater-v9.0.1.321-Retail.lua"]:3235: in function `func'
[string "@Plater\Plater-Plater-v9.0.1.321-Retail.lua"]:3307: in function <Plater\Plater.lua:3303>
[string "=[C]"]: ?
[string "=[C]"]: in function `SetCVar'
[string "@SharedXML\CvarUtil.lua"]:13: in function <SharedXML\CvarUtil.lua:9>
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: in function `SetCVar'
[string "@Plater\Plater-Plater-v9.0.1.321-Retail.lua"]:7771: in function <Plater\Plater.lua:7761>

Locals:
event = "NAME_PLATE_UNIT_REMOVED"
unitBarId = "nameplate1"
plateFrame = NamePlate1 {
 OnSizeChanged = <function> defined @Blizzard_NamePlates\Blizzard_NamePlates.lua:485
 GetPreferredInsets = <function> defined @Blizzard_NamePlates\Blizzard_NamePlates.lua:466
 HasUpdateScheduled = <table> {
 }
 GetAdditionalInsetPadding = <function> defined @Blizzard_NamePlates\Blizzard_NamePlates.lua:455
 ApplyOffsets = <function> defined @Blizzard_NamePlates\Blizzard_NamePlates.lua:437
 _frame = {
 }
 OnRemoved = <function> defined @Blizzard_NamePlates\Blizzard_NamePlates.lua:424
 OnAdded = <function> defined @Blizzard_NamePlates\Blizzard_NamePlates.lua:413
 template = "NamePlateUnitFrameTemplate"
 0 =
 OnOptionsUpdated = <function> defined @Blizzard_NamePlates\Blizzard_NamePlates.lua:431
}
(for index) = 1
(for limit) = 1
(for step) = 1
i = 1
globalScriptObject = <table> {
 Nameplate Added = <function> defined Nameplate Added for Absorb Shields in Healthbar:1
 HotReload = -1
 Initialization = <function> defined Initialization for Absorb Shields in Healthbar:1
 Constructor = <function> defined Constructor for Absorb Shields in Healthbar:1
 Nameplate Created = <function> defined Nameplate Created for Absorb Shields in Healthbar:1
 HasConstructor = true
 Nameplate Removed = <function> defined Nameplate Removed for Absorb Shields in Healthbar:1
 Nameplate Updated = <function> defined Nameplate Updated for Absorb Shields in Healthbar:1
 DBScriptObject = <table> {
 }
 Build = 3
}
unitFrame = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index local 'unitFrame' (a nil value)"
HOOK_NAMEPLATE_REMOVED = <table> {
 1 = <table> {
 }
 ScriptAmount = 1
}
MEMBER_QUEST = "namePlateIsQuestObjective"
MEMBER_TARGET = "namePlateIsTarget"
ipairs = <function> defined =[C]:-1
DB_USE_UIPARENT = false

Dololo · 2020-12-15 20:39:12

先關閉所有插件,只載入 Plater 血條試試看是否正常,是否是和其他插件衝突了。