Download
(11Kb)
Download
Updated: 07-11-10 06:08 PM
Pictures
File Info
Updated:07-11-10 06:08 PM
Created:06-26-10 05:37 PM
Downloads:7,420
Favorites:31
MD5:

myChat  Popular! (More than 5000 hits)

Version: 1.4.5
by: turkoid [More]

myChat is a lightweight addon designed to enhance your chat experience!

**NOTE**
Versions 1.4+ use a new format for config files, so make sure you replace your old one and change the settings accordingly.

Config files will use the same format unless otherwise stated. So there is no need to keep changing the settings when updating the addon. Just copy the old one over the new one if you use settings different from the default setup.

**UPDATED**
1.4.5
-Actually fixed the edit box location when logging in.

*You can view past changes in the change log.


**Features
-Abbreviated channel names
-Sticky Channels
-Copy chat
-Clickable formatted URLS (as in it copies the url to the editbox)
-Improved Scrolling (Ctrl moves 3 lines, Shift scrolls to top or bottom)
-Editbox repositioning
-Tell target
-Improved Timestamps
-Customizable tabs
-Colors battle.net names in chat
-Hide/Show combat log filter bar

**Upcoming Features?
-Battle.net name formatting (ie color by class, wow names, etc)
-Use a different way to copy combat log entries

FAQ
Q: Why did you develop this chat addon when there is so many of them already?
A: After 3.3.5, oChat and Fane broke. I had already modified haste's code to include some features I wanted.
So I decided to conslidate a few of my addons and tweak it to my liking. Originally it was only planned for me and a few of my guildies,
but at the suggestion of a friend I uploaded it to WoWInterface.com

Q: Where do I configure the addon?
A: All configuration is done in the config.lua file.

Q: Will you be adding an ingame config?
A: I have no plans on implementing this.

Q: Why did you include timestamps when blizzard added them?
A: Blizzard only adds timestamps to channel messages. It doesnt add them to system messages, etc.

Q: Why is there a small button next to all my chat lines?
A: If you have timestamps off in interface options and copychat enabled this button is enabled to let you still copy chat.

Q: Where can I turn on timestamps?
A: Open your Interface options screen -> Game -> Social -> Chat Timestamps

Q: How can I copy the text?
A: Make sure you have copychat enabled and either click the timestamp or the button if timestamps are off

Q: Why is the memory increasing, I thought it was lightweight?
A: As direct result of how LUA handles strings, memory usage is always going to increase if you apply any type of custom formatting, however, if it's rising quickly there are a couple reasons: Either your getting spammed with alot of chat messages (major city or possibly raid) or you don't have ChatFrame2(combat log) blacklisted. There are ways to help with the first issue and that is to use a chat spam control addon (ie. SpamThrottle), but for combat log entries, there's not much that can be done. Normally the addon will hover between 60kb and 100kb under non extreme conditions

Q: How do I enable timestamps for the combat log?
A: Right click the combat log tab -> settings -> formatting -> Show Timestamp

Q: Why is the combat log timestamp not recieving any special formatting or copychat capabilities?
A: By default, I have blacklisted the combat log.

Q: How do i enable/disable formatting on certain chat frames?
A: Add/remove or set the value to true/false for chatframes in the format [ChatFrame#] = value

1.4.5
-Actually fixed the edit box location when logging in.

1.4.4
-Added support for setting replaces to empty strings
-Active tab determination is a little more intuitive
-Fixed editbox location when logging in and chatstyle set to classic

1.4.3
-Fixed error when setting normal or focus editbox textures to true.

1.4.2
-It correctly stylizes and formats Temporary chat frames
-Tab flashing options should be more accurate.

1.4.1
-Fixed an invalid reference

1.4
-Fixed tainting issues
-Editbox handling for IM style chat
-More editbox positioning config options
-Can hide the combat log filter bar
-Alot more control over font settings of chatframes, tabs, and editbox
-A little more control over editbox textures
-Can now use non-standard timestamp formats.

1.3.4
-Fix for parsing UTF-8 chars. Hopefully :/

1.3.3
-Fixed text flash color when texture and glow are false
-Fixed ScrollToBottom button on frames that aren't selected.

1.3.2
-Fixed Editbox position for bottom docking
-Fixed skinning undocked chat tabs

1.3.1
-Got rid of debug message :)
-Fixed tab configuration, added more too
-Other misc config
-Better custom font configuration

1.3
-Uses default font and size unless set in config
-Fixed some battle.net Conversation formatting
-Colors battle.net whisper names now
-Able to disable certain abbreviated channels
-Able to enable/disable tab flashing (off by default)
-More control over colors of certain stuff

1.2.1
-Fixed a huge memory leak I didn't notice when setting DEFAULT_CHATFRAME_ALPHA to 0
-Only do timestamps and copychat on combat log

1.2
-Initial release
Optional Files (0)


Post A Reply Comment Options
Unread 06-29-10, 05:10 PM  
turkoid
A Kobold Labourer
 
turkoid's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 44
Uploads: 2
Originally posted by Spanko
When I set topbox to false instead of putting it at the bottom of my chat frame it puts it in the center. If set to true its at the top like it should be, but I want it at the bottom. Otherwise, great addon!

Please halp!
So I have a bit of a bug (but no error pops).
I make a separate window for my guild chat, whispers and realID conversations.
When I first make the window it looks just like the main window. However, every time I reload UI or relog, it reverts back to default blizzard view with less than 0 opacity on the whole chat window and that default weird texture on chat tab and default chat tab font with no coloring and constant visibility.
I should add that this window is undocked (in a separate location) and not just a tab on the main chat window. Not sure if that makes any difference but...
Also I have to keep deselecting those channels from the main window upon relog/reload
.


Ill look into both of these later tonight. Currently at my other job
Report comment to moderator  
Reply With Quote
Unread 06-29-10, 09:44 PM  
turkoid
A Kobold Labourer
 
turkoid's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 44
Uploads: 2
UPDATE: 1.3.2

Fixed Editbox position for bottom docking
Fixed skinning undocked chat tabs


Enjoy!
Report comment to moderator  
Reply With Quote
Unread 06-29-10, 09:45 PM  
zohar101
A Cyclonian
 
zohar101's Avatar

Forum posts: 43
File comments: 188
Uploads: 0
One more little thing. The button that shows you when you've scrolled up, that starts flashing? I click on it to scroll all the way down but nothing happens. Is it supposed to do that?
Hmm nm just discovered you got shift scroll built in there so I can use that instead.
And ty for the updates That was super quick.
Last edited by zohar101 : 06-29-10 at 10:15 PM.
Report comment to moderator  
Reply With Quote
Unread 06-30-10, 07:08 AM  
kazama14
A Kobold Labourer

Forum posts: 0
File comments: 40
Uploads: 0
Sorry to bother you again but I have run into another error. With the new tab configurations, if I set the flash and glow to false and set the notification to text only it does not seem to work properly. When I receive a new whisper or message the text does not immediately light up red. It will not light up until I mouse over the chat frame or the tab, so I am not actually notified. Can this be fixed?

Thanks in advance
Report comment to moderator  
Reply With Quote
Unread 06-30-10, 11:13 AM  
turkoid
A Kobold Labourer
 
turkoid's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 44
Uploads: 2
Originally posted by zohar101
One more little thing. The button that shows you when you've scrolled up, that starts flashing? I click on it to scroll all the way down but nothing happens. Is it supposed to do that?
Hmm nm just discovered you got shift scroll built in there so I can use that instead.
And ty for the updates That was super quick.
I'm currently uploading a new version that fixes this.

Sorry to bother you again but I have run into another error. With the new tab configurations, if I set the flash and glow to false and set the notification to text only it does not seem to work properly. When I receive a new whisper or message the text does not immediately light up red. It will not light up until I mouse over the chat frame or the tab, so I am not actually notified. Can this be fixed?

Thanks in advance
I always forgot to test one possible combination of options, but the new version works now
Report comment to moderator  
Reply With Quote
Unread 06-30-10, 12:03 PM  
onkel
A Kobold Labourer

Forum posts: 1
File comments: 17
Uploads: 0
Great. I came here to replace my old trusty oChat. Thanks.
Report comment to moderator  
Reply With Quote
Unread 06-30-10, 02:09 PM  
Terranell
Premium Member
Premium Member

Forum posts: 52
File comments: 13
Uploads: 0
Hiya,

This is quickly becoming my favourite chat mod. I'm having a slight problem in set up though. When I set the editbox to be on top it overlaps the tabs, which is fine until I change tabs. I have 3 tabs to begin with, when it loads Tab1 is current, I can click Tab2 and click back to Tab1 fine but then clicking anywhere on the line of Tabs just opens the editbox. If I move to Tab3 straight after loading instead of Tab2 I can't even get back to Tab1 before clicking anywhere only opens up the editbox.

I do hope it's not just me missing something obvious :S

[EDIT: I found the setting that changes it and it was obvious but typically the last thing I looked at . In the wow>interface>social window the style was set to IM not classic ... which you even say is on the to do list on the main page....]

~Terra
Last edited by Terranell : 06-30-10 at 02:27 PM.
Report comment to moderator  
Reply With Quote
Unread 06-30-10, 02:15 PM  
sacrife
An Onyxian Warder
 
sacrife's Avatar
AddOn Author - Click to view AddOns

Forum posts: 384
File comments: 144
Uploads: 3
I used to have a slash command to fix the chat for a new character.
However the position does not save anymore.
How do I add some code in core.lua to define it's size and position and make that load and set every time?

Code:
		
--[[ my slash config, moves my chat (when makin' new chars or so) ]]
SlashCmdList["CHATCONFIG"] = function()
	-- chat
	for i=1, NUM_CHAT_WINDOWS do
		local cf = getglobal("ChatFrame"..i)
		cf:ClearAllPoints()
		cf:SetPoint("BOTTOMLEFT", UIParent, 20, 20)
		cf:SetWidth(440)
		cf:SetHeight(130)
		cf:SetUserPlaced(true)
	end
end
SLASH_CHATCONFIG1 = "/chat"
Also I set tabs: texture and glow to false and text to true. But the text does not flash with another color.
__________________

Last edited by sacrife : 06-30-10 at 02:41 PM.
Report comment to moderator  
Reply With Quote
Unread 06-30-10, 02:48 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Found a very nice way to style the editbox.

Code:
  local eb = _G['ChatFrame'..id..'EditBox']
  local x=({eb:GetRegions()})
  x[6]:SetAlpha(0)
  x[7]:SetAlpha(0)
  x[8]:SetAlpha(0)
  eb:ClearAllPoints()
I replaced this with the above code
Code:
	local eb = _G['ChatFrame'..id..'EditBox']
	for _, ebPart in ipairs(ebParts) do
		_G['ChatFrame'..id..'EditBox'..ebPart]:SetTexture(0, 0, 0, cfg.editbox.alpha)
		_G['ChatFrame'..id..'EditBoxFocus'..ebPart]:SetTexture(nil)
	end
	eb:ClearAllPoints()
Result:


The editboxtext is styled with the code below.

I added this to the config:
Code:
ChatFontNormal:SetFont(NAMEPLATE_FONT, 14, "THINOUTLINE") 
ChatFontNormal:SetShadowColor(0, 0, 0, 0.6)
And I had to adjust the editbox aswell
Code:
		eb:SetPoint('BOTTOM', cf, 'TOP',0,30)
the box being ONTOP of the chattabs is a "no go".
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 06-30-10 at 02:56 PM.
Report comment to moderator  
Reply With Quote
Unread 06-30-10, 03:07 PM  
Skylinee
A Murloc Raider

Forum posts: 5
File comments: 371
Uploads: 0
Originally posted by zork
I added this to the config:
Code:
ChatFontNormal:SetFont(NAMEPLATE_FONT, 14, "THINOUTLINE") 
ChatFontNormal:SetShadowColor(0, 0, 0, 0.6)
And I had to adjust the editbox aswell
Code:
		eb:SetPoint('BOTTOM', cf, 'TOP',0,30)
the box being ONTOP of the chattabs is a "no go".
Where in Config.lua did you add this?
Report comment to moderator  
Reply With Quote
Unread 06-30-10, 04:07 PM  
turkoid
A Kobold Labourer
 
turkoid's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 44
Uploads: 2
@Terranell

Yeah, I actually plan to put this in 1.4, but I'm having trouble finding a good place to put it. Would most people prefer it below the chat tabs so it overlaps the chat frame or above the chat tabs? Suppose I could just make a config option for both.

@sacrife

Its possible your addon is loading before mine and blizzard, by default now, makes is it so chat frames cant be positioned off screen. All you have to do is add this line before using SetPoint:

Code:
cf:SetClampedToScreen(false)
I don't think I'll put in a way to reposition a window in config as I believe most people who are interested in that just put it in misc lua file they load as you did or like me I hard code all my panels and then position UI elements.

@zork
I was actually gonna add some config options to handle the edit box textures but yeah basically regions 6-8 are the ChatFrame#EditBox{left, mid, right} textures. I didnt think about shadow offsets, so I'll add a config to change it on the tabs, editbox and chatframe.


I'm currently working on ways to modify how battlenet names are displayed. So expect most if not all of these changes to be added within the next day or so. Just hard for me to work on these on Tue/Wed with work and raiding.
Report comment to moderator  
Reply With Quote
Unread 06-30-10, 05:15 PM  
k1kaxa
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Hello
Great Addon, i have a question, can you add this feature that i show on Screen shot with any short sound ?


P.S sorry for bad English.
Report comment to moderator  
Reply With Quote
Unread 06-30-10, 06:13 PM  
sacrife
An Onyxian Warder
 
sacrife's Avatar
AddOn Author - Click to view AddOns

Forum posts: 384
File comments: 144
Uploads: 3
Originally posted by turkoid
@Terranell

Yeah, I actually plan to put this in 1.4, but I'm having trouble finding a good place to put it. Would most people prefer it below the chat tabs so it overlaps the chat frame or above the chat tabs? Suppose I could just make a config option for both.

@sacrife

Its possible your addon is loading before mine and blizzard, by default now, makes is it so chat frames cant be positioned off screen. All you have to do is add this line before using SetPoint:

Code:
cf:SetClampedToScreen(false)
I don't think I'll put in a way to reposition a window in config as I believe most people who are interested in that just put it in misc lua file they load as you did or like me I hard code all my panels and then position UI elements.

@zork
I was actually gonna add some config options to handle the edit box textures but yeah basically regions 6-8 are the ChatFrame#EditBox{left, mid, right} textures. I didnt think about shadow offsets, so I'll add a config to change it on the tabs, editbox and chatframe.


I'm currently working on ways to modify how battlenet names are displayed. So expect most if not all of these changes to be added within the next day or so. Just hard for me to work on these on Tue/Wed with work and raiding.
The only way it previously worked for me was via a slash command. I was trying to implement this into your addon so I dont have to do /chat on every character. And also after the patch the slash command wont save upon reloadui.
__________________

Last edited by sacrife : 06-30-10 at 06:39 PM.
Report comment to moderator  
Reply With Quote
Unread 06-30-10, 08:19 PM  
turkoid
A Kobold Labourer
 
turkoid's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 44
Uploads: 2
Originally posted by sacrife
The only way it previously worked for me was via a slash command. I was trying to implement this into your addon so I dont have to do /chat on every character. And also after the patch the slash command wont save upon reloadui.
Replace your slash command code with

Code:
SlashCmdList["CHATCONFIG"] = function()
    for i=1, NUM_CHAT_WINDOWS do
        local cf = _G["ChatFrame"..i]
        cf:SetClampedToScreen(false)
        cf:ClearAllPoints()
        cf:SetPoint("BOTTOMLEFT", UIParent, 20, 20)
        cf:SetWidth(440)
        cf:SetHeight(130)
        FCF_SavePositionAndDimensions(cf)
    end
end
SLASH_CHATCONFIG1 = "/chat"
that will save positions between reloads.

If you wanted it to position the frames everytime you log in then you would have to put the code between the for loop in the InitializeChatFrame function, but theres no way to check if they have already been moved, so any repositioning in game would get reset.
Report comment to moderator  
Reply With Quote
Unread 07-01-10, 03:58 AM  
LCFHeLL
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 8
Uploads: 1
no channel replaces

don't know why, but in ruRU locale global channels don't replace with shorter names...
other channels, e.g. "say", "yell" e.t.c. works fine



first two strings its a LFG channel, as you see "say" channel work fine and other 2 strings its a trade channel

and thanks for addon, its a best replacement for outdated "mumble" i have used before
Last edited by LCFHeLL : 07-01-10 at 04:00 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: