Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(6 Kb)
Download
Updated: 10-25-14 09:17 AM
Pictures
File Info
Compatibility:
Warlords of Draenor Pre-Patch (6.0.2)
Updated:10-25-14 09:17 AM
Created:11-18-10 09:31 AM
Downloads:4,820
Favorites:24
MD5:

xanChat

Version: v3.9
by: Xruptor [More]

This is my personal modifications to the default blizzard chat frames. I really didn't want something as heavy as Prat installed to do a few things I needed. So I hand coded my own chat modifications.

I'm probably not going to make any major updates. However, if you have suggestions I may take it into consideration.


What the mod gives you:

  • Mousewheel control for scrolling
  • Move the chat frame to the edges of the screen.
  • Hold CTRL while using the mousewheel to scroll ridiculously fast.
  • Hold ALT while using the mousewheel to scroll to the top or bottom of the chat window.
  • Automatically enables class colors on all chat windows and channels.
  • Option to hide/show the social chat buttons.
  • Option to hide/show the chat scroll buttons.
  • Option to enable/disable channel short names.
  • Option to move the edit box to the top or bottom.
  • Option to show or hide the chat tabs. (Will still show when you mouse over the chat frame.)
  • Enables stick channels for the following channels
    1. Say
    2. Party
    3. Raid
    4. Guild
    5. Officer
    6. Whisper
    7. Channel
  • Removes the ALT key press requirement to move around in the edit box. You can now move just using the arrow keys.
  • Removes the annoying Blizzard default alpha borders around the edit box when it's not being used. The borders will still show though when you use it and hide again when you are done.
  • Removes the guild loot gold messages and replaces them with the original ones.
  • Right-Click player names in chat window to be able to copy their names. (Great for names with special characters)
  • Right-Click player names in chat window to be able to Guild Invite.
  • Right-Click player names in chat window to be able to do a Who lookup.
  • Has built in URL support. Clickable URL links in the chat window.


Note: Timestamps were not included because Blizzard already implemented this feature into the client.
Options -> Interface -> Social -> Chat Timestamps



Slash Commands:
  • /xanchat social -- toggles the chat social buttons (ON/OFF)
  • /xanchat scroll -- toggles the chat scroll buttons (ON/OFF)
  • /xanchat shortnames -- toggles channel short names (ON/OFF)
  • /xanchat editbox -- toggles the edit box to show (TOP/BOTTOM)
  • /xanchat tabs -- toggles the chat tabs (ON/OFF)



You can view Alpha Builds at my Github tracker.

v3.9
-Toc Update for 6.0

v3.8
-Updated TOC for patch 5.2
-Added a small fix for when Battle.net goes down.

v3.7
-Fixed a stupid bug where blizzard has now prevented ChatFrame1 from moving independently. They must have added this in a hotfix.
-Because of the above fix, the issue with the 'ChatFrame1' is not movable has been fixed.

v3.6
-Fixed a stupid taint issue with removing glyphs. Why does blizzard keep adding taint calls to functions, in every expansion.

v3.5
-Fix for an error that would occur if the chatframes were locked and the addon would try to move them.

v3.4
-Updated for Mists of Panderia patch 5.01

v3.3
-Small fix for scrolling
-layout saved first before restored

v3.2
-Another darn fix for positioning... fixed for real now.

v3.1
-Oops small bugfix for saving layout.

v3.0
-Added chat numbers to shortnames if enabled.
-Fixed some serious issues with text going missing on player login.
-Changed the way that chatframes are saved and restored on the screen.
-Fixed a slight bug with the amount of lines in the chatframes.
-Changed the way some settings are applied.

v2.8
-Toc update for patch 4.3

v2.7
-Updated for Firelands.
-YES I'm back to playing WOW, expect updates to all my addons.

v2.6:
-Updated TOC for patch 4.1

v2.5
-This will fix the mysterious floating chat frames for the combat log.
-This will address those chat frames that are docked.
-Enhanced the way the chatframes are saved and restored.

v2.4
-Chat frames will now remember the position you placed them and position correctly on login or reload.

v2.3
-You can now move the chat window to the edges of the screen

Version 2.2:
-Added a slash command to move the editbox to the top or bottom.
-Added a slash command to hide the chat tabs. (They will still show when you mouse over the chat.)
-Fixed an issue where the editbox would prevent you from clicking the chat tabs when it was displayed at the top.

Version 2.1:
-Small update to make the channel short names ignore processing the combatlog.
-Note: I highly recommend updating to this version.

Version 2.0:
-Major changes to the layout of the code
-Added the removal of guild gold loot messages. It will be changed to the default ones.
-Changed the color of the URL links to be a much brighter moss green.
-Changed the way in which the primary code loads up.
-Added slash commands
-Added an option to hide scroll bars
-Added an option to hide social buttons
-Added a confirmation box when changes are done as a ReloadUI is required.
-Added support for short channel names
-Modified the code slightly

Version 1.7:
-Had to add support for SPECIAL channels, since blizzard loves to make everything separate into different channels.
-Added support for Battleground Leader
-Added support for Battle.Net Conversation
-Added support for Battle.Net Whisper
-Added support for Party Leader
-Added support for Raid Leader
-Added support for Raid Warning
-Enhanced the URL parsing a bit more to make sure it supports a whole heap of different URLs.

Version 1.6:
-Had to modified the way that URL's were being hooked.
-Fixed the popup issue ;)
-Had to remove maxlines as it was causing issues.
-Fixed an issue where sometimes the addon would conflict with other chat addons and prevent certain text from appear. Such as Boss Yells and NPC Say speech.
-Changed the way that URL's are parsed. Should no longer affect regular chat text including that of NPC's.

Version 1.5:
-Added a guild invite function to the chat playername right click menu
-Added a who function to the chat playername right click menu

Version 1.4:
-Fixed the class coloring for all the global channels.
-Added a Copy Name option to the right-click menu that appears when you right-click a player name in the chatframe. This will be useful for those times a player name may contain special characters in the name not native to your keyboard.

Version 1.2:
-Apparently global channels were not being affected. This has been fixed in version 1.2


Version 1.1:
-A slight fix for the class colors sometimes not working.
Optional Files (0)


Archived Files (25)
File Name
Version
Size
Author
Date
v3.8
6kB
Xruptor
03-13-13 05:39 PM
v3.7
6kB
Xruptor
11-22-12 07:14 AM
v3.6
6kB
Xruptor
10-14-12 08:20 AM
v3.5
6kB
Xruptor
09-27-12 04:32 PM
v3.4
6kB
Xruptor
09-24-12 06:11 PM
v3.3
6kB
Xruptor
04-17-12 11:23 AM
v3.2
6kB
Xruptor
04-16-12 03:26 PM
v3.1
6kB
Xruptor
04-16-12 03:10 PM
v3.0
6kB
Xruptor
04-16-12 10:28 AM
v2.8
6kB
Xruptor
11-29-11 03:15 PM
v2.7
6kB
Xruptor
10-24-11 09:46 AM
v2.6
6kB
Xruptor
05-03-11 06:16 AM
v2.5
6kB
Xruptor
01-27-11 03:32 PM
v2.4
5kB
Xruptor
01-25-11 09:26 PM
v2.3
5kB
Xruptor
01-24-11 01:42 PM
2.2
5kB
Xruptor
01-04-11 02:18 PM
2.1
4kB
Xruptor
01-04-11 07:53 AM
2.0
4kB
Xruptor
01-03-11 05:51 PM
1.7
3kB
Xruptor
12-21-10 11:28 AM
1.6
3kB
Xruptor
12-20-10 07:48 PM
1.5
3kB
Xruptor
11-26-10 07:08 AM
1.4
3kB
Xruptor
11-20-10 12:12 PM
1.2
2kB
Xruptor
11-19-10 09:44 AM
1.1
2kB
Xruptor
11-19-10 07:46 AM
1.0
2kB
Xruptor
11-18-10 09:31 AM


Post A Reply Comment Options
Unread 03-13-13, 04:52 PM  
Xruptor
A Black Drake
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 87
File comments: 586
Uploads: 37
Re: When B.net is down

Originally Posted by byoonie
I get this error

Code:
Message: Interface\AddOns\xanChat\xanChat.lua:343: not connected to Battle.net
Time: 03/12/13 16:42:38
Count: 1
Stack: [C]: in function `BNSetMatureLanguageFilter'
Interface\AddOns\xanChat\xanChat.lua:343: in function <Interface\AddOns\xanChat\xanChat.lua:332>
(tail call): ?

Locals: (*temporary) = false
Maybe because the text changes in my interface options when B.net isn't available? Just wondering.
Thanks for pointing this out. Let me get a quick fix for this up.
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Xruptor is offline Report comment to moderator  
Reply With Quote
Unread 03-12-13, 05:46 PM  
byoonie
A Defias Bandit

Forum posts: 2
File comments: 14
Uploads: 0
When B.net is down

I get this error

Code:
Message: Interface\AddOns\xanChat\xanChat.lua:343: not connected to Battle.net
Time: 03/12/13 16:42:38
Count: 1
Stack: [C]: in function `BNSetMatureLanguageFilter'
Interface\AddOns\xanChat\xanChat.lua:343: in function <Interface\AddOns\xanChat\xanChat.lua:332>
(tail call): ?

Locals: (*temporary) = false
Maybe because the text changes in my interface options when B.net isn't available? Just wondering.
byoonie is offline Report comment to moderator  
Reply With Quote
Unread 11-25-12, 10:37 AM  
mtaher
A Kobold Labourer

Forum posts: 0
File comments: 23
Uploads: 0
Originally Posted by Xruptor
Originally Posted by mtaher
First of all i would like to thank you for creating this addon. i have been wanting something like this for a very long time and i did not want to use a heavy addon like prat.

However i have a suggestion that will make this addon complete for me.
-Give us the option to be able to Copy stuff from our chat box.

Thanks
Folks have asked for this before I would really love to implement this really I do. However, blizzard in all their infinite wisdom made dealing with the ChatFrame a nightmare. In order to do what you ask, I literally have to store each line in an array (think of it like a list). As this array keeps getting filled more and more memory gets used. I need to have this list so I can retrieve a line the person wants to copy. Eventually the array would be enormous and this addon would take up way more memory than I would like. I made this addon to be extremely small and efficient. No fancy bells or whistles, if I keep adding things to it eventually it would end up like Prat.

Trust me if there was any other way to do it, I would. I would really like to have this added as well but the current system just isn't friendly enough to implement it.

There is an old addon that does exactly what I describe above. The only exception is that he forces it to store only 500 lines (though a user can modify it).

http://www.wowinterface.com/download...atHistory.html
That is fair enough. I would like it to be very light on the memory as well and your addon does a superb job at this.
Will give the addon you suggested a try.
Thanks.
mtaher is offline Report comment to moderator  
Reply With Quote
Unread 11-24-12, 06:58 AM  
Xruptor
A Black Drake
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 87
File comments: 586
Uploads: 37
Originally Posted by mtaher
First of all i would like to thank you for creating this addon. i have been wanting something like this for a very long time and i did not want to use a heavy addon like prat.

However i have a suggestion that will make this addon complete for me.
-Give us the option to be able to Copy stuff from our chat box.

Thanks
Folks have asked for this before I would really love to implement this really I do. However, blizzard in all their infinite wisdom made dealing with the ChatFrame a nightmare. In order to do what you ask, I literally have to store each line in an array (think of it like a list). As this array keeps getting filled more and more memory gets used. I need to have this list so I can retrieve a line the person wants to copy. Eventually the array would be enormous and this addon would take up way more memory than I would like. I made this addon to be extremely small and efficient. No fancy bells or whistles, if I keep adding things to it eventually it would end up like Prat.

Trust me if there was any other way to do it, I would. I would really like to have this added as well but the current system just isn't friendly enough to implement it.

There is an old addon that does exactly what I describe above. The only exception is that he forces it to store only 500 lines (though a user can modify it).

http://www.wowinterface.com/download...atHistory.html
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Last edited by Xruptor : 11-24-12 at 06:59 AM.
Xruptor is offline Report comment to moderator  
Reply With Quote
Unread 11-23-12, 03:15 AM  
mtaher
A Kobold Labourer

Forum posts: 0
File comments: 23
Uploads: 0
First of all i would like to thank you for creating this addon. i have been wanting something like this for a very long time and i did not want to use a heavy addon like prat.

However i have a suggestion that will make this addon complete for me.
-Give us the option to be able to Copy stuff from our chat box.

Thanks
mtaher is offline Report comment to moderator  
Reply With Quote
Unread 11-22-12, 07:14 AM  
Xruptor
A Black Drake
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 87
File comments: 586
Uploads: 37
v3.7
-Fixed a stupid bug where blizzard has now prevented ChatFrame1 from moving independently. They must have added this in a hotfix.
-Because of the above fix, the issue with the 'ChatFrame1' is not movable has been fixed.
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Xruptor is offline Report comment to moderator  
Reply With Quote
Unread 11-21-12, 05:04 PM  
Xruptor
A Black Drake
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 87
File comments: 586
Uploads: 37
For those of you getting the error, I'm currently investigating it. I've been away on a vacation and should be able to take a look at the issue now. I'll see if I can put out a fix as quickly as possible.
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Xruptor is offline Report comment to moderator  
Reply With Quote
Unread 11-19-12, 05:52 PM  
Andilas
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
I appear to be having the same issue. I don't get an error message, but with Xanchat enabled and no other addons running, I'm unable to move the main chat frame after unlocking (I can detach the combat log tab, and that will move normally, or resize the chat frame, but the main "General" frame itself doesn't move at all). If I disable Xanchat, the whole frame becomes movable again as expected.
Andilas is offline Report comment to moderator  
Reply With Quote
Unread 11-15-12, 11:06 PM  
F1NCH
A Kobold Labourer
 
F1NCH's Avatar

Forum posts: 0
File comments: 44
Uploads: 0
Originally Posted by Xruptor
Originally Posted by Vranx
I dont feel like doing a full investigation into a conflict, I will go back to my old chat mod.
Sorry you feel that way. I can't help you if you don't help me.
I have the same problem. I turned off all addons and still get the lua error

Code:
Message: [string "ChatFrame1:OnDragStart"]:6: Frame ChatFrame1 is not movable
Time: 11/16/12 05:54:05
Count: 1
Stack: [C]: in function `StartMoving'
[string "*:OnDragStart"]:6: in function <[string "*:OnDragStart"]:1>

Locals: (*temporary) = ChatFrame1 {
 0 = <userdata>
 checkedGMOTD = true
 flashTimer = 0
 isInitialized = 1
 mouseOutTime = 0
 tellTimer = 41327.709
 resizeButton = ChatFrame1ResizeButton {
 }
 buttonFrame = ChatFrame1ButtonFrame {
 }
 oldAlpha = 0
 channelList = <table> {
 }
 hasBeenFaded = true
 clickAnywhereButton = ChatFrame1ClickAnywhereButton {
 }
 isDocked = 1
 mouseInTime = 0
 editBox = ChatFrame1EditBox {
 }
 buttonSide = "left"
 name = "Chat"
 isStaticDocked = true
 zoneChannelList = <table> {
 }
 defaultLanguage = "Gemeinsprache"
 messageTypeList = <table> {
 }
}
__________________
Zum Lügen gehören immer 2, einer der lügt und einer der's glaubt!
F1NCH is offline Report comment to moderator  
Reply With Quote
Unread 11-04-12, 10:20 AM  
Xruptor
A Black Drake
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 87
File comments: 586
Uploads: 37
Originally Posted by Vranx
I dont feel like doing a full investigation into a conflict, I will go back to my old chat mod.
Sorry you feel that way. I can't help you if you don't help me.
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Xruptor is offline Report comment to moderator  
Reply With Quote
Unread 11-04-12, 08:02 AM  
Vranx
A Black Drake
 
Vranx's Avatar

Forum posts: 87
File comments: 152
Uploads: 0
I dont feel like doing a full investigation into a conflict, I will go back to my old chat mod.
Vranx is online now Report comment to moderator  
Reply With Quote
Unread 11-04-12, 06:50 AM  
Xruptor
A Black Drake
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 87
File comments: 586
Uploads: 37
Originally Posted by Vranx
Maybe im doing something wrong, after unlocking the chat I cant get it to move, when I try it gives me this:
Code:
[15:21:25] [string "ChatFrame1:OnDragStart"]:6: Frame ChatFrame1 is not movable
[C]: ?
[C]: in function `StartMoving'
[string "*:OnDragStart"]:6: in function <[string "*:OnDragStart"]:1>
That shouldn't occur. It sounds like the frames are locked to begin with. Did you unlock them first before trying to move them? xanChat doesn't unlock frames only locks them after they have been restored. This was done to prevent the exact error you listed above. None of my friends or guildmates have gotten the error you mention above. So it could be a conflict with another addon.

If you STILL get this error even after investigating it, I will look in to it. Please first make sure it's not something else though.
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Xruptor is offline Report comment to moderator  
Reply With Quote
Unread 11-03-12, 01:24 PM  
Vranx
A Black Drake
 
Vranx's Avatar

Forum posts: 87
File comments: 152
Uploads: 0
Maybe im doing something wrong, after unlocking the chat I cant get it to move, when I try it gives me this:
Code:
[15:21:25] [string "ChatFrame1:OnDragStart"]:6: Frame ChatFrame1 is not movable
[C]: ?
[C]: in function `StartMoving'
[string "*:OnDragStart"]:6: in function <[string "*:OnDragStart"]:1>
Vranx is online now Report comment to moderator  
Reply With Quote
Unread 10-17-12, 07:07 AM  
F1NCH
A Kobold Labourer
 
F1NCH's Avatar

Forum posts: 0
File comments: 44
Uploads: 0
Love this Addon! But one thing i miss.
ALT-LeftMouseButtonClick on a Name to invite this char to party.
__________________
Zum Lügen gehören immer 2, einer der lügt und einer der's glaubt!
F1NCH is offline Report comment to moderator  
Reply With Quote
Unread 10-02-12, 08:23 PM  
Jaim Sandar
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 357
Uploads: 1
Re: Re: comparison

Originally Posted by Xruptor
75kb is nothing.. it's so miniscule that I'm not entirely sure why it's such a big deal for you. It could be worse it could be several megabytes. I'm glad you pointed it out, but I just don't see the reasoning really.
I sent you a PM rather than take up more space here. I'm sorry if I seemed too critical.

Thank you!
Jaim Sandar is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: