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,422
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 07-01-10, 06:51 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
I would easily be satisfied if the text just turned a different color, it does not need to be flashing, as long as I can avoid those textured flashes as they look so ugly :P
Hmm, your config should make the text turn red then, but what I do is hook the Show function of the tabflash region. So it won't flash for custom channels unless that tweak is set to true and it won't flash if the frame is visible/not docked.
Report comment to moderator  
Reply With Quote
Unread 07-01-10, 05:25 PM  
k1kaxa
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Originally posted by turkoid
While this technically would be easy, It would just be too bulky for an addon that was meant to be lightweight.
it is very pity, I only for this used addon ChatMod
i have tryed copy pasted all codes from ChatMod that include name "Highlight" in your addon, the certainly foolish attempt to run this feature but i have tryed
Thanks for Answer!

P.S again, sorry for bad English
Last edited by k1kaxa : 07-01-10 at 05:27 PM.
Report comment to moderator  
Reply With Quote
Unread 07-01-10, 04:45 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
@sacrife

Yeah this is partially my fault for the wording. config.flash.text doesn't actually flash the tab text, it only colors them when the TabFlash region is shown. I'd rather not put in code to flash the text as I would have to use OnUpdate to setup a timer and I wanna stay away from OnUpdate calls for this addon.

@LCFHeLL

v 1.3.4 should hopefully address this issue. If it does it was as simple as changing 2 characters :/
I would easily be satisfied if the text just turned a different color, it does not need to be flashing, as long as I can avoid those textured flashes as they look so ugly :P
__________________

Report comment to moderator  
Reply With Quote
Unread 07-01-10, 01:39 PM  
LCFHeLL
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 8
Uploads: 1
Originally posted by turkoid
@LCFHeLL
v 1.3.4 should hopefully address this issue. If it does it was as simple as changing 2 characters :/ [/b]
yep, its work! thanks a lot
Report comment to moderator  
Reply With Quote
Unread 07-01-10, 12:20 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Any chance you can optimize the mem usage?!
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Report comment to moderator  
Reply With Quote
Unread 07-01-10, 12:00 PM  
turkoid
A Kobold Labourer
 
turkoid's Avatar
AddOn Author - Click to view AddOns

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

Yeah this is partially my fault for the wording. config.flash.text doesn't actually flash the tab text, it only colors them when the TabFlash region is shown. I'd rather not put in code to flash the text as I would have to use OnUpdate to setup a timer and I wanna stay away from OnUpdate calls for this addon.

@LCFHeLL

v 1.3.4 should hopefully address this issue. If it does it was as simple as changing 2 characters :/
Last edited by turkoid : 07-01-10 at 12:01 PM.
Report comment to moderator  
Reply With Quote
Unread 07-01-10, 09:32 AM  
LCFHeLL
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 8
Uploads: 1
If you have copychat enabled, CTRL+click the timestamp and post it. This copies the text with all the special chars escaped. I may have just been parsing the text wrong and because I only have access to the US client I can't test any localizations. But I will try and figure out the problem.
Trade
Code:
|c00ffffff|r|cffffffff|HmyChat:|h23:28:38|h |r|Hchannel:channel:2|h[2. Торговля: Город]|h |Hplayer:Рэинхард:5227:CHANNEL:2|h[|cffaad372Рэинхард|r]|h: WTS |TInterface\Icons\inv_bracer_46:0:0:0:-3|t|cffa335ee|
LFG
Code:
|c00ffffff|r|cffffffff|HmyChat:|h23:27:28|h |r|Hchannel:channel:4|h[4. Поиск спутников]|h |Hplayer:Переплут:5112:CHANNEL:4|h[|cff9382c9Переплут|r]|h: |cffffff00|TInterface\Icons\Ability_Hunter_Pet_Devilsaur:0
local Ironforge
Code:
|c00ffffff|r|cffffffff|HmyChat:|h23:27:52|h |r|Hchannel:channel:1|h[1. Общий: Стальгорн]|h |Hplayer:Еваангелина:5150:CHANNEL:1|h[|cffffffffЕваангелина|r]|h: Цлк25 5800+гс нужны все на 8+ б
Last edited by LCFHeLL : 07-01-10 at 09:32 AM.
Report comment to moderator  
Reply With Quote
Unread 07-01-10, 08:06 AM  
sacrife
An Onyxian Warder
 
sacrife's Avatar
AddOn Author - Click to view AddOns

Forum posts: 384
File comments: 144
Uploads: 3
I have this and it's not working, the text does not flash with a different color.
What am I doing wrong here?

Code:
	tabs = {
		enabled 		= true, 
		fontsize 		= 8, 		--Setting this to false will revert to original size
		flash = {
			--There's actually 2 textures for flash
			--One is that blue flash that takes up most of the tab
			--The 2nd is that orange glow at the bottom
			texture 	= false,	--Enable/Disable flash texture
			glow 		= false, 	--Enable/disable glow
			text 		= true,  	--Whether to use the flash color below			
		},		
		color = {
			--The color logic is:
			--(current|default)->Hover->Flash->Normal
			--Format: {r, g, b, alpha, outlined}
			--RGB values are between 0 and 1
			default = { --Non selected frame
				normal 	= {1, 1, 1, 0.5, false},
				hover 	= {1, 1, 1, 1, true},
				flash 	= {1, 0, 0, 0.5, false}, --Won't be used if config.tabs.flash.text is set to false
			},
			current = { --Selected frame
				normal 	= {0, 0.8, 1, 1, false},
				hover 	= {0, 0.8, 1, 1, true},
				flash 	= {1, 0, 0, 0.5, false}, --Really this should never be used, as tabs dont flash if u have them selected.
			},
		},
__________________

Report comment to moderator  
Reply With Quote
Unread 07-01-10, 07:53 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 k1kaxa
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.
While this technically would be easy, It would just be too bulky for an addon that was meant to be lightweight.

Originally posted by LCFHeLL
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
If you have copychat enabled, CTRL+click the timestamp and post it. This copies the text with all the special chars escaped. I may have just been parsing the text wrong and because I only have access to the US client I can't test any localizations. But I will try and figure out the problem.

Originally posted by Tobbe8716
Is it possibleto fade out the tabs so you dont have to see the general and combatlog text all the time
You can accomplish this by messing around with the tabs.color configuration and set the alpha of normal colors to say 0.1. This will make them barely visible until you mouseover them. If you were looking for a smoother effect, unfortunately the original WoW chat doesn't even fade the text, it only fades the textures.
Report comment to moderator  
Reply With Quote
Unread 07-01-10, 07:39 AM  
Terranell
Premium Member
Premium Member

Forum posts: 52
File comments: 13
Uploads: 0
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.

I lean towards preferring below the tabs so space take up is minimised - I prefer to have the editbox on top to minimise space used when not chatting, but overlapping the chat frame doesn't sound ideal unless you're using a background on the edit box (I guess I'm in the minority who sets all alphas to 0 where possible?). An option for both sounds the best idea really otherwise you'll get requests for whichever one you don't choose!

@Tobbe8716 You can set the alpha to 0 (or 0.1 if you want them faint) in the config file for non-selected and selected tabs. They'll then hide but show when you mouseover the area for each particular tab.
Report comment to moderator  
Reply With Quote
Unread 07-01-10, 04:59 AM  
Tobbe8716
An Aku'mai Servant
 
Tobbe8716's Avatar
AddOn Author - Click to view AddOns

Forum posts: 36
File comments: 331
Uploads: 8
Tabs

Is it possibleto fade out the tabs so you dont have to see the general and combatlog text all the time
__________________
Arp UI oUF_Arp
Report comment to moderator  
Reply With Quote
Unread 07-01-10, 04:11 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Re: no channel replaces

__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
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
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 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
Post A Reply



Category Jump: