Thread Tools Display Modes
04-28-11, 03:43 AM   #1
the_agent_1
A Murloc Raider
Join Date: May 2009
Posts: 4
Question Why did "Hero" stopped working?

Hi guys! I'm sure not many of you know this addon:
http://wow.curse.com/downloads/wow-a...ails/hero.aspx

Me and my guildies are using it since... forever. Especially healers and tanks are quite taken and were really devastated when there was no msg and no "pling" sound anymore when cd's had been popped :-(

It's an quite old addon, but unitil 4.1 it worked totally fine and now it just stopped, not even a lua error pops up...
Unfortunately I'm not really into the lua stuff and I was wondering if anybody could take a look at the source code and find the probably super obvious flaw which prevents it from doing anything...

I'd really appreciate any kind of help... (maybe there's a 4.1 self fixing addons-thread or something like that? ^.^ usually there's just formating stuff they change)

Thanks in advance!
  Reply With Quote
04-28-11, 03:52 AM   #2
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2005
Posts: 1,360
4 Changes to Hero.lua needed.

Line numbers refer to the source from v2.01 on Curse.

Line 578
Code:
local eventType, hideCaster, sourceGUID, sourceName, sourceFlags, destGUID, destName, destFlags = select(2, ...)
Line 582
Code:
local _,spellName = select(10, ...)
Line 610
Code:
local _, spellName = select(10, ...)
Line 657
Code:
local _, spellName = select(10, ...)
Drycoded and untested but should work (I'm not using the addon myself)
  Reply With Quote
04-28-11, 09:32 AM   #3
the_agent_1
A Murloc Raider
Join Date: May 2009
Posts: 4
Thank you, sooo much! Consider yourself hero of the hour!!!
Works perfectly!
  Reply With Quote
04-28-11, 09:42 AM   #4
the_agent_1
A Murloc Raider
Join Date: May 2009
Posts: 4
One thing though, in case you can help me with that too...
For some reason instant spells that don't apply any kind of buff/debuff don't work... for example "Lay on Hands", any kind of taunts and stuff...
Any idea? ;-)
  Reply With Quote
04-28-11, 10:32 AM   #5
Cowmonster
A Cyclonian
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 40
There are multiple types of sub-events in the unfiltered combatlog event. It is a separate sub-event for damage, heal, spell cast success, spell cast fail, interrupt, etc. I haven't looked at the source code, but if it doesn't play a sound or flash the screen or pop up some sort of other visual/audible alert then it probably just needs a few lines of code to tell it to do so in the case of another sub-event it was not previously coded to act upon.
__________________


Author of:
Equipped Average Item Level :: ExtraBar :: Killing Blow Emote :: RecordTip
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » Why did "Hero" stopped working?


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