Download
(1 Kb)
Download
Updated: 07-27-14 10:00 PM
Pictures
File Info
Compatibility:
Siege of Orgrimmar (5.4)
Escalation (5.3)
Thunder Isle (5.2)
Landfall (5.1)
Mists of Pandaria (5.0.4)
Updated:07-27-14 10:00 PM
Created:02-18-10 02:01 PM
Downloads:4,658
Favorites:16
MD5:
Categories:PvP, Arena, BattleGrounds, Combat Mods, Miscellaneous
5.4
ncKillingBlow
Version: 1.5.1
by: nightcracker, Coote
Now maintained by TMcMahon51. See thread here.


ncKillingBlow is a simple addon that announces in the center of your screen when you get a killing blow. That's all, nothing more, nothing less.

Upcoming features:
- None
Suggest features!

Usage:
Install & go! No config.
1.5.1
5.4 .TOC bump

1.5
Changed message format. See updated screenshot for details.
bgKillingBlow patch should now pretty much be wrapped in.

1.4
TOC bump

1.4
Removed some unneeded code, and bumped the TOC.

1.3
Fixed for new arg added in 4.1

1.2
Fixed addon not displaying until after UI Reload. Thanks to Real for helping figure out the issue.

1.1
TOC update - was not broken with 4.0.1
Optional Files (1)
File Name
Version
Size
Author
Date
Type
1.0.5
823B
06-29-11 05:33 AM
Patch


Archived Files (7)
File Name
Version
Size
Author
Date
1.5
1kB
nightcracker
10-28-12 06:20 PM
1.4.1
1kB
nightcracker
12-03-11 06:39 AM
1.4
1kB
nightcracker
06-29-11 05:35 AM
1.3
1kB
nightcracker
04-27-11 11:06 AM
1.2
1014B
nightcracker
11-21-10 06:54 PM
1.1
881B
nightcracker
10-12-10 11:09 PM
1.0
876B
nightcracker
02-18-10 02:01 PM


Post A Reply Comment Options
Unread 11-22-10, 05:42 PM  
Coote
A Scalebane Royal Guard
 
Coote's Avatar
AddOn Author - Click to view AddOns

Forum posts: 429
File comments: 67
Uploads: 10
Originally posted by eccentric10
I made some small changes in the lua code to my liking (I hope you don't mind). I wanted to see the name of the person I killed and I also wanted to see only pvp killing blows, not pve mobs. I thought I could write the changes made here in case someone else wants the same:

Replace the following code
Code:
("OnEvent", function(_, _, _, event, guid)
				if event == "PARTY_KILL" and guid==playerid then
						msg:AddMessage("KILLING BLOW!", 1, 1, 0)
with
Code:
("OnEvent", function(_, _, _, event, guid, _, _, _, destName, destFlags)
				if event == "PARTY_KILL" and guid==playerid and bit.band(destFlags, COMBATLOG_OBJECT_CONTROL_PLAYER) > 0 then
						msg:AddMessage("KB: "..destName, 1, 1, 0)
and if you wish to see pve mob killing blows also then just remove this part from the latter code
Code:
and bit.band(destFlags, COMBATLOG_OBJECT_CONTROL_PLAYER) > 0
edit: These changes were for version 1.2
If you wouldn't mind, would it be alright to upload that as an Optional File?
__________________

"This is the fifteen-thousandth four hundredth and ninety-eighth occurence".
Coote is offline Report comment to moderator  
Reply With Quote
Unread 11-22-10, 04:00 AM  
eccentric10
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
I made some small changes in the lua code to my liking (I hope you don't mind). I wanted to see the name of the person I killed and I also wanted to see only pvp killing blows, not pve mobs. I thought I could write the changes made here in case someone else wants the same:

Replace the following code
Code:
("OnEvent", function(_, _, _, event, guid)
				if event == "PARTY_KILL" and guid==playerid then
						msg:AddMessage("KILLING BLOW!", 1, 1, 0)
with
Code:
("OnEvent", function(_, _, _, event, guid, _, _, _, destName, destFlags)
				if event == "PARTY_KILL" and guid==playerid and bit.band(destFlags, COMBATLOG_OBJECT_CONTROL_PLAYER) > 0 then
						msg:AddMessage("KB: "..destName, 1, 1, 0)
and if you wish to see pve mob killing blows also then just remove this part from the latter code
Code:
and bit.band(destFlags, COMBATLOG_OBJECT_CONTROL_PLAYER) > 0
edit: These changes were for version 1.2
Last edited by eccentric10 : 11-22-10 at 04:20 AM.
eccentric10 is offline Report comment to moderator  
Reply With Quote
Unread 11-21-10, 09:22 PM  
Oakenwynd
A Kobold Labourer

Forum posts: 1
File comments: 36
Uploads: 0
do I have to know LUA to do custom font and color?

Thanks! ~Oakenwynd
Oakenwynd is offline Report comment to moderator  
Reply With Quote
Unread 11-21-10, 06:52 PM  
Coote
A Scalebane Royal Guard
 
Coote's Avatar
AddOn Author - Click to view AddOns

Forum posts: 429
File comments: 67
Uploads: 10
Originally posted by eccentric10
I have the same problem, this only works after a ui reload.
It only just started that for me after 4.0.3 for some reason, so never noticed it before. It turns out the addon was just loading way too early.
__________________

"This is the fifteen-thousandth four hundredth and ninety-eighth occurence".
Coote is offline Report comment to moderator  
Reply With Quote
Unread 11-21-10, 11:31 AM  
eccentric10
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
I have the same problem, this only works after a ui reload.
eccentric10 is offline Report comment to moderator  
Reply With Quote
Unread 11-14-10, 12:43 PM  
Coote
A Scalebane Royal Guard
 
Coote's Avatar
AddOn Author - Click to view AddOns

Forum posts: 429
File comments: 67
Uploads: 10
Originally posted by Slaxi81
Planned to add sounds?
Adding ingame sounds for example, doesn't eat much of your CPU : )
I'm not sure if he ever had thought of it or not, but it sounds like a good idea. It might require a slight rewrite, but it definitely sounds like something I should toss on the To Do list.
__________________

"This is the fifteen-thousandth four hundredth and ninety-eighth occurence".
Coote is offline Report comment to moderator  
Reply With Quote
Unread 11-14-10, 10:49 AM  
Slaxi81
A Murloc Raider
 
Slaxi81's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 179
Uploads: 2
Hey night,

thank you for this.

Planned to add sounds?
Adding ingame sounds for example, doesn't eat much of your CPU : )

have a nice day


Slaxi
__________________
Slaxi81 is offline Report comment to moderator  
Reply With Quote
Unread 10-29-10, 04:17 PM  
ulrich
A Kobold Labourer

Forum posts: 0
File comments: 9
Uploads: 0
I'm just using TukUI.

I've tried running without addons and just using ncKillingBlow. Still doesn't show until I do a reload.

:/
ulrich is offline Report comment to moderator  
Reply With Quote
Unread 10-26-10, 12:09 AM  
Coote
A Scalebane Royal Guard
 
Coote's Avatar
AddOn Author - Click to view AddOns

Forum posts: 429
File comments: 67
Uploads: 10
Originally posted by ulrich
Any idea why I have to reload UI to get this to work?
What other addons are you using? It's probably one of them blocking it at first. Works perfectly for me, as well as several others that I've asked.
__________________

"This is the fifteen-thousandth four hundredth and ninety-eighth occurence".
Coote is offline Report comment to moderator  
Reply With Quote
Unread 10-25-10, 03:47 AM  
nightcracker
A Molten Giant
 
nightcracker's Avatar
AddOn Author - Click to view AddOns

Forum posts: 714
File comments: 429
Uploads: 31
Originally posted by ulrich
Any idea why I have to reload UI to get this to work?
Nope.
__________________
Three things are certain,
Death, taxes and site not found,
You, victim of one.
nightcracker is offline Report comment to moderator  
Reply With Quote
Unread 10-23-10, 06:29 PM  
ulrich
A Kobold Labourer

Forum posts: 0
File comments: 9
Uploads: 0
Any idea why I have to reload UI to get this to work?
ulrich is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: