Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(528 Kb)
Download
Updated: 06-30-12 03:19 PM
Pictures
File Info
Updated:06-30-12 03:19 PM
Created:07-03-10 09:34 PM
Downloads:5,805
Favorites:23
MD5:
Proc And Flash  Popular! (More than 5000 hits)
Version: 4.0.2
by: Jpapertowels [More]
NOTE: This is (still) a beta version, not all (useful to know) procs may be implemented. If you find a proc that you really want implemented, please comment about it on this page, I check there very often. (just kidding, I actually don't, you're probably better off finding me in-game)

Proc And Flash flashes the screen with a color, displays large outlined white text, and plays a voice sound related to the proc you obtain.

The voice sounds, eh? They're all me. Yes, me. Feel free to record your own voice or edit mine to make it sound less kiddish or include some effects relevant to the spell proc. Oh, and it'd be cool if you could upload a zipped folder of your customized proc sounds.

Don't like my voice? No problem, use the /paf sfx toggle to turn a sound effect on instead, then use /paf voice off to turn my voice off.

Don't like the color of a certain proc? Want to add your own proc? I tried my best to match decent colors to procs, however, if it's really bugging you then you may:
  1. Open up Proc And Flash.lua (in the addon's root folder)
  2. A bit down in the file you will find an array called PAF_Colors
  3. You can add your own colors using the format colorName = {R(0-255), G(0-255), B(0-255)}
  4. Scroll down a bit after you've had fun in that section and find if playerClass == "DEATHKNIGHT" then
  5. Find the appropriate section of this large lump of class check if statements to insert your proc
  6. If the proc is in the form of a buff, insert it into your class's section in the format Proc.add(spellId, "colorNameFromStep3", "displayNameOfProc", "commandAsWellAsNameOfMP3", "TEXT POPUP ON PROC", countToTriggerAt)
  7. If the proc is not in the form of a buff, you're probably screwed because I removed the reacts section
  8. Save file then open WoW or /console reloadui
Note: spellId can be found on wowhead.com, countToTriggerAt is the amount of stacks of the buff that the flash will trigger at (-1 means any)

Proc And Flash - Commands:
/paf flash on/off - enable/disable the flash alerts
/paf voice on/off - enable/disable the voice alerts
/paf sfx on/off - enable/disable the sound effect alerts
/paf text on/off - enable/disable the text alerts
/paf dmg on/off - enable/disable using proc font as damage font (requires logout)
/paf test [proc] - test what happens when a specific proc occurs
/paf procs - list procs available for your class
/paf [proc] on/off
v4.0.2
- Probably removed a bunch of procs, oops, sorry guys
- New, more efficient and easier to understand code
- Now compatible with patch 4.3.4
- Includes the legendary dagger proc for rogues

v3.2
- Added warrior Victory Rush ability
- Renamed all those args so that it's easier to understand and update my code
- Support for patch 4.2!

v3.1
- Re-voiced all of the procs out of boredom and the fact I'm like a year old, sadly I still sound like a kid - oh well!
- Added Master Marksman talent for hunters
- Fixed the issue of not working due to arg placement (I really need to give them names sometime...)

v3.0beta
- Re-added the 0 stack check in a better way (count == 0 and 1 or count, are you guys getting this?)
- Added the rest of the classes in, aside from rogue which I can't find any useful-to-know procs within

v3.0alpha2
- Added a couple of classes support... Hunters, mages, paladins...

v3.0alpha
- Back to alpha...or is this the first alpha I've had? Oh well...
- Added support for procs that aren't buffs! What a miracle!
- Cataclysm support, yeah, I finally got off my butt and did something
- Re-coded a lot of the addon to be more efficient
- Removed enchant and trinket procs section, it was never useful anyway
- Only Death Knight and Shaman procs are available now
- Added death knight Dark Transformation talent
- Added death knight Sudden Doom talent
- Added shaman Lava Surge talent
- Added shaman Fulmination talent

v2.4.1
- Fixed class localization issue thanks to rza on wowinterface
- Attempted to fix shaman talent Maelstrom Weapon (for the 3rd time...it's more of a revert)

v2.4
- Bit of a performance upgrade (removed for loops so it doesn't loop through all classes for proc checks)
- Slightly less memory usage
- Added one big long line

v2.3.6
- Added warrior T10 DPS 4P bonus (Bloodsurge X2, Sudden Death X2)
- Added paladin Infusion of Light talent
- Added mage Impact talent
- Fixed mage Fingers of Frost talent
Note: v2.3.5 was a version with a minor fix that I kinda just skipped uploading because I'm lazy like that.

v2.3.4
- Normalized the volume of all sounds using MP3Gain (which hopefully ended the rattling loudness)
- Attempt to fix proc text from going to 100% opaque a couple ms before it disappears

v2.3.3
- Added mage Firestarter and Blazing Speed talents

v2.3.2
- Fixed shaman Maelstrom Weapon talent again

v2.3.1
- Added warlock Decimation talent

v2.3
- Fixed warlock Molten Core talent to proc at 3 instead of 1
- Added option to use the proc font as the font for your damage numbers

v2.2
- Added sfx option (off by default) for people who don't like my voice (plays shadowdance sound, it seemed decent enough, might change it if someone gives a better one)
- Re-voiced a few procs that I did a bad job on
- Re-worked a few commands to shorten code
- Probably did something else but I can't remember

v2.1
- Found out that Blizzard decided to make the count value of UnitBuff() be either 1 or 0 so had to adjust for that...weird!
- Re-voiced Fingers of Frost (from Ding Gers of Frost, excuse my accent)
- Added Eradication (Affliction talent)
- Added Fatal Flaws (Needle-Encrusted Scorpion)
- As you noticed, there's now a trinket section, I'll add more trinkets to it when I get the time - I promise!

v2.0.1
- Re-added stack count check, oops.

v2.0
- Studied a bit more into Blizzard's XML and lua API, so now the addon's totally rewritten so you or I can easily add a proc with just 1 line of code!
- Reduced the addon code from somewhere around 60 KB to around 18 KB
- Now uses only 44 KB of RAM (or wait, is that more?)
- Categories adjusted
- Commands are automatically generated per proc
- I'm going to call it stable but I could be lying

v1.3.1
- Shortened some code
- Attempted to make /paf output less spammy and more categoryish

v1.3
- Added Lightweave & Shadowguard embroideries
- Had Beardaddy test my addon for a while and he thinks it works well so first release!

v1.2beta3
- Added version in /paf command
- Re-voiced missile barrage without the click noise
- Shortened the code a few lines (thanks richerich @ wowinterface)
- Plan on v1.3 being next as a release, hope you testers out there find me some bugs to squash before I do :)

v1.2beta2:
- I can't spell weapon right, MaelstromWrapon lol! So that's fixed.

v1.2beta:
- Attempt to keep the text staying on the screen for the same duration on every computer
- Added weapon enchant procs
- Still trying to keep my voice sexy

v1.1beta2:
- Fixed procs given from pets (such as Empowered Imp)
- Started updating the version in the .toc file

v1.1beta:
- Added text popup using a Pepsi logo styled font (it looks cool imo)
- Renamed tons of variables so that they don't interfere with other addons

v1.0beta:
- It definitely exists, now.
Optional Files (0)


Archived Files (25)
File Name
Version
Size
Author
Date
3.2
946kB
Jpapertowels
06-28-11 03:43 PM
3.1
906kB
Jpapertowels
05-16-11 01:53 AM
3.0beta
725kB
Jpapertowels
10-21-10 01:50 AM
3.0alpha2
502kB
Jpapertowels
10-17-10 03:19 PM
3.0alpha
229kB
Jpapertowels
10-16-10 08:30 PM
2.4.1
1MB
Jpapertowels
09-28-10 05:47 PM
2.4
1MB
Jpapertowels
09-27-10 10:00 PM
2.3.6
1MB
Jpapertowels
09-26-10 02:42 PM
2.3.4
1MB
Jpapertowels
08-10-10 10:19 AM
2.3.3
1MB
Jpapertowels
08-05-10 03:08 AM
2.3.2
1MB
Jpapertowels
07-23-10 02:23 AM
2.3.1
1MB
Jpapertowels
07-21-10 09:26 PM
2.3
1MB
Jpapertowels
07-18-10 09:13 PM
2.2
1MB
Jpapertowels
07-11-10 03:55 PM
2.1
1MB
Jpapertowels
07-09-10 05:37 PM
2.0.1
1024kB
Jpapertowels
07-08-10 04:13 PM
2.0
1024kB
Jpapertowels
07-07-10 09:10 PM
1.3.1
1MB
Jpapertowels
07-06-10 05:20 PM
1.3
1MB
Jpapertowels
07-06-10 02:36 AM
1.2beta3
988kB
Jpapertowels
07-06-10 01:25 AM
1.2beta2
986kB
Jpapertowels
07-05-10 04:42 PM
1.2beta
986kB
Jpapertowels
07-05-10 01:46 PM
1.1beta2
862kB
Jpapertowels
07-04-10 09:34 PM
1.1beta
862kB
Jpapertowels
07-04-10 08:07 PM
1.0beta
855kB
Jpapertowels
07-03-10 09:34 PM


Post A Reply Comment Options
Unread 06-30-12, 02:59 PM  
Jpapertowels
A Defias Bandit
 
Jpapertowels's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 61
Uploads: 6
Originally Posted by strickland
may i ask how can I use the same sound file for multiple procs, I tried that and in the command line its all messed up, because soundfile is same as command line, i just think its messing everything up for me when I try to toggle something on/off

one of them is talent, the other is ability, I also tried "Barkskin Ability" didn't work, thanks
Well this may be a REALLY late response, but it shouldn't be too much of an issue to copy and paste the soundfile under a different name in the same folder - that should fix your problem!
Jpapertowels is offline Report comment to moderator  
Reply With Quote
Unread 11-11-11, 04:17 AM  
strickland
A Deviate Faerie Dragon

Forum posts: 13
File comments: 168
Uploads: 0
may i ask how can I use the same sound file for multiple procs, I tried that and in the command line its all messed up, because soundfile is same as command line, i just think its messing everything up for me when I try to toggle something on/off

one of them is talent, the other is ability, I also tried "Barkskin Ability" didn't work, thanks
Last edited by strickland : 11-11-11 at 04:18 AM.
strickland is offline Report comment to moderator  
Reply With Quote
Unread 11-10-11, 08:10 PM  
Xully
A Fallenroot Satyr

Forum posts: 20
File comments: 134
Uploads: 0
I'm trying so hard to add abilities for druid, the config don't have any, tell me whats wrong with my codes, as they both aren't working, I was trying to make examples then i'll add bunch others.

Code:
        { -- Druid
	    PAF_CreateProcBuff(22812, "orange", "Barkskin", "barkskin", "Barkskinned!", 2, false),
	    PAF_CreateProcBuff(93399, "darkPurple", "Shooting Stars", "shootingstars", "SHOOTING STARS", 1, false)
        },
I also tried adding "Shooting Stars talent" just like the other commands, it didn't work either.

one of them is talent, the other is ability, I also tried "Barkskin Ability" didn't work, thanks
Xully is offline Report comment to moderator  
Reply With Quote
Unread 10-12-10, 01:01 PM  
Jpapertowels
A Defias Bandit
 
Jpapertowels's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 61
Uploads: 6
Now begins the spellId search! ALL ABOARD! *enters the wowhead matrix*
Jpapertowels is offline Report comment to moderator  
Reply With Quote
Unread 09-30-10, 01:49 AM  
Jpapertowels
A Defias Bandit
 
Jpapertowels's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 61
Uploads: 6
Originally posted by rza
Thanks a lot for the update

all works ok now!!!

mfg
rza
No problem, I try to fix problems as soon as I see them, and update as soon as possible. Now if only I could find a female with a really hot voice to voice all the procs so I can get more downloads. >.>
Jpapertowels is offline Report comment to moderator  
Reply With Quote
Unread 09-29-10, 01:01 PM  
rza
A Defias Bandit

Forum posts: 3
File comments: 57
Uploads: 0
Thanks a lot for the update

all works ok now!!!

mfg
rza
rza is offline Report comment to moderator  
Reply With Quote
Unread 09-28-10, 01:54 PM  
rza
A Defias Bandit

Forum posts: 3
File comments: 57
Uploads: 0
Thanks for the fast reply

it works when i edit the line to german classnames

i found out that the client returns both

localizedClass and english class

take a look i hope it helps you without learning german :-)

http://www.wowwiki.com/API_UnitClass

thanks
rza
rza is offline Report comment to moderator  
Reply With Quote
Unread 09-28-10, 01:09 PM  
Jpapertowels
A Defias Bandit
 
Jpapertowels's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 61
Uploads: 6
Re: Error with 2.4

Originally posted by rza
Hi

I get this error multiple times


244x Proc And Flash-2.4\Proc And Flash.lua:324: attempt to get length of field '?' (a nil value)
<string>:"*:OnEvent":1: in function <[string "*:OnEvent"]:1>

Locals:
self = Main {
0 = <userdata>
}
event = "COMBAT_LOG_EVENT_UNFILTERED"

---


Live Server and German Game Client

thanks

rza
That means you're playing a class that's not in the game currently.

Well, it probably means that UnitClass("player") returns the class names in German. In that case I'd have to translate part of the addon to German, and I don't know a single word! o.O

Until I figure out a better way to return your class, the only solution I can think of is to translate the classes in the PAF_Class = line near the top of Proc And Flash.lua

Then again, I may be completely wrong.
Jpapertowels is offline Report comment to moderator  
Reply With Quote
Unread 09-28-10, 11:44 AM  
rza
A Defias Bandit

Forum posts: 3
File comments: 57
Uploads: 0
Error with 2.4

Hi

I get this error multiple times


244x Proc And Flash-2.4\Proc And Flash.lua:324: attempt to get length of field '?' (a nil value)
<string>:"*:OnEvent":1: in function <[string "*:OnEvent"]:1>

Locals:
self = Main {
0 = <userdata>
}
event = "COMBAT_LOG_EVENT_UNFILTERED"

---


Live Server and German Game Client

thanks

rza
rza is offline Report comment to moderator  
Reply With Quote
Unread 09-27-10, 10:07 PM  
Jpapertowels
A Defias Bandit
 
Jpapertowels's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 61
Uploads: 6
WTB more comments and suggestions :P
Jpapertowels is offline Report comment to moderator  
Reply With Quote
Unread 07-23-10, 09:44 AM  
Jpapertowels
A Defias Bandit
 
Jpapertowels's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 61
Uploads: 6
Originally posted by richerich
Yeah, changing it to 6 fixed it Now it properly announce on 5 stacks.
Thanks, updated for that...I don't get why count returns different numbers for different buffs, can anybody explain this?
Jpapertowels is offline Report comment to moderator  
Reply With Quote
Unread 07-22-10, 07:18 PM  
Dajova
A Wyrmkin Dreamwalker
 
Dajova's Avatar
AddOn Author - Click to view AddOns

Forum posts: 58
File comments: 791
Uploads: 13
Originally posted by Jpapertowels
Can you go into the Proc And Flash.lua file and find the , 5, on the line that contains "Maelstrom Weapon" and change it to , 6, then try it? I don't have a shaman so I can't test these things, but I know the count returned by Blizzard's UnitBuff API fuction is really uhh broken.
Yeah, changing it to 6 fixed it Now it properly announce on 5 stacks.
__________________


Livestream | Twitter | Facebook | YouTube


Dajova is offline Report comment to moderator  
Reply With Quote
Unread 07-22-10, 01:55 PM  
Jpapertowels
A Defias Bandit
 
Jpapertowels's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 61
Uploads: 6
Originally posted by richerich
havent been playin for a week now, but can report that maelstrom weapon still bugs now it announces on 4 stacks, not 5
Can you go into the Proc And Flash.lua file and find the , 5, on the line that contains "Maelstrom Weapon" and change it to , 6, then try it? I don't have a shaman so I can't test these things, but I know the count returned by Blizzard's UnitBuff API fuction is really uhh broken.

Also, to other guy: When divine storm resets you will see it off cooldown on your action bars, which you should probably be looking at. :/ I haven't really discovered the way to detect this because it's not a buff and I'm lazy.
Last edited by Jpapertowels : 07-22-10 at 01:58 PM.
Jpapertowels is offline Report comment to moderator  
Reply With Quote
Unread 07-22-10, 04:01 AM  
scaife
A Kobold Labourer

Forum posts: 0
File comments: 29
Uploads: 0
Hi,

love this addon ^^

Can you please add the 2 pieces bonus of T10 Retribution Paladin set that randomly resets the cooldown of Divine Storm ?

I was think it might be possible to use a text to speech synthetizer to add more voice 'flavours' sets
scaife is offline Report comment to moderator  
Reply With Quote
Unread 07-22-10, 02:04 AM  
Dajova
A Wyrmkin Dreamwalker
 
Dajova's Avatar
AddOn Author - Click to view AddOns

Forum posts: 58
File comments: 791
Uploads: 13
Originally posted by Jpapertowels
lol silly me I was so focused on cleaning it I forgot to re-add count to the loops
havent been playin for a week now, but can report that maelstrom weapon still bugs now it announces on 4 stacks, not 5
__________________


Livestream | Twitter | Facebook | YouTube


Dajova is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: