Quantcast
Download
(4 Kb)
Download
Updated: 11-30-17 05:02 AM
Pictures
File Info
Compatibility:
Shadows of Argus (7.3.0)
Updated:11-30-17 05:02 AM
Created:unknown
Downloads:14,874
Favorites:168
MD5:
7.3.0

Chicchai  Popular! (More than 5000 hits)

Version: 3.4.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 is on the very top of the core.lua along with help text.

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)
Picking up the idea and materializing the addon, maintaining through years after quitting WoW

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)


Archived Files (9)
File Name
Version
Size
Author
Date
3.4
4kB
Lolzen
11-29-17 07:45 AM
3.3.2
3kB
Lolzen
07-19-10 11:32 AM
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-24-10, 11:47 AM  
Kinch
A Kobold Labourer
 
Kinch's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 6
Uploads: 2
Bug report:
Code:
[19:43:15] Interface\AddOns\Chicchai\core.lua:152: attempt to index local 'self' (a nil value)
[C]: ?
Interface\AddOns\Chicchai\core.lua:152: in function <Interface\AddOns\Chicchai\core.lua:150>
Report comment to moderator  
Reply With Quote
Unread 07-22-10, 07:32 PM  
xConStruct
A Chromatic Dragonspawn
 
xConStruct's Avatar
AddOn Author - Click to view AddOns

Forum posts: 199
File comments: 374
Uploads: 20
I broke my WoW under linux, so I can't test it atm - but I came up with this here:
core.lua (Diff).
Theoretically it should fix the line 179-related error. Could someone test it please?

Going to look into the second error (152er) as soon as WoW's running again.
__________________
Website | GitHub

Oh hai!
Report comment to moderator  
Reply With Quote
Unread 07-22-10, 03:16 PM  
wampafodder
A Kobold Labourer

Forum posts: 0
File comments: 16
Uploads: 0
Same issue here.
Thanks again for working to get this addon going

Here's is the default bliz error report, with only chicchai enabled:
Message: Interface\AddOns\Chicchai\core.lua:179: attempt to index local 'self' (a nil value)
Time: 07/22/10 14:12:26
Count: 1
Stack: Interface\AddOns\Chicchai\core.lua:179: in function `updateHeight'
Interface\AddOns\Chicchai\core.lua:221: in main chunk

Locals: self = ChatFrame3 {
0 = <userdata>
flashTimer = 0
tellTimer = 74601.755
Maximize = <function> defined @Interface\AddOns\Chicchai\core.lua:141
resizeButton = ChatFrame3ResizeButton {
}
buttonFrame = ChatFrame3ButtonFrame {
}
Chicchai = <unnamed> {
}
channelList = <table> {
}
clickAnywhereButton = ChatFrame3ClickAnywhereButton {
}
isDocked = 1
SetFrozen = <function> defined @Interface\AddOns\Chicchai\core.lua:121
editBox = ChatFrame3EditBox {
}
UpdateHeight = <function> defined @Interface\AddOns\Chicchai\core.lua:177
isLocked = 1
name = "misc"
Minimize = <function> defined @Interface\AddOns\Chicchai\core.lua:142
buttonSide = "left"
zoneChannelList = <table> {
}
defaultLanguage = "Common"
messageTypeList = <table> {
}
}
self = nil
(*temporary) = ChatFrame1 {
channelList = <table> {
}
0 = <userdata>
clickAnywhereButton = ChatFrame1ClickAnywhereButton {
}
isStaticDocked = true
editBox = ChatFrame1EditBox {
}
isDocked = 1
tellTimer = 74601.647
defaultLanguage = "Common"
flashTimer = 0
zoneChannelList = <table> {
}
resizeButton = ChatFrame1ResizeButton {
}
buttonFrame = ChatFrame1ButtonFrame {
}
messageTypeList = <table> {
}
}
(*temporary) = nil
(*temporary) = ChatFrame3 {
0 = <userdata>
flashTimer = 0
tellTimer = 74601.755
Maximize = <function> defined @Interface\AddOns\Chicchai\core.lua:141
resizeButton = ChatFrame3ResizeButton {
}
buttonFrame = ChatFrame3ButtonFrame {
}
Chicchai = <unnamed> {
}
channelList = <table> {
}
clickAnywhereButton = ChatFrame3ClickAnywhereButton {
}
isDocked = 1
SetFrozen = <function> defined @Interface\AddOns\Chicchai\core.lua:121
editBox = ChatFrame3EditBox {
}
UpdateHeight = <function> defined @Interface\AddOns\Chicchai\core.lua:177
isLocked = 1
name = "misc"
Minimize = <function> defined @Interface\AddOns\Chicchai\core.lua:142
buttonSide = "left"
zoneChannelList = <table> {
}
defaultLanguage = "Common"
messageTypeList = <table> {
}
}
(*temporary) = "ScrollingMessageFrame"
(*temporary) = "attempt to index local 'self' (a nil value)"
getChicchai = <function> defined @Interface\AddOns\Chicchai\core.lua:115
DOWN = -1
getMinHeight = <function> defined @Interface\AddOns\Chicchai\core.lua:74



And this is a swatter report with all my normal addons enabled:
Date: 2010-07-22 14:10:27
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\Chicchai\core.lua line 179:
attempt to index local 'self' (a nil value)
Debug:
[C]: ?
Chicchai\core.lua:179: updateHeight()
Chicchai\core.lua:221: in main chunk
AddOns:
Swatter, v3.1.14 (<%codename%>)
acbAuras, v09.12.16
acbCastBar, v09.12.16
acbMirror, v09.12.16
acbSwing, v09.12.16
ACP, v3.3.3
Align, v
Ammomatique, v2.0.4
AtlasLoot, vv5.11.03
AtlasLootFu, vv5.11.03
AutoLog, v1.07b
AzCastBar, v10.06.27
BankItems, v30300
Bartender4, v4.4.2
BaudBag, v3.3.4
Chatter, v1.0
Chicchai, v3.3.2
FuBar, v
BlizRuntimeLib_enUS v3.3.5.30300 <us>
(ck=197)
Report comment to moderator  
Reply With Quote
Unread 07-21-10, 03:09 PM  
Kerecha
A Deviate Faerie Dragon
 
Kerecha's Avatar

Forum posts: 10
File comments: 200
Uploads: 0
getting 2 errors now (the 41 copies of the second one is prolly just a cascade effect).

Might have messed somethintg up, but i only made some inor changes to the settings.

Code:
1x Chicchai-3.3.2\core.lua:179: attempt to index local 'self' (a nil value)
Chicchai-3.3.2\core.lua:221: in main chunk

Locals:
maxHeight = 150
animTime = 0.5
minimizeTime = 10
minimizedLines = 1
MaximizeOnEnter = true
WaitAfterEnter = 1
WaitAfterLeave = 1
LockInCombat = nil
MaximizeCombatLog = true
channelNumbers = <table> {
 2 = true
 1 = true
 3 = true
}
ChatFrameConfig = <table> {
 ChatFrame3 = <unnamed> {}
 ChatFrame1 = <table> {}
}
select = <function> defined =[C]:-1
UP = 1
DOWN = -1
getMinHeight = <function> @ Chicchai\core.lua:74:
Update = <function> @ Chicchai\core.lua:88:
getChicchai = <function> @ Chicchai\core.lua:115:
SetFrozen = <function> @ Chicchai\core.lua:121:
Animate = <function> @ Chicchai\core.lua:125:
Maximize = <function> @ Chicchai\core.lua:141:
Minimize = <function> @ Chicchai\core.lua:142:
MinimizeAfterWait = <function> @ Chicchai\core.lua:144:
CheckEnterLeave = <function> @ Chicchai\core.lua:150:
updateHeight = <function> @ Chicchai\core.lua:177:
chatEvent = <function> @ Chicchai\core.lua:184:
(for generator) = <function> defined =[C]:-1
(for state) = <table> {
 ChatFrame3 = <unnamed> {}
 ChatFrame1 = <table> {}
}
(for control) = "ChatFrame3"
chatname = "ChatFrame3"
options = true
chatframe = ChatFrame3 {
 0 = <userdata>
 flashTimer = 0
 tellTimer = 1901768.284
 Maximize = <function> @ Chicchai\core.lua:141:
 resizeButton = ChatFrame3ResizeButton {}
 buttonFrame = ChatFrame3ButtonFrame {}
 Chicchai = <unnamed> {}
 channelList = <table> {}
 clickAnywhereButton = ChatFrame3ClickAnywhereButton {}
 isDocked = 1
 SetFrozen = <function> @ Chicchai\core.lua:121:
 editBox = ChatFrame3EditBox {}
 UpdateHeight = <function> @ Chicchai\core.lua:177:
 isLocked = 1
 name = "PM"
 Minimize = <function> @ Chicchai\core.lua:142:
 buttonSide = "left"
 zoneChannelList = <table> {}
 defaultLanguage = "Common"
 messageTypeList = <table> {}
}
chicchai = <unnamed> {
 0 = <userdata>
 Frame = ChatFrame3 {}
}

  ---


Code:
41x Chicchai-3.3.2\core.lua:152: attempt to index local 'self' (a nil value)

Locals:

  ---
Report comment to moderator  
Reply With Quote
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.
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: 32
Uploads: 3
Bug

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

Forum posts: 14
File comments: 188
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.
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: 374
Uploads: 20
Uh, really? I thought I fixed that - going to look at it again.
__________________
Website | GitHub

Oh hai!
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.
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: 374
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!
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.
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: 144
Uploads: 3
And also it does not work with the new and somewhat popular myChat.
I dont know what causes the taint.
__________________

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: 374
Uploads: 20
Thanks for both bug reports, I'll look into them asap.
__________________
Website | GitHub

Oh hai!
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/
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 ?
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: