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,936
Favorites:165
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 07-21-10, 05:45 AM  
Kerecha
A Deviate Faerie Dragon
 
Kerecha's Avatar

Forum posts: 10
File comments: 200
Uploads: 0
The rezising for multiline messages seems to be working now.
Kerecha is offline Report comment to moderator  
Reply With Quote
Unread 07-20-10, 09:01 PM  
lilgulps
A Theradrim Guardian
 
lilgulps's Avatar
AddOn Author - Click to view AddOns

Forum posts: 62
File comments: 31
Uploads: 3
Bug

EDIT: SOlved
Last edited by lilgulps : 07-20-10 at 09:03 PM.
lilgulps is offline Report comment to moderator  
Reply With Quote
Unread 07-20-10, 06:40 PM  
tordenflesk
A Deviate Faerie Dragon

Forum posts: 10
File comments: 154
Uploads: 0
Any script-whizzes know how to make a KGpanel hide when chicchai is at 0 lines? It's annoying having hidden most of my UI and have this blank box in the corner.
tordenflesk is offline Report comment to moderator  
Reply With Quote
Unread 07-20-10, 09:13 AM  
xConStruct
A Chromatic Dragonspawn
 
xConStruct's Avatar
AddOn Author - Click to view AddOns

Forum posts: 199
File comments: 376
Uploads: 20
Uh, really? I thought I fixed that - going to look at it again.
__________________
Website | GitHub

Oh hai!
xConStruct is offline Report comment to moderator  
Reply With Quote
Unread 07-19-10, 12:56 PM  
Kerecha
A Deviate Faerie Dragon
 
Kerecha's Avatar

Forum posts: 10
File comments: 200
Uploads: 0
Is it possible to make chicchai detect if the message displayed is more then 1 row?

If set to show 1 message it will minimize to 1 row, even if the message is 2-3 or even 4 rows. This makes the message spill out over the chattabs and look generally horrible
Last edited by Kerecha : 07-20-10 at 07:10 AM.
Kerecha is offline Report comment to moderator  
Reply With Quote
Unread 07-19-10, 11:37 AM  
xConStruct
A Chromatic Dragonspawn
 
xConStruct's Avatar
AddOn Author - Click to view AddOns

Forum posts: 199
File comments: 376
Uploads: 20
@wampafodder: tried to fix your issue, but I don't really know if I succeeded. Feel free to post here again if you still have the issue.

@sacrife: I looked over to the myChat-comments where most users reported it to be working correctly. And if it doesn't work for you, it probably is up to myChat to solve and not to Chicchai - Chicchai does the absolute minimum needed for resizing chatframes.

@Morgalm: I'll consider it for the rewrite which has currently low priority.
__________________
Website | GitHub

Oh hai!
xConStruct is offline Report comment to moderator  
Reply With Quote
Unread 07-10-10, 04:44 PM  
Morgalm
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 184
Uploads: 4
Any chance of making it so the mouse doesn't have to stay over the frame for x seconds to totally maximize? ie I hover my mouse over the frame and then move out to do something else but it only maximizes half way because the mouse isn't on the frame.
Morgalm is offline Report comment to moderator  
Reply With Quote
Unread 07-07-10, 09:11 PM  
sacrife
An Onyxian Warder
 
sacrife's Avatar
AddOn Author - Click to view AddOns

Forum posts: 384
File comments: 150
Uploads: 3
And also it does not work with the new and somewhat popular myChat.
I dont know what causes the taint.
__________________

sacrife is offline Report comment to moderator  
Reply With Quote
Unread 07-06-10, 10:11 AM  
xConStruct
A Chromatic Dragonspawn
 
xConStruct's Avatar
AddOn Author - Click to view AddOns

Forum posts: 199
File comments: 376
Uploads: 20
Thanks for both bug reports, I'll look into them asap.
__________________
Website | GitHub

Oh hai!
xConStruct is offline Report comment to moderator  
Reply With Quote
Unread 07-06-10, 02:01 AM  
Sedh
A Defias Bandit
AddOn Compiler - Click to view compilations

Forum posts: 3
File comments: 14
Uploads: 4
minimize at start

first things first: great addon!

i noticed a bug or maybe it's meant to be that way, but anyway it's odd.
after logging into wow chicchai doesn't work, you have to mouseover the chat first so it will be minimized. it'd be nice if the chat will be minimized as soon as i logon =)

thx in advance
__________________
http://prpg.wordpress.com/
Sedh is offline Report comment to moderator  
Reply With Quote
Unread 07-03-10, 03:51 PM  
wampafodder
A Kobold Labourer

Forum posts: 0
File comments: 16
Uploads: 0
Hey Cargor,

First and foremost, thanks so much for updating the addon ! keep up the amazing work

I got an error with the basic addon before making any changes to the core, when I tried to click Chat Frame 1's tab (General) to maximize and freeze it. For background into my chat frame setup, I also have Chat Frame 3(hereby referring to these as CF#) attached to CF1, and CF2 (the combat log) is separated into its own frame.

Here's the Swatter Info:

Date: 2010-07-03 14:39:48
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\Chicchai\core.lua line 168:
attempt to index local 'frame' (a nil value)
Debug:
[C]: ?
Chicchai\core.lua:168:
Chicchai\core.lua:163
[C]: FCF_Tab_OnClick()
[string "*:OnClick"]:1:
[string "*:OnClick"]:1
AddOns:
Swatter, v3.1.14 (<%codename%>)
ACP, v3.3.3
Chicchai, v3.3.1
BlizRuntimeLib_enUS v3.3.5.30300 <us>
(ck=7e)


And here's the full on Blizz Error info:

Message: Interface\AddOns\Chicchai\core.lua:168: attempt to index local 'frame' (a nil value)
Time: 07/03/10 14:37:13
Count: 1
Stack: Interface\AddOns\Chicchai\core.lua:168: in function <Interface\AddOns\Chicchai\core.lua:163>
[C]: in function `FCF_Tab_OnClick'
[string "*:OnClick"]:1: in function <[string "*:OnClick"]:1>

Locals: self = ChatFrame1Tab {
fadeInfo = <table> {
}
glow = ChatFrame1TabGlow {
}
middleTexture = ChatFrame1TabMiddle {
}
0 = <userdata>
rightSelectedTexture = ChatFrame1TabSelectedRight {
}
leftSelectedTexture = ChatFrame1TabSelectedLeft {
}
leftTexture = ChatFrame1TabLeft {
}
textWidth = 40.329222188842
alerting = false
leftHighlightTexture = ChatFrame1TabHighlightLeft {
}
middleSelectedTexture = ChatFrame1TabSelectedMiddle {
}
rightTexture = ChatFrame1TabRight {
}
noMouseAlpha = 0.4
rightHighlightTexture = ChatFrame1TabHighlightRight {
}
middleHighlightTexture = ChatFrame1TabHighlightMiddle {
}
mouseOverAlpha = 1
}
frame = nil
(*temporary) = ChatFrame2Tab {
glow = ChatFrame2TabGlow {
}
middleTexture = ChatFrame2TabMiddle {
}
0 = <userdata>
rightSelectedTexture = ChatFrame2TabSelectedRight {
}
leftSelectedTexture = ChatFrame2TabSelectedLeft {
}
leftTexture = ChatFrame2TabLeft {
}
textWidth = 64.197532985046
leftHighlightTexture = ChatFrame2TabHighlightLeft {
}
alerting = false
middleSelectedTexture = ChatFrame2TabSelectedMiddle {
}
rightTexture = ChatFrame2TabRight {
}
noMouseAlpha = 0.2
rightHighlightTexture = ChatFrame2TabHighlightRight {
}
middleHighlightTexture = ChatFrame2TabHighlightMiddle {
}
mouseOverAlpha = 0.6
}
(*temporary) = nil
(*temporary) = ChatFrame2 {
0 = <userdata>
flashTimer = 0
isInitialized = 1
tellTimer = 2701.109
resizeButton = ChatFrame2ResizeButton {
}
buttonFrame = ChatFrame2ButtonFrame {
}
oldAlpha = 0
channelList = <table> {
}
clickAnywhereButton = ChatFrame2ClickAnywhereButton {
}
editBox = ChatFrame2EditBox {
}
isLocked = 1
name = "Combat Log"
buttonSide = "right"
isStaticDocked = true
zoneChannelList = <table> {
}
defaultLanguage = "Common"
messageTypeList = <table> {
}
}
(*temporary) = "attempt to index local 'frame' (a nil value)"
getChicchai = <function> defined @Interface\AddOns\Chicchai\core.lua:115
Animate = <function> defined @Interface\AddOns\Chicchai\core.lua:125
UP = 1
SetFrozen = <function> defined @Interface\AddOns\Chicchai\core.lua:121
DOWN = -1


Any ideas ?
wampafodder is offline Report comment to moderator  
Reply With Quote
Unread 07-03-10, 01:12 AM  
Morgalm
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 184
Uploads: 4
Ah interesting thanks It just looked so foreign to me never seen that.
Morgalm is offline Report comment to moderator  
Reply With Quote
Unread 07-02-10, 04:18 PM  
xConStruct
A Chromatic Dragonspawn
 
xConStruct's Avatar
AddOn Author - Click to view AddOns

Forum posts: 199
File comments: 376
Uploads: 20
It's just a bit syntactic sugar for laziness.

If you have just a single argument for a function, you can often drop the parenthesis (). So, CreateFrame"Frame" is the same as CreateFrame("Frame"). The other arguments are optional, of course, as you can see from the brackets [].

Same goes for a lot of other values:
Code:
myFunction"a string"
myFunction'a string'

myFunction[[a string over
multiple lines]]

myFunction{
    "a table",
}
__________________
Website | GitHub

Oh hai!
xConStruct is offline Report comment to moderator  
Reply With Quote
Unread 07-02-10, 03:55 PM  
Morgalm
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 184
Uploads: 4
Just a little curiosity here as I have never seen this formatting if you don't mind me asking. What does:

Code:
local chicchai = CreateFrame"Frame"
actually do? I thought CreateFrame() format was:

Code:
CreateFrame("frameType"[, "frameName"[, parentFrame[, "inheritsFrame"]]])
Just curious lol.
Morgalm is offline Report comment to moderator  
Reply With Quote
Unread 07-02-10, 02:03 PM  
Dethedrus
A Defias Bandit

Forum posts: 2
File comments: 19
Uploads: 0
Wow Cargor, you are truly a lifesaver!

The "little addon" you posted is PERFECT! Now I can fix the one frame that was pissing me off and life is good again =D
Dethedrus is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: