Download
(1Kb)
Download
Updated: 10-09-11 11:46 PM
Pictures
File Info
Updated:10-09-11 11:46 PM
Created:12-22-09 05:37 PM
Downloads:3,486
Favorites:8
MD5:

CCs Are Crap

Version: 0.06
by: cloudwolf [More]

Creates Chat Spam
updated the toc
A simple addon I created for my arena team.

Hopefully fixed an error and or it not reporting players being under a cc.
Hopefully fixed the error i accidentally created in v 0.03
Hopefully reduced the amount of chat spam.

This will display the name of the person on your team and what cc he is under. There is also a slash command to enable/disable the addon ingame this command is /ccac. There is no customization except for editing the Lua. If you get hit by a CC and it doesn't fire a message please add a comment with the name of the CC as I expect that I don't have a complete list as of yet. If you have any errors or have a feature request or just like this addon please leave a comment.

currently in

  • only runs through the processes if you're in a party.
  • should have lower spam levels and run more efficiently.
  • you no longer need to be party leader as when joining an arena you arn't allways party leader
  • announces player name and what cc they are under
  • has a slash command to toggle it on and off "/ccac"


This addon made by me Cloudwolf with help from a couple people in the irc channel that helped trouble shoot the addon.
Special thanks to cbreak from the irc for helping me trouble shoot my addon.

Hopefully fixed it erroring out and or not sending the chat message.

hopefully fixed an error causing spam.

made code more efficient so it wasn't being as repetitious and made it no longer spam a billion times(hopefully)

cleaned up some code and removed the need to be party leader.
Post A Reply Comment Options
Unread 01-13-10, 05:31 PM  
cloudwolf
A Black Drake
AddOn Author - Click to view AddOns

Forum posts: 87
File comments: 31
Uploads: 5
Originally posted by noble8
That message stops when i /ccac
also the addon seems to function fine, just get spammed with that.
I'm pretty sure i fixed the issue i'll be uploading a fix.
Report comment to moderator  
Reply With Quote
Unread 01-13-10, 05:18 PM  
noble8
A Warpwood Thunder Caller
 
noble8's Avatar
AddOn Author - Click to view AddOns

Forum posts: 95
File comments: 157
Uploads: 1
That message stops when i /ccac
also the addon seems to function fine, just get spammed with that.
__________________
If science and religion are destroyed, science would re-emerge exactly the same;
but not religion.
Report comment to moderator  
Reply With Quote
Unread 01-13-10, 04:51 PM  
cloudwolf
A Black Drake
AddOn Author - Click to view AddOns

Forum posts: 87
File comments: 31
Uploads: 5
I'll see what i can do about that.
Report comment to moderator  
Reply With Quote
Unread 01-13-10, 09:14 AM  
noble8
A Warpwood Thunder Caller
 
noble8's Avatar
AddOn Author - Click to view AddOns

Forum posts: 95
File comments: 157
Uploads: 1
Message: Interface\AddOns\CCsAreCrap\CCsAreCrap.lua:40: table index is nil
Time: Wed Jan 13 15:14:33 2010
Count: 2
Stack: Interface\AddOns\CCsAreCrap\CCsAreCrap.lua:40: in function <Interface\AddOns\CCsAreCrap\CCsAreCrap.lua:31>

Locals: frame = <unnamed> {
0 = <userdata>
}
event = "UNIT_AURA"
arg1 = "player"
uname = "Draka"
urealm = nil
k = 2
bname = "notnil"
bname = nil
rank = nil
icon = nil
count = nil
debuffType = nil
duration = nil
expirationTime = nil
unitCaster = nil
isStealable = nil
shouldConsolidate = nil
spellId = nil
(*temporary) = <table> {
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "table index is nil"
onoff = 1
curdebuf = <table> {
player = <table> {
}
party3 = <table> {
}
party1 = <table> {
}
party4 = <table> {
}
party2 = <table> {
}
}
debufnames = <table> {
Intimidating Shout = true
Death Coil = true
Repentance = true
Polymorph = true
Arcane Torrent = true
Hammer of Justice = true
Deep Freeze = true
Chains of Ice = true
Silence = true
Shadow Fury = true
Fear = true
Hex = true
Howl of Terror = true
Kidney Shot = true
Scatter Shot = true
Wyvern Sting = true
Blind = true
Freezing Trap = true
Seduction = true
Psychic Scream = true
Mind Control = true
Sap = true
Frost Nova = true
Warstomp = true
Entangling Roots = true
Cheap Shot = true
Cyclone = true
}
lastcheck = <table> {
player = <table> {
}
party3 = <table> {
}
party1 = <table> {
}
party4 = <table> {
}
party2 = <table> {
}
}
__________________
If science and religion are destroyed, science would re-emerge exactly the same;
but not religion.
Report comment to moderator  
Reply With Quote
Unread 12-23-09, 11:53 AM  
cloudwolf
A Black Drake
AddOn Author - Click to view AddOns

Forum posts: 87
File comments: 31
Uploads: 5
Ty for the reply. Also I think I saw that table method a while ago I just never bothered to pick it up but it would/will save me a hell of a lot of time creating a long table I'll try to remember for next time or when I update.
Report comment to moderator  
Reply With Quote
Unread 12-23-09, 05:34 AM  
Vlad
A Molten Giant
 
Vlad's Avatar
AddOn Author - Click to view AddOns

Forum posts: 793
File comments: 337
Uploads: 31
Simple but works, good job!

Just wanna tips you that (oh boy you are so gonna hate me for this ):

Code:
local debufnames = {}
debufnames[1]="Polymorph"
debufnames[2]="Cheap Shot"
debufnames[3]="Fear"
debufnames[4]="Kidney Shot"
<...>
You can turn into:

Code:
local debufnames ={
  "Polymorph", 
  "Cheap Shot", 
  "Fear", 
  "Kidney Shot",
  <...>
}
Where polymorph is debufnames[1] and so forth. Saves time when you like to edit it and the table will be just the same. It comes in handy if you plan to mass add a lot of stuff into a table -you can skip to position them in each table position and let the engine do that for you.
Last edited by Vlad : 12-23-09 at 05:35 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: