[Hallows End]Headless Horseman Fight Script menu

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 15 of 16
  1. #1
    SupernovaHH's Avatar Member
    Reputation
    12
    Join Date
    May 2008
    Posts
    113
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Hallows End]Headless Horseman Fight Script

    ok guys here it is, the VERY FIRST (that ive seen) *ALMOST* Exact replica of the retail Headless Horseman script. STILL WORKING OUT A FEW BUGS

    Features:
    All the real spells
    --*Most* of the things he says in retail
    --Disoriented for 48 seconds when fighting the head changes faction to unattackable and uses the whirlwind spell like in retail (IDK if this works because my server gives me error 132 for some spells)
    --Spawns Pumpkin fiend minions to fight at his aid and says what he should say when summoning them

    Bugs:
    --sometimes he will say something hes not suppose to when he dies. *FIXED*
    --he doesn't summon his head to fight *WILL BE FIXED IN 2.0*
    --Sometimes he doesn't summon the pumpkin fiends *FIXED*

    Here it is. SQL included.

    .npc sp 900108 -- Head of the Horseman *a little different because the real one is invis*%Included%

    .npc sp 23545 -- Pumpkin Fiend (If you spawn him and hes level 1 friendly with 1/1 hp then u need to change faction to 123 hp to 10k level to 70 and damage 650 all info is found WoW Wiki - Pumpkin Fiend) %Included%


    .npc sp 23682 -- Headless Horseman (If you spawn him and hes level 1 friendly with 1/1 hp then u need to change faction to 123 hp to 100k level to 70 and damage 3k-4k all info is found WoW Wiki - WoW: Headless Horseman) NOT INCLUDED COMMING IN V2.0

    V2.0 will be out WHEN ALL BUGS ARE WORKED OUT

    Fight Script
    Code:
    --Scripted by Shadowheals, Admin of WoW-Knights.25u.com
    --This script is still being worked out.  Please report any bugs to me via email at [email protected]. Thank you
    local VERSION = "1.5"
    local SERVER_NAME = "WoW Knights" --Change to your server name
    
    function Horseman_OnSpawned(Unit, Event)
    Unit:RegisterEvent("Horseman_Sound1", 1000, 1)
    end
    
    function Horseman_DuringBattle(Unit, Event)
    Unit:RegisterEvent("Horseman_Sound2", 30000, 1)
    Unit:RegisterEvent("Horseman_Cleave", 40000, 1)
    Unit:RegisterEvent("Horseman_Whirlwind", 50000, 1)
    Unit:RegisterEvent("Horseman_Whirlwind2", 80000, 1)
    Unit:RegisterEvent("Horseman_Conflagration", 90000, 0)
    Unit:RegisterEvent("Horseman_PumpkinFiend", 120000, 1)
    end
    
    function Horseman_Sound1(Unit, Event)
    Unit:PlaySoundToSet(11961)
    end
    
    function Horseman_Sound2(Unit, Event)
    Unit:PlaySoundToSet(11965)
    end
    
    function Horseman_Cleave(Unit, Event)
    Unit:PlaySoundToSet(11966)
    Unit:FullCastSpellOnTarget(37476, Unit:GetRandomPlayer(0))
    end
    
    function Hosreman_HeadFightBegin(Unit, Event)
    Unit:RegisterEvent("Horseman_HeadFight", 1000, 0)
    Unit:RegisterEvent("Horseman_HeadFight2", 1000, 0)
    end
    
    --Head Fight 1
    
    function Horseman_Headfight(Unit, Event)
    Unit:SpawnCreature (900108 ,Unit:GetX(), Unit:GetY(), Unit:GetZ(), 14, 48000)
    end
    
    function Horseman_Whirlwind(Unit, Event)
    Unit:CastSpell(31358)
    Unit:FullCastSpellOnTarget(1680, Unit:GetRandomPlayer(0))
    Unit:CastSpell(31358)
    Unit:FullCastSpellOnTarget(1680, Unit:GetRandomPlayer(0))
    Unit:CastSpell(31358)
    Unit:FullCastSpellOnTarget(1680, Unit:GetRandomPlayer(0))
    Unit:CastSpell(31358)
    Unit:FullCastSpellOnTarget(1680, Unit:GetRandomPlayer(0))
    Unit:CastSpell(31358)
    Unit:FullCastSpellOnTarget(1680, Unit:GetRandomPlayer(0))
    Unit:CastSpell(31358)
    Unit:FullCastSpellOnTarget(1680, Unit:GetRandomPlayer(0))
    end
    
    --Head Fight 2
    
    function Horseman_Headfight2(Unit, Event)
    Unit:SpawnCreature (900108 ,Unit:GetX(), Unit:GetY(), Unit:GetZ(), 14, 48000)
    end
    
    function Horseman_Whirlwind(Unit, Event)
    Unit:CastSpell(31358)
    Unit:FullCastSpellOnTarget(1680, Unit:GetRandomPlayer(0))
    Unit:CastSpell(31358)
    Unit:FullCastSpellOnTarget(1680, Unit:GetRandomPlayer(0))
    Unit:CastSpell(31358)
    Unit:FullCastSpellOnTarget(1680, Unit:GetRandomPlayer(0))
    Unit:CastSpell(31358)
    Unit:FullCastSpellOnTarget(1680, Unit:GetRandomPlayer(0))
    Unit:CastSpell(31358)
    Unit:FullCastSpellOnTarget(1680, Unit:GetRandomPlayer(0))
    Unit:CastSpell(31358)
    Unit:FullCastSpellOnTarget(1680, Unit:GetRandomPlayer(0))
    end
    
    function Horseman_Conflagration(Unit, Event)
    Unit:FullCastSpellOnTarget(16805, Unit:GetRandomPlayer(0))
    end
    
    --Pumpkin Fiend Minion
    
    
    function Horseman_PumpkinFiend(Unit, Event)
    Unit:PlaySoundToSet(11963)
    Unit:SpawnCreature (23545, Unit:GetX(), Unit:GetY(), Unit:GetZ(), 14, 500000)
    Unit:SpawnCreature (23545, Unit:GetX(), Unit:GetY(), Unit:GetZ(), 14, 500000)
    Unit:SpawnCreature (23545, Unit:GetX(), Unit:GetY(), Unit:GetZ(), 14, 500000)
    Unit:SpawnCreature (23545, Unit:GetX(), Unit:GetY(), Unit:GetZ(), 14, 500000)
    end
    
    
    function Horseman_OnLeaveCombat(Unit, Event)
    Unit:PlaySoundToSet(11967)
    Unit:RemoveEvents()
    end
    
    function Horseman_OnDied(Unit, Event)
    Unit:PlaySoundToSet(11964)
    Unit:RemoveEvents()
    end
    
    RegisterUnitEvent(23682, 1, "Horseman_OnSpawned")
    RegisterUnitEvent(23682, 2, "Horseman_DuringBattle")
    RegisterUnitEvent(23682, 3, "Hosreman_HeadFightBegin")
    RegisterUnitEvent(23682, 5, "Horseman_OnLeaveCombat")
    RegisterUnitEvent(23682, 4, "Horseman_OnDied")
    
    --Never edit Below this
    print (" ====================================================")
    print ("   Loaded: Headless Horseman Script (V"..VERSION..")")
    print ("   Made by Shadowheals")
    print ("   This script is Originally released for WoW Knights")
    print ("   This script now works on: ("..SERVER_NAME..")")
    print (" ====================================================")
    SQL for his head *YOU NEED THIS UNLESS U CHANGE SCRIPT TO REAL HEAD ID WHICH IS INVISIBLE AND YOU NEED A TARGET MACRO TO ATTACK IT*
    Code:
    insert into `creature_names` (`entry`, `name`, `subname`, `info_str`, `Flags1`, `type`, `family`, `rank`, `unk4`, `spelldataid`, `male_displayid`, `female_displayid`, `male_displayid2`, `female_displayid2`, `unknown_float1`, `unknown_float2`, `civilian`, `leader`) 
    values ('900108', "Head of the Horseman", "", '', '0', '6', '0', '1', '0', '0', '25918', '0', '0', '0', '1', '1', '0', '0');
    
    insert into `creature_proto` (`entry`, `minlevel`, `maxlevel`, `faction`, `minhealth`, `maxhealth`, `mana`, `scale`, `npcflags`, `attacktime`, `attacktype`, `mindamage`, `maxdamage`, `can_ranged`, `rangedattacktime`, `rangedmindamage`, `rangedmaxdamage`, `respawntime`, `armor`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `combat_reach`, `bounding_radius`, `auras`, `boss`, `money`, `invisibility_type`, `death_state`, `walk_speed`, `run_speed`, `fly_speed`, `extra_a9_flags`, `spell1`, `spell2`, `spell3`, `spell4`, `spell_flags`, `modImmunities`) 
    values ('900108', '70', '70', '14', '63000', '63000', '36000', '1', '0', '100', '0', '3000', '4000', '0', '0', '0', '0', '0', '8000', '0', '0', '0', '0', '0', '0', '0', '0', "0", '1', '0', '0', '0', '2.50', '8.00', '14.00', '0', '0', '0', '0', '0', '0', '0');
    Pumpkin Fiend (Because they are invisible normally so here's replacements.)
    Code:
    insert into `creature_names` (`entry`, `name`, `subname`, `info_str`, `Flags1`, `type`, `family`, `rank`, `unk4`, `spelldataid`, `male_displayid`, `female_displayid`, `male_displayid2`, `female_displayid2`, `unknown_float1`, `unknown_float2`, `civilian`, `leader`) 
    values ('900111', "Pumpkin Fiend", "", '', '0', '6', '0', '0', '0', '0', '24720', '0', '0', '0', '1', '1', '0', '0');
    
    insert into `creature_proto` (`entry`, `minlevel`, `maxlevel`, `faction`, `minhealth`, `maxhealth`, `mana`, `scale`, `npcflags`, `attacktime`, `attacktype`, `mindamage`, `maxdamage`, `can_ranged`, `rangedattacktime`, `rangedmindamage`, `rangedmaxdamage`, `respawntime`, `armor`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `combat_reach`, `bounding_radius`, `auras`, `boss`, `money`, `invisibility_type`, `death_state`, `walk_speed`, `run_speed`, `fly_speed`, `extra_a9_flags`, `spell1`, `spell2`, `spell3`, `spell4`, `spell_flags`, `modImmunities`) 
    values ('900111', '70', '70', '123', '4500', '4500', '2500', '1', '0', '200', '0', '650', '650', '0', '0', '0', '0', '86461000', '0', '0', '0', '0', '0', '0', '0', '0', '0', "0", '0', '0', '0', '2', '2.50', '8.00', '14.00', '0', '0', '0', '0', '0', '0', '0');

    CREDITS:

    Me - For creating the script and working out most of the bugs (Still working on some)
    Link_S - For helping fix a repeat problem where he would say something multiple times and piss you off LOL Thanks Link_S
    Last edited by SupernovaHH; 10-26-2009 at 06:41 AM.

    [Hallows End]Headless Horseman Fight Script
  2. #2
    Apple Pi's Avatar Active Member
    Reputation
    50
    Join Date
    Feb 2009
    Posts
    108
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Isn't he supposed to be lvl 80?
    What once was Moonblade rose from the ashes as Apple Pi!

  3. #3
    svedin's Avatar Contributor
    Reputation
    124
    Join Date
    Jun 2008
    Posts
    557
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yea, but how hard is that to change?

    values ('900108', '70', '70', '14', '63000

  4. #4
    Apple Pi's Avatar Active Member
    Reputation
    50
    Join Date
    Feb 2009
    Posts
    108
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No, but I think all the stats and event scripts are for the level 70 event.
    What once was Moonblade rose from the ashes as Apple Pi!

  5. #5
    shadowslayer133's Avatar Active Member
    Reputation
    61
    Join Date
    May 2008
    Posts
    313
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Maybe its a repost from an old script just lying around?

    Done by piersd
    Gamer tag - Midnight133

  6. #6
    SupernovaHH's Avatar Member
    Reputation
    12
    Join Date
    May 2008
    Posts
    113
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No actually i made this from scratch. the only reason its not updated is because i cant find the stuff. its not very hard to update just change the level of the NPC's to 80 and find an item sql. Oh btw, theres another bug with the script. He keeps yelling the same thing over and over. ive tried what i was able to think of (changing the repeat to 0) and nothing. ill add credits to my post to whoever fixes this.

  7. #7
    mightypirate's Avatar Member
    Reputation
    1
    Join Date
    Feb 2009
    Posts
    10
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks for this

  8. #8
    Link_S's Avatar Member
    Reputation
    125
    Join Date
    Dec 2008
    Posts
    293
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by SupernovaHH View Post
    No actually i made this from scratch. the only reason its not updated is because i cant find the stuff. its not very hard to update just change the level of the NPC's to 80 and find an item sql. Oh btw, theres another bug with the script. He keeps yelling the same thing over and over. ive tried what i was able to think of (changing the repeat to 0) and nothing. ill add credits to my post to whoever fixes this.
    Usually, if you were doin' C++. Repeat should be 1 for one time and 0 for actual repeat.

    Lua isn't C++ but it's very alike. Try changing the value from 0 to 1. And watch the effect.
    Why do I need a signature?

  9. #9
    SupernovaHH's Avatar Member
    Reputation
    12
    Join Date
    May 2008
    Posts
    113
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ok thanks a bunch ill test it link_s if it works +rep and credits

  10. #10
    thebigman's Avatar Contributor Reliable Trader
    CoreCoins Purchaser
    Reputation
    89
    Join Date
    Dec 2008
    Posts
    605
    Thanks G/R
    2/0
    Trade Feedback
    26 (96%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    tested on my server, was nuts, so I had a friend do it up in C++ and we are still having minion spam problems, aside from that, thats it.

    Thanks for the inspiration +rep

  11. #11
    enegue's Avatar Member
    Reputation
    4
    Join Date
    Oct 2007
    Posts
    44
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nice job (:

  12. #12
    SupernovaHH's Avatar Member
    Reputation
    12
    Join Date
    May 2008
    Posts
    113
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    *BUMP*

    Back to top, V1.5 is out and credit to Link_S for helping me out with the Lua script, the horseman still has a few bugs but if you change the wait time for when he does/says something it should work.

    Also, he spawns the pumpkin fiends now but they are invis so i suggest you make an npc for them as well.

  13. #13
    ciorcica's Avatar Member
    Reputation
    2
    Join Date
    Sep 2007
    Posts
    23
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    is ok this repack low bugs

  14. #14
    SupernovaHH's Avatar Member
    Reputation
    12
    Join Date
    May 2008
    Posts
    113
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    **BUMP** Back to the top

    Added Pumpkin Fiend replacements because the ones he spawns dont spawn right and they are invisible and their name is weird (says something with bunny in it or something idk lol)

  15. #15
    Daimyo2704's Avatar Member
    Reputation
    37
    Join Date
    Jan 2009
    Posts
    39
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    A tip,
    Code:
    function Horseman_Cleave(Unit, Event)
    Unit:PlaySoundToSet(11966)
    Unit:FullCastSpellOnTarget(37476, Unit:GetRandomPlayer(0))
    end
    Code:
    function Horseman_Cleave(Unit, Event)
    local tar = Unit:GetRandomPlayer(0)
    	if (tar ~= nil) then
    		Unit:FullCastSpellOnTarget(37476, tar)
    	end
    end
    A nil check is used to fool-proof a spell cast in order to make sure the script doesn't bug. It simply checks if the Unit we are aiming at exists (or is not nil) before it does anything. It's just two bits of extra code; an if statement, and an end.
    Aka, it prevents bugging on your spellcasting

Page 1 of 2 12 LastLast

Similar Threads

  1. [Hallow's End] Solo the Headless Horseman!
    By Lord in forum World of Warcraft Exploits
    Replies: 44
    Last Post: 10-26-2009, 05:23 AM
  2. [Request/Release] Headless Horseman Script
    By sheepking in forum WoW EMU Questions & Requests
    Replies: 7
    Last Post: 10-26-2008, 09:31 AM
  3. [Release] B!atch's Custom Mall+Staircase+Headless Horseman+Script+All vendors
    By b!atch in forum World of Warcraft Emulator Servers
    Replies: 32
    Last Post: 06-19-2008, 05:37 PM
  4. [HUGE REPACK!]Hallow's End - Headless Horseman + GMscripts + Loot + Sounds!
    By latruwski in forum World of Warcraft Emulator Servers
    Replies: 24
    Last Post: 12-08-2007, 04:40 PM
  5. Headless Horseman Fight
    By omgwtf415 in forum World of Warcraft Guides
    Replies: 7
    Last Post: 10-20-2007, 08:41 PM
All times are GMT -5. The time now is 02:10 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