Download
(4Kb)
Download
Updated: 10-06-18 09:18 AM
Pictures
File Info
Compatibility:
Battle for Azeroth (8.0.1)
Updated:10-06-18 09:18 AM
Created:unknown
Downloads:23,551
Favorites:165
MD5:

Chicchai  Popular! (More than 5000 hits)

Version: 3.4.5.1
by: Lolzen, xConStruct

About

Chicchai is a little Addon that will Minimize the Chat after a few seconds.
Features
  • Minimize the Chat after X seconds
  • Maximize Chat on mouseover
  • Animations (+how long should the Animation take)
  • Configurable on wich events (Guild, say, yell,...) the chat should maximize
  • Possibility to disable maximizing in combat
  • CombatLog will be maximized when selected (optional, default)

Preview
Click for Previewvideo - Chicchai in action

Configuration
The configuration file is named cofig.lua and contains help text to guide you through.
Chicchai on Github
https://github.com/Lolzen/Chicchai
Originally: https://github.com/xconstruct/Chicchai
Thanks to
Cargor (EU-Nozdormu) aka XconStruct
Picking up the idea and materializing the addon, maintaining through years after quitting WoW

3.4.5.1
* prevent chatevents interfering while mouse is hovering over the chatframe

3.4.5
* fixup boolean error

3.4.4
* config: cleanup events removed from game and update reference list per link

3.4.3
* refix frozen chat window on login by direct calls of Animate() instead of unpdateHeight()
* respect MaximizeCombatLog on floating combatlog and handle docking/dedocking it

3.4.2.2
* fix error on chatevent when chatframe is not in config

3.4.2.1
* fix minimizing/maximizing ALL windows on mouseover

3.4.2
* config is now an own file, instead of being part of core.lua
this allows for copying/backing up your config between updates
* swept through code and used chatframes directly instead of frames tucked on the chatframes
* fixed a bug where config setting would be ignored for certain chat events (eg. only ChatFrame1 for "say" is set, but ChatFrame3 and ChatFrame4 would have been triggered)

3.4.1
* fixed "frozen" chat window on login

3.4
* crude legion update

3.3.2
* try to minimize chat on load
* Re-introduce ChatFrame:UpdateHeight() to manually update the height
* fixed a possible error with the chat-tabs

3.3.1
* fixed chat height of messages spanning multiple lines

3.3
*fixes for 3.3.5
*simpler event handling, including battle.net-events

3.2
*Prevent chat from resizing when moving it around

3.1
*TOC bump
*Added new PartyLeader event to the eventlist

3.0
* Another rewrite
* Chicchai now uses less CPU time
* You can define how many lines you'd like to see in minimized mode
* docked chatframes are now handled properly
* fixed chat frame flickering happening sometimes on mouseover
* you can define how long you should hover the frame until it maximizes
* chatframes can stay maximized for a defined time before minimizing on mouseleave
* you can configure on which custom channels the chatframe maximizes

2.0
*Core rewritten
*You are now able to manage the chatframes you want to be affected (like chatframe 5, 6, 8, and so on)
*TOC bump

1.1
*A few improvements
*Now Updates when the Chat Window is too small or big

1.0.1
*Added Option, that the Chat will stay open for a defined time after mouseover
Optional Files (0)


Post A Reply Comment Options
Unread 04-17-09, 02:19 AM  
xtoq
An Aku'mai Servant
 
xtoq's Avatar
AddOn Author - Click to view AddOns

Forum posts: 32
File comments: 642
Uploads: 4
Originally posted by Cargor
Okay, I solved the problem.

Both of you need to add the other chat frames (3, ...) in your config-table. Otherwise Chicchai won't check on these if the mouse hovers or not. So, just make a new entry under ChatFrame1 with an empty table:
Code:
["ChatFrame3"] = {},
I will probably come up with a better solution in the next version - which will likely be another rewrite for the 3.1 animations-API
Now I feel like a noob. Thanks for your help, seems to be working fine even with 3.1.
Report comment to moderator  
Reply With Quote
Unread 04-17-09, 06:50 PM  
Discontented
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
heya, whenever i switch to combat log or my nr 3 tab which is Gchat, the window becomes white, everything works dandy otherwise, couldnt find anything in the LUA cause it looks like a mess since 3.0

brgds disco
Report comment to moderator  
Reply With Quote
Unread 04-18-09, 10:54 AM  
xConStruct
A Chromatic Dragonspawn
 
xConStruct's Avatar
AddOn Author - Click to view AddOns

Forum posts: 199
File comments: 374
Uploads: 18
That's strange. Chicchai doesn't do anything around the coloring of the chat frame. Could you provide a screenshot?
__________________
« Website | GitHub »

Oh hai!
Report comment to moderator  
Reply With Quote
Unread 04-20-09, 07:29 AM  
wrd123
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Originally posted by Discontented
heya, whenever i switch to combat log or my nr 3 tab which is Gchat, the window becomes white, everything works dandy otherwise, couldnt find anything in the LUA cause it looks like a mess since 3.0

brgds disco

I'm having the same problem, all other tabs goes white exept for the general window. If I make a new tab the bgcolor is white and unchangeable. Disabling Chicchai "solves" this.
Report comment to moderator  
Reply With Quote
Unread 04-20-09, 11:35 AM  
arcuido
A Kobold Labourer
 
arcuido's Avatar

Forum posts: 0
File comments: 1
Uploads: 0
I had the same Problem with the white background. I took a look into the lua file and edited line 26

original:
art = false, -- shows/hides background and borders around the chat frames

edit:
art = false, -- shows/hides background and borders around the chat frames


Solved the Problem for me.
mfg
Report comment to moderator  
Reply With Quote
Unread 04-22-09, 07:34 AM  
xConStruct
A Chromatic Dragonspawn
 
xConStruct's Avatar
AddOn Author - Click to view AddOns

Forum posts: 199
File comments: 374
Uploads: 18
The original Chicchai doesn't do anything around chat frame background or borders. If you have a modified version of another author (e.g. an UI compilation), you should report the problem to him.
__________________
« Website | GitHub »

Oh hai!
Report comment to moderator  
Reply With Quote
Unread 04-23-09, 04:39 AM  
H0PE
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 28
File comments: 299
Uploads: 1
problem with the addon

In the past I had no issues with additional tabs on chat window. If I moved over to any of the tabs and started typing/or mouse-overed to these tabs chicchai nicely opened the window up. Recently mouse-over and/or entering text to the chat doesn't maximize my extra tabs, only if some text appears on the main tab.

Could you please fix this?

Details why I got additional tabs and I really need these: I've created 2 additional tabs on my chat window. I've put whispers on a separate tab (so I can kind of see all whispers and scroll up, withouth needing an addon to save log and stuff) and one for general channels so I can get rid of spammy text in big cities.

Many thanks in advance!
Report comment to moderator  
Reply With Quote
Unread 04-23-09, 07:57 AM  
xConStruct
A Chromatic Dragonspawn
 
xConStruct's Avatar
AddOn Author - Click to view AddOns

Forum posts: 199
File comments: 374
Uploads: 18
Did you add your additional tabbed chat-frames to the configuration-table? E.g.
Code:
["ChatFrame3"] = {}
Otherwise Chicchai won't check for mouseover or events on them. It is planned in the next version to reenable these features on all frames.
__________________
« Website | GitHub »

Oh hai!
Report comment to moderator  
Reply With Quote
Unread 04-23-09, 11:48 AM  
H0PE
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 28
File comments: 299
Uploads: 1
Originally posted by Cargor
Did you add your additional tabbed chat-frames to the configuration-table? E.g.
Code:
["ChatFrame3"] = {}
Otherwise Chicchai won't check for mouseover or events on them. It is planned in the next version to reenable these features on all frames.
huhh I didnt have to touch the configuration in the past, I could try copy paste the settings mirroring the main tab if thats possible. I check, thanks...
Report comment to moderator  
Reply With Quote
Unread 04-25-09, 03:19 AM  
H0PE
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 28
File comments: 299
Uploads: 1
Tried to modify the lua file like this:

["ChatFrame2"] = {
-- "CHAT_MSG_CHANNEL",
"CHAT_MSG_WHISPER",
-- "CHAT_MSG_WHISPER_INFORM",
},

So chatframe 2 should maximize if there are whispers coming in/going out I guess, but nothing happened really. If I mouseover to the chatframe while that tab is active still no chatframe movement. What did I do wrong or I need to add something else too?

Originally posted by H0PE
huhh I didnt have to touch the configuration in the past, I could try copy paste the settings mirroring the main tab if thats possible. I check, thanks...
Report comment to moderator  
Reply With Quote
Unread 04-28-09, 11:00 AM  
xConStruct
A Chromatic Dragonspawn
 
xConStruct's Avatar
AddOn Author - Click to view AddOns

Forum posts: 199
File comments: 374
Uploads: 18
The code looks good to me. Are you sure, you're using the right frame? I'm asking because ChatFrame2 is by default the combat log.
__________________
« Website | GitHub »

Oh hai!
Report comment to moderator  
Reply With Quote
Unread 05-01-09, 09:59 AM  
Kellindil
A Kobold Labourer

Forum posts: 0
File comments: 15
Uploads: 0
I love this one! Thx 4 the work!
well...is there any way to maximize the combatlog window while combat and minimize it after that? I need this cus my combatlog window has been placed separately in the rightbuttom in my UI.
Report comment to moderator  
Reply With Quote
Unread 05-02-09, 04:10 AM  
xConStruct
A Chromatic Dragonspawn
 
xConStruct's Avatar
AddOn Author - Click to view AddOns

Forum posts: 199
File comments: 374
Uploads: 18
Not at the moment, but I maybe include it in the next version. In the meantime you can test this piece of code, place it wherever you want:
Code:
local combatMin = CreateFrame"Frame"
combatMin:SetScript("OnEvent", function(self, event)
	if event == "PLAYER_REGEN_ENABLED" then
		ChatFrame2:Maximize()
	else
		ChatFrame2:Minimize()
	end
end)
combatMin:RegisterEvent("PLAYER_REGEN_ENABLED")
combatMin:RegisterEvent("PLAYER_REGEN_DISABLED")
I didn't test it, though, so maybe it doesn't work
__________________
« Website | GitHub »

Oh hai!
Report comment to moderator  
Reply With Quote
Unread 05-03-09, 09:53 AM  
Kellindil
A Kobold Labourer

Forum posts: 0
File comments: 15
Uploads: 0
Thank you for the reply.
The code [if event == "PLAYER_REGEN_ENABLED"] should be [if event == "PLAYER_REGEN_DISABLED"].
It works right after I change the code like that.
I love this addon. Thank you.
Report comment to moderator  
Reply With Quote
Unread 05-23-09, 03:58 AM  
oxman
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 11
Uploads: 3
Maximize on Editbox shown

A little modification in core.lua :
local MaximizeOnInput = true -- Maximize when you begin to enter text

if (MaximizeOnInput) then
local orgChatFrame_OpenChat = ChatFrame_OpenChat
ChatFrame_OpenChat = function(text, chatFrame)
self = chatFrame
if ( not self ) then
self = DEFAULT_CHAT_FRAME;
end

if (not ChatFrameEditBox:IsShown()) then
Animate(self, UP, WaitAfterEnter)
end

orgChatFrame_OpenChat(text, chatFrame)
end

ChatFrameEditBox:SetScript('OnHide', function (self)
self = DEFAULT_CHAT_FRAME
if (ChatFrameEditBox:IsShown()) then
Animate(self, DOWN, WaitAfterLeave)
end
end);
end

then edit a line of CheckEnterLeave function :
elseif(self.wasOver and not MouseIsOver(self.Frame) and (not MaximizeOnInput or not ChatFrameEditBox:IsShown())) then
Last edited by oxman : 05-23-09 at 04:09 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: