Download
(26Kb)
Download
Updated: 12-07-11 02:18 AM
Pictures
File Info
Updated:12-07-11 02:18 AM
Created:09-16-10 07:25 AM
Downloads:38,915
Favorites:242
MD5:

xCT  Popular! (More than 5000 hits)

Version: 1.9c
by: braindump [More]

xCT is a very lightweight combat text addon (20- 30kb mem usage)


if you don't see any combat text on first use of xCT then go to ESC->Interface->Combat Text and enable things you want to see.


xCT has 4 frames, first for incoming damage/resists/absorbs, second for incoming healing, third for auras/mana/reactive abilities/combopoints and other text info, frame 4 is for damage and healing you deal .
also, xCT has a nice spam merger, so damage from your AOE spell is displayed like 100500 x20 instead of 20 lines of spammy sh*t. Same for healing spells.

You can place the frames as you like, and resize them.

Type /xct unlock to move frames.
Type /xct lock to lock frames on desired position.
Type /xct test to launch sample output.

The configuration section is inside config.lua file.
Read description carefully.
you can configure xCT per-class and per-character inside xCT.lua

Code:
---------------------------------------------------------------------------------
-- use ["option"] = true/false, to set options.
-- options
-- blizz damage options.
	["blizzheadnumbers"] = false,	-- use blizzard damage/healing output (above mob/player head)
	["damagestyle"] = true,		-- change default damage/healing font above mobs/player heads. you need to restart WoW to see changes! has no effect if blizzheadnumbers = false
-- xCT outgoing damage/healing options
	["damage"] = true,		-- show outgoing damage in it's own frame
	["healing"] = true,		-- show outgoing healing in it's own frame
	["showhots"] = true,		-- show periodic healing effects in xCT healing frame.
	["damagecolor"] = true,		-- display damage numbers depending on school of magic, see http://www.wowwiki.com/API_COMBAT_LOG_EVENT
	["critprefix"] = "|cffFF0000*|r",	-- symbol that will be added before amount, if you deal critical strike/heal. leave "" for empty. default is red *
	["critpostfix"] = "|cffFF0000*|r",	-- postfix symbol, "" for empty.
	["icons"] = true,		-- show outgoing damage icons
	["iconsize"] = 28,		-- icon size of spells in outgoing damage frame, also has effect on dmg font size if it's set to "auto"
	["petdamage"] = true,		-- show your pet damage.
	["dotdamage"] = true,		-- show damage from your dots. someone asked an option to disable lol.
	["treshold"] = 1,		-- minimum damage to show in outgoing damage frame
	["healtreshold"] = 1,		-- minimum healing to show in incoming/outgoing healing messages.

-- appearence
	["font"] = "Interface\\Addons\\xCT\\HOOGE.TTF",	-- "Fonts\\ARIALN.ttf" is default WoW font.
	["fontsize"] = 12,
	["fontstyle"] = "OUTLINE",	-- valid options are "OUTLINE", "MONOCHROME", "THICKOUTLINE", "OUTLINE,MONOCHROME", "THICKOUTLINE,MONOCHROME"
	["damagefont"] = "Interface\\Addons\\xCT\\HOOGE.TTF",	 -- "Fonts\\FRIZQT__.ttf" is default WoW damage font
	["damagefontsize"] = "auto",	-- size of xCT damage font. use "auto" to set it automatically depending on icon size, or use own value, 16 for example. if it's set to number value icons will change size.
	["timevisible"] = 3, 		-- time (seconds) a single message will be visible. 3 is a good value.
	["scrollable"] = false,		-- allows you to scroll frame lines with mousewheel.
	["maxlines"] = 64,		-- max lines to keep in scrollable mode. more lines=more memory. nom nom nom.

-- justify messages in frames, valid values are "RIGHT" "LEFT" "CENTER"
	["justify_1"] = "LEFT",		-- incoming damage justify
	["justify_2"] = "RIGHT",	-- incoming healing justify
	["justify_3"] = "CENTER",	-- various messages justify (mana, rage, auras, etc)
	["justify_4"] = "RIGHT",	-- outgoing damage/healing justify

-- class modules and goodies
	["stopvespam"] = false,		-- automaticly turns off healing spam for priests in shadowform. HIDE THOSE GREEN NUMBERS PLX!
	["dkrunes"] = true,		-- show deatchknight rune recharge
	["mergeaoespam"] = true,	-- merges multiple aoe spam into single message, can be useful for dots too.
	["mergeaoespamtime"] = 3,	-- time in seconds aoe spell will be merged into single message. minimum is 1.
	["killingblow"] = true,		-- tells you about your killingblows (works only with ["damage"] = true,)
	["dispel"] = true,		-- tells you about your dispels (works only with ["damage"] = true,)
	["interrupt"] = true,		-- tells you about your interrupts (works only with ["damage"] = true,)
}
config lines a pretty self-descriptive

xCT uses blizzard confuguration of combat text, so if you do not want to see auras or mana gains - disable them in blizzard setings and they'll dissapear.
Blizz CT settings a located in ESC->Interface->Combat Text


if you don't see any combat text on first use of xCT then go to ESC->Interface->Combat Text and enable things you want to see.



TODO:
Improve a bit, main functionality reached.
Money gains, inventory gains.
boomkin and paladin power gains.
Known issues
You can't choose insert mode, blizzard bug, sorry. Messages will appear from bottom of the frames and go upwards.


Credits and thanks:
ALZA - for some ideas, xCT is based on LightCT.
Shestak - for some ideas, testing and inspiring me to make this addon.
Rostok - for fixes and healing code.

bleeding edge version is Always on my github

Click here to lend your support!

xCT 1.9c
killingblow display fix
other message fixes.
--
xCT 1.9b
added holy power gain display.
fixed outgoing healing display
Some tiny fixes.
--
xCT 1.9a
4.3.0 compatbility
fixed damage display
--
xCT 1.8
Interrupt messages
Dispel messages.
Some tiny fixes.
--
xCT 1.7s
more configuration options (text justifying)
spam merger works a little different now and merged messages should appear one after another.
Various bug fixes and improvements
--
xCT 1.7r
main configuration is in config.lua now.
AOE/DoT/HoT spell merger added.
Killing blow notification added.
Changed some structure of init.
Various bugfixes
--
xCT 1.6
Fixed taint with raid markers. Sorry
Added options to show/hide dots/host/petdamage.
I change the way resists/absorb/block are displayed. If you have COMBAT_TEXT_SHOW_RESISTANCES checked it'll display detailed info (damage got (damage mitigated)), else it'll display only damage got.
Fixed new honor display.
Fixed some bugs.
--
xCT 1.5
Option to disable blizz numbers added
Healing spam filter added
some code improvements
--
xCT 1.4b
Iconless spells are now good aligned inside the frame.
Cataclysm-friendly) 99% compatable.
--
xCT 1.4a
Outgoing healing added, tnx Rostok.
Critpostfix added.
Fixed possible bug with missing arg.
healing (in/out) treshold added.
do not lock blizz damage output, so many people want it.
--
xCT 1.3x
Per character/class config added.
Critical display added.
Icons look cleaner now.
Added ranged damage/miss, sorry hunters)
Frames are now scrollable with mousewheel.
--
xCT 1.3b
Config style changed.
Outgoing damage added.
Dynamic frame lines.
Some options added.
--
xCT 1.2a
Lots of changes! Slash command /xct added, configmode can be toggled ingame, testmode added.
--
xCT 1.1d
*Fixed dropdown menu bug. Sorry)
*Moved config options inside ct table, shadowpriest addition implemented.
Post A Reply Comment Options
Unread 09-25-10, 12:58 PM  
WALLIEDIRT
A Deviate Faerie Dragon
 
WALLIEDIRT's Avatar

Forum posts: 10
File comments: 43
Uploads: 0
Very nice. Just simple and Just perfect. Thanks and keep up the good work!!
Report comment to moderator  
Reply With Quote
Unread 09-25-10, 01:34 PM  
jasje
A Chromatic Dragonspawn
 
jasje's Avatar
AddOn Author - Click to view AddOns

Forum posts: 150
File comments: 279
Uploads: 4
Great addon, using it from the start and edited it alrdy very heavy, i asked this also over tukui but thought it's also beter to ask here.
1)
Is it possbile to make it so that when i aoe the dmg output goes like 5x[skillname], because it's sometimes very spammie or is that not possible with xCT?

2)
Is there a way to set the scroll direction per frame? tryed setting some frames to scroll up and some down w/o succes.

Thanks in advance
__________________

Tukui | Github
Report comment to moderator  
Reply With Quote
Unread 09-25-10, 01:56 PM  
braindump
A Kobold Labourer
 
braindump's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 93
Uploads: 3
Originally posted by jasje
Great addon, using it from the start and edited it alrdy very heavy, i asked this also over tukui but thought it's also beter to ask here.
1)
Is it possbile to make it so that when i aoe the dmg output goes like 5x[skillname], because it's sometimes very spammie or is that not possible with xCT?

2)
Is there a way to set the scroll direction per frame? tryed setting some frames to scroll up and some down w/o succes.

Thanks in advance
1) now for now, may be later. my lua skills is not enough)
2) yes.
delete ScrollDirection() from
Code:
...
elseif event=="PLAYER_ENTERING_WORLD"then
	SetUnit()
	ScrollDirection()
...
remove
Code:
hooksecurefunc("InterfaceOptionsCombatTextPanelFCTDropDown_OnClick",ScrollDirection)
and setup InsertMode in frame init section.

Code:
for i=1,numf do
	local f=CreateFrame("ScrollingMessageFrame","xCT"..i,UIParent)
	f:SetFont(ct.font,ct.fontsize,ct.fontstyle)
	f:SetShadowColor(0,0,0,0)
	f:SetFading(true)
	f:SetFadeDuration(0.5)
	f:SetTimeVisible(ct.timevisible)
	f:SetMaxLines(ct.maxlines)
	f:SetSpacing(2)
	f:SetWidth(128)
	f:SetHeight(128)
	f:SetJustifyH"LEFT"
	f:SetPoint("CENTER",0,0)
	f:SetMovable(true)
	f:SetResizable(true)
	f:SetMinResize(128,128)
	f:SetMaxResize(768,768)
	f:SetClampedToScreen(true)
	f:SetClampRectInsets(0,0,ct.fontsize,0)
	if(i==1)then
		f:SetJustifyH"LEFT"
		f:SetPoint("CENTER",-192,-32)
f:SetInsertMode"TOP"
	elseif(i==2)then
		f:SetJustifyH"RIGHT"
		f:SetPoint("CENTER",192,-32)
f:SetInsertMode"BOTTOM"
	elseif(i==3)then
		f:SetJustifyH"CENTER"
		f:SetWidth(256)
		f:SetPoint("CENTER",0,192)
f:SetInsertMode"BOTTOM"
	else
		f:SetJustifyH"RIGHT"
		f:SetPoint("CENTER",320,0)
f:SetInsertMode"BOTTOM"
		if (ct.icons)then
			a,_,c=f:GetFont()
			f:SetFont(a,ct.iconsize/2,c)
		end
	end
	ct.frames[i] = f
end
good luck)
__________________
a.k.a affli
Report comment to moderator  
Reply With Quote
Unread 09-25-10, 03:16 PM  
jasje
A Chromatic Dragonspawn
 
jasje's Avatar
AddOn Author - Click to view AddOns

Forum posts: 150
File comments: 279
Uploads: 4
Great, second one worked perfectly thanks!
__________________

Tukui | Github
Report comment to moderator  
Reply With Quote
Unread 09-28-10, 12:43 PM  
Skylinee
A Murloc Raider

Forum posts: 5
File comments: 371
Uploads: 0
Does this change the default WoW damage above mob's heads? I don't see any damage above mobs anymore, only showing on xCT. Got Damagestyle set to false btw.

Edit: Tried setting it to true, still not seeing damage above mobs heads.

Edit2: Incoming damage also doesn't seem to be working in raids (I'm in ICC25, LK Heroic). This is so random and weird.

Edit3: Direct damage seems to be showing fine on incoming damage, but not debuffs like Infest/Defile etc from LK. Is this because xCT is using Blizzard's own scrolling combat text perhaps?
Last edited by Skylinee : 09-28-10 at 02:27 PM.
Report comment to moderator  
Reply With Quote
Unread 09-28-10, 04:17 PM  
braindump
A Kobold Labourer
 
braindump's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 93
Uploads: 3
you need to set one type of damage display, above the heads or xct. choose one.
incoming damage works perfectly, make shure it's enabled.
Originally posted by Skylinee
Does this change the default WoW damage above mob's heads? I don't see any damage above mobs anymore, only showing on xCT. Got Damagestyle set to false btw.

Edit: Tried setting it to true, still not seeing damage above mobs heads.

Edit2: Incoming damage also doesn't seem to be working in raids (I'm in ICC25, LK Heroic). This is so random and weird.

Edit3: Direct damage seems to be showing fine on incoming damage, but not debuffs like Infest/Defile etc from LK. Is this because xCT is using Blizzard's own scrolling combat text perhaps?
__________________
a.k.a affli
Report comment to moderator  
Reply With Quote
Unread 09-29-10, 03:59 AM  
Rostok
A Flamescale Wyrmkin

Forum posts: 127
File comments: 14
Uploads: 0
I provided the code for outgoing healing to the author and some changes to make it work under cata/ptr (got rid of the global argN that are disapearing with 4.x), hope the author update it soon

Great addon btw.
Report comment to moderator  
Reply With Quote
Unread 09-29-10, 11:29 AM  
Qulight
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 330
Uploads: 7
еще бы иконки не наезжали на текст сверху, вообще бы классно было
Report comment to moderator  
Reply With Quote
Unread 09-30-10, 01:48 AM  
braindump
A Kobold Labourer
 
braindump's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 93
Uploads: 3
Originally posted by Qulight
еще бы иконки не наезжали на текст сверху, вообще бы классно было
скрин? не совсем понимаю о чем речь
__________________
a.k.a affli
Report comment to moderator  
Reply With Quote
Unread 09-30-10, 01:50 AM  
braindump
A Kobold Labourer
 
braindump's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 93
Uploads: 3
Originally posted by Rostok
I provided the code for outgoing healing to the author and some changes to make it work under cata/ptr (got rid of the global argN that are disapearing with 4.x), hope the author update it soon

Great addon btw.
yeah, i'll update on this weekend.
thanks 4 the code, i'll credit you somewhere in lua)
__________________
a.k.a affli
Report comment to moderator  
Reply With Quote
Unread 10-01-10, 02:54 AM  
oalex
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 110
Uploads: 1
Re: Re: hi

Originally posted by braindump
yes, thats possible)
add at the bottom of xCT.lua
Code:
xCT:UnregisterAllEvents()
xCT1:Hide()
xCT2:Hide()
xCT3:Hide()
xCT4:SetMaxLines(10000)
xCT4:SetTimeVisible(300)
xCT4:SetFading(false)
xCT4:SetFadeDuration(300)
xCT4:EnableMouseWheel(true)
xCT4:SetScript("OnMouseWheel", function(self,delta)
	if delta >0 then
		xCT4:PageUp()
	elseif delta <0 then
		xCT4:PageDown()
	end
end)
and viola, you have only damage frame, and it's scrollable by mousewheel.
enjoy

Thank you very much!!!
Report comment to moderator  
Reply With Quote
Unread 10-01-10, 06:18 AM  
oalex
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 110
Uploads: 1
Re: Re: Re: hi

Originally posted by oalex
Thank you very much!!!
It works perfectly. Very sweet.
Only problem I have is I use blizz stock floting combat text the addon dissable it, I can see dmg I do, but not dmg os healing that I recieve in the floating text.
Could you help with this?
Thanks
Report comment to moderator  
Reply With Quote
Unread 10-01-10, 08:03 AM  
oalex
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 110
Uploads: 1
Re: Re: Re: Re: hi

Originally posted by oalex
It works perfectly. Very sweet.
Only problem I have is I use blizz stock floting combat text the addon dissable it, I can see dmg I do, but not dmg os healing that I recieve in the floating text.
Could you help with this?
Thanks
Ok, I disabled a couple of lines in the lua and fixed it. Thanks.

Last thing I would like to figure out is if there is a way to add a line (separator), e.g. "*********" after each leaving/entering combat combat so I know where the new fight started.

Its kind of funny that this was not your original intention but basically you managed to make a complete (and better) replacement for eavesdrop which is very popular and a lot of people are using (its last update was 2009) and there is no other option available.
If people figure out that it can be used this way (that I am using) then you will have many more downloads.
Its difficult to go trough combat log as it has too much info in it. So this way I just see a list of my damages. Its perfect.

You might want to consider putting out a dumbed down version, which only does the above. You only have to delete half the code and nothing more. I promise you it will be even more popular the the main version as there is no competition unlike the xCT which has a lot (like: parrot, MSCT, SCT, and many other).

Really appreciate the help.
Last edited by oalex : 10-01-10 at 08:07 AM.
Report comment to moderator  
Reply With Quote
Unread 10-01-10, 09:32 AM  
Qulight
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 330
Uploads: 7
Originally posted by braindump
скрин? не совсем понимаю о чем речь
да это изза шрифтов, с некоторыми верхняя часть иконки заходит на белые атаки
Last edited by Qulight : 10-01-10 at 09:32 AM.
Report comment to moderator  
Reply With Quote
Unread 10-01-10, 01:28 PM  
nitewarlord
A Defias Bandit
AddOn Compiler - Click to view compilations

Forum posts: 2
File comments: 49
Uploads: 1
YAY! Extremely happy for the Outgoing heals update. Only got 2 requests/suggestions now lol.

First: A way to change the size of the font for Outgoing Dmg/Heals without changing the size of the Icon.

Second: I am sorely missing this addon on the Beta right now. Does anyone know a quick fix to make it work. I know this uses Arg's which WoW is no longer supporting Automatic Arg Assignments to variables.

Any help would be greatly appreciated, I'm pretty sure I know what i have to do but not positive.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.