Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(3 Kb)
Download
Updated: 07-19-10 11:32 AM
Pictures
File Info
Updated:07-19-10 11:32 AM
Created:unknown
Downloads:12,979
Favorites:163
MD5:
Chicchai  Popular! (More than 5000 hits)
Version: 3.3.2
by: Lolzen, xConStruct
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 (+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)
  • Lightweight
  • and more...


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

Configuration
The configuration will be done through lua only. The .lua contains comments for inexperienced users.

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
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)


Archived Files (7)
File Name
Version
Size
Author
Date
3.3.1
3kB
Lolzen
07-02-10 12:06 PM
3.3
3kB
Lolzen
07-02-10 11:47 AM
3.2
2kB
Lolzen
03-11-10 07:38 AM
3.1
2kB
Lolzen
12-13-09 07:00 PM
3.0 r4
2kB
Lolzen
04-11-09 03:18 PM
3.0
2kB
Lolzen
04-11-09 01:30 PM
2.0
2kB
Lolzen
11-17-08 03:52 PM


Post A Reply Comment Options
Unread 02-22-09, 04:19 PM  
khurzog
A Frostmaul Preserver
 
khurzog's Avatar

Forum posts: 256
File comments: 194
Uploads: 0
thanks nailertn, much better explained than i ever could, i'm gonna use that to clean up the functional yet messy changes i made.

now what i am interested in is changing the delay before it maximizes. i want to hover over the chat window for 3 seconds before it goes max. in the options i basically saw the opposite, so this should be an easy addition. thanks.
khurzog is offline Report comment to moderator  
Reply With Quote
Unread 03-30-09, 03:32 PM  
zecxx
A Kobold Labourer

Forum posts: 0
File comments: 24
Uploads: 0
Is there a way to maximize the chatwindow whenever someone says something.
Now it only maxmizes when someone goes on/offline or i accept a quest, etc.
zecxx is offline Report comment to moderator  
Reply With Quote
Unread 03-30-09, 04:11 PM  
hipjipp
A Cliff Giant
 
hipjipp's Avatar
AddOn Author - Click to view AddOns

Forum posts: 79
File comments: 229
Uploads: 10
Originally posted by zecxx
Is there a way to maximize the chatwindow whenever someone says something.
Now it only maxmizes when someone goes on/offline or i accept a quest, etc.
change it in the lua. look for the events you want the chat to react on and uncomment them.
__________________
Being boring is fine too.
hipjipp is offline Report comment to moderator  
Reply With Quote
Unread 04-11-09, 01:42 PM  
xConStruct
A Chromatic Dragonspawn
 
xConStruct's Avatar
AddOn Author - Click to view AddOns

Forum posts: 199
File comments: 374
Uploads: 20
Okay, we pushed another complete rewrite out - There can be bugs, of course

Multiple different chat windows should now be handled correctly, without any issues.

Originally posted by khurzog want to hover over the chat window for 3 seconds before it goes max.
Okay, implemented - look for waitAfterEnter.

Originally posted by Aximous I want it to maximise when something happens on my class channels but not for the spam on trade chat.
Included in the new version, you can define them in the channelNumbers-table.

Originally posted by Aximous I mean that the line still visible shouldn't remain in the middle of the frame but the bottom.
Chicchai only changes the height - it's up to the chatframe what line is displayed, and it should always be the last one to which you scrolled. If you want to scroll to the bottom automatically, there are other addons out for that - e.g. Tekkub's The Low Down.

@MoonWitch:
there's now a config-part to handle multiple lines. Thanks to nailertn for the quick workaround.
__________________
Website | GitHub

Oh hai!
Last edited by xConStruct : 04-11-09 at 01:55 PM.
xConStruct is offline Report comment to moderator  
Reply With Quote
Unread 04-11-09, 02:55 PM  
xtoq
An Aku'mai Servant
 
xtoq's Avatar
AddOn Author - Click to view AddOns

Forum posts: 32
File comments: 640
Uploads: 3
The zip is packaged incorrectly. It unzips the core.lua and the toc file without a folder. =)
xtoq is offline Report comment to moderator  
Reply With Quote
Unread 04-11-09, 03:03 PM  
xConStruct
A Chromatic Dragonspawn
 
xConStruct's Avatar
AddOn Author - Click to view AddOns

Forum posts: 199
File comments: 374
Uploads: 20
Whoops, was the first time I used the WoWI-Projects SVN. Thought it would wrap a folder around it - I'll update it as soon as possible.
__________________
Website | GitHub

Oh hai!
Last edited by xConStruct : 04-11-09 at 03:26 PM.
xConStruct is offline Report comment to moderator  
Reply With Quote
Unread 04-11-09, 08:19 PM  
xtoq
An Aku'mai Servant
 
xtoq's Avatar
AddOn Author - Click to view AddOns

Forum posts: 32
File comments: 640
Uploads: 3
By the way, if I was marooned on a desert island and could only bring a handful of addons with me, this would be one.
xtoq is offline Report comment to moderator  
Reply With Quote
Unread 04-12-09, 08:20 AM  
Imithat
A Fallenroot Satyr
 
Imithat's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 176
Uploads: 7
Brilliant addon. thanks
Imithat is offline Report comment to moderator  
Reply With Quote
Unread 04-12-09, 11:15 AM  
Namica
A Kobold Labourer
 
Namica's Avatar

Forum posts: 0
File comments: 110
Uploads: 0
This is great, thank you!!
Namica is offline Report comment to moderator  
Reply With Quote
Unread 04-12-09, 05:22 PM  
xtoq
An Aku'mai Servant
 
xtoq's Avatar
AddOn Author - Click to view AddOns

Forum posts: 32
File comments: 640
Uploads: 3
Ok, have a weird thing with the new version. I have 6 chat frames on my main. If I go to #1 (General) and scrollup, while I'm scrolled up, the frame stays maximized (expected behavior). If I go to any other chat frame (except combat) and do the same thing, it minimizes after the set time, just as if I wasn't 1) scrolled up and 2) hovering over the chat frame. It doesn't maximize consistently when my mouse comes into the frame either (yes I have the options set in the lua). I tried the /script ChatFrame3:SetFrozen(true) but I got the following error:

Date: 2009-04-12 18:15:26
ID: 3
Error occured in: Global
Count: 1
Message: [string "ChatFrame3:SetFrozen(true)"] line 1:
attempt to call method 'SetFrozen' (a nil value)
Debug:
(tail call): ?
[C]: SetFrozen()
[string "ChatFrame3:SetFrozen(true)"]:1: in main chunk
[C]: RunScript()
..\FrameXML\ChatFrame.lua:1720: ?()
..\FrameXML\ChatFrame.lua:3210:
..\FrameXML\ChatFrame.lua:3163
[C]: ChatEdit_ParseText()
..\FrameXML\ChatFrame.lua:2930:
..\FrameXML\ChatFrame.lua:2929
[C]: ChatEdit_SendText()
..\FrameXML\ChatFrame.lua:2951:
..\FrameXML\ChatFrame.lua:2950
[C]: ChatEdit_OnEnterPressed()
[string "*:OnEnterPressed"]:1:
[string "*:OnEnterPressed"]:1

Anywho, I'll do some more troubleshooting later, after Naxx. Not a big deal either way, but thought you'd like to know about it. At least if the frozen issue can get fixed, then I can just not have minimization on those frames. SetFrozen does disable ALL mini/maximization on that chat frame, right?
xtoq is offline Report comment to moderator  
Reply With Quote
Unread 04-12-09, 08:14 PM  
xConStruct
A Chromatic Dragonspawn
 
xConStruct's Avatar
AddOn Author - Click to view AddOns

Forum posts: 199
File comments: 374
Uploads: 20
Thanks for the report!
First of all, scrolling up shouldn't affect Chicchai at all.
I'll try to reproduce it tomorrow and for that I have some more detailed questions:
Your chat frames are docked with tabs in your interface, right? Just to clarify that a bit.
When / which chat frames don't maximize when entering with the mouse?

Is ChatFrame3 added in the config-file? Chicchai provides the :SetFrozen-function only for the frames mentioned in the config.

The problem with docked/tabbed frames is that in reality only the first chat frame is resized, because all other frames are attached to it and follow its dimensions.
__________________
Website | GitHub

Oh hai!
xConStruct is offline Report comment to moderator  
Reply With Quote
Unread 04-13-09, 01:29 AM  
leizeQ
A Murloc Raider
 
leizeQ's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 8
File comments: 44
Uploads: 1
Originally posted by Cargor
The problem with docked/tabbed frames is that in reality only the first chat frame is resized, because all other frames are attached to it and follow its dimensions.
ok, this may answer my question.

i have, lets say, 3 chat tabs docked together. the first tab is working great. but when i change to the 3rd tab (2nd is combat .. also working) and hover over it, it doesnt maximize. is it because the first tab is minimized so all other stay also minimized?

in the previous version it worked on all chat tabs

thanks
leizeQ is offline Report comment to moderator  
Reply With Quote
Unread 04-13-09, 05:28 AM  
xConStruct
A Chromatic Dragonspawn
 
xConStruct's Avatar
AddOn Author - Click to view AddOns

Forum posts: 199
File comments: 374
Uploads: 20
In the last version I included special code for recognizing docked chat frames and resizing the right one, but it seems there are still problems - I'll try to fix it as soon as possible.

EDIT:
@xtoq & leizeQ: Well, I can't really reproduce your problems - could you please post your configuration here? Maybe via http://pastey.net, so the comments section doesn't get too cluttered
__________________
Website | GitHub

Oh hai!
Last edited by xConStruct : 04-13-09 at 07:59 AM.
xConStruct is offline Report comment to moderator  
Reply With Quote
Unread 04-14-09, 12:43 AM  
leizeQ
A Murloc Raider
 
leizeQ's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 8
File comments: 44
Uploads: 1
Originally posted by Cargor
leizeQ: Well, I can't really reproduce your problems - could you please post your configuration here? Maybe via http://pastey.net, so the comments section doesn't get too cluttered
ok here is my config: http://pastey.net/112246

and here a screenshot:
leizeQ is offline Report comment to moderator  
Reply With Quote
Unread 04-14-09, 07:10 AM  
xConStruct
A Chromatic Dragonspawn
 
xConStruct's Avatar
AddOn Author - Click to view AddOns

Forum posts: 199
File comments: 374
Uploads: 20
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
__________________
Website | GitHub

Oh hai!
xConStruct is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: