Download
(528Kb)
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:8,582
Favorites:22
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)


Post A Reply Comment Options
Unread 12-15-15, 10:48 AM  
Devilbus
A Kobold Labourer
 
Devilbus's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 0
File comments: 40
Uploads: 1
Re: Ultimatum

Originally Posted by Devilbus
Hello,

I am currently playing my Protection warrior and picked up your addon to see how it worked and I do like it very much but am having a small issue. Sword And Board works nicely but I have written a new string for the buff "Ultimatum" which gives Heroic strike a 100% chance to be free and crit! I can not seem to get it to work.

Proc.add(122510, "white", "Ultimatum talent", "ultimatum", "ULTIMATUM", 1)

can someone tell me where I went wrong? Thanks in advance

Dev
And still nothing..... uninstalling
Report comment to moderator  
Reply With Quote
Unread 11-27-15, 03:53 PM  
Devilbus
A Kobold Labourer
 
Devilbus's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 0
File comments: 40
Uploads: 1
Ultimatum

Hello,

I am currently playing my Protection warrior and picked up your addon to see how it worked and I do like it very much but am having a small issue. Sword And Board works nicely but I have written a new string for the buff "Ultimatum" which gives Heroic strike a 100% chance to be free and crit! I can not seem to get it to work.

Proc.add(122510, "white", "Ultimatum talent", "ultimatum", "ULTIMATUM", 1)

can someone tell me where I went wrong? Thanks in advance

Dev
Report comment to moderator  
Reply With Quote
Unread 06-30-12, 02:59 PM  
Jpapertowels
A Defias Bandit
 
Jpapertowels's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 68
Uploads: 7
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!
Report comment to moderator  
Reply With Quote
Unread 11-11-11, 04:17 AM  
strickland
A Cyclonian

Forum posts: 40
File comments: 195
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.
Report comment to moderator  
Reply With Quote
Unread 11-10-11, 08:10 PM  
Xully
A Cyclonian

Forum posts: 44
File comments: 180
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
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: 3
File comments: 68
Uploads: 7
Now begins the spellId search! ALL ABOARD! *enters the wowhead matrix*
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: 3
File comments: 68
Uploads: 7
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. >.>
Report comment to moderator  
Reply With Quote
Unread 09-29-10, 01:01 PM  
rza
A Defias Bandit

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

all works ok now!!!

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

Forum posts: 3
File comments: 55
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
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: 3
File comments: 68
Uploads: 7
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.
Report comment to moderator  
Reply With Quote
Unread 09-28-10, 11:44 AM  
rza
A Defias Bandit

Forum posts: 3
File comments: 55
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
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: 3
File comments: 68
Uploads: 7
WTB more comments and suggestions :P
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: 3
File comments: 68
Uploads: 7
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?
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: 787
Uploads: 5
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 | YouTube
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: 3
File comments: 68
Uploads: 7
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.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: