• World of Warcraft Addons
  • World of Warcraft
  • Average Rating:

  • Your Rating

  • Share
  • Report Abuse

Eredar Twins Alert

This Project contains only alpha versions available for download. Alpha versions are not intended for use by the general public, as it is not considered ready by the authors.

If you are intent in downloading this addon, please visit the development site where all versions are available.

Project Updated:
Files Updated: --
Supports Game Version: --
Category: Boss Encounters
Tags:

[Edit Tags]

Project Manager: orshee
Additional Authors: No additional authors
Current Version:
License: Public Domain
Development Site: CurseForge
Avg Daily DL (last 30 days): 0
Downloads Total: 2,298
Favorites: 3
Comments: 5
  • Contests
  • About Eredar Twins Alert
  •  

  • Downloads (0)
  •  
File Name Release Type Game Version Downloads Date
Addon Curse.com Beta 2.3.3 0 9/29/2008
  • Comments

Add Comment  

Add

You need to login or register to post.

Benefits of Registration

  • Interact with hundreds of thousands of other gamers on an open social network.
  • Post your stories, news, images, videos, and other content to share.
  • Create a network with your fellow gamers or join an existing one.
  • Gain reputation for everything you do.
  • orshee said

    To : Grumblerot
    the even is being tested twice for the easier testing purposes, in one case for GH and in other for Conflag.
    As stated in project info, the current test method will be removed in v2.0
    where i'll add more convenient one.

    Reply Report Permalink
  • khayne2 said

    Still doesnt work after cut/pasting your code.

    Reply Report Permalink
  • Grumblerot said

    --Replace the conents of your RM-TwinsAlert.lua file with the following, and it should work:

    --------

    ----------------------------
    -- Constants --
    ----------------------------

    local CONFLAGRATION_SOUND_FILE = "Sound\\Creature\\HoodWolf\\HoodWolfTransformPlayer01.wav"

    ------------------------------
    -- Initialization --
    ------------------------------

    RM_TwinsAlert = AceLibrary("AceAddon-2.0"):new("AceEvent-2.0")

    function RM_TwinsAlert:OnInitialize()

    end


    function RM_TwinsAlert:OnEnable()
    self:RegisterEvent("COMBAT_LOG_EVENT_UNFILTERED");
    self:PrintMessage("Add-On activated");
    self:PrintMessage("Developed by Moya - Rigor Mortis - (EU) Dunemaul (H)");
    end

    function RM_TwinsAlert:OnDisable()

    end

    ------------------------------
    -- Functions --
    ------------------------------

    function RM_TwinsAlert:PrintMessage(msg)
    DEFAULT_CHAT_FRAME:AddMessage("|cff7fff7fTwins Alert|r: " .. msg);
    end

    function RM_TwinsAlert:COMBAT_LOG_EVENT_UNFILTERED(iTimestamp, strEventType, strSourceGuid, strSourceName, iSourceFlags, strDestGuid, strDestName, iDestFlags, varParam1, varParam2, varParam3, varParam4, varParam5, varParam6, ...)

    local fHandled = false;
    local strFocusTargetTargetName = UnitName("focustarget");
    local strSelfName = UnitName("player");
    local strMove = "MOVE !!!! MOVE !!!! MOVE !!!!";

    -- Twins sounds
    if (not fHandled
    and 0 ~= bit.band(iSourceFlags, COMBATLOG_OBJECT_FOCUS)
    and "SPELL_CAST_START" == strEventType
    -- and "Flash of Light" == varParam2
    and "Conflagration" == varParam2
    ) then
    self:PrintMessage(strSourceName .. " starts casting |cffff4444" .. varParam2 .. "|r!" .. " on " .. strFocusTargetTargetName .. "!");
    if (strSelfName == strFocusTargetTargetName) then
    CombatText_AddMessage(strMove, CombatText_StandardScroll, 1, 0, 0, nil, false)
    CombatText_AddMessage(strMove, CombatText_StandardScroll, 1, 0, 0, nil, false)
    CombatText_AddMessage(strMove, CombatText_StandardScroll, 1, 0, 0, nil, false)
    CombatText_AddMessage(strMove, CombatText_StandardScroll, 1, 0, 0, nil, false)
    CombatText_AddMessage(strMove, CombatText_StandardScroll, 1, 0, 0, nil, false)
    self:PrintMessage("|cffff4444" .. strMove .. "|r");
    self:PrintMessage(strMove);
    self:PrintMessage("|cffff4444" .. strMove .. "|r");
    self:PrintMessage(strMove);
    PlaySoundFile(CONFLAGRATION_SOUND_FILE);
    fHandled = true;
    end
    end



    end

    Reply Report Permalink
  • Grumblerot said

    It doesn't work. In v1.3 you have the line for detecting Conflagration commented out, and the test line active to test for Greater Heal. You need to reverse those. Also, the "twins sounds" detection routine is in there twice. You only need it once.

    Reply Report Permalink
  • khayne2 said

    Well this addon doesnt work for me. Not sure why. Maybe its because the addon doesnt have an addon name when you unzip it? Inside the zip there is just a libs and some other stuff so it gets automatically installed to what seems to be the wrong location.

    Reply Report Permalink
  • 1 page(s)
  • Similar Addons
  •  

Average downloads per day

  1. 19,683 Deadly Boss Mods Boss Encounters, and Combat
  2. 4,816 Decursive Buffs & Debuffs, Boss Encounters...
  3. 2,196 Omen Threat Meter Boss Encounters, and Combat
  4. 1,765 Deadly Boss Mods - Burning Crusade mods Boss Encounters, and Combat
  5. 1,524 BigWigs Bossmods Boss Encounters, and Combat