留言

小布布 · 2020-12-22 21:11:03

今天更新出現以下錯誤  

8x GW2_UI\objectives/widgetUI.lua:7: attempt to call method 'Point' (a nil value)
[string "@GW2_UI\objectives/widgetUI.lua"]:7: in function <GW2_UI\objectives/widgetUI.lua:3>
[string "=[C]"]: ?
[string "=[C]"]: in function `SetPoint'
[string "@SharedXML\LayoutFrame.lua"]:315: in function `Layout'
[string "@SharedXML\LayoutFrame.lua"]:33: in function <SharedXML\LayoutFrame.lua:32>
[string "=[C]"]: ?
[string "=[C]"]: in function `Show'
[string "@GW2_UI\immersive/afk.lua"]:50: in function <GW2_UI\immersive/afk.lua:20>
[string "@GW2_UI\immersive/afk.lua"]:110: in function <GW2_UI\immersive/afk.lua:105>

Locals:
self = UIWidgetTopCenterContainerFrame {
 0 =
 horizontalRelativePoint = "RIGHT"
 DriftSticky = true
 verticalAnchorYOffset = 0
 MarkDirty = <function> defined @SharedXML\LayoutFrame.lua:90
 timerWidgets = <table> {
 }
 DriftModifiable = true
 UnregisterTimerWidget = <function> defined @Blizzard_UIWidgets\Blizzard_UIWidgetManager.lua:247
 GetNumWidgetsShowing = <function> defined @Blizzard_UIWidgets\Blizzard_UIWidgetManager.lua:467
 OnCleaned = <function> defined @SharedXML\LayoutFrame.lua:114
 AddLayoutChildren = <function> defined @SharedXML\LayoutFrame.lua:48
 GetLayoutChildren = <function> defined @SharedXML\LayoutFrame.lua:64
 verticalAnchorPoint = "TOP"
 GetAdditionalRegions = <function> defined @SharedXML\LayoutFrame.lua:76
 DriftChildMoversHooked = true
 DriftIsMoving = false
 OnShow = <function> defined @SharedXML\LayoutFrame.lua:32
 MAHooked = true
 IsLayoutFrame = <function> defined @SharedXML\LayoutFrame.lua:36
 SetPoint = <function> defined =[C]:-1
 UpdateWidgetLayout = <function> defined @Blizzard_UIWidgets\Blizzard_UIWidgetManager.lua:471
 dirty = false
 horizontalAnchorXOffset = 2
 OnUpdate = <function> defined @Blizzard_UIWidgets\Blizzard_UIWidgetManager.lua:32
 MAWasUserPlaced = true
 MAWasMovable = true
 MAE = <table> {
 }
 numWidgetsShowing = 0
 horizontalAnchorPoint = "LEFT"
 MarkAllWidgetsForRemoval = <function> defined @Blizzard_UIWidgets\Blizzard_UIWidgetManager.lua:270
 gwMover = {
 }
 RemoveAllWidgets = <function> defined @Blizzard_UIWidgets\Blizzard_UIWidgetManager.lua:286
 DriftChildMovers = true
 dirtyLayout = false
 widgetSetLayoutDirection = 0
 layoutFunc = <function> defined @Blizzard_UIWidgets\Blizzard_UIWidgetManager.lua:39
 ProcessAllWidgets = <function> defined @Blizzard_UIWidgets\Blizzard_UIWidgetManager.lua:442
 MarkClean = <function> defined @SharedXML\LayoutFrame.lua:105
 numTimers = 0
 widgetPools = <table> {
 }
 DriftIsScaling = false
 IsDirty = <function> defined @SharedXML\LayoutFrame.lua:110
 AnimateOutAllMarkedWidgets = <function> defined @Blizzard_UIWidgets\Blizzard_UIWidgetManager.lua:277
 verticalRelativePoint = "BOTTOM"
 CreateWidget = <function> defined @Blizzard_UIWidgets\Blizzard_UIWidgetManager.lua:336
 UnregisterForWidgetSet = <function> defined @Blizzard_UIWidgets\Blizzard_UIWidgetManager.lua:194
 widgetSetID = 1
 GatherWidgetsByWidgetTag = <function> defined @Blizzard_UIWidgets\Blizzard_UIWidgetManager.lua:261
 RegisterTimerWidget = <function> defined @Blizzard_UIWidgets\Blizzard_UIWidgetManager.lua:229
 OnLoad = <function> defined @Blizzard_UIWidgets\Blizzard_UIWidgetTopCenterFrame.lua:3
 horizontalRowContainerPool = <table> {
 }
 Layout = <function> defined @SharedXML\LayoutFrame.lua:308
 DriftResetNeeded = true
 OnEvent = <function> defined @Blizzard_UIWidgets\Blizzard_UIWidgetManager.lua:21
 ProcessWidget = <function> defined @Blizzard_UIWidgets\Blizzard_UIWidgetManager.lua:365
 RegisterForWidgetSet = <function> defined @Blizzard_UIWidgets\Blizzard_UIWidgetManager.lua:149
 MALockPointHook = true
 GetWidgetFromPools = <function> defined @Blizzard_UIWidgets\Blizzard_UIWidgetManager.lua:324
 showAndHideOnWidgetSetRegistration = true
 widgetFrames = <table> {
 }
 RemoveWidget = <function> defined @Blizzard_UIWidgets\Blizzard_UIWidgetManager.lua:301
 IgnoreLayoutIndex = <function> defined @SharedXML\LayoutFrame.lua:304
}
_ = "TOPLEFT"
b = UIParent {
 variablesLoaded = true
 elapsedTimer = -1
 fadeInfo = <table> {
 }
 fadeTimer = -1
 firstTimeLoaded = 1
 0 =
}
holder = {
 0 =
 optionHeight = false
 frameName = {
 }
 gw_frame = UIWidgetTopCenterContainerFrame {
 }
 Background = UI

Dololo · 2020-12-22 22:52:36

看來是原作者打錯字了,已自行修正重新上傳,感謝回報。