Download
(33 Kb)
Download
Updated: 05/12/15 09:59 AM
Pictures
File Info
Compatibility:
Update 6 (1.6.5)
Update 5 (1.5.2)
Update 4 (1.4.3)
Update 3 (1.3.3)
Veteran Crypt of Hearts (1.2.3)
Craglorn (1.1)
Live (1.0)
Updated:05/12/15 09:59 AM
Created:05/18/14 09:35 AM
Monthly downloads:24
Total downloads:5,952
Favorites:33
MD5:
UnifiedChatTabs  Popular! (More than 5000 hits)
Version: 1.91
by: zgrssd [More]
Introduction:
I felt it was unnessesary that I had to manually recreate the same chat tabs on each of my characters, and otherwise had to manually Snych changes in this area. I easily get to 3 Tabs per Character and I see no reason to have seperate Tab settings for different Characters (as everything in this game is account based).

How the chat system is organised:
There are 1-10 Chat Containers. Container 1 is used by the default Chat system and is recreated by the game if it is missing. Addons may create additional Chat Containers. The number of chat containers is persisted between Characters and different runs of the game (API: 100003).
Each Chat Container can have any number of tabs (same as the Tabs on your Chat UI Element). Each Tab can listen to one or more Category (Category = incomming Chat Channel Messages). Each Category it's has a own color (independant of tabs).
There are a total of 61 Chat Categories, with about 20 being shown by the default UI, 41 having been named/in use and 20 being out of use (API version 100007).

At default settings this Addon only tries to synch the Tabs of the first ChatContainer (1) and the Category Colors (Chat Container independant/global) between Characters.
It can be set to include additional Chat Containers (if any addon created them), but this feature is experimental. It will not create or delete Chat Containers.

How to use:
Install Addon
Log in with the players whose Chat Settings you want to be the "default" for all others
Save the Tab Settings, enable Autoapply and (optionally) Autosave
Repeat for Colors
All further Characters you log in will have thier Chat Settings and Colors overwritten by that of the first Character and further Changes will be saved via a periodic Autosave (if enabeled)

Known issues:
In order to get changes to the names or number of Chat Tabs recognised, /reloadui has to be used. The Addon will detect if such changes have taken place and automatically reload accordingly.
It is unknown if the other setable values of a Tab (isLocked, isInteractable, areTimestampsEnabled) need a reloadui to apply. So I make a reload to be save.
There is a bool value for each tab called "IsCombatLog". It can only be set when creating a Tab, not afterwards. The addon will not re-create the tab if this bool values is not set the same as in the data. But tabs it adds anyway will get the proper value. Note that it will rename existing tabs rather then created a new ones.
If the Colors are applied the edit box and channel name in the Chat Window will not Automatically change to the new color (they do when Changing via the Menu). This is purely a graphcis bug and the actuall color will be used one a message is received.
In order to see d() messages from the load event (Auto-apply messages in particular), you need LibDebug or BugEater with Pre-Init debug enabeled (Game limitation)

Used Libraries:
LibAddonMenu, LAM-1to2-Interface, libStub (for Addon menu)
LD Timer Library (for Autosave)
LibConstantMapper (sine 1.6 for new save feature)

A addon with similar functionality is Chat Setup by xevoran
v1.91:
Updated the embedded version of LibAddonMenu, as the embedded version was causing errors unless overwritten by other source

v1.9:
Bumped API version to 100011

v1.8:
bumped API version to 100009

v1.7:
bumped API Version to 100008

v1.6:
Resetting the saved variables again, to allow the new save feature to work without issues (I hope it to be the last one I ever have to make)
Updated embedded copy of LibStub to 1.0r2
Updated embedded copy of LibAddonMenu to 2.0r13
Embedded LibConstantMapper 0.6 for the new save feature to work
Reworked how wich Chat Categoreis Tab Settings and Colors will be synched. The addon will now only store and write the Chat categories that are named (in use by the game). It will also be able to now resist changes in the order of chat categories. Finally the new save routine automaticalyl adapts if the developwers give new chat cateogires names.
Added a button to show the list of named Chat Categories (mostly for debugging purposes)
Removed some old/disabeled code that is no longer needed.

v1.5:
Fixed accidently using Global variables where a local one was intended.
Corrected Syntax error in the Optional Dependencies in the manifest
Expanded description to point out that automatic functionality has to be manually enabeled.

v1.4:
Re-enabeled the code. This version will reset earlier version settings to be on the save side and avoid side effects.
Bumped API version for 1.2.3 Update/API version 100007
Added a Readme to the addon folder to follow the new Addon Rules

v.1.3:
Temporarily disabeled the code as there is a small chance UTC 1.2 code on a ESO 1.2.3 client might cause corrupted chat data (unconfirmed), if it gathered data on a 1.1.5 or earlier client.

v 1.2:
Using Sasky's LAM-1to2-Interface is was able to switch to LAM 2.0 style Menu without major rewrites.
Embedded relevant parts of the LAM 2.0 files and removed LAM 1.0 files.

v 1.1:
Fixed an issue with the experimental inlcusion of additional chat containers. It will now properly check what containers there is data for and not try to apply containers it has no data for.
Made certain the most up to data versions of LAM 1.0 and libStub are in use
reordered optional dependencies

v 1.0:
Finally got the timer working, meaning that my original idea has been fully realised, thus this is now Version 1.0
A new saved variable is added to store Timer Frequency. No reset of version 0.8 settings is nessesary for this (default 5000 ms)
Slider to change the variable was added to menu (500-5000 ms Range)
Autosave Checkboxes had their name and description changed to properly reflect that they now work on a Timer instead of MessageReceived Event. They still use the same settings values as before.


v 0.8:
Craglorn (1.1.2) Update
Resets Saved Data and User settings
Redesigned entire save/apply system. It will only save settings when explicitly told so (previously it tried to use first Characters settings as default, now it leaves those empty).
Renamed internal Stored Variables
Added a whole host of d() responses for better user information and left several d() orders in the code but commented out for future debugging.
Seperated control for Autosave of Colors and Tab Data and allowed deleting of either settings

v 0.7:
Added Synching of Chat Colors. They are automatically saved together with the Tab settings and can be autoapplied on every load (default: off)
Note: Changing the Colors does not require a /reloadui, but then the color of the Chat Entry box will not reflect the new colors (as opposed to setting those via the Menu). This is a minor UI bug of ESO, the proper colors are used for the send message.

v 0.6:
Figured out that only Changes to Number or Name of Tab Containers will require a reload of the UI. Not changes to the Channels a Tab receives. Since the cases for forced /reloadui have been drastically reduced, Autoapply function has been added with Checkbox in Options Menu. Default value is false. If previous version settings exist they will be updated without discarding them.
When adding a Tab the bool value isCombatLog is now properly used (as it cannot be set later). Already existing tabs are not changed if they differ (as that would require re-creating the tab and all that follow). To manually force that, just disable autosave for a spell, remove all tabs and then apply the data (as this will create the tabs and apply the value of isCombatLog). I do not know of any meaning to this value.

v 0.5:
Original Release
Archived Files (4)
File Name
Version
Size
Uploader
Date
1.9
33kB
zgrssd
03/17/15 03:22 PM
1.8
33kB
zgrssd
09/20/14 06:49 AM
1.7
33kB
zgrssd
08/05/14 10:05 AM
1.6
33kB
zgrssd
07/21/14 01:54 PM


Post A Reply Comment Options
Unread 09/09/16, 10:44 AM  
calia1120
 
calia1120's Avatar
AddOn Author - Click to view AddOns

Forum posts: 62
File comments: 232
Uploads: 5
Originally Posted by Gamer1986PAN
Originally Posted by calia1120
The issue lies with the library. Comment out lines 47 & 48 of LibConstantMapper.lua - it doesn't appear to impact the functionality. I'm still able to add new tabs and they're showing up properly across all characters. I've been using it with the lines commented out since Thieves Guild dropped. I haven't found a need to reimplement the function.
Thx for the solution ^^
pChat does quite a bit of configuration for chat, and has many more options - I actually recommend discontinuing use of UnifiedChatTabs unless it gets updated.
Last edited by calia1120 : 09/09/16 at 11:08 AM.
Report comment to moderator  
Reply With Quote
Unread 09/09/16, 09:35 AM  
Gamer1986PAN
AddOn Author - Click to view AddOns

Forum posts: 87
File comments: 652
Uploads: 2
Originally Posted by calia1120
The issue lies with the library. Comment out lines 47 & 48 of LibConstantMapper.lua - it doesn't appear to impact the functionality. I'm still able to add new tabs and they're showing up properly across all characters. I've been using it with the lines commented out since Thieves Guild dropped. I haven't found a need to reimplement the function.
Thx for the solution ^^
Report comment to moderator  
Reply With Quote
Unread 04/27/16, 05:07 PM  
calia1120
 
calia1120's Avatar
AddOn Author - Click to view AddOns

Forum posts: 62
File comments: 232
Uploads: 5
The issue lies with the library. Comment out lines 47 & 48 of LibConstantMapper.lua - it doesn't appear to impact the functionality. I'm still able to add new tabs and they're showing up properly across all characters. I've been using it with the lines commented out since Thieves Guild dropped. I haven't found a need to reimplement the function.
Report comment to moderator  
Reply With Quote
Unread 03/22/16, 08:18 PM  
Faenix

Forum posts: 0
File comments: 2
Uploads: 0
Exclamation Re: TG Patch error - Anyone able to give me a manual fix?

Originally Posted by Sp00sty
This is the only LUA error of my ton of addons for TG patch so far. And it gives an actual LUA error Notification.

If anyone recognizes just a quick fix I'll manually update my copy.

Code:
2016-03-07T14:06:36.436-06:00 |cff0000Lua Error: Key: '2' contains the duplicate value '1'
stack traceback:
	[C]: in function 'assert'
	user:/AddOns/UnifiedChatTabs/libs/LibConstantMapper.lua:47: in function 'lib:getValIndexedKeyList'
	user:/AddOns/UnifiedChatTabs/UCT_main.lua:272: in function 'OnAddOnLoaded'|r
Same here; I just hope it's an easy fix!
Report comment to moderator  
Reply With Quote
Unread 03/07/16, 02:27 PM  
Sp00sty

Forum posts: 67
File comments: 173
Uploads: 0
TG Patch error - Anyone able to give me a manual fix?

This is the only LUA error of my ton of addons for TG patch so far. And it gives an actual LUA error Notification.

If anyone recognizes just a quick fix I'll manually update my copy.

Code:
2016-03-07T14:06:36.436-06:00 |cff0000Lua Error: Key: '2' contains the duplicate value '1'
stack traceback:
	[C]: in function 'assert'
	user:/AddOns/UnifiedChatTabs/libs/LibConstantMapper.lua:47: in function 'lib:getValIndexedKeyList'
	user:/AddOns/UnifiedChatTabs/UCT_main.lua:272: in function 'OnAddOnLoaded'|r
Report comment to moderator  
Reply With Quote
Unread 05/12/15, 03:55 PM  
OSean980

Forum posts: 15
File comments: 127
Uploads: 0
Originally Posted by zgrssd
Looks like the version of LibAddonMenu I embded is faulty/out of date. I will try to replace those files and see what happens.
The error only appears if no other addon provides more current version of those files.

Edit: Made an update. Should be solved once approved and updated via Minion. I like easy problems.
Easy problems are the best kind of problems :P
Thanks for the update!
Report comment to moderator  
Reply With Quote
Unread 05/12/15, 09:54 AM  
zgrssd
AddOn Author - Click to view AddOns

Forum posts: 280
File comments: 26
Uploads: 3
Originally Posted by OSean980
I get the following error message every time I load the game or /reloadui:

EsoUI/Common/ZO_Options/ZO_SharedOptions.lua:60: attempt to index a nil value
stack traceback:
EsoUI/Common/ZO_Options/ZO_SharedOptions.lua:60: in function 'ZO_SharedOptions:InitializeControl'
EsoUI/Common/ZO_Options/Keyboard/ZO_Options_Keyboard.lua:63: in function 'ZO_KeyboardOptions:InitializeControl'
EsoUI/Common/ZO_Options/Keyboard/ZO_Options_Keyboard.lua:153: in function 'ZO_OptionsWindow_InitializeControl'
user:/AddOns/UnifiedChatTabs/libs/LibAddonMenu-2.0.lua:296: in function 'CreateAddonList'
user:/AddOns/UnifiedChatTabs/libs/LibAddonMenu-2.0.lua:304: in function '(main chunk)'


The error has been happening since 1.6, but it's easy to shrug off. Decided to post it here if there's a solution, but if not it's no problem.
Looks like the version of LibAddonMenu I embded is faulty/out of date. I will try to replace those files and see what happens.
The error only appears if no other addon provides more current version of those files.

Edit: Made an update. Should be solved once approved and updated via Minion. I like easy problems.
Last edited by zgrssd : 05/12/15 at 10:00 AM.
Report comment to moderator  
Reply With Quote
Unread 05/10/15, 07:43 PM  
OSean980

Forum posts: 15
File comments: 127
Uploads: 0
I get the following error message every time I load the game or /reloadui:

EsoUI/Common/ZO_Options/ZO_SharedOptions.lua:60: attempt to index a nil value
stack traceback:
EsoUI/Common/ZO_Options/ZO_SharedOptions.lua:60: in function 'ZO_SharedOptions:InitializeControl'
EsoUI/Common/ZO_Options/Keyboard/ZO_Options_Keyboard.lua:63: in function 'ZO_KeyboardOptions:InitializeControl'
EsoUI/Common/ZO_Options/Keyboard/ZO_Options_Keyboard.lua:153: in function 'ZO_OptionsWindow_InitializeControl'
user:/AddOns/UnifiedChatTabs/libs/LibAddonMenu-2.0.lua:296: in function 'CreateAddonList'
user:/AddOns/UnifiedChatTabs/libs/LibAddonMenu-2.0.lua:304: in function '(main chunk)'


The error has been happening since 1.6, but it's easy to shrug off. Decided to post it here if there's a solution, but if not it's no problem.
Last edited by OSean980 : 05/10/15 at 07:44 PM.
Report comment to moderator  
Reply With Quote
Unread 03/17/15, 05:25 PM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4985
File comments: 6040
Uploads: 78
An alternativ:
Another addon which provides these settings + a lot more is pChat.

In addition this addon here will help you manage your chat tabs by keybindings and remembers the last channel and person you have talked to for each of your tabs (even after logout): FCO Chat Tab Brain
Report comment to moderator  
Reply With Quote
Unread 03/17/15, 03:35 PM  
OSean980

Forum posts: 15
File comments: 127
Uploads: 0
Originally Posted by zgrssd
Finally got to update it.
It appears the changs I made with 1.6 paid off. It just keeps adapting to new/updated chat categories.

I will look if there are any new return values later.
Wonderful news! I've missed seeing support for this addon (even though it still worked). It never left my list of must-haves. Welcome back to ESO, if you ever left!
Report comment to moderator  
Reply With Quote
Unread 03/17/15, 03:24 PM  
zgrssd
AddOn Author - Click to view AddOns

Forum posts: 280
File comments: 26
Uploads: 3
Originally Posted by OSean980
Any chance that this addon could be updated? I loved this addon, and hate to see it wither into the past.
Finally got to update it.
It appears the changs I made with 1.6 paid off. It just keeps adapting to new/updated chat categories.

I will look if there are any new return values later.
Report comment to moderator  
Reply With Quote
Unread 01/08/15, 11:41 PM  
OSean980

Forum posts: 15
File comments: 127
Uploads: 0
Any chance that this addon could be updated? I loved this addon, and hate to see it wither into the past.
Report comment to moderator  
Reply With Quote
Unread 06/17/14, 10:52 AM  
zgrssd
AddOn Author - Click to view AddOns

Forum posts: 280
File comments: 26
Uploads: 3
Originally Posted by zgrssd
Originally Posted by drstrangelov3666
Hi, i'm Getting this error

user:/AddOns/UnifiedChatTabs/UCT_main.lua:46: operator # is not supported for # nil
stack traceback:
user:/AddOns/UnifiedChatTabs/UCT_main.lua:46: in function 'setCCD'
user:/AddOns/UnifiedChatTabs/UCT_main.lua:172: in function 'ApplyCCD'
user:/AddOns/UnifiedChatTabs/UCT_main.lua:292: in function 'OnAddOnLoaded'
[...]
Found the real cupltript now:
The option to "include additional chat containers" was not properly checking what really is in the data. Added a proper check now and will upload it soon.
Last edited by zgrssd : 06/17/14 at 10:52 AM.
Report comment to moderator  
Reply With Quote
Unread 06/17/14, 08:43 AM  
zgrssd
AddOn Author - Click to view AddOns

Forum posts: 280
File comments: 26
Uploads: 3
Originally Posted by drstrangelov3666
Hi, i'm Getting this error

user:/AddOns/UnifiedChatTabs/UCT_main.lua:46: operator # is not supported for # nil
stack traceback:
user:/AddOns/UnifiedChatTabs/UCT_main.lua:46: in function 'setCCD'
user:/AddOns/UnifiedChatTabs/UCT_main.lua:172: in function 'ApplyCCD'
user:/AddOns/UnifiedChatTabs/UCT_main.lua:292: in function 'OnAddOnLoaded'

From What I've read in this thread on the Raetia Info Bar Forum it can happen if you an addon like HarvestMap installed that loads lots of data and is due to the way the game loads and initialises addons
Sorry, only saw this now.

What is described in Reatia's comments is a race condition happens because OnAddOnLoaded has not happened (yet), but some other event/timer depends on it has been fired (because it loads the data). I avoid those by registering events/starting timers that depend on data beign loaded as last step in the OnLoaded event itself.
The OnLoaded itself is the only callback registered outside of OnLoaded.

This exception comes from inside the loaded event.
It happens because Auto-Apply is true while there is no saved chat container data. I totally forgot that case when reworking the default values to a emtpy table.
Report comment to moderator  
Reply With Quote
Unread 06/01/14, 05:18 PM  
GeneralWurst

Forum posts: 2
File comments: 30
Uploads: 0
Same error:

user:/AddOns/UnifiedChatTabs/UCT_main.lua:46: operator # is not supported for # nil
stack traceback:
user:/AddOns/UnifiedChatTabs/UCT_main.lua:46: in function 'setCCD'
user:/AddOns/UnifiedChatTabs/UCT_main.lua:172: in function 'ApplyCCD'
user:/AddOns/UnifiedChatTabs/UCT_main.lua:292: in function 'OnAddOnLoaded'
Too many anchors processed.
Too many resize to fit updates processed. Is a child control anchored outside of a resize to fit control?
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: