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,421
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-04-10, 12:48 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Not released yet or?
__________________
| 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-03-10, 04:31 PM  
turkoid
A Kobold Labourer
 
turkoid's Avatar
AddOn Author - Click to view AddOns

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

Yeah your absolutely correct, and I did find the problem. I was hooking the wrong function. I've also tackled the issue of having copychat and custom timestamps enabled for the combat log. This will also clear up some strings when formatting timestamps on chat.

@leks0d

This is mostly being caused by the above issue.


Sorry for the lack of updates recently, but v1.4 will be up by tonight.

Here is a list of new/updated features:
-Hide the combat log filter bar
-IM chatstyle editbox handling
-Control over editbox positioning
-More control over editbox textures
-Even more font control on chatframes, editbox and tabs
-Ability to use non-standard timestamp formats
-Fixed tainting issues
Report comment to moderator  
Reply With Quote
Unread 07-03-10, 10:35 AM  
leks0d
A Kobold Labourer
 
leks0d's Avatar

Forum posts: 1
File comments: 71
Uploads: 0
Code:
myChat blocked from using SearchLFGLeave()
Count: 1

Call Stack:
[C]: in function `SearchLFGLeave'
Interface\FrameXML\LFRFrame.lua:389: in function `LFRBrowseFrame_OnUpdateAlways'
[string "*:OnUpdate"]:7: in function <[string "*:OnUpdate"]:1>
Report comment to moderator  
Reply With Quote
Unread 07-03-10, 02:30 AM  
Skylinee
A Murloc Raider

Forum posts: 5
File comments: 371
Uploads: 0
Originally posted by turkoid
I addressed this in another forum post, but either way, as I said I'm adding a way to blacklist certain frames(combatlog by default) so they receive no extra formatting (copychat and timestamps). Also as Skylinee pointed out, actual memory usage has little to no effect on your gameplay, unless you run a system with 256mb? I hope not . However, if memory gets high too often then the automatic lua GC kicks in often as well, which can affect your gameplay, but because its using CPU cycles which is more valuable than memory.

There is one issue I noticed and I can't remember if oChat pre 3.3.5 had a problem with this, is that even with ChatFrame2 blacklisted, memory will still go up, on combat log entries, although definitely not as quick. I found out It has something to do with hooking SetItemRef even though its not being called. I tested the current oChat and it has the same issue.

TLDR: Formatting strings in lua creates garbage.

edit: the SetItemRef issue only rears its ugly head when you have your combat log visible.
Static mem usage is indeed nothing to worry about, ascending memory usage however, is though. I remember using idChat a while back, and it had the same problem with increasing memory in combat after a few minutes. I'm not sure why this happens though. I've used bChat for a few weeks and it also formats chat/adds timestamps, but with almost no CPU usage or memory growth. Haven't tried it after 3.3.5 as it's not updated yet, but maybe you can learn something from how it's coded to optimize it somehow.
Last edited by Skylinee : 07-03-10 at 02:31 AM.
Report comment to moderator  
Reply With Quote
Unread 07-03-10, 12:03 AM  
Creatan
A Murloc Raider

Forum posts: 5
File comments: 1
Uploads: 0
Hi
Is there a config that I need to turn on or something to show timestamps? At the moment my timestamps aren't showing and I haven't been able to find a solution. Also is there a way to hide the editbox when it's not active? Now the editbox is being shown always and can be activated by clicking it or pressing enter.

Edit: editbox behaviour was a blizzard setting. so forget it.
Last edited by Creatan : 07-03-10 at 03:06 AM.
Report comment to moderator  
Reply With Quote
Unread 07-02-10, 11:10 PM  
turkoid
A Kobold Labourer
 
turkoid's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 44
Uploads: 2
OK i figured out the problem I shouldnt be hooking SetItemRef instead i should be hooking ChatFrame_OnHyperlinkShow. The previous was causing tainting issues which I didnt see. Currently in a break duing my 10man group, but I'll upload the fixed version post raid.
Report comment to moderator  
Reply With Quote
Unread 07-02-10, 08:52 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 strickland
hi, is it normal to go from 90kb or so before combat, and then 1 to 1.3mb in combat? and why is that happening, my fadeframe is false.
I addressed this in another forum post, but either way, as I said I'm adding a way to blacklist certain frames(combatlog by default) so they receive no extra formatting (copychat and timestamps). Also as Skylinee pointed out, actual memory usage has little to no effect on your gameplay, unless you run a system with 256mb? I hope not . However, if memory gets high too often then the automatic lua GC kicks in often as well, which can affect your gameplay, but because its using CPU cycles which is more valuable than memory.

There is one issue I noticed and I can't remember if oChat pre 3.3.5 had a problem with this, is that even with ChatFrame2 blacklisted, memory will still go up, on combat log entries, although definitely not as quick. I found out It has something to do with hooking SetItemRef even though its not being called. I tested the current oChat and it has the same issue.

TLDR: Formatting strings in lua creates garbage.

edit: the SetItemRef issue only rears its ugly head when you have your combat log visible.
Last edited by turkoid : 07-02-10 at 09:16 PM.
Report comment to moderator  
Reply With Quote
Unread 07-02-10, 08:16 PM  
strickland
A Cyclonian

Forum posts: 40
File comments: 195
Uploads: 0
hi, is it normal to go from 90kb or so before combat, and then 1 to 1.3mb in combat? and why is that happening, my fadeframe is false.
Report comment to moderator  
Reply With Quote
Unread 07-02-10, 06:31 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
Possible idea: An option to move the filter frame in the combat log or set it's background transparency.
I already had this included as a config option in the next version
Report comment to moderator  
Reply With Quote
Unread 07-02-10, 06:03 PM  
sacrife
An Onyxian Warder
 
sacrife's Avatar
AddOn Author - Click to view AddOns

Forum posts: 384
File comments: 144
Uploads: 3
Possible idea: An option to move the filter frame in the combat log or set it's background transparency.
__________________

Report comment to moderator  
Reply With Quote
Unread 07-02-10, 03:52 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 EmpTea
it seems every chat interface that move the editbox has the same problem in 3.3.5...

when shifted to another chat tab ,it cant shifted back
clicking the tab will make the editbox appear...
This is because of IM style chat. Basically the editbox is overlapping the chat tabs so when u click a tab it focus the editbox. Simple fix is to just use classic chat. However, I know what I need to do and I was gonna implement it in 1.4 along with some better control over tab/editbox font settings and textures. However, because of 4th of July weekend, I don't know how much time I can put into it.

What I may end up doing is putting up 1.3.5 with only the IM style editbox fix. Just so the vultures can go find another addon author to bug JK, I do appreciate the feedback, suggestions, and any unexpected behavior.
Report comment to moderator  
Reply With Quote
Unread 07-02-10, 02:53 AM  
EmpTea
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
it seems every chat interface that move the editbox has the same problem in 3.3.5...

when shifted to another chat tab ,it cant shifted back
clicking the tab will make the editbox appear...


=====================================

Ah ah...I find the solution ...just modify a setting in game
Last edited by EmpTea : 07-02-10 at 03:51 AM.
Report comment to moderator  
Reply With Quote
Unread 07-02-10, 01:32 AM  
Skylinee
A Murloc Raider

Forum posts: 5
File comments: 371
Uploads: 0
Memory means nothing, rather work on CPU usage (keep it as close to 0.0xx CPU/sec as possible).
Last edited by Skylinee : 07-02-10 at 01:32 AM.
Report comment to moderator  
Reply With Quote
Unread 07-01-10, 07:46 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 zork
Any chance you can optimize the mem usage?!
I'm actually putting in an option to blacklist chatframes from receiving any formatting. By default it will blacklist ChatFrame2(combat log). This probably should fix most of the memory usage. This also means that there will be no copy chat for those frames. Besides that the addon is gonna use anywhere from 60kb to 300kb. Depends mostly on how many chatframes you have open, if your frame is getting spammed(trade chat, boss mods). Until blizzard lets us develop addons in C, I dont think I can get around this. Ah the joys of LUA strings.
Report comment to moderator  
Reply With Quote
Unread 07-01-10, 07:04 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
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.
It goes red for a custom channel, and if I turn flashes on (with glow/texture) the whispers will flash. However with text only the whisper window text does nothing, but the custom channels still do.
__________________

Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: