R
(115Kb)
Download
Updated: 09-18-23 03:51 PM
C
(115kB)
Download
Updated: 09-18-23 03:51 PM
WL
(115kB)
Download
Updated: 09-18-23 03:51 PM
Pictures
File Info
Compatibility:
WotLK Patch (3.4.2)
Updated:09-18-23 03:51 PM
Created:11-18-10 09:31 AM
Downloads:20,293
Favorites:39
MD5:

xanChat  Popular! (More than 5000 hits)

Version: v10.7, Classic: v10.7
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.
  • Saves up to the last 40 lines you have typed in the edit box. You can use the UP and DOWN keys to navigate the history when the edit box is opened.
  • 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.
  • Option to enable a Copy Chat Button, which will allow you to copy as much text from chat as you like.
  • Option to enable additional Player coloring in chat and even add Player Levels to their names.
  • 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)
  • /xanchat shadow - toggles text shadows for chat fonts (ON/OFF)
  • /xanchat voice - toggles the Blizzard voice chat buttons (ON/OFF)



You can view Alpha Builds at my Github tracker.

xanChat
v10.7 (2023-09-18)
Full Changelog Previous Releases
  • TOC Update
    TOC Update
Optional Files (0)


Archived Files (25)
File Name
Version
Size
Author
Date
v10.7
115kB
Xruptor
09-18-23 03:51 PM
v10.7
115kB
Xruptor
09-18-23 03:51 PM
v10.6
115kB
Xruptor
05-26-23 06:41 AM
v10.5
115kB
Xruptor
01-28-23 08:13 AM
v10.4
114kB
Xruptor
01-27-23 01:08 PM
v10.3
114kB
Xruptor
01-25-23 07:14 AM
v10.2
114kB
Xruptor
12-07-22 02:19 PM
v10.1
115kB
Xruptor
12-07-22 10:52 AM
v10.0
112kB
Xruptor
11-28-22 02:27 PM
v9.9
112kB
Xruptor
11-23-22 07:09 AM
v9.8
112kB
Xruptor
11-22-22 02:25 PM
v9.7
112kB
Xruptor
11-18-22 10:59 PM
v9.6
112kB
Xruptor
11-15-22 05:41 PM
v9.5
111kB
Xruptor
11-10-22 04:17 PM
v9.4
112kB
Xruptor
11-10-22 02:07 PM
v9.3
112kB
Xruptor
11-04-22 09:47 AM
v9.2
111kB
Xruptor
11-01-22 01:47 PM
v9.2
111kB
Xruptor
11-01-22 01:47 PM
v9.1
111kB
Xruptor
09-19-21 08:13 AM
v9.0
111kB
Xruptor
06-30-21 08:43 AM
v8.9
111kB
Xruptor
05-28-21 08:10 AM
v8.8
111kB
Xruptor
04-06-21 10:22 AM
v8.8
111kB
Xruptor
04-06-21 10:08 AM
v8.7
111kB
Xruptor
03-16-21 04:29 PM
v8.6
110kB
Xruptor
03-12-21 02:29 PM


Post A Reply Comment Options
Unread 11-05-16, 12:04 AM  
byoonie
A Defias Bandit

Forum posts: 2
File comments: 16
Uploads: 0
First off, thank you for this awesome add-on. I have a question/bug:

Sometimes when I log into toons, the chatbox will be unlocked/movable. Even though I lock the position, they become unlocked when I exit the game and log back in. It's pretty inconsistent when this happens, I just know it does.

Any idea what could be causing it?
Report comment to moderator  
Reply With Quote
Unread 10-29-16, 12:25 PM  
Xruptor
A Flamescale Wyrmkin
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 133
File comments: 640
Uploads: 22
Re: Error with 7.1

Originally Posted by ussandil
Hey,

thanks for your amazing addons Xruptor.
In 7.1 the FriendsMicro Button got renamed into QuickJoinToastButton.
(you will get errors if you turn it social off).

thanks again bye
hey! thanks for pointing this out!

Version 4.2 will fix that bug. I also added a new slash command feature to toggle font shadows in the chat windows. /xanchat shadow
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Last edited by Xruptor : 10-29-16 at 12:37 PM.
Report comment to moderator  
Reply With Quote
Unread 10-29-16, 06:26 AM  
ussandil
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Error with 7.1

Hey,

thanks for your amazing addons Xruptor.
In 7.1 the FriendsMicro Button got renamed into QuickJoinToastButton.
(you will get errors if you turn it social off).

thanks again bye
Report comment to moderator  
Reply With Quote
Unread 10-04-16, 05:36 AM  
Xruptor
A Flamescale Wyrmkin
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 133
File comments: 640
Uploads: 22
Originally Posted by zork
Using your chat addon atm. Really like it. Some suggestions I came along.

The editbox needs to be hidden. Otherwise it is visible once you click on the chat for the first time. The editbox becomes automatically visible once you hit Enter.

Lua Code:
  1. local function setEditBox(sSwitch)
  2.     for i = 1, NUM_CHAT_WINDOWS do
  3.         local eb = _G[("ChatFrame%dEditBox"):format(i)]
  4.     eb:Hide() --hide the editbox by default
  5.     ...

More font sizes
The toastframe needs a clamp too. Otherwise it gets offscreen.

Lua Code:
  1. --font size
  2. CHAT_FONT_HEIGHTS = {10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20}
  3.  
  4. --don't cut the toastframe
  5. BNToastFrame:SetClampedToScreen(true)
  6. BNToastFrame:SetClampRectInsets(-15,15,15,-15)

For the channel replacement of global channels I'm a huge fan of
Lua Code:
  1. text = gsub(text, '|h%[(%d+)%. .-%]|h', '|h%1.|h')

I'm not a fan of the brackets on the shortnames. Could those be optional? I had to hack the out.

Btw...the chat lock toggles on /reload. Not sure why you use ToggleLock.
These are actually some good suggestions. I suppose I can always make some sort of tiny config screen where some of these options can be enabled. The rest can be just straight out implemented. Hmm let me give it some more thought.
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Report comment to moderator  
Reply With Quote
Unread 10-03-16, 04:00 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Using your chat addon atm. Really like it. Some suggestions I came along.

The editbox needs to be hidden. Otherwise it is visible once you click on the chat for the first time. The editbox becomes automatically visible once you hit Enter.

Lua Code:
  1. local function setEditBox(sSwitch)
  2.     for i = 1, NUM_CHAT_WINDOWS do
  3.         local eb = _G[("ChatFrame%dEditBox"):format(i)]
  4.     eb:Hide() --hide the editbox by default
  5.     ...

More font sizes
The toastframe needs a clamp too. Otherwise it gets offscreen.

Lua Code:
  1. --font size
  2. CHAT_FONT_HEIGHTS = {10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20}
  3.  
  4. --don't cut the toastframe
  5. BNToastFrame:SetClampedToScreen(true)
  6. BNToastFrame:SetClampRectInsets(-15,15,15,-15)

For the channel replacement of global channels I'm a huge fan of
Lua Code:
  1. text = gsub(text, '|h%[(%d+)%. .-%]|h', '|h%1.|h')

I'm not a fan of the brackets on the shortnames. Could those be optional? I had to hack the out.

Btw...the chat lock toggles on /reload. Not sure why you use ToggleLock.
__________________
| 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 : 10-03-16 at 04:32 AM.
Report comment to moderator  
Reply With Quote
Unread 08-21-16, 11:07 AM  
plopek
A Deviate Faerie Dragon
AddOn Compiler - Click to view compilations

Forum posts: 18
File comments: 5
Uploads: 1
Re: Re: Re: Re: Re: Re: Question about new whisper tab msg

Originally Posted by Xruptor
Just want to confirm with you that this only happens after xanChat is loaded and after you create a new tab correct?
It happens not when I created new tab myself, but only when new tabs are created automatically from new whispers.

Edit:

It seems like the problem is related to new whisper windows clamped to the screen as you can see on this scr
(default settings, cleared WTF and Cache, no other addons)
http://imgur.com/a/qsqQW
Last edited by plopek : 08-21-16 at 02:24 PM.
Report comment to moderator  
Reply With Quote
Unread 08-21-16, 08:34 AM  
Xruptor
A Flamescale Wyrmkin
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 133
File comments: 640
Uploads: 22
Re: Re: Re: Re: Re: Question about new whisper tab msg

Originally Posted by plopek
Originally Posted by Xruptor
Okay that's what I thought. If you look at lines ~418 to 426 around there. You will notice that those buttons have been told to hide IF the option to hide them have been enabled. The ChatFrame index is grabbed in the top by max number of chatframes. Have you made sure to to type /xanchat scroll to disable the scrollbars? If you had that enabled and it still does not hide them. Then I will need to do a deep investigation. My first guess is that another addon is causing the buttons to stay visible. However, I want to rule out if it's an issue with XanChat first.

Also I'm such an idiot I type the BNet filter wrong lol. That's why I didn't see it the first time Thanks for pointing it out though I caught it a few minutes after I typed the post.
Yes I have enabled them. Button on main frame and combat log remain hidden all the time. So it works except those new automatically created whisper tabs. Ive temporary disabled other addons, dont have many tho, and none chat related.
I was searching trough the code of different addon similar to yours, but coudn't make it to work. My programming skills are beyond this Im talking about http://www.wowinterface.com/download...ipperChat.html. May u wanna compare it to invastigate the problem more easily.

Have a god day
it's probably something very silly. I'm looking into it. I believe it has to do with how the frames are loaded after the xanChat is enabled.

It would make sense that it wouldn't work on newly created tabs. Since it will take a reload for it to take effect. I'm going to add a hook to check for new tabs and then perform a button cleanup. That should take care of it. Just want to confirm with you that this only happens after xanChat is loaded and after you create a new tab correct?
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Report comment to moderator  
Reply With Quote
Unread 08-21-16, 07:05 AM  
plopek
A Deviate Faerie Dragon
AddOn Compiler - Click to view compilations

Forum posts: 18
File comments: 5
Uploads: 1
Re: Re: Re: Re: Question about new whisper tab msg

Originally Posted by Xruptor
Okay that's what I thought. If you look at lines ~418 to 426 around there. You will notice that those buttons have been told to hide IF the option to hide them have been enabled. The ChatFrame index is grabbed in the top by max number of chatframes. Have you made sure to to type /xanchat scroll to disable the scrollbars? If you had that enabled and it still does not hide them. Then I will need to do a deep investigation. My first guess is that another addon is causing the buttons to stay visible. However, I want to rule out if it's an issue with XanChat first.

Also I'm such an idiot I type the BNet filter wrong lol. That's why I didn't see it the first time Thanks for pointing it out though I caught it a few minutes after I typed the post.
Yes I have enabled them. Button on main frame and combat log remain hidden all the time. So it works except those new automatically created whisper tabs. Ive temporary disabled other addons, dont have many tho, and none chat related.
I was searching trough the code of different addon similar to yours, but coudn't make it to work. My programming skills are beyond this Im talking about http://www.wowinterface.com/download...ipperChat.html. May u wanna compare it to invastigate the problem more easily.

Have a god day
Report comment to moderator  
Reply With Quote
Unread 08-21-16, 06:25 AM  
Xruptor
A Flamescale Wyrmkin
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 133
File comments: 640
Uploads: 22
Re: Re: Re: Question about new whisper tab msg

Originally Posted by plopek
Originally Posted by Xruptor
Where is this BNSetMatureLanguageFilter error you replaced?
It is at line 342. I've read that BNSetMatureLanguageFilter doesnt exists enymore. http://www.wowinterface.com/forums/s...ad.php?t=53263
I have changed this
Lua Code:
  1. --ALWAYS turn off profanity filter
  2.     if BNConnected() then
  3.         BNSetMatureLanguageFilter(false)
  4.     end
to this
Lua Code:
  1. SetCVar("profanityFilter", 0)

Scrollbars are:
"ChatFrame11ButtonFrameUpButton"
"ChatFrame11ButtonFrameDownButton"
"ChatFrame11ButtonFrameBottomButton"
Okay that's what I thought. If you look at lines ~418 to 426 around there. You will notice that those buttons have been told to hide IF the option to hide them have been enabled. The ChatFrame index is grabbed in the top by max number of chatframes. Have you made sure to to type /xanchat scroll to disable the scrollbars? If you had that enabled and it still does not hide them. Then I will need to do a deep investigation. My first guess is that another addon is causing the buttons to stay visible. However, I want to rule out if it's an issue with XanChat first.

Also I'm such an idiot I type the BNet filter wrong lol. That's why I didn't see it the first time Thanks for pointing it out though I caught it a few minutes after I typed the post.
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Report comment to moderator  
Reply With Quote
Unread 08-20-16, 12:25 AM  
plopek
A Deviate Faerie Dragon
AddOn Compiler - Click to view compilations

Forum posts: 18
File comments: 5
Uploads: 1
Re: Re: Question about new whisper tab msg

Originally Posted by Xruptor
Where is this BNSetMatureLanguageFilter error you replaced?
It is at line 342. I've read that BNSetMatureLanguageFilter doesnt exists enymore. http://www.wowinterface.com/forums/s...ad.php?t=53263
I have changed this
Lua Code:
  1. --ALWAYS turn off profanity filter
  2.     if BNConnected() then
  3.         BNSetMatureLanguageFilter(false)
  4.     end
to this
Lua Code:
  1. SetCVar("profanityFilter", 0)

Scrollbars are:
"ChatFrame11ButtonFrameUpButton"
"ChatFrame11ButtonFrameDownButton"
"ChatFrame11ButtonFrameBottomButton"
Report comment to moderator  
Reply With Quote
Unread 08-19-16, 10:04 AM  
Xruptor
A Flamescale Wyrmkin
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 133
File comments: 640
Uploads: 22
Re: Question about new whisper tab msg

Originally Posted by plopek
Hi,
It's an awesome addon. My fav chat mod. It still works great. There was only one lua error with "BNSetMatureLanguageFilter" but i replaced it with "SetCVar("profanityFilter", 0)" and does the job.

But to the question. When i recieve new whisper in new tab it seems like the scroll buttons dont hide, they reamain shown and the whole chat box is pushed to the right. I have all buttons hidden, so Id like to hide those from new tabs aswell.
it looks like this http://imgur.com/a/zPGQt
Do you know how to fix it?

Thanks in advance.
Thanks! I'm glad someone still uses the addon.

Where is this BNSetMatureLanguageFilter error you replaced? I haven't had an issue with my filtering options or an error being brought up on xanChat.

That is really weird for the whispers tab. On mine the scrolls are hidden. Here is what I need you to do. In the game type this /fstack it will enable Blizzards frame finder tool. Hover over the scrollbars and then scribble down what they are. Just type /fstack to turn it back off. Let me know what the scrollbars are and I will be investigating this myself. Thanks for the heads up!
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Report comment to moderator  
Reply With Quote
Unread 08-19-16, 03:39 AM  
plopek
A Deviate Faerie Dragon
AddOn Compiler - Click to view compilations

Forum posts: 18
File comments: 5
Uploads: 1
Question about new whisper tab msg

Hi,
It's an awesome addon. My fav chat mod. It still works great. There was only one lua error with "BNSetMatureLanguageFilter" but i replaced it with "SetCVar("profanityFilter", 0)" and does the job.

But to the question. When i recieve new whisper in new tab it seems like the scroll buttons dont hide, they reamain shown and the whole chat box is pushed to the right. I have all buttons hidden, so Id like to hide those from new tabs aswell.
it looks like this http://imgur.com/a/zPGQt
Do you know how to fix it?

Thanks in advance.
Report comment to moderator  
Reply With Quote
Unread 01-03-15, 03:28 AM  
Worcester
A Deviate Faerie Dragon
 
Worcester's Avatar

Forum posts: 13
File comments: 91
Uploads: 0
Tell Target Suggestion

So I'm loving the lightweight addon. It works great in nearly every instance. One thing I do miss about Prat, though, is the "tell target" option. By typing /tt Prat would automatically whisper your current target. Perhaps it's just a thing I should deal with, but it was pretty handy.

Just a thought. Thanks again for all the addons!
__________________
I prefer rogues to imbeciles, because they sometimes take a rest.
--Alexandre Dumas
Report comment to moderator  
Reply With Quote
Unread 11-18-14, 11:54 AM  
Xruptor
A Flamescale Wyrmkin
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 133
File comments: 640
Uploads: 22
Re: Fade Option

Originally Posted by Worcester
I've been using XanAutoMail for a while, so I thought I'd try this out instead of Prat. Also trying out your error handler!

For the question about fading frames, Kong is good at identifying frames and hiding them. Even works in combat.

Thanks!
The odd part is the fading seems to work fine for me. So I'm wondering if it's another addon altering it. I'll take a look at Kong.
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Report comment to moderator  
Reply With Quote
Unread 11-17-14, 08:42 PM  
Worcester
A Deviate Faerie Dragon
 
Worcester's Avatar

Forum posts: 13
File comments: 91
Uploads: 0
Fade Option

I've been using XanAutoMail for a while, so I thought I'd try this out instead of Prat. Also trying out your error handler!

For the question about fading frames, Kong is good at identifying frames and hiding them. Even works in combat.

Thanks!
__________________
I prefer rogues to imbeciles, because they sometimes take a rest.
--Alexandre Dumas
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: