WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   nUI: Technical Support (https://www.wowinterface.com/forums/forumdisplay.php?f=92)
-   -   TitanPanel new ver and nUI dont ..... (https://www.wowinterface.com/forums/showthread.php?t=36851)

Blanckaert 11-18-10 11:52 AM

TitanPanel new ver and nUI dont .....
 
1 Attachment(s)
like each other, it seems TP has changed itself again, and they dont place properly... nUI dont have a larger drop down top menu to 'fit' TitanPanel (as if TitanPanel isnt loaded, but is...)

Image attached.... going to reload ui, and see if maybe that might help...

ah... missed it the first time, but got:

Date: 2010-11-18 12:48:30
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\nUI\Integration\nUI_TitanPanel.lua line 157:
hooksecurefunc(): TitanPanelBarButton_ToggleAuxAutoHide is not a function
Debug:
[C]: ?
[C]: hooksecurefunc()
nUI\Integration\nUI_TitanPanel.lua:157:
nUI\Integration\nUI_TitanPanel.lua:150
AddOns:
((list trimmed))
nUI dev + ver (of course)

Titan, v5.0.0.40000 - Revision 467
TitanBag, v5.0.0.40000
TitanClock, v5.0.0.40000
TitanCoords, v5.0.0.40000
TitanDefense, v3.0.9.40000
TitanGold, v5.0.0.40000
TitanGuild, v3.6k
TitanLocation, v5.0.0.40000
TitanLootType, v5.0.0.40000
TitanPerformance, v5.0.0.40000
TitanRepair, v5.0.0.40000
TitanVolume, v5.0.0.40000
TitanWG, v1.2.1.40000
TitanXP, v5.0.0.40000
BlizRuntimeLib_enUS v4.0.3.40000 <us>
(ck=c94)

(Edit)

From TitanPanel WebSite:

•The 4 Titan Panel bars are now independent. 1 or 2 on the top and 1 or 2 on the bottom.
•Each bar can have its own settings - show / hide; center / left; auto-hide; transparency.
•There is an options screen for main bar & main bar 2 and aux bar & aux bar 2.
•The options that affect main or aux are in the proper options screen.
•The transparency option was updated to adjust each of the 4 bars independently.

.... so umm I know Scott was not wanted to spend time on fixing 5 and concentrate on 6, but anyone know a edit fix for this or Scott, is this something 'easy' to do ?


** Yeah this is a bug report, sorry I put in wrong forum **

spiel2001 11-18-10 12:35 PM

It's probably easy enough, but I really don't want to invest the time in it right now. Maybe someone else can flesh out a fix, otherwise, I'm going to leave it for nUI6.

whereswaldo 11-18-10 12:58 PM

What version of TitanPanel are you using? It is working fine for me and the TOC file says ## Version: 5.0.0.40000 - Revision 467. If needed, I can upload a screenshot later tonight. Might be an issue if you have Auto Hide turned on (which I don't).

samyonair 11-18-10 01:24 PM

Version 5.0.0.4000
 
I Get the same error message, version of titan Panel is 5.0.0.4000 Releasedate 18.11.10, have switched all configurations in titan panel but nothing works nui scales not with this version and and I get the same errormessage, would be nice to find someone with a temp fix, my coding skills are very basic and lua I've no skill otherwise i would look into it.

greetings samyonair

Blanckaert 11-18-10 06:27 PM

Quote:

Originally Posted by spiel2001 (Post 218428)
It's probably easy enough, but I really don't want to invest the time in it right now. Maybe someone else can flesh out a fix, otherwise, I'm going to leave it for nUI6.

No Problem Scott... it's not a play killer for me ;) I'd rather you spend your time on nUI6 .... ;)

Blanckaert 11-18-10 06:28 PM

Quote:

Originally Posted by whereswaldo (Post 218438)
What version of TitanPanel are you using? It is working fine for me and the TOC file says ## Version: 5.0.0.40000 - Revision 467. If needed, I can upload a screenshot later tonight. Might be an issue if you have Auto Hide turned on (which I don't).

I dont have auto hide on either, always 'pinned' to the screen. and I just downloaded this ver direct from the TP Website.

whereswaldo 11-18-10 10:30 PM

I did a quick scan of my Titan and Nui folders for the function that is having a problem (well up to the word Toggle) and found the following:

Functions that nUI_TitanPanel tries to hook

00156: hooksecurefunc( "TitanPanelBarButton_ToggleAutoHide", DetectTitanBars );
00157: hooksecurefunc( "TitanPanelBarButton_ToggleAuxAutoHide", DetectTitanBars );
00158: hooksecurefunc( "TitanPanelBarButton_ToggleDoubleBar", DetectTitanBars );
00159: hooksecurefunc( "TitanPanelBarButton_ToggleAuxDoubleBar", DetectTitanBars );
00160: hooksecurefunc( "TitanPanelBarButton_TogglePosition", DetectTitanBars );
00161: hooksecurefunc( "TitanPanelBarButton_ToggleBarsShown", DetectTitanBars );
*
Functions that are declared in TitanPanel:

01989: function TitanPanelBarButton_ToggleAlign(align)
02001: function TitanPanelBarButton_ToggleAutoHide(frame)
02012: function TitanPanelBarButton_ToggleScreenAdjust()
02018: function TitanPanelBarButton_ToggleAuxScreenAdjust()

Looks like a lot has changed

Gaidinward 11-19-10 05:20 AM

The previous version, Version: 4.3.9.40000 - Revision 386, is still working fine for me. If there is not some new feature you need, just revert to older version until nUI6 is done.

Blanckaert 11-19-10 09:29 AM

ok.. attempted to play with the file, and cleared out one error to get another...


Date: 2010-11-19 10:21:01
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\nUI\Integration\nUI_TitanPanel.lua line 104:
attempt to index global 'TitanPanelAuxBarButtonHider' (a nil value)
Debug:
[C]: ?
nUI\Integration\nUI_TitanPanel.lua:104:
nUI\Integration\nUI_TitanPanel.lua:98
nUI\Integration\nUI_TitanPanel.lua:167:
nUI\Integration\nUI_TitanPanel.lua:150
AddOns:
Swatter, v3.1.16 (<%codename%>)
TitanXP, v5.0.0.40000
BlizRuntimeLib_enUS v4.0.3.40000 <us>
(ck=cce)


So... more stuff changed... My recommendation (and what I'm going to do) is revert back to the prev ver of TitanPanel, and not bug Scott to get nUI6 up and running.... ;)

Beloom 11-19-10 03:34 PM

Reverting back to the previous version works just fine.

blademage727 11-20-10 01:58 PM

Any chance nUI will be updated to work with the new TitanPanel version soon? Going to downgrade for now, but I'd like to be able to keep TitanPanel current if possible. ^.^"

spiel2001 11-20-10 02:23 PM

nUI5 will not be modified to work with the nUI Titan release -- I will take it into account in nUI6.

Xrystal 11-20-10 04:19 PM

2 Attachment(s)
Rofl, glad you said that Scott rofl .. :D

I just rigged up a quick fix to get it working .. gonna try and make it a separate plug in rather than get people to adjust code or add an updated file.

I will make sure it works with the newest version of nUI before finalising it but with the version before that this is what it looks like with the new duo bars active and autohidden.

And for those that are itching to see what the change was that I made :D

Please do NOT put this in the nUI folder but rather use it as a guide as to what needs to be added to the existing file and you know what you are doing :D

In the mean time I will try to turn it into a temp fix plugin while Scott concentrates on version 6. :D

Edit: Scratch that ... can't do a quick and dirty fix as a separate file ..

Edit2: And knowing how sensitive Scott is to his source code getting out there I'll just post what I found out.

New TitanPanelFrames - the Display_Bars are the bars when they are displayed. the Hider_Bars are what are shown when they are hidden to hold the UI in place I suspect.
Code:

Titan_Bar__Display_Bar
Titan_Bar__Hider_Bar
Titan_Bar__Display_Bar2
Titan_Bar__Hider_Bar2
Titan_Bar__Display_AuxBar
Titan_Bar__Hider_AuxBar
Titan_Bar__Display_AuxBar2
Titan_Bar__Hider_AuxBar2

New Titan Panel Functions and Validators
Code:

TitanPanelGetVar("Bar_Show")
TitanPanelGetVar("Bar_Hide")
TitanPanelGetVar("Bar2_Show")
TitanPanelGetVar("Bar2_Hide")
TitanPanelGetVar("AuxBar_Show")
TitanPanelGetVar("AuxBar_Hide")
TitanPanelGetVar("AuxBar2_Show")
TitanPanelGetVar("AuxBar2_Hide")

How to get it to decide where to put the nUI Frames. This is an example of just one of them. The other is easy to identify from this. The tests I am making are on variables I have created to make it more understandable.
Code:

        if BothTopBarsShown then
                if not TopBar2AutoHidden then
                        nUI_TopBarsLocator:SetPoint( "BOTTOMLEFT", TopBar2Frame, "BOTTOMLEFT", 0, 0 );       
                else
                        nUI_TopBarsLocator:SetPoint( "BOTTOMLEFT", TopBar2AutoHidingFrame, "BOTTOMLEFT", 0, 0 );       
                end
        elseif TopBar1Shown then
                if not TopBar1AutoHidden then
                        nUI_TopBarsLocator:SetPoint( "BOTTOMLEFT", TopBar1Frame, "BOTTOMLEFT", 0, 0 );
                else
                        nUI_TopBarsLocator:SetPoint( "BOTTOMLEFT", TopBar1AutoHidingFrame, "BOTTOMLEFT", 0, 0 );
                end
        else
                nUI_TopBarsLocator:SetPoint( "BOTTOM", UIParent, "TOP", 0, 0 );
        end


Xrystal 11-20-10 04:51 PM

1 Attachment(s)
Sometimes I surprise myself rofl.

Managed to get it working as a plugin that will override nUI's current functionality when dealing with Titan Panel.

Hopefully the file will be openable but time will tell. This one currently works with 5.07.06 of nUI+.

Edit: Just tested and it also works with 5.07.07 as expected.

Blanckaert 11-20-10 05:17 PM

Thank Xrystal.... placed it in the \interface\addons directory, and works great.... ;)

Rayven01 11-23-10 08:35 PM

Thanks Xrystal!

shayotan 11-24-10 03:09 PM

i downloaded zip but it wont open ?? :(

Quote:

Originally Posted by Xrystal (Post 218759)
Sometimes I surprise myself rofl.

Managed to get it working as a plugin that will override nUI's current functionality when dealing with Titan Panel.

Hopefully the file will be openable but time will tell. This one currently works with 5.07.06 of nUI+.

Edit: Just tested and it also works with 5.07.07 as expected.


Xrystal 11-24-10 04:03 PM

You might want to read the last post in this thread...

http://www.wowinterface.com/forums/s...ad.php?t=36226

Think they figured out why that happens sometimes.

shayotan 11-28-10 08:00 AM

Xrystal, How do i get this to work? i extracted it and put it in my interface addons folder but it did not work. what am i missing?

EDIT: Ok thank you for the other link, apparently i did not read far enough ahead. so this is what you have to do,
download the link from Xrystal.
extract it with 7zip.
add a .zip extension to the extracted file.
now extract that into your interface/addons folder
and...

Whaalaaa! tada works. tyvm



Quote:

Originally Posted by Xrystal (Post 218759)
Sometimes I surprise myself rofl.

Managed to get it working as a plugin that will override nUI's current functionality when dealing with Titan Panel.

Hopefully the file will be openable but time will tell. This one currently works with 5.07.06 of nUI+.

Edit: Just tested and it also works with 5.07.07 as expected.


Xrystal 11-28-10 08:01 AM

Hmm, what exactly isn't working with it ?


All times are GMT -6. The time now is 09:44 AM.

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