Thread Tools Display Modes
08-03-11, 12:15 PM   #1
Grim077
A Deviate Faerie Dragon
 
Grim077's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2010
Posts: 15
Question A New Addon! Idea.

Hello, I'm looking for someone to make an addon that i recently thought of, If you are interested please message me back, I would love to see this addon made.

The idea is that when you get a killing blow on an enemy player your character will say a Random Custom Message, Stating that you got that kill, (For Example) Upon getting the killing blow your character says "Ownage" or "Pwned" lol, But anyway it's just an idea that i thought would be cool, But sadly i can not make it, seeing as i have no knowledge in coding scripts, Hope to hear back from someone interested in making this addon for me and all who like the addon idea. And i would call it "AfterKill"
__________________
I see you, But you can't see me!

Last edited by Grim077 : 08-03-11 at 12:27 PM. Reason: Forgot to add the name of the addon
  Reply With Quote
08-03-11, 12:30 PM   #2
Coote
A Scalebane Royal Guard
 
Coote's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2007
Posts: 440
It wouldn't be too difficult. If I have time later, I'll give it a shot and make a modified version of ncKB that can do this.

Hardest part will probably be sending a chat message, which shouldn't be too difficult, I think.
__________________

"This is the fifteen-thousandth four hundredth and ninety-eighth occurence".

Last edited by Coote : 08-03-11 at 12:34 PM.
  Reply With Quote
08-03-11, 12:41 PM   #3
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,860
Would be like this, except you'd need to use the proper event/logic: http://us.battle.net/wow/en/forum/topic/2926885133#2
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote
08-03-11, 12:43 PM   #4
Grim077
A Deviate Faerie Dragon
 
Grim077's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2010
Posts: 15
Smile

Originally Posted by TMcMahon51 View Post
It wouldn't be too difficult. If I have time later, I'll give it a shot and make a modified version of ncKB that can do this.

Hardest part will probably be sending a chat message, which shouldn't be too difficult, I think.
Sweet dude, hope you can do it, I'd love to have this as an addon!
__________________
I see you, But you can't see me!
  Reply With Quote
08-03-11, 12:57 PM   #5
Grim077
A Deviate Faerie Dragon
 
Grim077's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2010
Posts: 15
Smile

Originally Posted by Seerah View Post
Would be like this, except you'd need to use the proper event/logic: http://us.battle.net/wow/en/forum/topic/2926885133#2
That could work only if i knew what the event for when a Enemy Player Dies. :/
(I don't know how to make addons but i do mess around and try to... lol)
__________________
I see you, But you can't see me!
  Reply With Quote
08-03-11, 01:19 PM   #6
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,860
You'd need to change this part:
Code:
f:RegisterEvent("PLAYER_DEAD")
f:SetScript("OnEvent", function()
     SendChatMessage(messages[random(#messages)], UnitInRaid("player") and "RAID" or "PARTY")
end)
to this:
Code:
local playerGUID = UnitGUID("player")
f:RegisterEvent("COMBAT_LOG_EVENT_UNFILTERED")
f:SetScript("OnEvent", function(s,e,_,event,_,source)
     if event == "PARTY_KILL" and source == playerGUID then
          SendChatMessage(messages[random(#messages)], UnitInRaid("player") and "RAID" or "PARTY")
     end
end)
If you want to announce in "say" rather than "raid" or "party" chat, then change the appropriate line to this:
Code:
          SendChatMessage(messages[random(#messages)], "SAY")
If you just want it to print out in your own chat frame (not send a chat message), that line should be:
Code:
          print(messages[random(#messages)])
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote
08-03-11, 01:19 PM   #7
Coote
A Scalebane Royal Guard
 
Coote's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2007
Posts: 440
Originally Posted by Grim077 View Post
That could work only if i knew what the event for when a Enemy Player Dies. :/
It's PARTY_KILL, which is the same for any death.



Also, it's untested, but I think it should work. I would have tested it if I didn't set it to work only on other players, but you know how it is trying to get KBs in a BG. =P

Let me know if it works.
__________________

"This is the fifteen-thousandth four hundredth and ninety-eighth occurence".

Last edited by Coote : 08-03-11 at 01:54 PM.
  Reply With Quote
08-03-11, 01:40 PM   #8
Grim077
A Deviate Faerie Dragon
 
Grim077's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2010
Posts: 15
Smile

Originally Posted by TMcMahon51 View Post
It's PARTY_KILL, which is the same for any death.



Also, it's untested, but I think it should work. I would have tested it if I didn't set it to work only on other players, but you know how it is trying to get KBs in a BG. =P

Let me know if it works.
oh sweet, i'll start testing it out now!
__________________
I see you, But you can't see me!
  Reply With Quote
08-03-11, 01:52 PM   #9
Grim077
A Deviate Faerie Dragon
 
Grim077's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2010
Posts: 15
Talking I LOVE YOU! lol

Woot it works Ty dude, works great!
__________________
I see you, But you can't see me!
  Reply With Quote
08-03-11, 02:09 PM   #10
Coote
A Scalebane Royal Guard
 
Coote's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2007
Posts: 440
Originally Posted by Grim077 View Post
Woot it works Ty dude, works great!
No problem. It's always great to try something new. =)

If you'd like to favorite it, and know when it gets updated, it's now officially uploaded.
__________________

"This is the fifteen-thousandth four hundredth and ninety-eighth occurence".
  Reply With Quote
08-03-11, 02:41 PM   #11
Cairenn
Credendo Vides
 
Cairenn's Avatar
Premium Member
WoWInterface Admin
Join Date: Mar 2004
Posts: 7,134
It's here: http://www.wowinterface.com/download...AfterKill.html
__________________
“Do what you feel in your heart to be right — for you’ll be criticized anyway.” ~ Eleanor Roosevelt
~~~~~~~~~~~~~~~~~~~
Co-Founder & Admin: MMOUI
FaceBook Profile, Page, Group
Avatar Image by RaffaeleMarinetti
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Search/Requests » A New Addon! Idea.


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off