Thread Tools Display Modes
07-27-10, 07:06 AM   #21
Deimous
A Wyrmkin Dreamwalker
Join Date: Nov 2009
Posts: 50
I've also tried the backup the WTF folder and see what happens... still was having the same issues.
 
07-27-10, 08:49 PM   #22
reddrumjay
A Black Drake
Join Date: Apr 2009
Posts: 85
Ok Scott - rather than just blow it all out, I'll help troubleshoot this thing and track it down. This will probably be a long post, but I guess too much info is better than not enough.

I dug into the WTF files. What an appropriate name for that folder...

I started out in
\Program Files\World of Warcraft\WTF\Account\<AccountName>\SavedVariables

I'm guess these are global variables that should apply to all characters.

Since I'm getting different results with different characters, I went into

\Program Files\World of Warcraft\WTF\Account\<AccountName>\<Realm>\<MainToon>

Found some handy files there, like AddOns.txt. Here's what my Main had running at last logout:
CarboniteItems: disabled
CarboniteTransfer: disabled
CarboniteNodes: disabled
FuBar-compat-1.2: disabled
LibBabble-Class-3.0: enabled
nUI6: disabled
Auc-Advanced: disabled
_NPCScan: disabled
BeanCounter: disabled
Carbonite: disabled
ElitistGroup: disabled
Enchantrix: disabled
Enchantrix-Barker: disabled
FuBar_MoneyFu: disabled
FuBar: disabled
GatherMate_Data: disabled
GatherMate: disabled
Informant: disabled
nUI_InfoPanel_Carbonite: disabled
Overachiever: disabled
Overachiever_Tabs: disabled
Overachiever_Trade: disabled
Postal: disabled
Routes: disabled
StatsLinker: disabled
Stubby: disabled
Auc-Util-FixAH: disabled
Auc-Stat-StdDev: disabled
Auc-Stat-Simple: disabled
Auc-Stat-Purchased: disabled
Auc-Stat-iLevel: disabled
Auc-Stat-Histogram: disabled
Auc-ScanData: disabled
Auc-Filter-Basic: disabled
BonusScanner: disabled
CLCRet: enabled
CLCRet_Options: enabled
GuildLaunchCT_RaidTracker: enabled
GearScore: disabled
nUI: enabled
nUI_InfoPanel_DualStats: enabled
Omen: enabled
PallyPower: enabled
Prat-3.0_HighCPUUsageModules: disabled
Recount: enabled
SmartRes: enabled
SnowfallKeyPress: enabled
DBM-Core: enabled
DBM-GUI: enabled
GuildLaunchProfiler: enabled
LibRock-1.0: disabled
Prat-3.0: enabled
nUI_Transparent_Console: disabled
Prat-3.0_Libraries: enabled
DBM-BlackTemple: enabled
DBM-BWL: enabled
DBM-BurningCrusade: enabled
DBM-ChamberOfAspects: enabled
DBM-Coliseum: enabled
DBM-EyeOfEternity: enabled
DBM-Icecrown: enabled
DBM-Karazhan: enabled
DBM-MC: enabled
DBM-Hyjal: enabled
DBM-Naxx: enabled
DBM-Onyxia: enabled
DBM-Outlands: enabled
DBM-Party-BC: enabled
DBM-Party-WotLK: enabled
DBM-PvP: enabled
DBM-AQ20: enabled
DBM-Serpentshrine: enabled
DBM-Sunwell: enabled
DBM-AQ40: enabled
DBM-TheEye: enabled
DBM-Ulduar: enabled
DBM-VoA: enabled
DBM-WorldEvents: enabled
DBM-ZulAman: enabled
DBM-ZG: enabled

Then I saw chat-cache.txt I don't know if that is for nUI or Prat, but a search of that monster text popped up the name of a custom tab. I can send you those files if you want, as posting here would make you go blind.

I then looked at the nUI.lua files in the saved varables for each toon
\Program Files\World of Warcraft\WTF\Account\<AccountName>\<Realm>\<MainToon>\SavedVariables\nUI.lua

Comparing the two, this jumped out at me straight off the bat. Remember, my Main has the problem, my Alt doesn't. I logged into both yesterday. I also always log into my Main first after an update.

Main:
["version"] = "5.06.29 (Plus)",
Alt:
["version"] = "5.06.21 (Plus)",

All the other differences were defined items like combat tool tips, chat font, frame rate, etc. All looked benign, but the version number sure stood out.

Since we have non-working vs. working on Main and Alt respectively, what else can I dig in to for comparison?
 
07-27-10, 10:28 PM   #23
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,917
chat-cache.txt is actually a blizzard file that allows blizzard to control where the frames go and what fonts/sizes/names they have. The option docked and shown are used to decide whether they are in use. If other addons use a frame and blizzard overrides those settings after they are set by the addon the game doesn't know what to use.

That is why my chat addons first find a free chat frame when you first log in with the addons in question and then stores that chat frame id in the addons wtf file. Each subsequent log in will then use that frame.
__________________
 
07-28-10, 04:30 AM   #24
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Originally Posted by reddrumjay View Post
Main:
["version"] = "5.06.29 (Plus)",
Alt:
["version"] = "5.06.21 (Plus)",
This is without a doubt related to the problem. The question is: why?

When you log in on the alt, does nUI say that 5.06.29 is loaded like it does when you log in on the main? Do you get a message that the alt has been updated to 5.06.29?

If you change an obvious nUI specific setting on the alt, like '/nui roundmap', then exit WoW and log back in on the alt, does the setting change stay changed or does it get reset to the prior value?
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/
 
07-28-10, 06:48 AM   #25
timtheenchan
A Murloc Raider
Join Date: Apr 2010
Posts: 7
an update dont think the ver no is the problem

I saw the prev post about the ver numbers under the wtf character folder and had a look at mine to see if its the same. Then i logged on all my toons inc one i have never used with nui. All the nui.lua files for each toon have the same ver number. All toons dont display the chat tabs, and little box except 1 that includes the one that has never been on nui before today. I am wondering if it is something to do with realid, and if the one that is working is the first i logged on with after the patch.

I hope this helps or stops you looking in the wrong direction.
 
07-28-10, 09:24 AM   #26
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,917
Okay, I can see there are quite a few people with chat tabs disappearing. I have yet to see this phenomen, although because so many are reporting it there must be something happening somewhere that is common to all of these people.

1. Are you all using Prat or Chatter ? - I am not using either anymore
2. Are you using my nUI_InfoPanel_.... Chat Frames ? - I have them always running
3. Are people able to give us screenshots of the chatframes existing without nUI and not existing with nUI ? - Here's my screenshot with nUI active ( 5 and 6 ) with all the chat tabs existing that have existed for a long while now.

chat-cache.txt pertinent information ( removed messages tracked for space reasons ) for the character in question. And, despite seeing this for the umteenth time, I have finally realised why my chatframe plugins don't always show the right messages per frame ( I'm not storing chosen chat frame ID per character *slaps head* ).

Code:
WINDOW 1
NAME General
SIZE 16
COLOR 0 0 0 0
LOCKED 1
UNINTERACTABLE 0
DOCKED 1
SHOWN 1
POSITION TOPLEFT 0.008908 -0.084533
DIMENSIONS 608.000061 243.414612

WINDOW 2
NAME Combat Log
SIZE 16
COLOR 0 0 0 0
LOCKED 1
UNINTERACTABLE 0
DOCKED 0
SHOWN 1


WINDOW 3
SIZE 16
COLOR 0 0 0 0
LOCKED 1
UNINTERACTABLE 0
DOCKED 3
SHOWN 0
POSITION BOTTOMLEFT 0.018229 0.053687
DIMENSIONS 429.999939 120.000008


WINDOW 4
NAME Debug Messages
SIZE 16
COLOR 0 0 0 0
LOCKED 1
UNINTERACTABLE 0
DOCKED 4
SHOWN 0
POSITION BOTTOMLEFT 0.018229 0.053687
DIMENSIONS 429.999939 120.000008


WINDOW 5
SIZE 12
COLOR 0 0 0 0
LOCKED 1
UNINTERACTABLE 0
DOCKED 5
SHOWN 0
POSITION BOTTOMLEFT 0.018229 0.053687
DIMENSIONS 429.999939 120.000008


WINDOW 6
NAME General/Trade
SIZE 12
COLOR 0 0 0 0
LOCKED 1
UNINTERACTABLE 0
DOCKED 2
SHOWN 0


WINDOW 7
NAME Chat
SIZE 16
COLOR 0 0 0 0
LOCKED 1
UNINTERACTABLE 0
DOCKED 6
SHOWN 0

WINDOW 8
SIZE 16
COLOR 0 0 0 0
LOCKED 1
UNINTERACTABLE 0
DOCKED 0
SHOWN 0


WINDOW 9
SIZE 16
COLOR 0 0 0 0
LOCKED 1
UNINTERACTABLE 0
DOCKED 0
SHOWN 0


WINDOW 10
SIZE 0
COLOR 0 0 0 0
LOCKED 1
UNINTERACTABLE 0
DOCKED 0
SHOWN 0
Anyway as you can see I have quite a few frames stored in file and these are all displayed in game as expected. Docked = postion after ChatFrame1, Shown = visible on screen.
Attached Thumbnails
Click image for larger version

Name:	WoWScrnShot_072810_161327.jpg
Views:	641
Size:	402.2 KB
ID:	4652  
__________________
 
07-28-10, 09:39 AM   #27
Deimous
A Wyrmkin Dreamwalker
Join Date: Nov 2009
Posts: 50
These are my screenshots.

Chat frames as appears when logging into a character:
Click image for larger version

Name:	chatbeforereload.JPG
Views:	166
Size:	20.5 KB
ID:	4653

And here it is after I do /reload or /nui rl
Click image for larger version

Name:	chatafterreload.JPG
Views:	158
Size:	16.8 KB
ID:	4654

I do indeed use prat, but this problem persists even if NUI is the only addon enabled.

Also, this is across all of my characters, not just specific ones...

Last edited by Deimous : 07-28-10 at 09:41 AM. Reason: Added notes about characters
 
07-28-10, 09:46 AM   #28
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,917
Are those tabs you created yourself or via the right click option on a channel name ?
__________________
 
07-28-10, 09:48 AM   #29
Deimous
A Wyrmkin Dreamwalker
Join Date: Nov 2009
Posts: 50
These tabs were created by right click on the general tab, selecting "Create new window" and then customizing what is seen in that window.
 
07-28-10, 10:54 AM   #30
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,917
Okay, I finally managed to replicate the problem. On my original screenshot those tabs were all created and in existence before the chat features came into play in wow. Here's another screenshot of what appears after I create a NEW tab as per Deimous description ( minus the setting of channels to show though ).

And here is the contents of the chat-cache.txt file again:
Code:
WINDOW 1
NAME General
SIZE 16
COLOR 0 0 0 0
LOCKED 1
UNINTERACTABLE 0
DOCKED 1
SHOWN 1
POSITION TOPLEFT 0.008908 -0.084533
DIMENSIONS 608.000061 243.414612


WINDOW 2
NAME Combat Log
SIZE 16
COLOR 0 0 0 0
LOCKED 1
UNINTERACTABLE 0
DOCKED 0
SHOWN 1


WINDOW 3
SIZE 16
COLOR 0 0 0 0
LOCKED 1
UNINTERACTABLE 0
DOCKED 3
SHOWN 0
POSITION BOTTOMLEFT 0.018229 0.053687
DIMENSIONS 429.999939 120.000008


WINDOW 4
NAME Debug Messages
SIZE 16
COLOR 0 0 0 0
LOCKED 1
UNINTERACTABLE 0
DOCKED 4
SHOWN 0
POSITION BOTTOMLEFT 0.018229 0.053687
DIMENSIONS 429.999939 120.000008


WINDOW 5
NAME Test
SIZE 16
COLOR 0 0 0 0
LOCKED 1
UNINTERACTABLE 0
DOCKED 5
SHOWN 0
POSITION TOPLEFT 0.398499 -0.229465
DIMENSIONS -429.750000 195.625015


WINDOW 6
NAME General/Trade
SIZE 12
COLOR 0 0 0 0
LOCKED 1
UNINTERACTABLE 0
DOCKED 2
SHOWN 0


WINDOW 7
NAME Chat
SIZE 16
COLOR 0 0 0 0
LOCKED 1
UNINTERACTABLE 0
DOCKED 6
SHOWN 0


WINDOW 8
SIZE 16
COLOR 0 0 0 0
LOCKED 1
UNINTERACTABLE 0
DOCKED 0
SHOWN 0


WINDOW 9
SIZE 16
COLOR 0 0 0 0
LOCKED 1
UNINTERACTABLE 0
DOCKED 0
SHOWN 0


WINDOW 10
SIZE 0
COLOR 0 0 0 0
LOCKED 1
UNINTERACTABLE 0
DOCKED 0
SHOWN 0

As you can see the frames are all here. And the fact that a reloadUI resolves the problem gives me the impression that the event UPDATE_CHAT_FRAMES isn't being triggered in time for nUI to set the chatframes up. I'll have to run some more tests there though.


Edit: After looking at ChatFrame.lua in nUI it seems the UPDATE_CHAT_WINDOWS ( my error before ) is being used to update the chatframes along with other events at the same time.
Attached Thumbnails
Click image for larger version

Name:	WoWScrnShot_072810_174801.jpg
Views:	606
Size:	444.3 KB
ID:	4655  
__________________

Last edited by Xrystal : 07-28-10 at 10:59 AM.
 
07-28-10, 11:09 AM   #31
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,917
Well, managed to get it working on my end but not sure if it will solve the problem if the code I removed is needed for it to work in other conditions.

In the nUI_ChatFrame.lua file in nUI/Integration folder. Lines around 345 the following were my changes:

Code:
	elseif event == "UPDATE_CHAT_WINDOWS" then
		reparentChatFrame();
--	elseif event == "UPDATE_CHAT_WINDOWS"
--	or     event == "UPDATE_FLOATING_CHAT_WINDOWS"
--	or     event == "BN_CHAT_CHANNEL_CREATE_SUCCEEDED" then
--		reparentChatFrame();
I don't use Battlenet so I am not sure how the BN_CHAT event will be affected here. Similarly I have yet to find a use for the UPDATE_FLOATING event as I had been using that test in my own addons and getting similar problems so simply removed the test.

Here's a final screenshot, taken after another new tab was created and logged out to login screen just as before, and then logging back in.
Attached Thumbnails
Click image for larger version

Name:	WoWScrnShot_072810_180510.jpg
Views:	635
Size:	394.9 KB
ID:	4656  
__________________
 
07-28-10, 11:57 AM   #32
Deimous
A Wyrmkin Dreamwalker
Join Date: Nov 2009
Posts: 50
Hmmm, did the changes you recommended, and got the following result:
Click image for larger version

Name:	chatplacement.JPG
Views:	163
Size:	21.6 KB
ID:	4657
The chat window is off kilter by quite a bit. All the tabs show, thankfully, but the positioning was odd.

I swapped to the guild tab and got this placement...:
Click image for larger version

Name:	chatguildtab.JPG
Views:	154
Size:	18.7 KB
ID:	4658
 
07-28-10, 12:12 PM   #33
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,917
Hmm, that looks reminiscent of some values not quite appearing right in that chat-cache.txt file.

Does every character have the same problem or only some ? In either case the following may be useful to look into

Use my posted values as a guide ( I use a 0.60 scale so may be a factor though ) and log out of the game totally and go to that chat-cache.txt file for each of the characters that are having and not having problems and see what their dimension/position values are. I suspect they are woefully different than mine which could be possible due to the scaling I use. But also, if you compare with your characters that do not have a problem you may find the values are just as out of synch.

While logged out of game try adjusting the values of the frames that are very wrong ( from seeing in game and comparing the files ) and log back into the game. WoW reads the window frame settings from that file and nUI the repositions and resizes as it requires afterwards.

We are one step closer.
__________________
 
07-28-10, 12:20 PM   #34
Deimous
A Wyrmkin Dreamwalker
Join Date: Nov 2009
Posts: 50
My other characters faired worse...
Click image for larger version

Name:	chatweird.JPG
Views:	161
Size:	13.5 KB
ID:	4659

Only one line shows at a time on my other characters. My main only has the positioning issue, this is just odd. The tabs are in the right spot on the other characters, and the custom tabs look right. It's just that I get only 1-2 lines on the general tab on other characters. I'll see what I can do about those variables.
 
07-28-10, 01:07 PM   #35
Deimous
A Wyrmkin Dreamwalker
Join Date: Nov 2009
Posts: 50
Click image for larger version

Name:	chatissue.JPG
Views:	189
Size:	46.4 KB
ID:	4660

This is my general tab, now, on my main. I took away the chat-cache.txt file (renamed it to chat-cache.txt.bak) and then logged onto my main, and that is what I saw... but, then I noticed that my special tabs were not there, so I went and restored the chat-cache.txt file to normal... Still all out of place and still no extra tabs.

I restored NUI to its normal state (changing back the .lua file I edited earlier) and returned to the game. The stuff was in the right position finally, but no extra tabs... Reloaded, still no tabs. Had to recreate them.

Finally made the changes again to the .lua file. Logged back in, and first thing I noticed was all my chat frames were there and in the proper position! However, it came with this error:
Code:
Date: 2010-07-28 13:44:55
ID: -1
Error occured in: Global
Count: 1
Message: ..\FrameXML\FloatingChatFrame.lua line 1030:
   bad argument #2 to 'max' (number expected, got nil)
Debug:
   (tail call): ?
   (tail call): ?
   [C]: max()
   ..\FrameXML\FloatingChatFrame.lua:1030: FCF_FadeOutChatFrame()
   Prat-3.0\modules\ChatTabs.lua:472: UpdateAllTabs()
   Prat-3.0\modules\ChatTabs.lua:381: OnModuleEnable()
   Prat-3.0\addon\modules.lua:189:
      Prat-3.0\addon\modules.lua:181
   (tail call): ?
   [C]: ?
   [string "safecall Dispatcher[1]"]:9:
      [string "safecall Dispatcher[1]"]:5
   (tail call): ?
   ...pTheCheapestThing\libs\AceAddon-3.0\AceAddon-3.0.lua:539: EnableAddon()
   ...pTheCheapestThing\libs\AceAddon-3.0\AceAddon-3.0.lua:551: EnableAddon()
   ...pTheCheapestThing\libs\AceAddon-3.0\AceAddon-3.0.lua:629:
      ...pTheCheapestThing\libs\AceAddon-3.0\AceAddon-3.0.lua:615
   [C]: LoadAddOn()
   ..\FrameXML\UIParent.lua:235: UIParentLoadAddOn()
   ..\FrameXML\UIParent.lua:258: CombatLog_LoadUI()
   ..\FrameXML\UIParent.lua:482:
      ..\FrameXML\UIParent.lua:454
AddOns:
  Swatter, v5.8.4723 (CreepyKangaroo)
  NPCScan, v3.3.5.4
  AucAdvanced, v5.8.4723 (CreepyKangaroo)
  AucFilterBasic, v5.8.4723 (CreepyKangaroo)
  AucFilterOutlier, v5.8.4723.2531
  AucMatchUndercut, v5.8.4723.2531
  AucStatHistogram, v5.8.4723 (CreepyKangaroo)
  AucStatiLevel, v5.8.4723 (CreepyKangaroo)
  AucStatPurchased, v5.8.4723 (CreepyKangaroo)
  AucStatSales, v5.8.4723.2842
  AucStatSimple, v5.8.4723 (CreepyKangaroo)
  AucStatStdDev, v5.8.4723 (CreepyKangaroo)
  AucStatWOWEcon, v5.8.4723.2530
  AucUtilAHWindowControl, v5.8.4723.3311
  AucUtilAppraiser, v5.8.4723.2530
  AucUtilAskPrice, v5.8.4723.3175
  AucUtilAutoMagic, v5.8.4723.3142
  AucUtilCompactUI, v5.8.4723.2530
  AucUtilEasyBuyout, v5.8.4723.3583
  AucUtilFixAH, v5.8.4723 (CreepyKangaroo)
  AucUtilGlypher, v5.8.4723.2545
  AucUtilItemSuggest, v5.8.4723.3108
  AucUtilPriceLevel, v5.8.4723.2545
  AucUtilScanButton, v5.8.4723.2530
  AucUtilScanFinish, v5.8.4723.3576
  AucUtilScanProgress, v5.8.4723.2530
  AucUtilScanStart, v5.8.4723.2530
  AucUtilSearchUI, v5.8.4723.3655
  AucUtilSimpleAuction, v5.8.4723.4546
  AucUtilVendMarkup, v5.8.4723.2530
  Baggins, v417
  BagginsProfessions, v2009-03-27
  BagginsToken, v1.0
  BeanCounter, v5.8.4723 (CreepyKangaroo)
  BonusScanner, v5.3
  Carbonite, v3.34
  CarboniteTransfer, v1.01
  Configator, v5.1.DEV.130
  DBMCore, v
  DropTheCheapestThing, vv3.5.3
  ElkBuffBars, v2.2.5-150
  Gatherer, v3.1.14
  GathererDBWowhead, v1.0.2009-12-09
  GearScore, v3.1.17 - Release
  HudMap, v
  nUI, v5.06.29 (Plus)
  nUIAuraButtons, v5.03.01
  nUIConfigGUI, v30300.4
  nUICrimsonSwirl, v1.00
  nUIInfoPanelDualStats, v1.03.01
  Omen, v3.0.9
  PallyPower, vv3.2.14 
  Prat30, v3.3.22 
  Prat30HighCPUUsageModules, v
  Prat30Libraries, v
  QuestHelper, v1.4.0
  RatingBuster, v
  Recount, v
  SlideBar, v5.8.4723 (CreepyKangaroo)
  Stubby, v5.8.4723 (CreepyKangaroo)
  TipTac, v10.05.01
  TipTacItemRef, v10.02.27
  TipTacTalents, v10.02.27
  Titan, v4.3.8.30300 - Revision 386
  TitanAmmo, v4.3.8.30300
  TitanBag, v4.3.8.30300
  TitanClock, v4.3.8.30300
  TitanCoords, v4.3.8.30300
  TitanGoldTracker, v4.3.8.30300
  TitanLootType, v4.3.8.30300
  TitanPerformance, v4.3.8.30300
  TitanRegen, v4.3.8.30300
  TitanRepair, v4.3.8.30300
  TitanVolume, v4.3.8.30300
  TitanXP, v4.3.8.30300
  BlizRuntimeLib_enUS v3.3.5.30300 <us>
  (ck=91f)
So, I figured, I can live with that. I logged out and logged onto my alt... Still was having the 1 line issue. I then exited, copied my alt's WTF folder, and copied all the WTF files from my main into my alt's folder. Log back in, log directly into my alt, and first thing I see is the pic I posted above.

So, just to make sure, I log out and log onto my main... and now it looks like the pic above as well. I had to unlock the window, realign everything, and that's where I'm at right now. One other thing of note: With the pic shown above, I have no errors while logging in.
 
07-28-10, 01:46 PM   #36
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,917
Hmm, let me log in again without nUI6 installed. I used to have that problem ages and ages ago now but not had it for a long while. I just assumed one of the patches fixed it.

Edit: Nope, still the way I expect it to be. Unlocked frames and saw something freaky. Screenshot attached. Resizing the frames fixed the goofiness and then I redocked them.

Have you tried using the Reset Chat Windows option and log out and log back in again and recreate the frames ? Bear in mind this will need to be done for each character but you can always cheat and copy across the chat-cache.txt file as you've mentioned before once you confirm that the main character is working fine again.

I'm still running with the fix I mentioned in place for the moment though.

Next test: Install prat and see if it all goes belly up again.
Attached Thumbnails
Click image for larger version

Name:	WoWScrnShot_072810_204917.jpg
Views:	624
Size:	359.2 KB
ID:	4661  
__________________

Last edited by Xrystal : 07-28-10 at 01:57 PM.
 
07-28-10, 02:11 PM   #37
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,917
Okay, installed Prat and although not getting the chat frame alignment issue yet I got the error you added. Seems that error is linked more to what Prat is doing rather than what nUI is doing. Or perhaps both.

Hmm, and seems like Prat breaks my chat frames addons as well, although not intentionally I know.

Looks like some more fixes needed there for those that use Prat and Chatter. Best case scenario is to turn off my addons if people are using it as it generates extra chat frame windows that shouldn't exist.
__________________
 
07-28-10, 02:37 PM   #38
Deimous
A Wyrmkin Dreamwalker
Join Date: Nov 2009
Posts: 50
Resetting the chat windows did not work. lol. It put the combat log and the general log together. I did a /reload, and now it's back to one line again... unlocked the window, resized it, locked it again... /reload... and the tabs are back above where they should be again.

Again and again, if I move it and do /reload, it keeps putting it back up above... is there something special NUI does during /reload that could be resetting something in the chat-cache.txt file?
 
07-28-10, 03:00 PM   #39
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,917
Hmm, well Prat seems to be ignoring everything I do about the chat frames rofl. I close them and when I log back in they're back there again.

And reset the code back to what it was and now back to a single tab on login because it isn't refreshing the chat-cache.txt information at the right time.

Okay, looked at Prat settings and it looks like it sets the default of all frames to on even though on the previous shut down I had closed the window.

But look what happened to the chat frame the moment I changed one of those settings. The body of a few of the frames are out in the middle of the screen and the tabs that should be connected to them are floating above the chat frame area which I suspect is the reason why the chat frame area has messed itself up.

Logged out and removed Prat and logged back in. The 2 windows that Prat had loaded up was there waiting for me to close so I did. But the main chat frame was there for all to see ... also note that I have tweaked my nUI_ChatFrame.lua to the following code:

elseif event == "UPDATE_CHAT_WINDOWS"
--or event == "UPDATE_FLOATING_CHAT_WINDOWS"
or event == "BN_CHAT_CHANNEL_CREATE_SUCCEEDED" then
reparentChatFrame();

instead of what I did earlier and it works the same way, along with the unlock glitch which only seems to occur in this situation but at the same time it allows all the tabs to appear.

I still however am not getting misalignment issues without Prat installed so possibly something linked to that error that occurs on login.

Final test: Reset Chat Windows, Log Out, Log In
Result: General and Combat in Main Chat Window, my addon's chat windows all ok and the infopanel combat frame missing because it is docked rofl. However, the unlock glitch no longer occurs, even with my latest change to get all the tabs to appear.

Final Test 2 : Undock combat log , Log Out, Log In
Result: Combat Log now in InfoPanel frame ( although this could be because I had it selected on log out )

Final Test 3 : Create New Tab, Log Out, Log In
Result : Chat Tabs ALL accounted for and in their right place. Unlock bug still there however, sigh, resize to fix it and redocked.

All the final steps were without Prat installed and my minor change to that chatframe file.

In regards to the unlock bug, seeing as nUI generally is used to put everything in one place most people would only unlock to close the excess frame so would be little problem to just unlock and close anyway. Although why it is doing that escapes me. Although looking at the chat-cache.txt prior to logging out after resizing the frame after unlocking makes me now wonder if not having a dimension is messing things up *shrugs*.

Code:
WINDOW 5
NAME Test 4
SIZE 0
COLOR 0 0 0 0
LOCKED 1
UNINTERACTABLE 0
DOCKED 2
SHOWN 0
MESSAGES
SAY
YELL
WHISPER
PARTY
PARTY_LEADER
GUILD
CHANNEL
BN_WHISPER
END

CHANNELS
END

ZONECHANNELS 0

END
Created another new window but this time unlocked, resized ( it still had error ) and redocked before logging out and in again. Ah much better. At least in file. Unlocked the two frames again and .... grr unlock bug still there.

Code:
WINDOW 5
NAME Test 4
SIZE 0
COLOR 0 0 0 0
LOCKED 1
UNINTERACTABLE 0
DOCKED 2
SHOWN 0
POSITION BOTTOMLEFT 0.005859 0.051656
DIMENSIONS 303.317078 197.088409

MESSAGES
SAY
YELL
WHISPER
PARTY
PARTY_LEADER
GUILD
CHANNEL
BN_WHISPER
END

CHANNELS
END

ZONECHANNELS 0

END

WINDOW 6
NAME Test 5
SIZE 0
COLOR 0 0 0 0
LOCKED 1
UNINTERACTABLE 0
DOCKED 3
SHOWN 0
POSITION BOTTOMLEFT 0.005859 0.051656
DIMENSIONS 303.317078 203.890213

MESSAGES
SAY
YELL
WHISPER
PARTY
PARTY_LEADER
GUILD
CHANNEL
BN_WHISPER
END

CHANNELS
END

ZONECHANNELS 0

END
One last attempt for the day ... put the chatframe code back to what it was .. logged out ( the two frames were unlocked, but not resized, and redocked ).

chat-cache.txt after log out and still on char selection screen
Code:
WINDOW 5
NAME Test 4
SIZE 0
COLOR 0 0 0 0
LOCKED 1
UNINTERACTABLE 0
DOCKED 2
SHOWN 0
POSITION BOTTOMLEFT 0.005859 0.051656
DIMENSIONS -429.750000 195.625015

MESSAGES
SAY
YELL
WHISPER
PARTY
PARTY_LEADER
GUILD
CHANNEL
BN_WHISPER
END

CHANNELS
END

ZONECHANNELS 0

END

WINDOW 6
NAME Test 5
SIZE 0
COLOR 0 0 0 0
LOCKED 1
UNINTERACTABLE 0
DOCKED 3
SHOWN 0
POSITION BOTTOMLEFT 0.005859 0.051656
DIMENSIONS -429.750000 195.625015

MESSAGES
SAY
YELL
WHISPER
PARTY
PARTY_LEADER
GUILD
CHANNEL
BN_WHISPER
END

CHANNELS
END

ZONECHANNELS 0

END
Logged back in ( with the regular chatframe ) and the unlock error still exists *sigh*. A minor headache seeing as nUI resizes the frames anyway. Created a new frame again with the original nUI code intact and logged out and in again .. and all frames accounted for and in their right place ..

Perhaps the reset chat windows fixed the bug .. I lost track now with all these tests rofl.
Attached Thumbnails
Click image for larger version

Name:	WoWScrnShot_072810_212649.jpg
Views:	621
Size:	345.3 KB
ID:	4662  Click image for larger version

Name:	WoWScrnShot_072810_212718.jpg
Views:	625
Size:	315.7 KB
ID:	4663  
__________________
 
07-28-10, 03:14 PM   #40
Deimous
A Wyrmkin Dreamwalker
Join Date: Nov 2009
Posts: 50
Indeed, this is most perplexing. I'll keep poking around with it... For now, I've noticed, on the one line alts, i can unlock it, resize it, and /reload, and it morphs to the problem where the general tab isn't lined up correctly (but all the other tabs work fine). I just move the general tab and it's good to go... Of course, on a /reload it goes back to where it shouldn't be...

Also, when I log back in, the frames look fine and I get that prat error from before.

I dunno. I am thoroughly stumped. lol
 
 

WoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Support » nUI: Bug Reports » Chat tabs are disappearing

Thread Tools
Display Modes

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