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,975
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 07-02-10, 11:52 AM  
xConStruct
A Chromatic Dragonspawn
 
xConStruct's Avatar
AddOn Author - Click to view AddOns

Forum posts: 199
File comments: 374
Uploads: 20
Okay, new update pending.
Just the bugfix update for 3.3.5, nothing major. I decided to put the rewrite on ice, it's just too stressing for me atm and I need to fix a lot of other mods.
__________________
Website | GitHub

Oh hai!
xConStruct is offline Report comment to moderator  
Reply With Quote
Unread 07-02-10, 10:41 AM  
xConStruct
A Chromatic Dragonspawn
 
xConStruct's Avatar
AddOn Author - Click to view AddOns

Forum posts: 199
File comments: 374
Uploads: 20
Originally posted by hipjipp
3.3.5 has hit, are you going to upload soon so i know if i need to fix hpanel? :3

no, but really. an update soon wouldn't be very wrong. Especially since you told us you had it ready
I told you I have it already?
As soon as it works, I'll upload it immediately, you can be pretty sure about this.

I'm working on it, but I have to admit that my current motivation level is well around zero. I've got around 95% of the new code base finished, but there is one real show-stopper: The docked chat frames. The Blizz API makes it overly complicated to handle different docked chat frames.
And, in addition, there are the new whisper/bnet windows ... I need to check how these would work with the system, since they are no "real" chat frames.

I probably throw in a very small bugfix-version and delay the rewrite to a later date. If anyone wants to help / submit a fix, feel free to do so. Best is to fork on GitHub.

I also have a bugged chat frame which stops me from playing, so this is on top of my priority list ...

Originally posted by Dethedrus
I'm really curious how MiniChat managed it until 3.3.5 completely broke it. No matter where my frames were placed, they'd ALWAYS minimize to the bottom of said frame.
Afaik, MiniChat also handles the position of the chat frames which is something I never intended to do. Handling position is up to the "real" chat addons and I don't want to break compatibility with other mods by overwriting position.

You could handle the position with your own little addon, like I'm doing in my interface:
Code:
local dummy = function() end

ChatFrame1:ClearAllPoints()
ChatFrame1:SetPoint("BOTTOMLEFT", UIParent, "BOTTOMLEFT", 10, 10)
ChatFrame1:SetUserPlaced(nil)
ChatFrame1.SetPoint = dummy
ChatFrame1.ClearAllPoints = dummy
You may need to call it after the event PLAYER_LOGIN / PLAYER_ENTERING_WORLD.
__________________
Website | GitHub

Oh hai!
xConStruct is offline Report comment to moderator  
Reply With Quote
Unread 06-30-10, 05:01 PM  
Dethedrus
A Defias Bandit

Forum posts: 2
File comments: 20
Uploads: 0
@ bottom vs centering:
Sorry, that's not something up to Chicchai to handle
This depends solely on the chat frame position / anchor, which again depends on your chat frame addon or the default Blizz UI.
More indepth stuff: Anchors work via :SetPoint() which is basically a way of telling WoW to "anchor the [BOTTOM] edge of the chat frame to the [BOTTOM] of the screen". In this example it would cause it to minimize to the bottom. [/b]
I'm really curious how MiniChat managed it until 3.3.5 completely broke it. No matter where my frames were placed, they'd ALWAYS minimize to the bottom of said frame.

Now it's completely dependent upon where I place 'em... within 100 or so pixels of the bottom of the screen, I get the standard minimize to bottom. Between 100 and 300, minimize to center. Any further up the screeen and it minimizes to the top of the frame.

This is using PhanxChat as my main chatmod... which I've been doing about as long as I've had MiniChat. I guess I'll try disabling it and seeing how it works.
Dethedrus is offline Report comment to moderator  
Reply With Quote
Unread 06-30-10, 01:50 PM  
hipjipp
A Cliff Giant
 
hipjipp's Avatar
AddOn Author - Click to view AddOns

Forum posts: 79
File comments: 229
Uploads: 10
3.3.5 has hit, are you going to upload soon so i know if i need to fix hpanel? :3

no, but really. an update soon wouldn't be very wrong. Especially since you told us you had it ready
__________________
Being boring is fine too.
hipjipp is offline Report comment to moderator  
Reply With Quote
Unread 06-29-10, 08:44 AM  
xConStruct
A Chromatic Dragonspawn
 
xConStruct's Avatar
AddOn Author - Click to view AddOns

Forum posts: 199
File comments: 374
Uploads: 20
CPU issues are gone! Now waiting for 3.3.5 to hit EU and then you can expect a release!

@ mouseover minimizing bug:
Please test it again in the rewrite and post here again if the issues still exists. I'll also check it bfore release.

@ alpha:
That's a good idea, I'll definitely consider that for the new version.

@ bottom vs centering:
Sorry, that's not something up to Chicchai to handle
This depends solely on the chat frame position / anchor, which again depends on your chat frame addon or the default Blizz UI.
More indepth stuff: Anchors work via :SetPoint() which is basically a way of telling WoW to "anchor the [BOTTOM] edge of the chat frame to the [BOTTOM] of the screen". In this example it would cause it to minimize to the bottom.
__________________
Website | GitHub

Oh hai!
xConStruct is offline Report comment to moderator  
Reply With Quote
Unread 06-28-10, 11:54 PM  
Dethedrus
A Defias Bandit

Forum posts: 2
File comments: 20
Uploads: 0
On a separate note, is there any way to replicate the single greatest part of our dear departed MiniChat... the ability to change the alpha on minimized windows!

I don't mind having a couple lines showing if they're nearly invisible. It really cleans up my UI.

Oh, and how about the ability to have the windows animate to the bottom of said frame versus centering?
Last edited by Dethedrus : 06-28-10 at 11:56 PM.
Dethedrus is offline Report comment to moderator  
Reply With Quote
Unread 06-28-10, 11:50 PM  
Dethedrus
A Defias Bandit

Forum posts: 2
File comments: 20
Uploads: 0
I found a rather curious bug. If I make buttons to run the minimize and maximize scripts they work beautifully... UNLESS I mouseover one of the effected frames causing it to auto-maximize. The minimize script will no longer work no matter how many times I click the button... until I press the maximize one once (even though the frame is already maximized from said mouseover).
Dethedrus is offline Report comment to moderator  
Reply With Quote
Unread 06-28-10, 06:25 AM  
wampafodder
A Kobold Labourer

Forum posts: 0
File comments: 16
Uploads: 0
I'm looking forward to it ^_^

I hope you don't have too much trouble resolving your CPU issues
wampafodder is offline Report comment to moderator  
Reply With Quote
Unread 06-23-10, 10:35 AM  
xConStruct
A Chromatic Dragonspawn
 
xConStruct's Avatar
AddOn Author - Click to view AddOns

Forum posts: 199
File comments: 374
Uploads: 20
Yep, I already tested it on the PTR. The plan is to fix these issues in the upcoming rewrite (4.0?). Unfortunately, my CPU has some temperature issues at the moment and I can't risk logging into WoW, so I'm afraid the release will be delayed a few days.
__________________
Website | GitHub

Oh hai!
Last edited by xConStruct : 06-28-10 at 02:02 PM.
xConStruct is offline Report comment to moderator  
Reply With Quote
Unread 06-23-10, 04:08 AM  
wampafodder
A Kobold Labourer

Forum posts: 0
File comments: 16
Uploads: 0
Hey Lolzen and Cargor.

Your mod took quite a hit this patch. I'll try to get some detailed bug reporting tomorrow (gotta hit the sack tonight) for you.

Please please please keep this excellent mod going !

Off the top of my head, the bugs I saw were that windows were not collapsing and that I was unable to open a text entry box when I had chicchai enabled. Neither / nor Enter would open one.

Thanks !
wampafodder is offline Report comment to moderator  
Reply With Quote
Unread 06-12-10, 01:05 AM  
McCarronXLD
A Kobold Labourer
 
McCarronXLD's Avatar

Forum posts: 0
File comments: 67
Uploads: 0
Hey there! I am attempting to get this to do the same exact things it does for my first chatbox (and original) for my second chat box. I have not altered your scripting in any way. What would I need to add in?
McCarronXLD is offline Report comment to moderator  
Reply With Quote
Unread 04-09-10, 08:55 AM  
AngelofRust
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
I had "CHAT_MSG_CHANNEL" still commented like a retard =/. Easy fix though. I had a feeling you are correct about the Prat problem howver. I suspect it may involve the "2 Column Chat" function for timestamping. I will do my own testing to see if I can figure it out. I look forward to a future rewrite with more customization and wish you good luck with your exams.

Edit: My suspicion was correct. Disabling the 2 Column Chat eliminates the "flickering" effect.
Last edited by AngelofRust : 04-09-10 at 09:01 AM.
AngelofRust is offline Report comment to moderator  
Reply With Quote
Unread 04-09-10, 08:34 AM  
xConStruct
A Chromatic Dragonspawn
 
xConStruct's Avatar
AddOn Author - Click to view AddOns

Forum posts: 199
File comments: 374
Uploads: 20
Channels: Your code seems to be correct. Make sure that you've added "CHAT_MSG_CHANNEL" to the individual chat frame's config.

Different Heights: Not possible in the current version, but planned for the next rewrite.

Timestamps-Bug: Hmm, that sounds strange. Well, Chicchai only modifies the height of the frames, so I don't think that I can fix it from Chicchai's side of things. I suspect that Prat's own update-routines interfere somehow when the chat height is changed by an external addon.

I try to make Chicchai more configurable (and easier to maintain) with the next complete rewrite, but I'm neither the project leader (hey Lolzen ) nor do I have any time at the moment (final school exams).
__________________
Website | GitHub

Oh hai!
xConStruct is offline Report comment to moderator  
Reply With Quote
Unread 04-03-10, 05:39 AM  
AngelofRust
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Wonderful mod. Couple things I'm looking for help with if possible. First the maximize on text in custom channels doesn't seem to be working. My lua file looks as below, but the frame will not maximize as intended.
Code:
-- Modify this to maximize only on special channels
-- comment/remove it to react on all channels
local channelNumbers = {
--	[1] = true,
--	[2] = true,
--	[3] = true,
        [5] = true,
        [6] = true,
        [7] = true,
}
Is this written correctly and not working or am I missing something? I have also tried removing the comment characters (--) from the first three channels and setting the arguments to false but this didn't seem to work either.

Second is it possible to set a separate maximize height for different frames? The added sorting menus on the Combat Log make it taller than the rest of my ui elements when maximized. It would be fantastic if i could set it to maximize ~20 pixels shorter than the main chat window so they both end up the same height when maximized.

Lastly, I don't know if this is a problem with the Prat addon not playing nice with yours, but when the chat frame animates, I get double timestamps ( [hh:mm:ss] [hh:mm:ss] [#] text ) on all my text lines until it finishes maximizing or minimizing at which point it returns to normal ( [hh:mm:ss] [#] text ). Any idea what causes this or how I could attempt to fix it? Thanks in advance and keep up the great work.
Last edited by AngelofRust : 04-03-10 at 05:43 AM.
AngelofRust is offline Report comment to moderator  
Reply With Quote
Unread 03-12-10, 03:04 PM  
twistdshade
A Fallenroot Satyr
 
twistdshade's Avatar

Forum posts: 21
File comments: 124
Uploads: 0
Originally posted by Lolzen
Yeah i had this problem too sometimes, and just waited till the chat popped up again^^ But i will look into that soon, i like that idea^^
Nice.. I saw there was an update to the addon, and I saw the changelog, and then I saw this post I made a long time ago.. I had completely forgotten about it.

It looks like the old.. 'lost off-screen while moving' bug has been fixed I'm glad I could be a part of the addon's development. This is one of my 'must have' addons. This and T-Bag, which I also helped with a bug-fix .

Thanks very much for your contribution to the addon community
__________________
twistdshade is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: