WoW:Events/Removed

From AddOn Studio
Jump to navigation Jump to search

Event API


These events are no longer used in the newest game client and are kept as a reference for updating old addons and/or for historic value.

"CALENDAR_UPDATE_EVENT_LIST_PENDING"
Category: Calendar
 

Fired when the calendar has received information about pending event invitations.


"CHAT_MSG_COMBAT_CREATURE_VS_CREATURE_HITS"
Category: Obsolete Events
 
Replaced in 2.4.0 with COMBAT_LOG_EVENT

Fired when a creature hits another creature. Note that this can fire for players if the server is out of sync.

arg1
chat message


"CHAT_MSG_COMBAT_CREATURE_VS_CREATURE_MISSES"
Category: Obsolete Events
 
Replaced in 2.4.0 with COMBAT_LOG_EVENT

Fired when a creature misses another creature. Note that this can fire for players if the server is out of sync.

arg1
chat message


"CHAT_MSG_COMBAT_CREATURE_VS_PARTY_HITS"
Category: Obsolete Events
 
Replaced in 2.4.0 with COMBAT_LOG_EVENT

Fired when a creature hits a party member

arg1
chat message
"CHAT_MSG_COMBAT_CREATURE_VS_PARTY_MISSES"
Category: Obsolete Events
 
Replaced in 2.4.0 with COMBAT_LOG_EVENT

Fired when a creature misses a party member

arg1
chat message


"CHAT_MSG_COMBAT_CREATURE_VS_SELF_HITS"
Category: Obsolete Events
 
Replaced in 2.4.0 with COMBAT_LOG_EVENT

Fired when a creature hits you or your pet

arg1
chat message


"CHAT_MSG_COMBAT_CREATURE_VS_SELF_MISSES"
Category: Obsolete Events
 
Replaced in 2.4.0 with COMBAT_LOG_EVENT

Fired when a creature misses you or your pet

arg1
chat message
"CHAT_MSG_COMBAT_ERROR"
Category: Obsolete Events
 
Replaced in 2.4.0 with COMBAT_LOG_EVENT


"CHAT_MSG_COMBAT_FRIENDLYPLAYER_HITS"
Category: Obsolete Events
 
Replaced in 2.4.0 with COMBAT_LOG_EVENT


"CHAT_MSG_COMBAT_FRIENDLYPLAYER_MISSES"
Category: Obsolete Events
 
Replaced in 2.4.0 with COMBAT_LOG_EVENT
"CHAT_MSG_COMBAT_FRIENDLY_DEATH"
Category: Obsolete Events
 
Replaced in 2.4.0 with COMBAT_LOG_EVENT

Fired when a friendly player dies

arg1
chat message (format: "%s dies")
"CHAT_MSG_COMBAT_HOSTILEPLAYER_HITS"
Category: Obsolete Events
 
Replaced in 2.4.0 with COMBAT_LOG_EVENT


"CHAT_MSG_COMBAT_HOSTILEPLAYER_MISSES"
Category: Obsolete Events
 
Replaced in 2.4.0 with COMBAT_LOG_EVENT
"CHAT_MSG_COMBAT_HOSTILE_DEATH"
Category: Obsolete Events
 
Replaced in 2.4.0 with COMBAT_LOG_EVENT

If you provide the killing blow, you may or may not get a 'unit dies' event but you will get a 'slain unit' event, the 'slain unit' event is fired before the 'unit dies' message is, if you do not provide the killing blow you will get a 'unit dies'.

Fired when any hostile NPC or player dies near you.

arg1
Message (eg: "Snowshow Rabbit dies." )


Fired when you are the killing blow against any NPC or player

arg1
Message (eg: "You have slain Snowshow Rabbit!")
"CHAT_MSG_COMBAT_PARTY_HITS"
Category: Obsolete Events
 
Replaced in 2.4.0 with COMBAT_LOG_EVENT


"CHAT_MSG_COMBAT_PARTY_MISSES"
Category: Obsolete Events
 
Replaced in 2.4.0 with COMBAT_LOG_EVENT


"CHAT_MSG_COMBAT_PET_HITS"
Category: Obsolete Events
 
Replaced in 2.4.0 with COMBAT_LOG_EVENT
"CHAT_MSG_COMBAT_PET_MISSES"
Category: Obsolete Events
 
Replaced in 2.4.0 with COMBAT_LOG_EVENT


"CHAT_MSG_COMBAT_SELF_HITS"
Category: Obsolete Events
 
Replaced in 2.4.0 with COMBAT_LOG_EVENT

Fired when a you hit a creature. Also called when you hurt yourself by falling, drowning or burning on a campfire.

arg1
chat message


"CHAT_MSG_COMBAT_SELF_MISSES"
Category: Obsolete Events
 
Replaced in 2.4.0 with COMBAT_LOG_EVENT

Fired when a you miss a creature

arg1
chat message
"CHAT_MSG_SPELL_AURA_GONE_OTHER"
Category: Obsolete Events
 
Replaced in 2.4.0 with COMBAT_LOG_EVENT

Fired whenever a buff or debuff wears off of a mob, npc, or another player. Does not fire for party members. Examples: Thorns, Trueshot Aura, Recently Bandaged. arg1 is the full chat text, i.e. "Thorns fades from Someguy."


"CHAT_MSG_SPELL_AURA_GONE_SELF"
Category: Obsolete Events
 
Replaced in 2.4.0 with COMBAT_LOG_EVENT

Fired whenever a buff or debuff wears off - examples, Prowl, Mark of the Wild, Cat Form, or Disarm. arg1 is the full chat text, i.e. "Prowl fades from you."

"CHAT_MSG_SPELL_BREAK_AURA"
Category: Obsolete Events
 
Replaced in 2.4.0 with COMBAT_LOG_EVENT


"CHAT_MSG_SPELL_CREATURE_VS_CREATURE_BUFF"
Category: Obsolete Events
 
Replaced in 2.4.0 with COMBAT_LOG_EVENT

Fired when a mob begins casting a beneficial spell and again when the casting is completed. arg1 is the full combat chat text. Examples: Mob begins to cast Heal. Mob's Heal heals Mob for 20.


"CHAT_MSG_SPELL_CREATURE_VS_CREATURE_DAMAGE"
Category: Obsolete Events
 
Replaced in 2.4.0 with COMBAT_LOG_EVENT

Fired when a creature begins to cast a damage spell or when a creature casts a damage spell on a raid member who is not in your group. Also triggered when a pet is damaged by a creature's spell.

Ex: Ragnaros' Wrath of Ragnaros hits PlayerName for 1000.


"CHAT_MSG_SPELL_CREATURE_VS_PARTY_BUFF"
Category: Obsolete Events
 
Replaced in 2.4.0 with COMBAT_LOG_EVENT


"CHAT_MSG_SPELL_CREATURE_VS_PARTY_DAMAGE"
Category: Obsolete Events
 
Replaced in 2.4.0 with COMBAT_LOG_EVENT
"CHAT_MSG_SPELL_CREATURE_VS_SELF_BUFF"
Category: Obsolete Events
 
Replaced in 2.4.0 with COMBAT_LOG_EVENT


"CHAT_MSG_SPELL_CREATURE_VS_SELF_DAMAGE"
Category: Obsolete Events
 
Replaced in 2.4.0 with COMBAT_LOG_EVENT

Fired when a mob completes casting a harmful spell on you. (The message for the mob beginning to cast is given by CHAT_MSG_SPELL_CREATURE_VS_CREATURE_DAMAGE.)

arg1
full combat chat text and includes results of the cast or skill use (e.g. hit, resist, dodge).

Examples:

Mob's Poison hits you for 10.
Mob's Melee Special was dodged.
Mob's Nuke was resisted.


"CHAT_MSG_SPELL_DAMAGESHIELDS_ON_OTHERS"
Category: Obsolete Events
 
Replaced in 2.4.0 with COMBAT_LOG_EVENT


"CHAT_MSG_SPELL_DAMAGESHIELDS_ON_SELF"
Category: Obsolete Events
 
Replaced in 2.4.0 with COMBAT_LOG_EVENT

Fired when a buff (or possibly item) damages an opponent in response to an action... IE Thorns.


"CHAT_MSG_SPELL_FAILED_LOCALPLAYER"
Category: Obsolete Events
 
Replaced in 2.4.0 with COMBAT_LOG_EVENT

Fired when you fail to successfully cast a spell, for one of several reasons. arg1 is the full combat chat text and includes the reason. Examples: You fail to cast Heal: Interrupted. You fail to perform Bear Form: Not enough mana.

"CHAT_MSG_SPELL_FRIENDLYPLAYER_BUFF"
Category: Obsolete Events
 
Replaced in 2.4.0 with COMBAT_LOG_EVENT

Fired when a non-hostile player begins casting a spell or using a skill.

arg1
the full combat chat text.

Some examples:

Someguy casts Reinforced Armor +40 on Someguys's Pants.
Someguy begins to cast Elixir of Whatever.
Someguy begins to cast Conjure Food.
Someguy begins to cast Summon Felsteed.


"CHAT_MSG_SPELL_FRIENDLYPLAYER_DAMAGE"
Category: Obsolete Events
 
Replaced in 2.4.0 with COMBAT_LOG_EVENT


"CHAT_MSG_SPELL_HOSTILEPLAYER_BUFF"
Category: Obsolete Events
 
Replaced in 2.4.0 with COMBAT_LOG_EVENT

Fired on multiple silly occasions.

arg1; the full combat log text

Example:

Runaway 's Flash of Light heals you for 1350.


"CHAT_MSG_SPELL_HOSTILEPLAYER_DAMAGE"
Category: Obsolete Events
 
Replaced in 2.4.0 with COMBAT_LOG_EVENT


"CHAT_MSG_SPELL_ITEM_ENCHANTMENTS"
Category: Obsolete Events
 
Replaced in 2.4.0 with COMBAT_LOG_EVENT
"CHAT_MSG_SPELL_PARTY_BUFF"
Category: Obsolete Events
 
Replaced in 2.4.0 with COMBAT_LOG_EVENT


"CHAT_MSG_SPELL_PARTY_DAMAGE"
Category: Obsolete Events
 
Replaced in 2.4.0 with COMBAT_LOG_EVENT

Discovered a bug with this event as of v1.8. You can use CHAT_MSG_FRIENDLYPLAYER_DAMAGE to check for "Bob begins to cast Firebolt." However, if Bob joins your party, it does not show up in CHAT_MSG_SPELL_PARTY_DAMAGE as one would expect. It shows up in CHAT_MSG_SPELL_HOSTILEPLAYER_DAMAGE. This seems to only be the case for "begins to cast". Other damage messages properly show up under CHAT_MSG_SPELL_PARTY_DAMAGE.


"CHAT_MSG_SPELL_PERIODIC_CREATURE_BUFFS"
Category: Obsolete Events
 
Replaced in 2.4.0 with COMBAT_LOG_EVENT

Fired when a mob gains an "insta-cast" beneficial effect. arg1 is the full combat chat text. Examples: Mob gains Defensive Stance. Mob gains Rushing Charge. Mob gains Demon Skin.


"CHAT_MSG_SPELL_PERIODIC_CREATURE_DAMAGE"
Category: Obsolete Events
 
Replaced in 2.4.0 with COMBAT_LOG_EVENT

Example:

Highland Strider suffers 8 Fire damage from your Fireball.

Also records other people's DoT's, whether you are grouped or not, in combat or not.

"CHAT_MSG_SPELL_PERIODIC_FRIENDLYPLAYER_BUFFS"
Category: Obsolete Events
 
Replaced in 2.4.0 with COMBAT_LOG_EVENT

Fired when a non-hostile player gains a "buff" effect.

arg1
the full combat chat text.

Examples:

Someguy gains Arcane Intellect.
Someguy gains Aspect of the Pack.
Someguy gains Felsteed.


"CHAT_MSG_SPELL_PERIODIC_FRIENDLYPLAYER_DAMAGE"
Category: Obsolete Events
 
Replaced in 2.4.0 with COMBAT_LOG_EVENT


"CHAT_MSG_SPELL_PERIODIC_HOSTILEPLAYER_BUFFS"
Category: Obsolete Events
 
Replaced in 2.4.0 with COMBAT_LOG_EVENT

For some weird reason, this event is fired when someone heals yourself or another player, eg "Priest's Flash Heal critically heals you for 2342"

Haven't tested any other conditions as of yet.


"CHAT_MSG_SPELL_PERIODIC_HOSTILEPLAYER_DAMAGE"
Category: Obsolete Events
 
Replaced in 2.4.0 with COMBAT_LOG_EVENT

Indicates afflictions on players which are classified as hostile to the player. Covers ability types such as rend, polymorph, sap etc.

arg1 - full combat text


"CHAT_MSG_SPELL_PERIODIC_PARTY_BUFFS"
Category: Obsolete Events
 
Replaced in 2.4.0 with COMBAT_LOG_EVENT

Example:

Awauna gains Power Word: Shield.
"CHAT_MSG_SPELL_PERIODIC_PARTY_DAMAGE"
Category: Obsolete Events
 
Replaced in 2.4.0 with COMBAT_LOG_EVENT


"CHAT_MSG_SPELL_PERIODIC_SELF_BUFFS"
Category: Obsolete Events
 
Replaced in 2.4.0 with COMBAT_LOG_EVENT

Fired when a buff is cast on self. (Unknown if external buff triggers this).

arg1
full combat text

Example:

"You gain BuffName."

Also called for each "tick" of recurring effects, such as "heal-over-time" spells. Example: You gain 10 health from Rejuvenation.

"CHAT_MSG_SPELL_PERIODIC_SELF_DAMAGE"
Category: Obsolete Events
 
Replaced in 2.4.0 with COMBAT_LOG_EVENT

Fired (possibly among other times) when you are debuffed - so Disarm, Silenced, etc. I know the name doesn't match, but if you want to verify, enable printing this in your chat log. Get into combat and get debuffed. After combat, scroll back up, and while the debuff message is onscreen, change the chat color of this message, and you will see it change... Very strange. I assume this is named after poisons or diseases, but I haven't actually tested if those trigger this. See CHAT_MSG_SPELL_AURA_GONE_SELF if you want to know when it wears off (both buffs and debuffs). This is accurate as of US Release 1.2.4 (4222), tested by hacking Scrolling Combat Text.

arg1
full text of the debuff message, e.g. "You are Disarmed."

This is also fired during the Gnomish Death Ray's channel.

This is indeed triggered by poison / disease. arg1 messages in the form of: "You suffer 3 damage from Scorpid's Poison" or "You are afflicted by Something" come from this event. --Syllani

"CHAT_MSG_SPELL_PET_BUFF"
Category: Obsolete Events
 
Replaced in 2.4.0 with COMBAT_LOG_EVENT


"CHAT_MSG_SPELL_PET_DAMAGE"
Category: Obsolete Events
 
Replaced in 2.4.0 with COMBAT_LOG_EVENT


"CHAT_MSG_SPELL_SELF_BUFF"
Category: Obsolete Events
 
Replaced in 2.4.0 with COMBAT_LOG_EVENT

Fired when you cast a beneficial spell. arg1 is the full combat chat text. Examples: Your Heal heals you for 50. Your Regrowth critically heals Someguy for 100.

UnitHealth(...) is not updated when this event occours, it is possible to determine the exact overheal with something like this: Overheal = HealFromCombatChat - (UnitHealthMax(...) - UnitHealth(...));


"CHAT_MSG_SPELL_SELF_DAMAGE"
Category: Obsolete Events
 
Replaced in 2.4.0 with COMBAT_LOG_EVENT

Fired whenever you cast a harmful spell, be it direct damage or debuff of any kind, be it Warrior's taunt or DoT. arg1 holds the exact same string that is posted to the Combat Log. (eg. "Your Fireball hits Snivvle for 842.")

Also fired when your spell does not actually take effect; ie. if it is resisted, or if the target is immune. A "resist" message is "Your Banish was resisted by Felguard Elite." while an "immune" message is of the format "Your Fire Blast failed. Firelord is immune."

"CHAT_MSG_SPELL_TRADESKILLS"
Category: Skill
 


"CLEAR_TOOLTIP"
Category: Tooltip
 

Fired when the tooltip needs to be wiped


"COMSAT_START"
Category: Communication
 

Appears in Patch 2.2 PTR. Apparently signals that a player has started speaking using Voice Chat.

arg1
The UnitId (eg. "player", "party1", etc) of the player that started the voice chat.


"COMSAT_STOP"
Category: Communication
 

Appears in Patch 2.2 PTR. Supposidly indicates that a player has stopped speaking using Voice Chat.


"CONFIRM_PET_UNLEARN"
Category: Pet
 


"CRAFT_CLOSE"
Category: Tradeskill
 

Fired when a crafting skill window closes. Crafting skills are Enchanting, <craftSkill2>,...

arg1
The mouse button used to close the window.

(since at least 3.1, seems obsolete. use TRADE_SKILL_CLOSE instead)


"CRAFT_SHOW"
Category: Tradeskill
 

Fired when a crafting skill window opens. Crafting skills are Enchanting, <craftSkill2>,...

arg1
The mouse button used to open the window.

(since at least 3.1, seems obsolete. use TRADE_SKILL_SHOW instead)


"CRAFT_UPDATE"
Category: Tradeskill
 

Fired when a crafting event is updating.

(since at least 3.1, seems obsolete. use TRADE_SKILL_UPDATE instead)


"FRIENDLIST_SHOW"
Category: Communication
 
"GUILD_ROSTER_SHOW"
Category: Guild
 
"KNOWLEDGE_BASE_SYSTEM_MOTD_UPDATE"
Category: Knowledge Base
 
"LFG_MATCH_CANCEL"
Category: Communication
 


"LFG_MATCH_REQUEST"
Category: Communication
 


"LFG_PENDING_CANCEL"
Category: Communication
 


"LFG_PENDING_REQUEST"
Category: Communication
 
"MEETINGSTONE_CHANGED"
Category: Party,Instance
 


"MEMORY_EXHAUSTED"
Category: System
 

Fired when all memory allocated to the UI is exhausted.

arg1
Current memory limit (in MB).

Note: This event no longer fires. The client no longer uses a fixed memory limit.


"MEMORY_RECOVERED"
Category: System
 

Fired when WoW recovers from an out of memory error.

Note: This event no longer fires. The client no longer uses a fixed memory limit.


"MINIMAP_ZONE_CHANGED"
Category: Map
 

(this event doesn't seem to be used anymore since 2.4, use ZONE_CHANGED and ZONE_CHANGED_INDOORS)

Fired whenever the text above the Minimap changes, i.e. each time the player changes the area or the zone in the current area. The main difference to the ZONE_CHANGED event is that at the time the MINIMAP_ZONE_CHANGED event is fired, the GetRealZoneText(), GetSubZoneText() and GetMinimapZoneText() do already return the information for the new zone.


"PLAYER_COMBO_POINTS"
Category: Player,Combat
 

Removed as of 3.02. Use UNIT_COMBO_POINTS instead.

Fired when your combo points change.

arg1
always "player", not the number of combo points you have.

Use the GetComboPoints() API to get the exact number of combo points you have.

Note: This event fires for Warriors at seemingly random times.


"PLAYER_PET_CHANGED"
Category: Pet
 

(SEEMS TO BE OBSOLETE - use UNIT_PET, ... = 'player') Fired when a player's pet changes.


"PLAYER_PVPLEVEL_CHANGED"
Category: Honor
 


"SELECT_FIRST_CHARACTER"
Category: Misc
 

GlueXML?


"SELECT_LAST_CHARACTER"
Category: Misc
 

GlueXML?


"SHOW_COMPARE_TOOLTIP"
Category: Tooltip,Item
 


"SPELLCAST_CHANNEL_START"
Category: Obsolete Events
 

Fired when a spellcaster begins channelling. Removed in 2.0

arg1
Duration (in milliseconds)
arg2
Spell Name

On version 1.2.1, this event doesn't seem to work.


"SPELLCAST_CHANNEL_STOP"
Category: Obsolete Events
 

As of 1.10, replaces both the final SPELLCAST_CHANNEL_UPDATE (arg1==0) and SPELLCAST_STOP for channeled spells. Removed in 2.0


"SPELLCAST_CHANNEL_UPDATE"
Category: Obsolete Events
 

Fired when a channelling spell is updated. Removed in 2.0

arg1
remaining Duration (in milliseconds)


"SPELLCAST_DELAYED"
Category: Obsolete Events
 

Fired when a spellcast duration is increased. Removed in 2.0

arg1
Disruption time


"SPELLCAST_FAILED"
Category: Obsolete Events
 

Fired when a spell fails. Will correctly fire for spells failing due to lack of mana as of 1.11. Removed in 2.0


"SPELLCAST_INTERRUPTED"
Category: Obsolete Events
 

Fired when a spellcast is interrupted. Removed in 2.0


"SPELLCAST_START"
Category: Obsolete Events
 

Fired when a spellcast is begun. This event seems to work if the spell has a casting time. For instant, there is no SPELLCAST_START but SPELLCAST_STOP. Removed in 2.0

arg1
Spell Name
arg2
Duration (arg2 seems to be in milliseconds ex. 1.5 second cast time shows as 1500)


"SPELLCAST_STOP"
Category: Obsolete Events
 

Fired when a spell cast stops. Removed in 2.0

  • Called twice when the spell is channelled. Once at start, once at completion.
  • The only SURE way to determine if a non-instant, non-damaging spell is cast successfully (such as Warlock Banish) is to do the following:
  1. Observe the spell start with UseAction or by trapping CastSpellByName() or one of the other methods of trapping spellcasts.
  2. Wait for SPELLCAST_STOP to arrive.
  3. When it arrives, you know the spell has stopped, but you don't know the reason!! It could be that the spell was cast successfully, or it was resisted, or the target was immune, or you moved. Schedule a success check 1/10th of a second in the future by using GetTime() and the OnUpdate() event callback.
  4. If you get to a 1/10th of a second in the future without receiving SPELLCAST_INTERRUPTED or SPELLCAST_FAILURE, then the spell landed successfully. If one of those other events occurred, you can kill your scheduled success check because the spell failed.

You could also check for the Banish debuff on the target, but that's a can of worms because the player can switch targets mid cast (which does happen in nutty endgame instances).


"SUGGEST_REALM"
Category: GlueXML
 
"UNIT_AURASTATE"
Category: Unit Info,Buff
 

Seems like the same as UNIT_AURA above (including arguments) but only for short buffs. As a Paladin, it was triggered each time I gained a 30 second buff (Paladin Seals), lost/canceled it, or switched targets from another player to myself. Needs more testing with other classes etc.

"TOOLTIP_ADD_MONEY"
Category: Tooltip
 

Event was removed in v1.7. See OnTooltipAddMoney(money)

Fired when a tooltip has money added to it.

arg1
tooltip name
arg2
money amount


"TOOLTIP_ANCHOR_DEFAULT"
Category: Tooltip
 

Fired when the tooltip anchor should be reset


"UNIT_LOYALTY"
Category: Unit Info
 


"UNIT_PET_TRAINING_POINTS"
Category: Unit Info,Pet
 


"UNIT_PVP_UPDATE"
Category: Unit Info
 

-removed in 1.11, use UNIT_FACTION instead.

Fired when the UI is loaded, and when player PVP status is changed or updated.

arg1
the unit whose pvp status has changed (ie. "player")


"UNIT_SPELLMISS"
Category: Unit Info,Spell
 

Fired when a spell misses

arg1
Unit Name - can be 'target' 'mouseover' 'player' or 'party1..4' possibly also 'raid1..40'
arg2
Action - can be 'RESISTED' 'DODGED' 'PARRIED' or 'BLOCKED'


"UPDATE_SELECTED_CHARACTER"
Category: Misc
 

GlueXML?

"ZONE_UNDER_ATTACK"
Category: Communication,Map
 

This doesn't seem to be sent for WorldDefense - it comes in on CHAT_MSG_CHANNEL and totally skips the ZONE_UNDER_ATTACK code in the client. Is the same true for LocalDefense?