Download
(48 Kb)
Download
Updated: 11/03/15 03:04 PM
Pictures
File Info
Compatibility:
Orsinium (2.2.4)
Updated:11/03/15 03:04 PM
Created:08/04/14 04:03 AM
Monthly downloads:69
Total downloads:12,099
Favorites:25
MD5:
Circonians ChatIt  Popular! (More than 5000 hits)
Version: 4.2
by: circonian [More]
If you haven't yet you should check out my JunkIt Loot Manager (click here)

This started as a simple addon someone requested on the forums just to darken the chat background. I only did it because it was simple & quick. I got a few requests for small things & squeezed in time to do it when I could. But, I keep getting more. I'm glad you guys like it & I will keep it alive, but I don't have much time to add features to this.

Newest Features:
(3.1) Added Clear Buffer Slash Command -- You can now use /reloadclear to clear the buffers. This clears all chat buffers.
(3.0) Added Chat Buffers -- Chat is now buffered, up to 100 messages. You can choose to have previous chat automatically reloaded for you when you reload the ui and login. This way you wont miss any conversations when your reloading your UI.
(3.0) New SlashCommands -- /reloadchat, /reloadparty, /reloadwhisper, /reloadguild, /reloadofficer. These commands will reload ALL chat in their respective chat buffers.
(3.0) Optional Slash Command Parameter -- You can add a time parameter to the slashcommands and it will only display messages that are less than that many minutes old. For example:
/reloadwhispers 20 would reload all whipsers from the last 20 minutes into the chat window.
NOTE: The chat buffers are capped at 100 messages. Once a buffer is full it will remove the oldest message each time it saves a new one. So just because you can type /reloadchat 99999 Its probably not going to have messages that old in the buffer.

(2.9) pChat Compatibility -- Made some changes to be more compatible with pChat. Now if you run pChat the timestamps in ChatIt will automatically be disabled. Even if you turn them on they wont do anything, you'll have to use the timestamps in pChat (this is only if your running both addons). This is to provide compatibility and prevent the two addons from fighting over the games chat handler.
Features:
Multiple Chat Windows: You can now open multiple chat windows.

Chat Timestamps & Time Played: You can toggle ON/OFF chat timestamps or time played so you can see how long you've been playing or how late its getting.

Secondary Chat Backdrop: Toggle ON/OFF a secondary backdrop behind the chat window to darken it.

Secondary Chat Backdrop Alpha: You can adjust the alpha of the secondary backdrop so you can make the chat window just a little darker or a lot.

Toggle ON/OFF background fading: Can be used to prevent the background from fading.

Text Fade Delay: You can adjust the delay time before the chat text starts to fade away. You can also prevent the chat text from ever fading by setting this value to 0 (in the settings menu)

Text Fade Duration: You can adjust the amount of time it takes for the text to fade away after the delay time has passed.
Version 4.2 --

API Update No changes, just an API update
Version 4.1 --

LAM2 Missing Entry Message Fixed a minor problem causing a LAM2 error message to display in chat about a missing entry.
Version 4.0 --

Reloaded Text Time Stamps Updated the reloaded text time stamps to use the same precision as the clock (set in the settings menu under Time Stamps: 12 hr / 24 hr). For reloaded text, changes to the precision will only apply to time stamps on messages received AFTER changing the precision.
Version 3.9 --

Library Update Updated the LibAddonMenu & LibStub library
Version 3.8 -- Added Request Feature

Larger Chat Windows Increased the maximum dimensions of the chat windows to allow you to resize them larger than the games default size.
Version 3.7 --

Multiple Chat Windows Feature Is Back I managed to track down several new bugs in the game code & fix them. Multiple chat windows should be working now.
Code Checks Improved code checks to prevent the phantom window problem users encountered after the update. This was due strictly to bugs in ZOS code. I have squashed all the bugs.
Setting Changes Your settings for "Show Default Background" & "Show Extra Background" may have changed. You may need to reset them in the settings menu. All other settings should remain intact.
Auto-Dock/Transfer All Chat Container Tabs Added the ability to dock/transfer/move all chat tabs from one chat window into another chat window (all tabs at once) by dragging the 1st chat tab & dropping it into another windows tab drop area (just like you were dragging a single tab).

Transferring all chat tabs out of the primary chat container is not allowed for your safety. You must be dragging the 1st tab of a window other than the primary chat window for auto-docking to work.
Version 3.6 --

BUG FIX Due to code changes in the update the Multiple Chat window feature is not working properly. It is being temporarily removed.

If you are getting errors and/or have strange chat windows on your screen:
  • Install this new version
  • Reload the ui & it should fix the problem (but you'll still see the error),
  • Then reload the ui again and the errors should stop.
You can reload the ui by typing: /reloadui in the chat window.
Version 3.5 --

API # Update
Version 3.3 --

Show/Hide Default Background Added the ability to hide the default background on the chat windows. This is for those who find both background together to dark, but would like the extra border provided by the extra background.
Version 3.2 --

Bug Fix Fixed a minor bug that would cause an error if you received a chat msg before the addon finished loading.
Version 3.1--

Bug Fix Fixed a bug that caused an error when attempting to reload chat from an empty buffer.
pChat Compatibility Fix for Buffered Chat Fixed an issue causing the "buffered chat" that was reloaded to break when used with pChat.
Correct Windows The reloaded chat should now reload into the appropriate windows/tabs. This include multiple window support now.
Reload Chat Message Dividers Added an option to print divider messages
****** Reloading Chat: WHISPERS ******
To make it easier to see what chat was reloaded & what is new/old chat
****** Chat Reloaded ******

Fixed TimeStamps to work with pChat NOTE: THIS ONLY APPLIES TO THOSE USING PCHAT AND CHATIT
I do not like how this works at the moment....but at least it works. I had to pass the reloaded chat messages to the games chat system to allow it to filter & put msgs in the correct window/tabs as well as grab the correct chat category colors. But pChat is reformatting them, So at the moment with pChat (and its timestamps on) it comes out like this [19:23:05] username: [TIME_MESSAGE_WAS_RECEIVED] Chat Message
Having the double timeStamps is confusing...and the pChat timeStamp that shows will be the time the message was reloaded, not the time it was received. This is confusing, but I don't think there is anything I can do about that since its a part of pChat & libChat.
I also attempted to color TIME_MESSAGE_WAS_RECEIVED red, to make it stand out & easier to see the correct times for the reloaded chat....but pChat removes the color.

Version 3.0 --

Added Chat Buffers Chat is now temporarily logged (up to 100 msgs) and can be automatically reloaded when you log in or reload the ui. You can choose to have ALL chat msgs reloaded or choose from: party, whispers, guild, officer chats. You can set a time interval to decide how far back it will reload msgs from 1 to 10 minutes.
You can also use slash commands to go back further than 10 minutes or to display all msgs in the chat buffers. Examples & more details are in the settings menu.
Version 2.9 --

pChat Compatability If you want to use ChatIt & pChat at the same time you should now be able to do so.
If you have both addons running the timestamp feature in ChatIt WILL BE DISABLED, even if you turn it on it wont do anything.
This is to prevent the two addons from fighting over the chat handler & to provide compability between the two. pChat has a timestamp feature built in so you can use it if your using both addons.
Version 2.8 --

Updated the API Version Number
Version 2.7 --

Updated the API Version Number
Version 2.5 -- Added a Requested Feature
Background Keybind Added a keybind for the background so you can quickly toggle it on & off.
Version 2.5 --
Fixed Windows Dissappearing on Relog I changed the code that was automatically destroying windows when you reloaded your ui or relogged. Instead, in case you get phantom windows, I have added a button to the settings menu that will destroy all of your extra chat windows to fix the problem...although it really shouldn't happen, its just a precaution.
Version 2.0 --
Added Requested features for Multiple Chat Windows Turn it on then you can drag tabs off of the main window or drag them back onto the main chat windows chat tab to reanchor it.
Version 1.1 --
Added Requested features for Chat Timestamps: And I threw in time played as well, thought that might be useful to someone.
Archived Files (20)
File Name
Version
Size
Uploader
Date
4.1
50kB
circonian
09/22/15 03:30 PM
4.0
50kB
circonian
09/22/15 11:20 AM
3.9
49kB
circonian
09/20/15 12:26 PM
3.8
43kB
circonian
09/08/15 01:58 PM
3.7
43kB
circonian
09/04/15 06:07 PM
3.6
41kB
circonian
08/31/15 09:08 PM
3.5
41kB
circonian
08/31/15 06:56 PM
3.4
41kB
circonian
08/31/15 06:46 PM
3.3
41kB
circonian
07/15/15 01:24 PM
3.2
41kB
circonian
07/12/15 01:53 PM
3.1
41kB
circonian
04/04/15 07:46 PM
3.0
40kB
circonian
04/04/15 02:52 AM
2.9
37kB
circonian
04/03/15 06:54 PM
2.8
37kB
circonian
03/03/15 03:57 PM
2.7
33kB
circonian
11/03/14 07:09 AM
2.7
32kB
circonian
08/31/14 07:13 PM
2.5
60kB
circonian
08/08/14 11:47 PM
2.0
32kB
circonian
08/06/14 11:02 PM
1.1
27kB
circonian
08/04/14 07:40 PM
1.0
27kB
circonian
08/04/14 04:03 AM


Post A Reply Comment Options
Unread 08/08/15, 03:45 AM  
Anceane
 
Anceane's Avatar
AddOn Author - Click to view AddOns

Forum posts: 306
File comments: 1018
Uploads: 1
Re: Re: Any way to keep to lock the windows ?

Tested :
No addon at all beside Chatit

Position the window at the center top just below the radar
Log off
The window has been pushed horizontally on the left side
Position the window at the center top again
Log off again
The window is moved
Position it again :P
Quit the game
Log in the window is now at the same place

All this with only this addon

It seems that when you create it does not register after a simple logon but you need to quit the game each time so the position register (tested with 4 characters)



Originally Posted by circonian
Originally Posted by Anceane
The windows do not stay at the place i want, at reload its moved each time. Anything i missed in the options ?

(i was using Multichatwindows and switched because the author send us to this addon, but unfortunatly its way more complicated than the other one when i have to replace my windows for 8 characters at each logging )

Thanks for any information
They should not be moving. Do you still have multichatwindows turned on? If so turn it off.
Chat window positions are all handled by the game, this addon doesn't touch the chat window positions. Something else must be moving them. Try logging off, turn off all other addons, log in, move windows around, then log out & back in and see if they stay.
Thank for answering
Multichatwindows was removed prior to install ChatIt as well as the saved variables (i do this always but keep a save of the futur old addons in case).
So i create 1 window for test, that i position just below the radar. (same place as with Multichat). I log off, and log back in, the windows has been slided to the left side (though same place in height). Dis this for the 8 Characters.

I use XD4 Chat, so may be tomorrow i will test without it.

Thank you
Last edited by Anceane : 08/08/15 at 11:52 AM.
Report comment to moderator  
Reply With Quote
Unread 08/08/15, 12:52 AM  
circonian
AddOn Author - Click to view AddOns

Forum posts: 613
File comments: 804
Uploads: 27
Re: Any way to keep to lock the windows ?

Originally Posted by Anceane
The windows do not stay at the place i want, at reload its moved each time. Anything i missed in the options ?

(i was using Multichatwindows and switched because the author send us to this addon, but unfortunatly its way more complicated than the other one when i have to replace my windows for 8 characters at each logging )

Thanks for any information
They should not be moving. Do you still have multichatwindows turned on? If so turn it off.
Chat window positions are all handled by the game, this addon doesn't touch the chat window positions. Something else must be moving them. Try logging off, turn off all other addons, log in, move windows around, then log out & back in and see if they stay.
Last edited by circonian : 08/08/15 at 12:59 AM.
Report comment to moderator  
Reply With Quote
Unread 08/07/15, 01:57 PM  
Anceane
 
Anceane's Avatar
AddOn Author - Click to view AddOns

Forum posts: 306
File comments: 1018
Uploads: 1
Any way to keep to lock the windows ?

The windows do not stay at the place i want, at reload its moved each time. Anything i missed in the options ?

(i was using Multichatwindows and switched because the author send us to this addon, but unfortunatly its way more complicated than the other one when i have to replace my windows for 8 characters at each logging )

Thanks for any information
Last edited by Anceane : 08/07/15 at 01:57 PM.
Report comment to moderator  
Reply With Quote
Unread 07/15/15, 03:32 PM  
Wandamey
Guest

Join Date: Not Yet
Forum posts: 0
File comments: 0
Uploads: 0
Re: Re: Not sure what you two...

Originally Posted by circonian
...
at this point, you can also use the edit backdrop that is perfectly uniform and supports coloring.

control:SetCenterTexture("/esoui/art/chatwindow/textentry_center.dds")
same path with the edge although i dont see a big difference with or without it.
Report comment to moderator  
Edit/Delete Message Reply With Quote
Unread 07/15/15, 03:01 PM  
circonian
AddOn Author - Click to view AddOns

Forum posts: 613
File comments: 804
Uploads: 27
Re: Not sure what you two...

Originally Posted by Wandamey
Originally Posted by circonian
...
what i wanted to highlight is that the "original" chat window background (the one with cotton-like borders) has no overlay. The splatter effects (though the "stains" aint as round as for the tooltip bd) are part of the blabla_center.dds.
so when executing the script you gave a few post before : /script ZO_ChatWindowBg:SetHidden(true)there is no "splatter" left at all, although i was under the impression that you wanted to show Majeure this "munge_overlay".
At this point i got confused. But glad you found a solution for the addon.

edit... i think i got it now, you are using both backdrops....
Yes, you are correct about the it being caused by the texture & because were using both backdrops when the script is run it only removes the original chat background & leaves the ZO_DefaultBackdrop, which does have the splatter effects. Although they are very hard to see, I thought this is what he was originally saying he did not like. So I thought adding a feature to remove the default background would only make the problem worse for him (because it makes these spots easier to see), which is how this conversation about all of this started.

I guess I could have just posted a pic, that would be easier, these are the dark spots in the extra background I was referring to:
Last edited by circonian : 07/15/15 at 03:03 PM.
Report comment to moderator  
Reply With Quote
Unread 07/15/15, 01:57 PM  
Wandamey
Guest

Join Date: Not Yet
Forum posts: 0
File comments: 0
Uploads: 0
Not sure what you two...

Originally Posted by circonian
...
what i wanted to highlight is that the "original" chat window background (the one with cotton-like borders) has no overlay. The splatter effects (though the "stains" aint as round as for the tooltip bd) are part of the blabla_center.dds.
so when executing the script you gave a few post before : /script ZO_ChatWindowBg:SetHidden(true)there is no "splatter" left at all, although i was under the impression that you wanted to show Majeure this "munge_overlay".
At this point i got confused. But glad you found a solution for the addon.

edit... i think i got it now, you are using both backdrops....
Last edited by : 07/15/15 at 02:17 PM.
Report comment to moderator  
Edit/Delete Message Reply With Quote
Unread 07/15/15, 01:25 PM  
circonian
AddOn Author - Click to view AddOns

Forum posts: 613
File comments: 804
Uploads: 27
Default Chat Background

Added the ability to hide the default background of all chat windows. This is for those who find having both backgrounds is to dark, but would like to keep the extra background turned on for its solid border.

Posted Version 3.3
Last edited by circonian : 07/15/15 at 01:25 PM.
Report comment to moderator  
Reply With Quote
Unread 07/15/15, 12:47 PM  
circonian
AddOn Author - Click to view AddOns

Forum posts: 613
File comments: 804
Uploads: 27
Re: Re: Not sure what you two...

Originally Posted by Wandamey
so defaut chat Windows backdrop looks like this : with no "extra texture" on it. (i suppose this is the fuzzy one)
....(probably what "splatter" means?)
Yes I can see where all of that talk about fuzzy & splatter would be confusing. I should have chose better words or been more specific for non-English speakers.
When I said fuzzy what I meant was that the edge of the default backdrop becomes more transparent (lighter, easier to see through) as it gets closer to the edge of the texture.

When I mentioned the splatter on the "extra" background what I meant was that it has some spots/areas that are less transparent (darker, harder to see through) than the rest of the background. To me it kind of looks like something was splattered...or maybe dripped would make more sense, like little drops of water...and those areas are darker than the rest of the background. There are not very many of them though and since it overlaps the default background they are very hard to see. I only brought it up because of the request to hide the default background, doing that makes those spots a lot easier to see.

Originally Posted by Wandamey
(stolen from TraitBuddy, and reused where i can)
control:SetEdgeTexture("EsoUI/Art/ChatWindow/chat_BG_edge.dds", 512, 512, 32) width, height, "padding"?
control:SetCenterTexture("EsoUI/Art/ChatWindow/chat_BG_center.dds")
control:SetInsets (32,32,-32,-32)
(32 or maybe 16 or idk, but it's 2^x for each values)
Default Chat Background:
Lua Code:
  1. -- Its 256, 256, 32: edgeFileWidth, edgeFileHeight, edgeSize
  2. control:SetEdgeTexture("EsoUI/Art/ChatWindow/chat_BG_edge.dds", 256, 256, 32)
XML Code for the games default chat background:
xml Code:
  1. <Backdrop name="$(parent)Bg" integralWrapping="true">
  2.     <Anchor point="TOPLEFT" offsetX="-8" offsetY="-6"/>
  3.     <Anchor point="BOTTOMRIGHT" offsetX="4" offsetY="4"/>
  4.  
  5.     <Edge file="EsoUI/Art/ChatWindow/chat_BG_edge.dds" edgeFileWidth="256" edgeFileHeight="256" edgeSize="32"/>
  6.     <Center file="EsoUI/Art/ChatWindow/chat_BG_center.dds" />
  7.     <Insets left="32" top="32" right="-32" bottom="-32" />
  8. </Backdrop>



Originally Posted by Wandamey
the windows of this addon, if i believe the picture, use the same bd than the tooltips, it's an edge (that looks like shiny brand new metal), a blackish center and an extra texture : munge_overlay that is transparent for the most part
Yes the extra background that this chat adds is what you described. It is the games default backdrop called: ZO_DefaultBackdrop
xml Code:
  1. <Backdrop name="ZO_DefaultBackdrop" virtual="true">
  2.     <Anchor point="TOPLEFT" offsetX="-8" offsetY="-8" />
  3.     <Anchor point="BOTTOMRIGHT" offsetX="8" offsetY="8" />
  4.  
  5.     <Edge file="EsoUI/Art/Tooltips/UI-Border.dds" edgeFileWidth="128" edgeFileHeight="16" />
  6.     <Center file="EsoUI/Art/Tooltips/UI-TooltipCenter.dds" />
  7.     <Insets left="16" top="16" right="-16" bottom="-16" />
  8.  
  9.     <Controls>
  10.         <Texture name="$(parent)MungeOverlay" textureFile="EsoUI/Art/Tooltips/munge_overlay.dds" addressMode="WRAP">
  11.             <AnchorFill />
  12.         </Texture>
  13.     </Controls>
  14. </Backdrop>
Last edited by circonian : 07/15/15 at 12:54 PM.
Report comment to moderator  
Reply With Quote
Unread 07/14/15, 11:07 AM  
Wandamey
Guest

Join Date: Not Yet
Forum posts: 0
File comments: 0
Uploads: 0
Not sure what you two...

are talking about exactly, but i've worked with these a bit (since it seems that i'm unable to have a default backdrop working )

so defaut chat Windows backdrop looks like this : with no "extra texture" on it. (i suppose this is the fuzzy one)
(stolen from TraitBuddy, and reused where i can)
control:SetEdgeTexture("EsoUI/Art/ChatWindow/chat_BG_edge.dds", 512, 512, 32) width, height, "padding"?
control:SetCenterTexture("EsoUI/Art/ChatWindow/chat_BG_center.dds")
control:SetInsets (32,32,-32,-32)
(32 or maybe 16 or idk, but it's 2^x for each values)



the windows of this addon, if i believe the picture, use the same bd than the tooltips, it's an edge (that looks like shiny brand new metal), a blackish center and an extra texture : munge_overlay that is transparent for the most part and make the center AND the edges look a bit dirty (probably what "splatter" means?)

knowing that, reading you two is a bit confusing. but i'll put this on my poor English for the most part.
(and nobody saw how i innocently showed how to reproduce the default chat window)
Last edited by : 07/14/15 at 11:10 AM.
Report comment to moderator  
Edit/Delete Message Reply With Quote
Unread 07/14/15, 08:16 AM  
Majeure
 
Majeure's Avatar

Forum posts: 0
File comments: 121
Uploads: 0
Originally Posted by circonian
Well there is the fuzzy edge, which is around the outside edges of the default background. But there is also a splatter effect on the extra background. As a temporary test try typing this into chat:
Lua Code:
  1. /script ZO_ChatWindowBg:SetHidden(true)

That will hide the default background, like your asking. It only does it for the main chat window, its just a test so you can see what I'm talking about.
Okay, so by the "splattery" thing I meant the "fuzzy edge" thing, after running this code it looks just how I wanted, only as you said it doesn't work on the second window. Would be great to have an option in ChatIt to turn ON so it'd run this for all the containers.

Now I just wish I could control the border transparency separately from the background, but it's quite fine for me with around 60% alpha on the extra background, with no default background, so it's quite alright as it is on that front, so long as I can hide the default background.

And of course with the borders, I still wish we could move the tab titles INSIDE the borders, by moving like the mail, friends, and notifications indicators to the right or so, like how some other addons add extra things to the right of the default chat containerm, but still inside it (eg. Notebooks.) So the chat boxes would be entirely self contained entities... but maybe I ask too much, being spoiled by WoW addons like ElvUI. It's all up to you, of course.

Edit: Seems pChat added an option to control the default background alpha in a recent update, but once again, like with most other chatbox affecting addons (besides ChatIt) it only works for the main chat container.
Last edited by Majeure : 07/14/15 at 08:26 AM.
Report comment to moderator  
Reply With Quote
Unread 07/13/15, 12:32 PM  
circonian
AddOn Author - Click to view AddOns

Forum posts: 613
File comments: 804
Uploads: 27
Originally Posted by Majeure
conian]As for your other request, I didn't add it because your the only one who asked for it & I'm not sure if you would even still want it. The "splatter" in the background that you mentioned you do not like is actually from the "extra" background that ChatIt adds. So if you remove the default background that splatter effect actually stands out even more.[/quote.
Well there is the fuzzy edge, which is around the outside edges of the default background. But there is also a splatter effect on the extra background. As a temporary test try typing this into chat:
Lua Code:
  1. /script ZO_ChatWindowBg:SetHidden(true)

That will hide the default background, like your asking. It only does it for the main chat window, its just a test so you can see what I'm talking about.
Report comment to moderator  
Reply With Quote
Unread 07/13/15, 12:00 AM  
Majeure
 
Majeure's Avatar

Forum posts: 0
File comments: 121
Uploads: 0
Originally Posted by circonian
Ah, it happened during /reloadui that helps a lot, I know what it is now. I posted a new update it should be fixed.
Ah good stuff.

Originally Posted by circonian
As for your other request, I didn't add it because your the only one who asked for it & I'm not sure if you would even still want it. The "splatter" in the background that you mentioned you do not like is actually from the "extra" background that ChatIt adds. So if you remove the default background that splatter effect actually stands out even more.
Are you sure? The splatter I'm talking about is the kind of painted edges that all the ZOS elements tend to have, like the default latency/fps indicator. If I use the extra background at 100% alpha, I get a solid black background with solid borders.

Originally Posted by circonian
The only way to get rid of the splatter effect would be to create a whole new background texture & I'm no good at creating textures. Even if I switched the background texture to some other texture built into the game, then you would loose the nice looking borders, they are part of the background texture.
Hmm I see, that's unfortunate. I do like how Wykkyd's Enhanced Chat replaced the background of the default chat container with a more "simple" background, you could even set the color iirc, but it didn't work for multiple windows so I couldn't use that and the addon was causing some positioning issues with multiple windows as well, so I had to get rid of it entirely.
Report comment to moderator  
Reply With Quote
Unread 07/12/15, 02:00 PM  
circonian
AddOn Author - Click to view AddOns

Forum posts: 613
File comments: 804
Uploads: 27
Originally Posted by Majeure
Edit: I got the error again from a /reloadui in Cyrodiil. I've re-run the command and re-installed the addon and I'm gonna redo all the saved variables next.
Ah, it happened during /reloadui that helps a lot, I know what it is now. I posted a new update it should be fixed.

As for your other request, I didn't add it because your the only one who asked for it & I'm not sure if you would even still want it. The "splatter" in the background that you mentioned you do not like is actually from the "extra" background that ChatIt adds. So if you remove the default background that splatter effect actually stands out even more.

The only way to get rid of the splatter effect would be to create a whole new background texture & I'm no good at creating textures. Even if I switched the background texture to some other texture built into the game, then you would loose the nice looking borders, they are part of the background texture.
Last edited by circonian : 07/12/15 at 02:01 PM.
Report comment to moderator  
Reply With Quote
Unread 07/10/15, 03:05 PM  
Majeure
 
Majeure's Avatar

Forum posts: 0
File comments: 121
Uploads: 0
Originally Posted by circonian
Theres very little code on this line. Theres only 2 variables both of which are constants and therefore should never be able to be nil.
The only thing I can think of is if your saved variables got messed up somehow. Try typing the following slash command in the chat window:
Lua Code:
  1. /reloadclear
That will clear the chat buffer tables & recreate them, it will only effect the saved buffered chat. If that doesn't work though let me know.
Cool, I've done this now and got the feedback that my chat buffers were cleared. I'll let you know if I get the error again in the future.

Edit: I got the error again from a /reloadui in Cyrodiil. I've re-run the command and re-installed the addon and I'm gonna redo all the saved variables next.

Code:
user:/AddOns/ChatIt/ChatIt.lua:269: attempt to index a nil value
stack traceback:
	user:/AddOns/ChatIt/ChatIt.lua:269: in function 'OnChatReceived'
Originally Posted by circonian
I'm not sure what you mean by "default one's ACTIVE alpha".

Yes, overlapping them helps make the background even darker ... But you can turn down the "extra" background alpha if you find it to dark.

But, to disable it completely so the entire window is not so dark, but you can keep the frame border solid...that might not take to much. Its been a long time since I wrote this addon. I'll have to take a look at it.
Yes this is what I meant, I'd like to completely disable the DEFAULT background that ALL the chat windows have, by default.

I don't need any individual control for each window, in fact I want them to be identical which is why this addon is so great for styling multiple chat windows, just I prefer the extra background option over the normal background, but I don't want my chat background completely black. I don't like the splattered look of the default background, I want the borders and static color that the extra background provides, without the default background there.

However if I simply make the EXTRA background more transparent by tweaking the alpha setting that's already there, then the DEFAULT background's ugly splattery edges will become more apparent, and the border added by the EXTRA background fades away too, which I definitely don't want.

If you do get around to doing this, it might also be nice to add a color picker for the extra background and borders too if at all possible, so I can get the exact style I want.
Last edited by Majeure : 07/12/15 at 12:27 PM.
Report comment to moderator  
Reply With Quote
Unread 07/10/15, 02:24 PM  
circonian
AddOn Author - Click to view AddOns

Forum posts: 613
File comments: 804
Uploads: 27
Originally Posted by Majeure
Heya @circonian,

I took a break for a while and ever since I got back I've been getting this error as of late, when reloading my UI or so with all options under "CHAT BUFFER" turned OFF.

Code:
user:/AddOns/ChatIt/ChatIt.lua:269: attempt to index a nil value
stack traceback:
	user:/AddOns/ChatIt/ChatIt.lua:269: in function 'OnChatReceived'
Theres very little code on this line. Theres only 2 variables both of which are constants and therefore should never be able to be nil.
The only thing I can think of is if your saved variables got messed up somehow. Try typing the following slash command in the chat window:
Lua Code:
  1. /reloadclear
That will clear the chat buffer tables & recreate them, it will only effect the saved buffered chat. If that doesn't work though let me know.

Originally Posted by Majeure
Also as a request, it'd be nice to have a bit more control over the background settings, like we can set the alpha of the extra background, but not the default one's ACTIVE alpha.
There is a setting to adjust the "extra" backgrounds alpha.
I'm not sure what you mean by "default one's ACTIVE alpha".
If you mean to individually set different background alphas for different chat windows, then no its not possible. All of the chat windows are wiped & recreated by the game when you login & reload. There is no way to tell which window is which to keep the appropriate alpha values assigned to the correct windows, so they all have to be the same.

Originally Posted by Majeure
This makes it so that adding enough alpha to the extra background will also make the chat background so black you can't see anything through it because it's competing with the default background.
Yes, overlapping them helps make the background even darker. With the extra background alpha turned up it is difficult to see through it, which was the purpose of that feature because it makes the text a lot easier to read which was the idea. But you can turn down the "extra" background alpha if you find it to dark.

Originally Posted by Majeure
TL;DR i can haz option to disable/control default background's alpha?
To adjust the default background's alpha, probably not. The purpose of that extra background is only to make it darker so the text is easier to read. Turning around and adjusting the default background alpha to lighten it back up just defeats the purpose AND it would be to much work.

But, to disable it completely so the entire window is not so dark, but you can keep the frame border solid...that might not take to much. Its been a long time since I wrote this addon. I'll have to take a look at it.
Last edited by circonian : 07/10/15 at 02:25 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: