CleanChat
| Last Update: | June 28, 2007 (1 year ago) |
|---|---|
| Category: | Chat & Communication |
| Tags: | chat |
| Project Manager: | wbb |
| Website: | visit |
| Current Version: | CleanChat testversion17a (for World of Warcraft 2.1.2) |
| Downloads Today: | 9 |
| Downloads Total: | 29,876 |
| Favorites: | 383 |
| Comments: | 153 |
- Screenshot
- More
- More Information
| Created On: | Aug. 28, 2005 |
|---|
- About CleanChat
Functions
- Removes [Guild], [Party], [Raid] and [Officer] prefix from chat.
- Abbreviates [Raid Leader] and [Raid Warning].
- Removes channel names 'General', 'Trade', 'LookingForGroup', 'XXXDefense' or replaces with a short prefix.
- Removes custom channel names.
- Colorize chat names.
- Option to activate cursor keys while typing a message (instead of ALT+Cursor keys).
- Option to hide scroll buttons.
- Option to use the mouse wheel to scroll. Hold Shift while scroll up or down and it scrolls immediately to the top or bottom of the chat.
- Option to collect class and level information from random chat people (people not in party / raid / guild / friend list)
- Option to save this information between sessions.
- Option to popup message if it contains your name.
- Clickable URLs. You can click a URL or bind a key to toggle the URL window. The window shows last five URLs and allows you to copy a URL to the clipboard.
- Highlight custom text in chat message (requires to edit a textfile, advanced users only).
What now?
Enter '/cleanchat' or bind a key to show the configuration window. There you can enable/disable the addon functions.
If you choose to enable the option "Show level" and/or "Use class colors" there a few things to note:
- The level and class of your party / raid / guild / friends is always known.
- To show levels and apply class colors to random chat people, you have to allow the addon to use the /who command. If the random is first seen by the addon then it will initiate a /who query, so the second time the random types a message the information can be applied. If a lot of chitchat is going on, the addon can not keep up because a /who command is only allowed every three seconds. But sooner or later the information is gathered. Keep in mind that the level information afterwards will not be updated as long as the random is known by the addon.
- If you save the collected information about randoms and you don't see a name for three days all information about the name will be deleted. The collected information are stored per character.
- If you disable the save option, the name information will be lost after a hour or on logout.
Colorize details
Here is a list how the addon decides what color a name gets (read to fully understand colorize options, but not required):
1. If 'classcolors' enabled and the class is known then it uses the Blizzard class colors. 2. Otherwise, it uses the guild color if a guild member and guild color is set. 3. Otherwise, it uses the friend color if a friend and friend color is set. 4. Otherwise, it uses the party color if party member and party color is set. 5. Otherwise, it uses the the raid color if raid member and raid color is set. 6. Otherwise, it uses unknownclass color if 'classcolors' enabled, class is NOT known and unknownclass color is set. 7. Otherwise, it uses grey color if 'classcolors' enabled, class is NOT known and unknownclass color is NOT set. 8. Otherwise, it uses 'others' color if that color is set. 9. Otherwise, it generates a color for that name if enabled. 10. Otherwise, use Blizzard default color.
Notes / Tips / More details
- If you want just random colors, only enable 'Use colorize names...'.
- If you want one color for all people then set only 'color for others'.
- If a name needs a 'random' color, the addon generates a color based on the hashvalue of the name. This means that a name has always the same 'random' color.
- To highlight custom text in chat messages open 'HighlightConfig.lua'. I prepared a few examples there to get you started.
- Downloads (5)
- Screenshots (2)
- Tickets
- Comments
- RSS
You need to login or register to post comments.
Benefits of Registration
- Interact with hundreds of thousands of other gamers on an open social network.
- Post your stories, news, images, videos, and other content to share.
- Create a network with your fellow gamers or join an existing one.
- Gain reputation for everything you do.
- Similar Addons
- 1,852 Carbonite Quest Chat & Communication, PvP, ...
- 680 WIM (WoW Instant ... Chat & Communication
- 590 Prat 2.0 Chat & Communication
- 533 ChatMOD Chat & Communication and Audio
- 222 TriviaBot Chat & Communication
- 8,129 QuestHelper Map and Quest & Leveling
- 4,741 Atlasloot Enhanced PvP, Map, Tradeskill, and ...
- 4,118 Omen Threat Meter Raids & Encounters
- 3,792 GroupCalendar Group/Guild Management, Quest ...
- 3,185 Deadly Boss Mods Raids & Encounters
Advertisement





- +0
- Thumbs Down
- Thumbs Up
lobete saidi like it, switch from LMchat
what i miss though and considered great options were
1. option to move typing box above the chatbox
2. disable autofade over time on the text itself
plz consider?
thx for the addon
- +0
- Thumbs Down
- Thumbs Up
zimmi saidURL's werden nicht vollständig übernommen wenn ein '-' (Bindestrich) darin vorkommt. Aufgefallen bei wow-europe.com wird nur europe.com als URL erkannt.
MfG Sleepi
- +0
- Thumbs Down
- Thumbs Up
pleshy saidThank you too for looking into it and making the fix. I enjoy the addon very much, real nice work :)
- +0
- Thumbs Down
- Thumbs Up
pleshy saidWhen I try to Shift + Click on a player name a URL list tap opens. How can I change this?
- +0
- Thumbs Down
- Thumbs Up
wbb saidThanks for notice. Fixed that bug, please download testversion17a.
- +0
- Thumbs Down
- Thumbs Up
Grimbeorn saidanytime someone wants to make a new version...ui.worldofwar one is so out of date..
- +0
- Thumbs Down
- Thumbs Up
Swiffer saidhttp://ui.worldofwar.net/ui.php?id=3707
Fully working version of Cleanchat. Currently works without issue on the beta servers.
- +0
- Thumbs Down
- Thumbs Up
Skyfire2042 saidDeTard, could it be possible that Cleanchat is having a conflict with another addon? :/
- +0
- Thumbs Down
- Thumbs Up
DeTard saidAnd because it's not here for download anymore, you can get it here:
http://files.filefront.com/CleanChat+Test+Version+15a/;6013615;;/fileinfo.html
- +0
- Thumbs Down
- Thumbs Up
DeTard saidAnyone else having the problem with this mod where you can't see ANY chat at all? I have tried changing the TOC to 20000, updating the math.mod to math.fmod, and even ran the Fix Addons app, all to no avail. The mod seems to load, no errors at all, but I don't see any chat. I see emotes, that's about it.
- +1
- Thumbs Down
- Thumbs Up
Grimbeorn saidThere is no file here. I cannot download it...
- +0
- Thumbs Down
- Thumbs Up
Swiffer saidThat fix worked for a couple of my alts, but when i load up my main (who uses the exact same mod loadout as the others) i get a setn error, and another one about line 552 about concatinating playerName or something of the like.
Id really like to see this mod picked up, it was one of my favourites.
- +0
- Thumbs Down
- Thumbs Up
Suey saidThis mod works perfectly with no errors in 2.0.1 if you do the following:
1) Change the first line in CleanChat.toc to
2) Open CleanChat.lua and replace all instances of "math.mod" with "math.fmod"
- +0
- Thumbs Down
- Thumbs Up
pocus saidInterface\AddOns\Cleanchat\CleanChat.lua:649:attempt to call field 'mod' (a nil value)
Only error i get in 2.0.1 This when i load the game and editting settings.
- +0
- Thumbs Down
- Thumbs Up
NiGHTsC saidIt has some problem with clicking on macros, hope someone can fix it, Thank you.
- +0
- Thumbs Down
- Thumbs Up
NiGHTsC saidjust change the toc to 20000. It works for me.
- +0
- Thumbs Down
- Thumbs Up
Anei saidplease please PLEASE update this mod!
- +0
- Thumbs Down
- Thumbs Up
wbb saidI like to highlight names in emotion chat text ('xyz waves' etc). I am not aware of any reliable way to determine if a text is some sort of addon chatter or role playing related. I think it is not that big problem anyway.
I am not sure what's the gain if [Guild] is replaced by [G] etc. As these channels already color coded, the purpose was to save space in the chatframe by removing them complete. Replacing 'General' by 'G' etc. can be done.
- +0
- Thumbs Down
- Thumbs Up
dinesh saidOK, I haven't done much additional tweaking, but I generally seem to be getting readable colors, so I'll post up some code fragments. In CleanChat_NewColor, I replaced your "make color bright if too dark" code snippet with the following:
local rgb1 = {79,79,79} -- standin for background color; local bright1 = ((rgb1[1]*299)+(rgb1[2]*587)+(rgb1[3]*114))/1000; local bright2 = ((rgb[1]*299)+(rgb[2]*587)+(rgb[3]*114))/1000; local brightdiff = math.floor(bright1 - bright2); -- -255 to 255 local huediff = math.floor(math.abs(rgb[1]-rgb1[1]) + math.abs(rgb[2]-rgb1[2]) + math.abs(rgb[3]-rgb1[3])); -- 0-765hash = CleanChat_HashString(hash); rgb = { math.floor(math.mod(hash, 255)),
math.floor(math.mod(hash * 3, 255)), math.floor(math.mod(hash / 17, 255)) };bright2 = ((rgb[1]*299)+(rgb[2]*587)+(rgb[3]*114))/1000; brightdiff = math.floor(bright1 - bright2); -- -255 to 255 huediff = math.floor(math.abs(rgb[1]-rgb1[1]) + math.abs(rgb[2]-rgb1[2]) + math.abs(rgb[3]-rgb1[3])); -- 0-765 i = i + 1;
basically, instead of just working with color values less than 190 (where did you come up with that, anyway? it worked pretty darn well), I use some formulas I found on the net to calculate a "brightness difference" and "hue difference". I then experiemented with these values and seeing which were legible to come up with the formula for when to rehash to a new random color.
note that the differences are compared to a "reference" color. I chose a shade of gray which mimics what I have set for my chat panel backgrounds.
If you want to test your own values and the rehashing function, you can add the following code towards the end of the CleanChat_AddMessage function to output the brightness, hue, and RGB values for every color outputted (change false to true to enable this):
-- DBM --for debugging if false then
local color = CleanChat_GetColorFor(this.CleanChat_Name) local rgb1 = {79,79,79} -- standin for background color; local rgb2 = {CleanChat_ToDec(string.sub(color,-6,-5)),CleanChat_ToDec(string.sub(color,-4,-3)), CleanChat_ToDec(string.sub(color,-2,-1))} local bright1 = ((rgb1[1]*299)+(rgb1[2]*587)+(rgb1[3]*114))/1000; local bright2 = ((rgb2[1]*299)+(rgb2[2]*587)+(rgb2[3]*114))/1000; local brightdiff = math.floor(bright1 - bright2); -- -255 to 255 local huediff = math.floor(math.abs(rgb2[1]-rgb1[1]) + math.abs(rgb2[2]-rgb1[2]) + math.abs(rgb2[3]-rgb1[3])); -- 0-765msg = brightdiff .. " " .. huediff .. " (" .. rgb2[1] .. "," .. rgb2[2] .. "," .. rgb2[3] .. ") " .. msg;end
Hope it helps!
- +0
- Thumbs Down
- Thumbs Up
dinesh saidincidentally, i grabbed the algorithm from the following site: http://www.aprompt.ca/WebPageColors.html
a site with some reference colors: http://www.pitt.edu/~nisg/cis/web/cgi/rgb.html