Category: Chat Mods
Addon Information
Works with 3.1
Download Latest Version.
To add favorites please register for a free account. If you already have one you need to login. How do I install this? (FAQ)
Author:
Version:
3.0 r4
Date:
04-11-2009 04:18 PM
Size:
2.33 Kb
Downloads:
3,542
Favorites:
115
MD5:
Pictures
Click to enlarge
The Minimized Chat...
Chicchai
Explanation
Chicchai is a little Addon that will Minimize the Chat after a few seconds.

What can Chicchai do?
  • Minimize the Chat after X seconds
  • Maximize Chat on mouseover
  • Animations
  • Configurable on wich events (Guild, say, yell,...) the chat should maximize
  • Posibility to disable maximizing on combat
  • CombatLog will be maximized when selected (optional)
  • and more...


Other
Click for Previewvideo - lousy quality, but you'll get the idea.
Uses about 6.8 kb

Configuration
The configuration will be done through lua only. Commented, so it will be easy, i think.

You can call some functions if you want to handle maximizing/minimizing by yourself:
  • /script ChatFrame1:Maximize() - Maximize this chat frame
  • /script ChatFrame1:Minimize() - Minimize this chat frame
  • /script ChatFrame1:SetFrozen(true/false) - block maximizing/minimizing

Thanks to
Cargor (EU-Nozdormu)
I asked him if he would help me a bit, because im so a lazy bastard. So he started coding and POOF - Chicchai was like in my dreams, even better :3

Hope ya enjoy,
Lolzen
  Change Log - Chicchai
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 - Chicchai
File Name
Version
Size
Author
Date
Type
2.0.0
3kB
12-23-2008 07:21 AM
Addon
  Archived Versions - Chicchai
File Name
Version
Size
Author
Date
3.0
2kB
Lolzen
04-11-2009 02:30 PM
2.0
2kB
Lolzen
11-17-2008 03:52 PM
  Comments - Chicchai
Post A Reply
Author Comments Comment Options
Old 05-28-2009, 03:33 PM  
wagglesmurfsignup
A Defias Bandit

Forum posts: 3
File comments: 5
Uploads: 0
Is there a way to make the chat frame completely disappear when minimized? I have local minimizedLines = 0 in the .lua, but it still shows 1 line.

Thanks!
wagglesmurfsignup is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-28-2009, 03:32 PM  
wagglesmurfsignup
A Defias Bandit

Forum posts: 3
File comments: 5
Uploads: 0
Re: Maximize on Editbox shown

Quote:
Originally posted by oxman
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
Very nice!

I found that I had to use:

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 (not ChatFrameEditBox:IsShown()) then
Animate(self, DOWN, WaitAfterLeave)
end
end);
end

in order for the box to hide itself after I typed something. All that's added is a logic edit in the 5th to last line.
wagglesmurfsignup is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-23-2009, 04:58 AM  
oxman
A Defias Bandit
Interface Author - Click to view interfaces

Forum posts: 2
File comments: 11
Uploads: 8
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-2009 at 05:09 AM.
oxman is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-03-2009, 10:53 AM  
Kellindil
A Kobold Labourer

Forum posts: 0
File comments: 9
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.
Kellindil is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-02-2009, 05:10 AM  
Cargor
A Cyclonian
 
Cargor's Avatar
Interface Author - Click to view interfaces

Forum posts: 48
File comments: 163
Uploads: 13
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
__________________
« Homepage | Subversion »
Cargor is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-01-2009, 10:59 AM  
Kellindil
A Kobold Labourer

Forum posts: 0
File comments: 9
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.
Kellindil is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-28-2009, 12:00 PM  
Cargor
A Cyclonian
 
Cargor's Avatar
Interface Author - Click to view interfaces

Forum posts: 48
File comments: 163
Uploads: 13
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.
__________________
« Homepage | Subversion »
Cargor is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-25-2009, 04:19 AM  
H0PE
A Deviate Faerie Dragon

Forum posts: 19
File comments: 204
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?

Quote:
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...
H0PE is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-23-2009, 12:48 PM  
H0PE
A Deviate Faerie Dragon

Forum posts: 19
File comments: 204
Uploads: 1
Quote:
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...
H0PE is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-23-2009, 08:57 AM  
Cargor
A Cyclonian
 
Cargor's Avatar
Interface Author - Click to view interfaces

Forum posts: 48
File comments: 163
Uploads: 13
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.
__________________
« Homepage | Subversion »
Cargor is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-23-2009, 05:39 AM  
H0PE
A Deviate Faerie Dragon

Forum posts: 19
File comments: 204
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!
H0PE is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-22-2009, 08:34 AM  
Cargor
A Cyclonian
 
Cargor's Avatar
Interface Author - Click to view interfaces

Forum posts: 48
File comments: 163
Uploads: 13
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.
__________________
« Homepage | Subversion »
Cargor is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-20-2009, 12:35 PM  
arcuido
A Kobold Labourer

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
arcuido is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-20-2009, 08:29 AM  
wrd123
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Quote:
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.
wrd123 is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-18-2009, 11:54 AM  
Cargor
A Cyclonian
 
Cargor's Avatar
Interface Author - Click to view interfaces

Forum posts: 48
File comments: 163
Uploads: 13
That's strange. Chicchai doesn't do anything around the coloring of the chat frame. Could you provide a screenshot?
__________________
« Homepage | Subversion »
Cargor is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Post A Reply



Category Jump:




The Network:
EQInterface | EQ2Interface | LoTROInterface | MMOInterface | War.MMOUI | WoWInterface | VGInterface | Allakhazam | Thottbot | Wowhead | Zam


©2009 MMOUI / ZAM Network
vBulletin - Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.