WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   nUI: Bug Reports (https://www.wowinterface.com/forums/forumdisplay.php?f=90)
-   -   NUI+ break in the patch? (https://www.wowinterface.com/forums/showthread.php?t=33336)

Msecorsky 06-22-10 06:42 PM

NUI+ break in the patch?
 
Looks like only the buttonbars are working... everything else seems out of place. Any ideas?

Thanks!

Xrystal 06-22-10 06:47 PM

Its the chatFrame changes causing a minor glitch. Assuming you have managed to get back in game I'll jump in and double check that the temp fix I did on the test server still works. If Scott hasn't already got in to work on it :D

ikathma 06-22-10 06:50 PM

Aye, got the same problem, and my limited knowledge didn't fix anything or even able to suggest anything.

Msecorsky 06-22-10 06:52 PM

Quote:

Originally Posted by Xrystal (Post 193259)
Its the chatFrame changes causing a minor glitch. Assuming you have managed to get back in game I'll jump in and double check that the temp fix I did on the test server still works. If Scott hasn't already got in to work on it :D

Yep, in the game now, servers are finally up. Please don't think I'm complaining... you all rock.

Out loud.

Xrystal 06-22-10 06:59 PM

Quote:

Originally Posted by ikathma (Post 193262)
Aye, got the same problem, and my limited knowledge didn't fix anything or even able to suggest anything.

If you spotted them in your browsing the problem is due to the fact that they added a buttonframe for the chat frame buttons.

EG.

ChatFrame1
ChatFrame1Tab
ChatFrame1ButtonFrame
ChatFrame1ButtonFrameBottomButton ( that last part from memory rofl )

DraconisRavenix 06-22-10 07:00 PM

WTB simple quick and ugly fix (if need be)
 
Not sure how it is from a mod/addon author point of view but, from a user/player point of view...

UI changes royally suck.

In other words, no harsh feelings at all towards the nUI+ team but, plenty towards Blizzard :p. This addon is insanely awesome on so many levels.

I'll keep an eye on this thread and the nUI+ download page but, if there's a fix that can't/won't be published that a coder can quickly do, that'd be great. :cool:

lonebigfoot 06-22-10 07:08 PM

Looking forward to a fix
 
1 Attachment(s)
Ever since i got nUI+ I have loved it. Its just all around a great UI. But ya changes like the chat frame in the latest patch suck for addons like this. here is a screenshot once I was able to log in.

Xrystal 06-22-10 07:10 PM

If you guys are using nUI_InfoPanel_Chat/nUI_InfoPanel_Whispers or nUI_InfoPanel_GuildChat try disabling them and see if it at least improves things somewhat.

Raesoth 06-22-10 07:13 PM

NUI 5
Prat 3.0
with hitsmode and the hits mode infopanel
and toomanyaddons

Message: Interface\FrameXML\UIPanelTemplates.lua:365: attempt to perform arithmetic on field 'cursorOffset' (a nil value)
Time: 06/22/10 19:12:14
Count: 106
Stack: Interface\FrameXML\UIPanelTemplates.lua:365: in function `ScrollingEdit_OnUpdate'
Interface\FrameXML\UIPanelTemplates.lua:342: in function `ScrollingEdit_OnTextChanged'
...e\AddOns\Blizzard_DebugTools\Blizzard_DebugTools.lua:449: in function `ScriptErrorsFrame_Update'
...e\AddOns\Blizzard_DebugTools\Blizzard_DebugTools.lua:413: in function `ScriptErrorsFrame_OnError'
[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:18: in function <[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:4>
[C]: ?
Interface\FrameXML\UIPanelTemplates.lua:365: in function `ScrollingEdit_OnUpdate'
Interface\FrameXML\UIPanelTemplates.lua:342: in function `ScrollingEdit_OnTextChanged'
...e\AddOns\Blizzard_DebugTools\Blizzard_DebugTools.lua:449: in function `ScriptErrorsFrame_Update'
...e\AddOns\Blizzard_DebugTools\Blizzard_DebugTools.lua:413: in function `ScriptErrorsFrame_OnError'
[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:18: in function <[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:4>
[C]: ?
...
[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:18: in function <[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:4>
[C]: ?
Interface\FrameXML\UIPanelTemplates.lua:365: in function `ScrollingEdit_OnUpdate'
Interface\FrameXML\UIPanelTemplates.lua:342: in function `ScrollingEdit_OnTextChanged'
...e\AddOns\Blizzard_DebugTools\Blizzard_DebugTools.lua:449: in function `ScriptErrorsFrame_Update'
...e\AddOns\Blizzard_DebugTools\Blizzard_DebugTools.lua:413: in function `ScriptErrorsFrame_OnError'
[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:18: in function <[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:4>
[C]: ?
Interface\FrameXML\UIPanelTemplates.lua:365: in function `ScrollingEdit_OnUpdate'
[string "*:OnUpdate"]:1: in function <[string "*:OnUpdate"]:1>

Locals: self = ScriptErrorsFrameScrollFrameText {
0 = <userdata>
text = "Message: ...youts\Default\InfoPanels\nUI_InfoPanel_CombatLog.lua:406: attempt to index local 'bottom' (a nil value)
Time: 06/22/10 19:12:13
Count: 1
Stack: ...youts\Default\InfoPanels\nUI_InfoPanel_CombatLog.lua:406: in function `setEnabled'
...youts\Default\InfoPanels\nUI_InfoPanel_CombatLog.lua:204: in function `initPanel'
Interface\AddOns\nUI\Integration\nUI_InfoPanel.lua:793: in function `applyScale'
Interface\AddOns\nUI\Integration\nUI_InfoPanel.lua:908: in function `applyOptions'
Interface\AddOns\nUI\Integration\nUI_InfoPanel.lua:937: in function `applySkin'
Interface\AddOns\nUI\Main\nUI.lua:252: in function <Interface\AddOns\nUI\Main\nUI.lua:137>

Locals: enabled = true
bottom = nil
down = nil
up = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = <function> defined =[C]:-1
(*temporary) = 2
(*temporary) = "attempt to index local 'bottom' (a nil value)"
plugin = nUI_InfoPanel_CombatLog {
handleCursorChange = true
}
elapsed = 0
scrollFrame = ScriptErrorsFrameScrollFrame {
0 = <userdata>
offset = 0
}
height = 193.99998045976
range = 0
scroll = 0
size = 193.99998045976
cursorOffset = nil
(*temporary) = nil
(*temporary) = ScriptErrorsFrameScrollFrame {
0 = <userdata>
offset = 0
}
(*temporary) = 0
(*temporary) = "attempt to perform arithmetic on field 'cursorOffset' (a nil value)"

__________

and

__________

Message: Interface\FrameXML\UIPanelTemplates.lua:365: C stack overflow
Time: 06/22/10 19:12:14
Count: 1
Stack: Interface\FrameXML\UIPanelTemplates.lua:365: in function `ScrollingEdit_OnUpdate'
Interface\FrameXML\UIPanelTemplates.lua:342: in function `ScrollingEdit_OnTextChanged'
...e\AddOns\Blizzard_DebugTools\Blizzard_DebugTools.lua:449: in function `ScriptErrorsFrame_Update'
...e\AddOns\Blizzard_DebugTools\Blizzard_DebugTools.lua:413: in function `ScriptErrorsFrame_OnError'
[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:18: in function <[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:4>
[C]: ?
Interface\FrameXML\UIPanelTemplates.lua:365: in function `ScrollingEdit_OnUpdate'
Interface\FrameXML\UIPanelTemplates.lua:342: in function `ScrollingEdit_OnTextChanged'
...e\AddOns\Blizzard_DebugTools\Blizzard_DebugTools.lua:449: in function `ScriptErrorsFrame_Update'
...e\AddOns\Blizzard_DebugTools\Blizzard_DebugTools.lua:413: in function `ScriptErrorsFrame_OnError'
[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:18: in function <[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:4>
[C]: ?
...
[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:18: in function <[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:4>
[C]: ?
Interface\FrameXML\UIPanelTemplates.lua:365: in function `ScrollingEdit_OnUpdate'
Interface\FrameXML\UIPanelTemplates.lua:342: in function `ScrollingEdit_OnTextChanged'
...e\AddOns\Blizzard_DebugTools\Blizzard_DebugTools.lua:449: in function `ScriptErrorsFrame_Update'
...e\AddOns\Blizzard_DebugTools\Blizzard_DebugTools.lua:413: in function `ScriptErrorsFrame_OnError'
[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:18: in function <[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:4>
[C]: ?
Interface\FrameXML\UIPanelTemplates.lua:365: in function `ScrollingEdit_OnUpdate'
[string "*:OnUpdate"]:1: in function <[string "*:OnUpdate"]:1>

Locals: self = ScriptErrorsFrameScrollFrameText {
0 = <userdata>
text = "Message: ...youts\Default\InfoPanels\nUI_InfoPanel_CombatLog.lua:406: attempt to index local 'bottom' (a nil value)
Time: 06/22/10 19:12:13
Count: 1
Stack: ...youts\Default\InfoPanels\nUI_InfoPanel_CombatLog.lua:406: in function `setEnabled'
...youts\Default\InfoPanels\nUI_InfoPanel_CombatLog.lua:204: in function `initPanel'
Interface\AddOns\nUI\Integration\nUI_InfoPanel.lua:793: in function `applyScale'
Interface\AddOns\nUI\Integration\nUI_InfoPanel.lua:908: in function `applyOptions'
Interface\AddOns\nUI\Integration\nUI_InfoPanel.lua:937: in function `applySkin'
Interface\AddOns\nUI\Main\nUI.lua:252: in function <Interface\AddOns\nUI\Main\nUI.lua:137>

Locals: enabled = true
bottom = nil
down = nil
up = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = <function> defined =[C]:-1
(*temporary) = 2
(*temporary) = "attempt to index local 'bottom' (a nil value)"
plugin = nUI_InfoPanel_CombatLog {
handleCursorChange = true
}
elapsed = 0
scrollFrame = ScriptErrorsFrameScrollFrame {
0 = <userdata>
offset = 0
}
height = 193.99998045976
range = 0
scroll = 0
size = 193.99998045976
cursorOffset = nil
(*temporary) = nil
(*temporary) = ScriptErrorsFrameScrollFrame {
0 = <userdata>
offset = 0
}
(*temporary) = 0
(*temporary) = "attempt to perform arithmetic on field 'cursorOffset' (a nil value)"
(*temporary) = <function> defined =[C]:-1
(*temporary) = "Interface\FrameXML\UIPanelTemplates.lua:365: attempt to perform arithmetic on field 'cursorOffset' (a nil value)"
(*temporary) = "C stack overflow"


Have 12 other similar errors if you want em, not doing much else sitting on an alien server with my level 1 toon all alone and exposed ... I miss my server already :)

DraconisRavenix 06-22-10 07:15 PM

Dunno if this helps...
 
Quote:

Originally Posted by Xrystal (Post 193272)
If you guys are using nUI_InfoPanel_Chat/nUI_InfoPanel_Whispers or nUI_InfoPanel_GuildChat try disabling them and see if it at least improves things somewhat.

I don't use any of those and my screen looks almost exactly as 'lonebigfoot' above. :(

Xrystal 06-22-10 07:22 PM

1 Attachment(s)
Okay, got it reasonably working with just nUI5 with the following changes and the screenshot below is the result.

If you try and manually move the chatframe it won't let you fill up the whole area nUI assigns to the chatframe. I believe this is due to how the new frames are built which I haven't managed to figure out yet myself.

But here are the changes I made to make it work for those industrialists out there :D

In nUI\Layouts\Default\InfoPanels\nUI_InfoPanel_CombatLog.lua

Lines : around 250 and 405

Change these lines in both areas :
--local bottom = _G["ChatFrame2BottomButton"];
--local down = _G["ChatFrame2DownButton"];
--local up = _G["ChatFrame2UpButton"];
To
local bottom = _G["ChatFrame2ButtonFrameBottomButton"];
local down = _G["ChatFrame2ButtonFrameDownButton"];
local up = _G["ChatFrame2ButtonFrameUpButton"];

This will fix the problem on the right hand side

In nUI\Integration\nUI_ChatFrame.lua
Lines : around 180

Change these lines
--local bottom = _G["ChatFrame"..i.."BottomButton"];
--local down = _G["ChatFrame"..i.."DownButton"];
--local up = _G["ChatFrame"..i.."UpButton"];
To these lines
local bottom = _G["ChatFrame"..i.."ButtonFrameBottomButton"];
local down = _G["ChatFrame"..i.."ButtonFrameDownButton"];
local up = _G["ChatFrame"..i.."ButtonFrameUpButton"];

This will fix the left hand side, somewhat :D

Until we figure out how to play with their new code it may be all we have until Scott can tweak the code more.

ncash.navy 06-22-10 07:24 PM

Exact same screen here. I also do not use any of the addons mentioned.

Tegarbah 06-22-10 07:27 PM

1 Attachment(s)
Same here as well. Screenshot attached.

Raesoth 06-22-10 07:29 PM

Guess its time to get my hands dirty and mess with the code :eek:

Wish I could get over this mental block that lua isn't that hard . uh-huh .. :rolleyes:

Let ya know how things go...

And Nope ... getting better but my left side is still broke but down to 1 error now :)

Message: Interface\AddOns\nUI\Integration\nUI_ChatFrame.lua:358: attempt to index local 'bottom' (a nil value)
Time: 06/22/10 19:39:49
Count: 1
Stack: Interface\AddOns\nUI\Integration\nUI_ChatFrame.lua:358: in function `applyScale'
Interface\AddOns\nUI\Integration\nUI_ChatFrame.lua:496: in function `applyOptions'
Interface\AddOns\nUI\Integration\nUI_ChatFrame.lua:600: in function `configFrame'
Interface\AddOns\nUI\Integration\nUI_ChatFrame.lua:126: in function <Interface\AddOns\nUI\Integration\nUI_ChatFrame.lua:112>

Locals: scale = 1
options = <table> {
strata = "BACKGROUND"
btn_size = 45
scale = 1
width = 585
fontsize = 11
height = 290
level = 3
btn_gap = -8
background = <table> {
}
}
anchor = nil
scale = 1
width = 438.75002261537
height = 206.62501994545
fontsize = 7.8375007565517
btn_hSize = 33.750001739644
btn_vSize = 32.062503094984
(for index) = 1
(for limit) = 10
(for step) = 1
i = 1
bottom = nil
down = nil
up = nil
(*temporary) = "ChatFrame1UpButton"
(*temporary) = nil
(*temporary) = "UpButton"
(*temporary) = 149.99999648557
(*temporary) = 1
(*temporary) = 0
(*temporary) = 1
(*temporary) = nil
(*temporary) = "attempt to index local 'bottom' (a nil value)"
frame = nUI_ChatFrame {
applyOptions = <function> defined @Interface\AddOns\nUI\Integration\nUI_ChatFrame.lua:460
options = <table> {
}
0 = <userdata>
scale = 1
width = 438.75002261537
configFrame = <function> defined @Interface\AddOns\nUI\Integration\nUI_ChatFrame.lua:504
applyScale = <function> defined @Interface\AddOns\nUI\Integration\nUI_ChatFrame.lua:287
height = 206.62501994545
btn_vSize = 32.062503094984
btn_hSize = 33.750001739644
applyAnchor = <function> defined @Interface\AddOns\nUI\Integration\nUI_ChatFrame.lua:421

Xrystal 06-22-10 07:32 PM

1 Attachment(s)
Okay, tested again with the usual suspects of Omen/Recount/Skada along with my own infopanels SmartDebuff/PallyPower/Decursive/DecursiveOmen. As you can see from this screenshot the combat log is similarly misaligned due to that extra mini frame that simply refuses to do as its told. You can faintly see the top part of it on the top left hand corner just outside the infopanel box.

spiel2001 06-22-10 07:33 PM

I am working on the patch... will have an update out shortly.

Ytek 06-22-10 07:34 PM

nui5
 
So if you have nui+ you need to downgrade it to nui5 and then make the changes listed? Just want to make sure I don't mess something up :)

spiel2001 06-22-10 07:35 PM

YOu do not have to downgrade to make the fix.

Eddiedean 06-22-10 07:38 PM

Quote:

Originally Posted by spiel2001 (Post 193294)
I am working on the patch... will have an update out shortly.

Scott, we love you man!

Thanks for all the hard work and dedication!!

Xrystal 06-22-10 07:38 PM

Now the big baby Prat with nUI. I suspect this is what is causing a big booboo as Prat being a chatframe addon will be highly possible to contain problems due to the patch.

Nope, apart from a few Prat error messages I couldn't see anything untoward happening but for the moment I think I'll forgo on Prat while we work this out personally.


Oops, missed some more changes in the ChatFrame.lua file.

Lines: around 360 and 400

Same Code Blocks Change the lines looking like the first 3 to the last 3

--local bottom = _G["ChatFrame"..i.."BottomButton"];
--local down = _G["ChatFrame"..i.."DownButton"];
--local up = _G["ChatFrame"..i.."UpButton"];

local bottom = _G["ChatFrame"..i.."ButtonFrameBottomButton"];
local down = _G["ChatFrame"..i.."ButtonFrameDownButton"];
local up = _G["ChatFrame"..i.."ButtonFrameUpButton"];


All times are GMT -6. The time now is 12:14 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI