Thread Tools Display Modes
Prev Previous Post   Next Post Next
04-06-13, 01:43 PM   #11
Nomaddc
A Cliff Giant
Join Date: Jan 2012
Posts: 73
Ok, here 2 more bugs (non critical though):
upd: and critical one + fix for it and hopefully whole updating/installing issue.

Bug 1

Code:
2x nibRealUI-7.4 r3\HuD\UnitFrames\UnitFrames.lua:1767: attempt to index field "statusbox" (a nil value)
nibRealUI-7.4 r3\HuD\UnitFrames\UnitFrames.lua:1767: in function "UpdateStatus"
nibRealUI-7.4 r3\HuD\UnitFrames\UnitFrames.lua:2846: in function "?"
Libs\CallbackHandler-1.0\CallbackHandler-1.0-6.lua:147: in function <Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:147>
<string>:"safecall Dispatcher[2]":4: in function <string>:"safecall Dispatcher[2]":4
<in C code>
<string>:"safecall Dispatcher[2]":13: in function "?"
Libs\CallbackHandler-1.0\CallbackHandler-1.0-6.lua:92: in function "Fire"
Bagnon-5.2.1\libs\AceEvent-3.0\AceEvent-3.0-3.lua:52: in function <Bagnon\libs\AceEvent-3.0\AceEvent-3.0.lua:51>

Locals:
nil
Bug 2

Code:
211x nibRealUI-7.4 r3\HuD\UnitFrames\UnitFrames.lua:3089: Usage: UnitGUID("unit")
<in C code>
nibRealUI-7.4 r3\HuD\UnitFrames\UnitFrames.lua:3089: in function <nibRealUI\HuD\UnitFrames\UnitFrames.lua:3087>
nibRealUI-7.4 r3\HuD\UnitFrames\oUF\elements\aura.lua:206: in function <nibRealUI\HuD\UnitFrames\oUF\elements\aura.lua:156>
nibRealUI-7.4 r3\HuD\UnitFrames\oUF\elements\aura.lua:308: in function <nibRealUI\HuD\UnitFrames\oUF\elements\aura.lua:302>
nibRealUI-7.4 r3\HuD\UnitFrames\oUF\elements\aura.lua:340: in function "?"
nibRealUI-7.4 r3\HuD\UnitFrames\oUF\events.lua:69: in function <nibRealUI\HuD\UnitFrames\oUF\events.lua:62>

Locals:
_ = <unnamed> {
 __owner = oUF_RealUIBoss1 {}
 CustomFilter = <func> @nibRealUI\HuD\..\UnitFrames.lua:3087
 anchoredIcons = 1
 1 = <unnamed> {}
 visibleAuras = 0
 visibleDebuffs = 0
 numDebuffs = 3
 visibleBuffs = 0
 createdIcons = 1
 numBuffs = 3
 spacing = 1
 ForceUpdate = <func> @nibRealUI\HuD\..\oUF\elements\aura.lua:467
 growth-x = "LEFT"
 0 = <userdata>
 size = 22
}
_ = "boss1"
_ = <unnamed> {
 overlay = <unnamed> {}
 UpdateTooltip = <func> @nibRealUI\HuD\..\oUF\elements\aura.lua:68
 stealable = <unnamed> {}
 cd = <unnamed> {}
 filter = "HELPFUL"
 0 = <userdata>
 icon = <unnamed> {}
 count = <unnamed> {}
}
_ = "Going Bananas"
_ = ""
_ = "INTERFACE\ICONS\inv_misc_food_23"
_ = 1
_ = nil
_ = 0
_ = 0
caster = nil
tonumber = <func> =[C]:-1
strsub = <func> =[C]:-1
EDIT:

Update prompt error:

Code:
17x nibRealUI-7.4 r3\Core\Settings-Settings.lua:305: attempt to call method "SetAddonProfileKeys" (a nil value)
nibRealUI-7.4 r3\Core\Settings-Settings.lua:305: in function "OnAccept"
FrameXML\StaticPopup.lua:3897: in function "StaticPopup_OnClick"
<string>:"*:OnClick":1: in function <string>:"*:OnClick":1

Locals:
dialog = StaticPopup1 {
 0 = <userdata>
 hideOnEscape = false
 itemFrame = StaticPopup1ItemFrame {}
 button3 = StaticPopup1Button3 {}
 extraFrame = StaticPopup1ExtraFrame {}
 icon = StaticPopup1AlertIcon {}
 maxWidthSoFar = 320
 button2 = StaticPopup1Button2 {}
 moneyFrame = StaticPopup1MoneyFrame {}
 moneyInputFrame = StaticPopup1MoneyInputFrame {}
 text = StaticPopup1Text {}
 editBox = StaticPopup1EditBox {}
 timeleft = 0
 numButtons = 2
 maxHeightSoFar = 133.00003242493
 button1 = StaticPopup1Button1 {}
 which = "PUDRUICGR"
}
index = 1
which = "PUDRUICGR"
info = <table> {
 button2 = "No"
 hideOnEscape = false
 timeout = 0
 button1 = "Yes"
 text = "|cff85e0ffRealUI Layout Resolution|r

|cffffffffThis character's Layout Resolution needs to be updated to match the global setting.

Reload UI now to apply these changes?"
 OnAccept = <func> @nibRealUI\Core\Settings.lua:302
 OnCancel = <func> @nibRealUI\Core\Settings.lua:308
 notClosableByLogout = false
 whileDead = true
}
hide = true
OnAccept = <func> @nibRealUI\Core\Settings.lua:302
Upd: -proper fix this time I hope-
In this func
Code:
local function CharToGlobalResolution()
	local msg = "|cff85e0ff"..L["RealUI Layout Resolution"].."|r\n\n|cffffffff"..L["This character's Layout Resolution needs to be updated to match the global setting."].."\n\n"..L["Reload UI now to apply these changes?"]
	
	StaticPopupDialogs["PUDRUICGR"] = {
		text = msg,
		button1 = "Yes",
		button2 = "No",
		OnAccept = function()
			dbc.resolution = dbg.resolution
			nibRealUICharacter.resolution = dbg.resolution
--!!!!!HERE!!!!!!!
			nibRealUI:SetAddonProfileKeys()
--!!!!!!END!!!!!!!!
			ReloadUI()
		end,
		OnCancel = function()
			dbg.resolution = dbc.resolution
			nibRealUICharacter.resolution = dbc.resolution
		end,
		timeout = 0,
		whileDead = true,
		hideOnEscape = false,
		notClosableByLogout = false,
	}
	StaticPopup_Show("PUDRUICGR")
end
change this
Code:
nibRealUI:SetAddonProfileKeys()
to this
Code:
nibRealUI:Profiles_SetKeys()
Hopefully it will fix all issues with updating/installing/resetting. Well, +commenting that bag addon function

Last edited by Nomaddc : 04-06-13 at 02:22 PM.
 
 

WoWInterface » Featured Projects » RealUI » RealUI


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off