scripts not working :/ menu

User Tag List

Results 1 to 2 of 2
  1. #1
    Jackhamme's Avatar Sergeant
    Reputation
    1
    Join Date
    Jun 2010
    Posts
    37
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    scripts not working :/

    Hey guys, I need alil help again :/ (sorry hehe) my scripts from my old server (witch was 3.3.3a) doesn't work on my new server (3.3.5), i have created the mobs for them but it doesn't work. Any ideas on how to help?

    lua scripts -local NPC_ID = 1100092

    function boss_OnCombat(pUnit, Event)
    pUnit:SendChatMessage(14, 0, " Ahh guests. Lets hope you can survive.")
    pUnit:RegisterEvent(boss_rend, 20000, 1) -- start phase one
    pUnit:RegisterEvent(boss_bs, 1000, 1)
    pUnit:RegisterEvent(boss_charge, 30000, 20)
    pUnit:RegisterEvent(boss_thunderclap, 32000, 5)
    pUnit:RegisterEvent(boss_whirlwind, 35000, 20) -- end of phase one
    pUnit:RegisterEvent(boss_ds, 60000, 1) -- start phase two
    pUnit:RegisterEvent(boss_sunder, 62000, 0)
    pUnit:RegisterEvent(boss_shout, 61000, 0)
    pUnit:RegisterEvent(boss_shieldwall, 63000, 0)
    pUnit:RegisterEvent(boss_rend2, 64000, 1) -- end of phase two
    pUnit:RegisterEvent(boss_berserkst, 67000, 0)
    pUnit:RegisterEvent(boss_whirlwind2, 69000, 20)
    pUnit:RegisterEvent(boss_cleave, 73000, 0)
    pUnit:RegisterEvent(boss_bloodshirt, 75000, 0)
    pUnit:RegisterEvent(boss_Recklessness, 77000, 0)

    end

    function boss_rend(pUnit, Event)
    pUnit:CastSpell()
    end

    function boss_bs(pUnit, Event)
    pUnit:CastSpell(2457)
    end

    function boss_charge(pUnit, Event)
    pUnit:FullCastSpellOnTarget(38907, pUnit:GetRandomPlayer(0))
    end

    function boss_whirlwind(pUnit, Event)
    pUnit:FullCastSpellOnTarget(63784, pUnit:GetRandomPlayer(0))
    end

    function boss_thunderclap(pUnit, Event)
    pUnit:CastSpell(71147)
    end

    function boss_ds(pUnit, Event)
    pUnit:CastSpell(53790)
    end


    function boss_sunder(pUnit, Event)
    pUnit:CastSpell(60842, pUnit:GetMainTank(0))
    end

    function boss_shout(pUnit, Event)
    pUnit:CastSpell(61044)
    end

    function boss_shieldwall(pUnit, Event)
    pUnit:CastSpell(29390, pUnit:GetRandomPlayer(0))
    end

    function boss_rend2(pUnit, Event)
    pUnit:CastSpell()
    end

    function boss_berserkst(pUnit, Event)
    pUnit:CastSpell(53971)
    end

    function boss_whirlwind2(pUnit, Event)
    pUnit:FullCastSpellOnTarget(63784, pUnit:GetRandomPlayer(0))
    end

    function boss_cleave(pUnit, Event)
    pUnit:CastSpell(31345, pUnit:GetRandomPlayer(0))
    end

    function boss_bloodthirst(pUnit, Event)
    pUnit:CastSpell(5596
    end

    function boss_Recklessness(pUnit, Event)
    pUnit:CastSpell(13847)
    end



    function boss_OnLeaveCombat(pUnit, Event)
    pUnit:RemoveEvents()
    pUnit:SendChatMessage(14, 0, "I though you would be a challenge")
    end

    function boss_OnKilledTarget(pUnit, Event)
    pUnit:RemoveEvents()
    pUnit:SendChatMessage(14, 0, "Haha! another one down, your turn now...")
    end

    function boss_OnDied(pUnit, Event)
    pUnit:RemoveEvents()
    pUnit:SendChatMessage(14, 0, "No! What did I do wrong... master..")
    end

    RegisterUnitEvent(1100092, 1, "boss_OnCombat")
    RegisterUnitEvent(1100092, 2, "boss_OnLeaveCombat")
    RegisterUnitEvent(1100092, 3, "boss_OnKilledTarget")
    RegisterUnitEvent(1100092, 4, "boss_OnDied")


    And I have a teleporter one too that isn't working for me, thanks so much

    scripts not working :/
  2. #2
    Jackhamme's Avatar Sergeant
    Reputation
    1
    Join Date
    Jun 2010
    Posts
    37
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    dw solved it

Similar Threads

  1. LUA script not working
    By pedobear123 in forum World of Warcraft General
    Replies: 12
    Last Post: 09-01-2008, 09:38 AM
  2. Script not working
    By LJN in forum World of Warcraft Emulator Servers
    Replies: 0
    Last Post: 07-16-2008, 02:47 PM
  3. [HELP] Lua boss script not working-solutions?
    By WinKIller0 in forum World of Warcraft Emulator Servers
    Replies: 15
    Last Post: 03-21-2008, 08:19 AM
  4. [Help] Lua Script Not Working
    By Muruk in forum World of Warcraft Emulator Servers
    Replies: 26
    Last Post: 03-16-2008, 02:13 PM
  5. Simple Lua Script , not working need help!
    By Arugos in forum World of Warcraft Emulator Servers
    Replies: 16
    Last Post: 12-30-2007, 02:06 PM
All times are GMT -5. The time now is 05:28 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search