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,872
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 07-20-11, 08:40 AM  
Politig
A Chromatic Dragonspawn
AddOn Compiler - Click to view compilations

Forum posts: 176
File comments: 396
Uploads: 1
For some reason, when I enable xCT, damage is hidden. I can only see healing/notifications. When I go into interface > combat text, the area where the Damage component would normally be is now gone. Am I doing it wrong?

Thanks!
Report comment to moderator  
Reply With Quote
Unread 07-17-11, 11:13 AM  
zoktar
A Cliff Giant
AddOn Compiler - Click to view compilations

Forum posts: 72
File comments: 262
Uploads: 1
Re: Re: some stuff that would be cool

Originally posted by dandruff
In your config.lua file, you could change '3' to be some large number to ensure it would stay up for a while:
Code:
["timevisible"]    = 3,
Then, you could shrink the window to only show 1 line.

I'll see what I can do to add an easy way to change the CRIT font settings and also the location of the icon.


Unless you are extremely familiar with Lua, I wouldn't suggest you downloading the latest commits. I tend to do stupid mistakes and leave them unfixed for a day.

Latest Supported Version:
https://github.com/downloads/dandruf...4.2-live-b.zip

hey thanks, i managed to fix it somehow cant remember =). I managed to remove the whats it called stay on screen thingy, and the resize limit, so that finally made it to 1 line.

Somehthing im missing from normal SCT type thingy, is power gains, like energy, rage, runic power, mana. Anything you plan implementing?.
Report comment to moderator  
Reply With Quote
Unread 07-12-11, 12:27 PM  
jarrpi
A Kobold Labourer

Forum posts: 0
File comments: 29
Uploads: 0
is it possible to make a option like msbt, where the crits are bigger then the normal dmg

like
crit font size
or something
Report comment to moderator  
Reply With Quote
Unread 07-10-11, 03:51 PM  
strickland
A Cyclonian

Forum posts: 40
File comments: 195
Uploads: 0
hey, the dmg done / healing done window that shows icons, the icons sometimes will not be in line with each other due to crits and long numbers, how can I make the icons appear in straight line, whilest the number can take further to the left if it is larger , i hope i'm explaining myself well, bad english
Report comment to moderator  
Reply With Quote
Unread 07-05-11, 12:10 AM  
dandruff
A Kobold Labourer

Forum posts: 0
File comments: 9
Uploads: 0
Re: some stuff that would be cool

Originally posted by zoktar
anyone know if and where you can change in the code to have icons on the left side instead?, also if its possible to have crits show up with larger icon/font. also if you could set it up to persist in a single line, overwriting it at whatever pace the next inc comes. any or all of these options would be awsome =), cheers for any help.

In your config.lua file, you could change '3' to be some large number to ensure it would stay up for a while:
Code:
["timevisible"]    = 3,
Then, you could shrink the window to only show 1 line.

I'll see what I can do to add an easy way to change the CRIT font settings and also the location of the icon.


Unless you are extremely familiar with Lua, I wouldn't suggest you downloading the latest commits. I tend to do stupid mistakes and leave them unfixed for a day.

Latest Supported Version:
https://github.com/downloads/dandruf...4.2-live-b.zip
Report comment to moderator  
Reply With Quote
Unread 07-01-11, 09:46 PM  
Pekti
A Kobold Labourer

Forum posts: 0
File comments: 43
Uploads: 0
Re: Re: Error

Perfect! Thank you so much for helping out.

Originally posted by AlleyKat
Try this
https://github.com/dandruff/xCT/zipball/master
Report comment to moderator  
Reply With Quote
Unread 06-30-11, 10:37 AM  
AlleyKat
A Warpwood Thunder Caller
 
AlleyKat's Avatar
AddOn Author - Click to view AddOns

Forum posts: 93
File comments: 242
Uploads: 7
Re: Error

Originally posted by Pekti
I've been playing WoW today with the addon as-is (see my comment below), but I'm now in Firelands and I'm getting the following error message:

622x xCT-1.8\xCT.lua:1097: attempt to compare number with string
Try this
https://github.com/dandruff/xCT/zipball/master
Report comment to moderator  
Reply With Quote
Unread 06-29-11, 06:52 PM  
Pekti
A Kobold Labourer

Forum posts: 0
File comments: 43
Uploads: 0
Error

I've been playing WoW today with the addon as-is (see my comment below), but I'm now in Firelands and I'm getting the following error message:

622x xCT-1.8\xCT.lua:1097: attempt to compare number with string
Last edited by Pekti : 06-30-11 at 05:31 AM.
Report comment to moderator  
Reply With Quote
Unread 06-29-11, 04:58 PM  
zoktar
A Cliff Giant
AddOn Compiler - Click to view compilations

Forum posts: 72
File comments: 262
Uploads: 1
some stuff that would be cool

anyone know if and where you can change in the code to have icons on the left side instead?, also if its possible to have crits show up with larger icon/font. also if you could set it up to persist in a single line, overwriting it at whatever pace the next inc comes. any or all of these options would be awsome =), cheers for any help.
Report comment to moderator  
Reply With Quote
Unread 06-29-11, 07:04 AM  
Pekti
A Kobold Labourer

Forum posts: 0
File comments: 43
Uploads: 0
Outgoing damage

Anyone else having issues with outgoing damage? Incoming heals, outgoing heals, and incoming damage all work fine, but my actual damage done isn't working properly. On my level 16 warlock, for example, it shows my pet's attacks hitting for 16Kish. My own damage is not showing at all, however, including direct and DoT damage. This is the same case across all of my characters, with or without pets.
Report comment to moderator  
Reply With Quote
Unread 06-29-11, 04:19 AM  
Muhnophonic
A Kobold Labourer

Forum posts: 0
File comments: 28
Uploads: 0
Originally posted by Megerka
what additional flags did you mean?
i replaced the lines
925 and
1089

with
Code:
timestamp, eventType, dump1, sourceGUID, sourceName, sourceFlags,srcRaidFlags, destGUID, destName, destFlags,dstRaidFlags
, seems to work now. its more or less the two new raidflags entries.

edit:
also you need to change line 1070 to
Code:
local tname=select(9,...)
to solve the "Killed #hexadecimalnumber" issue.
Last edited by Muhnophonic : 06-29-11 at 05:12 AM.
Report comment to moderator  
Reply With Quote
Unread 06-28-11, 11:15 PM  
Megerka
A Kobold Labourer

Forum posts: 0
File comments: 30
Uploads: 0
what additional flags did you mean?
Report comment to moderator  
Reply With Quote
Unread 06-28-11, 09:04 PM  
Obelixprime
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
In all the places where it says select(10,...) you need to replace it with select(12,...) and add the additional flags to


local timestamp, eventType, dump1, sourceGUID, sourceName, sourceFlags, destGUID, destName, destFlags = select(1,...)

in xCT.lua
Report comment to moderator  
Reply With Quote
Unread 06-28-11, 02:59 PM  
Curetia
A Kobold Labourer
AddOn Compiler - Click to view compilations

Forum posts: 0
File comments: 106
Uploads: 1
Code:
Message: Interface\AddOns\xCT\xCT.lua:974: attempt to compare number with string
Time: 06/28/11 22:57:05
Count: 6
Stack: Interface\AddOns\xCT\xCT.lua:974: in function <Interface\AddOns\xCT\xCT.lua:932>

Locals: self = <unnamed> {
 0 = <userdata>
}
event = "COMBAT_LOG_EVENT_UNFILTERED"
msg = nil
icon = nil
timestamp = 1309294630.548
eventType = "SPELL_PERIODIC_DAMAGE"
dump1 = false
sourceGUID = "0x01000000003339B6"
sourceName = "Curepreone"
sourceFlags = 1297
destGUID = 0
destName = "0xF13079AA00005CDC"
destFlags = "Raider's Training Dummy"
spellId = 68136
_ = 0
spellSchool = 15407
amount = "Mind Flay"
_ = 32
_ = 7504
_ = -1
_ = 32
_ = nil
critical = nil
(*temporary) = 1
(*temporary) = 68136
(*temporary) = 0
(*temporary) = 15407
(*temporary) = "Mind Flay"
(*temporary) = 32
(*temporary) = 7504
(*temporary) = -1
(*temporary) = 32
(*temporary) = "attempt to compare number with string"
select = <function> defined =[C]:-1
gflags = 8465
SQ = <table> {
 34861 = <table> {
 }
 47666 = <table> {
 }
 56161 = <table> {
 }
 32546 = <table> {
 }
 64844 = <table> {
 }
 589 = <table> {
 }
 87532 = <table> {
 }
 15407 = <table> {
 }
 15237 = <table> {
 }
 63675 = <table> {
 }
 33110 = <table> {
 }
 49821 = <table> {
 }
 23455 = <table> {
 }
 596 = <table> {
 }
 47750 = <table> {
 }
 77489 = <table> {
 }
 63544 = <table> {
 }
 34914 = <table> {
 }
 139 = <table> {
 }
 2944 = <table> {
 }
}
time = <function> defined =[C]:-1
unpack = <function> defined =[C]:-1
Report comment to moderator  
Reply With Quote
Unread 06-18-11, 02:30 PM  
zoktar
A Cliff Giant
AddOn Compiler - Click to view compilations

Forum posts: 72
File comments: 262
Uploads: 1
id like to have each display show a maxline of 1, so that every new occurance overwrites the last one, sort of like combatfeedback, is a stretch to edit out or?, cheers for any help.
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.