Uber UI

Uber UI

298k Downloads

Getting errors since new Version Uber UI-10.0.2.7.1-Release.zip

w3bprinz opened this issue ยท 2 comments

commented

I've updated UberUI Today to Uber UI-10.0.2.7.1-Release.zip

And know getting errors.

10x Interface/AddOns/Uber UI/core/actionbars.lua:57: attempt to call method 'Shwo' (a nil value) [string "@Interface/AddOns/Uber UI/core/actionbars.lua"]:57: in function modButton'
[string "@Interface/AddOns/Uber UI/core/actionbars.lua"]:62: in function `Color'
[string "@Interface/AddOns/Uber UI/core/actionbars.lua"]:19: in function <Interface/AddOns/Uber UI/core/actionbars.lua:18>

Locals:
button = ActionButton1 {
CalculateAction = defined @Interface/FrameXML/SecureTemplates.lua:609
OnLeave = defined @Interface/FrameXML/ActionButton.lua:1193
FlyoutArrowContainer = Frame {
}
NewActionTexture = Texture {
}
RightDivider = Frame {
}
showButtonArt = true
UpdateButtonArt = defined @Interface/FrameXML/ActionButton.lua:1227
QuickKeybindButtonOnLeave = defined @Interface/FrameXML/QuickKeybind.lua:33
OnDragStart = defined @Interface/FrameXML/ActionButton.lua:1164
OnReceiveDrag = defined @Interface/FrameXML/ActionButton.lua:1176
icon = ActionButton1Icon {
}
SlotArt = Texture {
}
AutoCastable = Texture {
}
UpdateState = defined @Interface/FrameXML/ActionButton.lua:497
UpdatePressAndHoldAction = defined @Interface/FrameXML/ActionButton.lua:340
HotKey = ActionButton1HotKey {
}
HighlightTexture = Texture {
}
UpdateOverlayGlow = defined @Interface/FrameXML/ActionButton.lua:682
GetPagedID = defined @Interface/FrameXML/ActionButton.lua:987
Update = defined @Interface/FrameXML/ActionButton.lua:378
IconMask = MaskTexture {
}
SpellHighlightAnim = AnimationGroup {
}
OnLoad = defined @Interface/FrameXML/ActionButton.lua:279
PushedTexture = Texture {
}
SetTooltip = defined @Interface/FrameXML/ActionButton.lua:896
Count = ActionButton1Count {
}
UpdateUsable = defined @Interface/FrameXML/ActionButton.lua:503
FlyoutBorderShadow = ActionButton1FlyoutBorderShadow {
}
GetShowGrid = defined @Interface/FrameXML/ActionButton.lua:1209
SetButtonStateBase = defined =[C]:-1
UpdateHotkeys = defined @Interface/FrameXML/ActionButton.lua:303
LevelLinkLockIcon = Texture {
}
Flash = ActionButton1Flash {
}
flashtime = 0
OnUpdate = defined @Interface/FrameXML/ActionButton.lua:915
HasAction = defined @Interface/FrameXML/ActionButton.lua:493
QuickKeybindButtonSetTooltip = defined @Interface/FrameXML/QuickKeybind.lua:52
SetButtonStateOverride = defined @Interface/FrameXML/ActionButton.lua:1122
QuickKeybindHighlightTexture = Texture {
}
commandName = "ACTIONBUTTON1"
OnClick = defined @Interface/FrameXML/ActionButton.lua:1127
index = 1
feedback_action = 1
UpdateHighlightMark = defined @Interface/FrameXML/ActionButton.lua:470
UpdateMouseWheelHandler = defined @Interface/FrameXML/QuickKeybind.lua:86
QuickKeybindButtonOnMouseWheel = defined @Interface/FrameXML/QuickKeybind.lua:46
CheckedTexture = Texture {
}
flashing = 0
SetButtonState = defined @Interface/FrameXML/ActionButton.lua:1122
action = 1
QuickKeybindButtonOnShow = defined @Interface/FrameXML/QuickKeybind.lua:4
NormalTexture = ActionButton1NormalTexture {
}
QuickKeybindButtonOnClick = defined @Interface/FrameXML/QuickKeybind.lua:16
UpdateFlash = defined @Interface/FrameXML/ActionButton.lua:991
QuickKeybindButtonOnUpdate = defined @Interface/FrameXML/QuickKeybind.lua:75
QuickKeybindButtonOnHide = defined @Interface/FrameXML/QuickKeybind.lua:11
StartFlash = defined @Interface/FrameXML/ActionButton.lua:1026
ClearFlash = defined @Interface/FrameXML/ActionButton.lua:1018
Border = ActionButton1Border {
}
BaseActionButtonMixin_OnLoad = defined @Interface/FrameXML/ActionButton.lua:1202
OnAttributeChanged = defined @Interface/FrameXML/ActionButton.lua:358
UpdateCount = defined @Interface/FrameXML/ActionButton.lua:525
BottomDivider = Frame {
}
OnEnter = defined @Interface/FrameXML/ActionButton.lua:1182
UpdateFlyout = defined @Interface/FrameXML/ActionButton.lua:1047
UpdateAction = defined @Interface/FrameXML/ActionButton.lua:362
UpdateSpellHighlightMark = defined @Interface/FrameXML/ActionButton.lua:487
StopFlash = defined @Interface/FrameXML/ActionButton.lua:1032
SetShowGrid = `

commented
local function modButton(button)
        local action = button.action;
        if (action == nil) then return end
        local texture = GetActionTexture(action);

        button.NormalTexture:SetVertexColor(dc.r, dc.g, dc.b, dc.a);
        if (uuidb.general.hidehotkeys) then
            button.HotKey:Hide();
        elseif (texture) then
            button.HotKey:Show();
        end

        if (uuidb.general.hidemacros) then
            button.Name:Hide();
        else
            button.Name:Shwo();
        end
    end

Thats wrong must be:

local function modButton(button)
        local action = button.action;
        if (action == nil) then return end
        local texture = GetActionTexture(action);

        button.NormalTexture:SetVertexColor(dc.r, dc.g, dc.b, dc.a);
        if (uuidb.general.hidehotkeys) then
            button.HotKey:Hide();
        elseif (texture) then
            button.HotKey:Show();
        end

        if (uuidb.general.hidemacros) then
            button.Name:Hide();
        else
            button.Name:Show();
        end
    end

There is a spelling error in Line 57 on actionbars.lua

commented

Already fixed in latest hotfix an hour ago.

UberUI/changelog.txt

Lines 37 to 38 in a598ddb

10.0.2.7.2: (hotfix)
- fix typo in actionbar script

https://www.curseforge.com/wow/addons/uber-ui/files/4086394