LUA script not working menu

User Tag List

Results 1 to 5 of 5
  1. #1
    Dz The Rage's Avatar Member
    Reputation
    10
    Join Date
    Mar 2009
    Posts
    181
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    LUA script not working

    Hi, this is a script from Gastricpenguin, I modded a few things, like where minons spawn, and his entry id, ofc, but he doesnt work, please look over it and see what've i've messed up

    +++++ALL CREDITS TO GASTRICPENGUIN++++++++

    - Gastricpenguin - PrimordialFire.lua

    Second boss ive finished. This one is so bad ass, you can't
    kill him. He does an average hit of 2k , with fire spells.
    Also summons invisible triggers to erupt the ground in flames.

    Spells/data:
    33077, agility buff,casts when summoning voids
    33082, stamina buff, casts when summoning
    22080, i think its a debuff, cant remember
    27237, slow heal self over time
    28900, chain lightning
    24437, health leech

    Voids:
    Explode on combat
    attack target for 10 seconds before dying

    -- By Gastricpenguin ]]

    function PrimeordialFlameA(Unit)
    if Unit:GetHealthPct() < 75 then
    Unit:CastSpell(33077)
    Unit:SendChatMessage(12, 0, "Let the flames consume you!")
    Unit:SpawnCreature(101005, 856.956360, 834.965360, -228.768555, 0.1, 409, 36000)
    Unit:SpawnCreature(101005, 856.956360, 834.965360, -228.768555, 0.1, 409, 36000)
    Unit:SpawnCreature(101005, 856.956360, 834.965360, -228.768555, 0.1, 409, 36000)
    end
    end

    function PrimeordialFlameB(Unit)
    if Unit:GetHealthPct() < 50 then
    Unit:CastSpell(33082)
    Unit:SendChatMessage(12, 0, "Is it hot in here or what?")
    Unit:SpawnCreature(101005, 856.956360, 834.965360, -228.768555, 0.1, 409, 36000)
    Unit:SpawnCreature(101005, 856.956360, 834.965360, -228.768555, 0.1, 409, 36000)
    Unit:SpawnCreature(101005, 856.956360, 834.965360, -228.768555, 0.1, 409, 36000)
    end
    end

    function PrimeordialFlameC(Unit)
    if Unit:GetHealthPct() < 25 then
    Unit:CastSpell(33080)
    Unit:SendChatMessage(12, 0, "Feel the burn?")
    Unit:SpawnCreature(101005, 856.956360, 834.965360, -228.768555, 0.1, 409, 36000)
    Unit:SpawnCreature(101005, 856.956360, 834.965360, -228.768555, 0.1, 409, 36000)
    Unit:SpawnCreature(101005, 856.956360, 834.965360, -228.768555, 0.1, 409, 36000)
    end
    end

    function PrimeordialFlameD(Unit)
    if Unit:GetHealthPct() < 10 then
    Unit:CastSpell(27237)
    Unit:SendChatMessage(12, 0, "That's ENOUGH!")
    Unit:SpawnCreature(101005, 856.956360, 834.965360, -228.768555, 0.1, 409, 36000)
    Unit:SpawnCreature(101005, 856.956360, 834.965360, -228.768555, 0.1, 409, 36000)
    Unit:SpawnCreature(101005, 856.956360, 834.965360, -228.768555, 0.1, 409, 36000)
    end
    end

    function Voider_OnSpawn (Unit, Event)
    Unitespawn (10000, 0)
    end
    RegisterUnitEvent (101005, 6, "Voider_OnSpawn")

    function Voider_onCombat (Unit, Event)
    Unit:CastSpell(33132)
    end
    RegisterUnitEvent (101005, 1, "Voider_onCombat")


    function Fire_Pillar(Unit)
    Unit:CastSpell(59517)
    Unit:SendChatMessage(12, 0, "Lightning!")
    end

    function Fire_Leech(Unit)
    Unit:CastSpell(61090)
    Unit:SendChatMessage(12, 0, "Your health feeds me.")
    end

    function PrimeordialFlame_OnCombat(Unit, Event)
    Unit:SendChatMessage (11, 0, "Who dares desturb my peace!")
    Unit:RegisterEvent("PrimeordialFlameA",10000, 0)
    Unit:RegisterEvent("PrimeordialFlameB",14000, 0)
    Unit:RegisterEvent("PrimeordialFlameC",17000, 0)
    Unit:RegisterEvent("PrimeordialFlameD",21000, 0)
    Unit:RegisterEvent("Fire_Pillar",20000, 0)
    Unit:RegisterEvent("Fire_Leech",31000, 0)
    end

    function PrimeordialFlame_OnLeaveCombat(Unit)
    Unit:RemoveEvents()
    end

    function PrimeordialFlame_KilledTarget(Unit)
    Unit:SendChatMessage(12, 0, "Ding!")
    Unit:CastSpell(27237)
    Unit:RemoveEvents()
    end

    function PrimeordialFlame_OnDied(Unit)
    Unit:SendChatMessage(12, 0, "So c-cold..!")
    Unit:RemoveEvents()
    end

    RegisterUnitEvent(101006, 1, "PrimeordialFlame_OnCombat")
    RegisterUnitEvent(101006, 2, "PrimeordialFlame_OnLeaveCombat")
    RegisterUnitEvent(101006, 3, "PrimeordialFlame_OnKilledTarget")
    RegisterUnitEvent(101006, 4, "PrimeordialFlame_OnDied")

    LUA script not working
  2. #2
    Juicyz's Avatar Active Member
    Reputation
    34
    Join Date
    Dec 2006
    Posts
    298
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well dont see anythign rly wrong with it, after a quick glance. but I did notice you dont have event in some functions. Just make them all Function blach_asd(Unit, Event)

    That should make it work maybe... but rly see anythign else. and what exactly is the error.

    DA Gift From Mr. Blain

  3. #3
    Dz The Rage's Avatar Member
    Reputation
    10
    Join Date
    Mar 2009
    Posts
    181
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Juicyz View Post
    Well dont see anythign rly wrong with it, after a quick glance. but I did notice you dont have event in some functions. Just make them all Function blach_asd(Unit, Event)

    That should make it work maybe... but rly see anythign else. and what exactly is the error.
    He doesnt do anything in the script. Also, the npc i made off WoW - V misses alot, hes lvl 85, how do I increase his hit rating or his weapon skills?
    Last edited by Dz The Rage; 04-04-2009 at 07:05 PM.

  4. #4
    Juicyz's Avatar Active Member
    Reputation
    34
    Join Date
    Dec 2006
    Posts
    298
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You dont need to...... for the npc. did you add the events??? and he should hit.. unless you did something wrong in the sql.

    DA Gift From Mr. Blain

  5. #5
    Dz The Rage's Avatar Member
    Reputation
    10
    Join Date
    Mar 2009
    Posts
    181
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    SQL is fine, It's just he doesnt hit like everytime, the way i want him too, but if i made him like lvl 200, he'd have uber resist right?

Similar Threads

  1. [Lua Script] Lua Script Not Working
    By drpwnage77 in forum WoW EMU Questions & Requests
    Replies: 4
    Last Post: 06-23-2010, 05:50 PM
  2. Halp please lua script not working
    By thebigman in forum WoW EMU Questions & Requests
    Replies: 4
    Last Post: 09-29-2009, 06:06 PM
  3. LUA script not working
    By pedobear123 in forum World of Warcraft General
    Replies: 12
    Last Post: 09-01-2008, 09:38 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 03:12 AM. 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