[helpzerz] What is wrong with this lua script? menu

User Tag List

Results 1 to 9 of 9
  1. #1
    w21froster's Avatar Active Member
    Reputation
    17
    Join Date
    Dec 2007
    Posts
    110
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [helpzerz] What is wrong with this lua script?

    Heres da stuff.
    Doesnt work for some reason
    Code:
    function phase_1(pUnit, Event)
     if pUnit:GetHealthPct() < 90 then
      pUnit:RemoveEvents();
      pUnit:FullCastSpell(34424)
      pUnit:SendChatMessage(12, 0, "Beep! Kill $n! Beep!")
      pUnit:RegisterEvent("phase_2",1000, 0)
     end
    end
     
    function phase_2(pUnit, Event)
     if pUnit:GetHealthPct() < 75 then
      pUnit:RemoveEvents();
      pUnit:FullCastSpell(25264)
      pUnit:SendChatMessage(12, 0, "Beep! Now Im angry! Beep!")
      pUnit:RegisterEvent("phase_3",1000, 0)
     end
    end
     
    function phase_3(pUnit, Event)
     if pUnit:GetHealthPct() < 50 then
      pUnit:RemoveEvents();
      pUnit:FullCastSpell(34807)
      pUnit:SendChatMessage(12, 0, "Beep! I will kill you! Beep!")
      pUnit:RegisterEvent("phase_4",1000, 0)
     end
    end
     
    function phase_4(pUnit, Event)
     if pUnit:GetHealthPct() < 30 then
      pUnit:RemoveEvents();
      pUnit:FullCastSpell(31964)
     pUnit:SendChatMessage(12, 0, "Beep! I am not going to die yet... Beep!")
     pUnit:RegisterEvent("phase_5",1000, 0)
     end
    end
    
    function phase_5(pUnit, Event)
     if pUnit:GetHealthPct() < 25 then
      pUnit:RemoveEvents();
      pUnit:FullCastSpell(37372)
      pUnit:RegisterEvent("phase_6",1000, 0)
     end
    end
    
    function phase_6(pUnit, Event)
     if pUnit:GetHealthPct() < 20 then
      pUnit:RemoveEvents();
      pUnit:FullCastSpell(34807)
      pUnit:RegisterEvent("phase_7",1000, 0)
     end
    end
    
    function phase_7(pUnit, Event)
     if pUnit:GetHealthPct() < 20 then
      pUnit:RemoveEvents();
      pUnit:FullCastSpell(37428)
      pUnit:RegisterEvent("phase_8",1000, 0)
     end
    end
    
    function phase_8(pUnit, Event)
     if pUnit:GetHealthPct() < 0 then
      pUnit:RemoveEvents();
      pUnit:SendChatMessage(12, 0, "Beep... Hell will walk the earth someday Beepfjdsfkdsfds......")
     end
    end
    
    function boss_start(pUnit, Event)
     pUnit:RegisterEvent("phase_1",1000, 0)
    end
    RegisterUnitEvent(99806, 1, "phase_1")
    Who says heinz 57 steak sauce isn't good on pancakes?

    [helpzerz] What is wrong with this lua script?
  2. #2
    Madara Uchiha's Avatar Active Member
    Reputation
    19
    Join Date
    Mar 2008
    Posts
    227
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i see the script but what is the excat problem

  3. #3
    w21froster's Avatar Active Member
    Reputation
    17
    Join Date
    Dec 2007
    Posts
    110
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    um its not working lol
    Who says heinz 57 steak sauce isn't good on pancakes?

  4. #4
    w21froster's Avatar Active Member
    Reputation
    17
    Join Date
    Dec 2007
    Posts
    110
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    like it doesnt do the stuff in the script at all and i have the correct id 99806
    Who says heinz 57 steak sauce isn't good on pancakes?

  5. #5
    2dgreengiant's Avatar ★ Elder ★


    Reputation
    1190
    Join Date
    Feb 2007
    Posts
    7,129
    Thanks G/R
    1/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What error do u get in the Ascent console?
    If you need me you have my skype, if you don't have my skype then you don't need me.

  6. #6
    w21froster's Avatar Active Member
    Reputation
    17
    Join Date
    Dec 2007
    Posts
    110
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    it loads in the ascent console.
    Who says heinz 57 steak sauce isn't good on pancakes?

  7. #7
    guitargod218's Avatar Banned
    Reputation
    61
    Join Date
    Apr 2008
    Posts
    192
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Follow this guide created by Illidan the Great :P

    http://www.mmowned.com/forums/emulat...-updating.html

    If you format it the exact same way, you shouldn't have a problem. After glossing over your script, I can say it's not the same format.

  8. #8
    TheSpidey's Avatar Elite User
    Reputation
    365
    Join Date
    Jan 2008
    Posts
    2,200
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Look at the ascent console, it often shows lua errors.

  9. #9
    w21froster's Avatar Active Member
    Reputation
    17
    Join Date
    Dec 2007
    Posts
    110
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ok it says thunder hammer.lua... then it goes onto other lua scripts.
    Who says heinz 57 steak sauce isn't good on pancakes?

Similar Threads

  1. What is wrong with this item teleportation Lua script ?
    By Wheeze201 in forum WoW EMU Questions & Requests
    Replies: 6
    Last Post: 08-13-2009, 08:50 AM
  2. Whats wrong with this LUA Script?
    By controlsx2 in forum WoW EMU Questions & Requests
    Replies: 1
    Last Post: 06-16-2009, 01:01 AM
  3. Whats wrong with this LUA Script?
    By controlsx2 in forum World of Warcraft Emulator Servers
    Replies: 1
    Last Post: 05-20-2008, 03:03 PM
  4. [Need help] What's wrong with this script?
    By Arthas117 in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 01-10-2008, 02:04 PM
All times are GMT -5. The time now is 09:18 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search