[Release] Temple of the Lunar (not just a boss fight) [Lua++][Event] menu

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 15 of 17
  1. #1
    stoneharry's Avatar Moderator Harry

    Authenticator enabled
    Reputation
    1613
    Join Date
    Sep 2007
    Posts
    4,554
    Thanks G/R
    151/146
    Trade Feedback
    0 (0%)
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    [Release] Temple of the Lunar (not just a boss fight) [Lua++][Event]

    Welcome to "Temple of the Lunar".

    Temple of the Lunar is a Temple, on a map, that not many people know about because it is, invisible unless you mange to walk into it. Once your inside, you see all, but you cant see it from outside. In this release, it has the slave of the High Lord, who can direct you. He can help you, put you out of your misery, or summon The High Lord. If you summon the High Lord there, the slave will despawn, a boss will come, start talking, then after about 20 seconds, you fight him.

    This release uses:
    -Sounds
    -Gameobjects
    -Npc's
    -Lua++
    -Graveyards
    -And much much more!

    This is for Ascent.

    Now the actual boss fight it's self, is designed for 5man 70. Although if you have uber gear, you can imagine it will be a slight bit easier...

    Now for some Pictures:





    And a Download:


    If you don't want to download, the sql:

    Code:
    insert into `gameobject_spawns` (`id`, `Entry`, `map`, `position_x`, `position_y`, `position_z`, `Facing`, `orientation1`, `orientation2`, `orientation3`, `orientation4`, `State`, `Flags`, `Faction`, `Scale`, `stateNpcLink`) values('9196855','183443','37','-593.802','-222.087','355.011','0.599264','0','0','0.295169','0.955445','1','0','0','1','0');
    insert into `gameobject_spawns` (`id`, `Entry`, `map`, `position_x`, `position_y`, `position_z`, `Facing`, `orientation1`, `orientation2`, `orientation3`, `orientation4`, `State`, `Flags`, `Faction`, `Scale`, `stateNpcLink`) values('7196856','181075','37','-639.885','-255.464','350.925','4.59302','0','0','0.748027','-0.663669','1','0','0','1','0');
    insert into `gameobject_spawns` (`id`, `Entry`, `map`, `position_x`, `position_y`, `position_z`, `Facing`, `orientation1`, `orientation2`, `orientation3`, `orientation4`, `State`, `Flags`, `Faction`, `Scale`, `stateNpcLink`) values('8196857','181075','37','-644.013','-259.005','350.892','6.15988','0','0','0.0616138','-0.9981','1','0','0','1','0');
    insert into `gameobject_spawns` (`id`, `Entry`, `map`, `position_x`, `position_y`, `position_z`, `Facing`, `orientation1`, `orientation2`, `orientation3`, `orientation4`, `State`, `Flags`, `Faction`, `Scale`, `stateNpcLink`) values('6196858','181075','37','-640.761','-263.425','350.923','1.40508','0','0','0.646158','0.763204','1','0','0','1','0');
    insert into `gameobject_spawns` (`id`, `Entry`, `map`, `position_x`, `position_y`, `position_z`, `Facing`, `orientation1`, `orientation2`, `orientation3`, `orientation4`, `State`, `Flags`, `Faction`, `Scale`, `stateNpcLink`) values('5196859','181075','37','-636.076','-260.228','350.894','2.9209','0','0','0.993918','0.110124','1','0','0','1','0');
    insert into `gameobject_spawns` (`id`, `Entry`, `map`, `position_x`, `position_y`, `position_z`, `Facing`, `orientation1`, `orientation2`, `orientation3`, `orientation4`, `State`, `Flags`, `Faction`, `Scale`, `stateNpcLink`) values('4196860','181075','37','-636.866','-256.717','350.893','3.8673','0','0','0.934887','-0.354945','1','0','0','1','0');
    insert into `gameobject_spawns` (`id`, `Entry`, `map`, `position_x`, `position_y`, `position_z`, `Facing`, `orientation1`, `orientation2`, `orientation3`, `orientation4`, `State`, `Flags`, `Faction`, `Scale`, `stateNpcLink`) values('3196861','181075','37','-642.492','-256.113','350.925','5.43024','0','0','0.413662','-0.910431','1','0','0','1','0');
    insert into `gameobject_spawns` (`id`, `Entry`, `map`, `position_x`, `position_y`, `position_z`, `Facing`, `orientation1`, `orientation2`, `orientation3`, `orientation4`, `State`, `Flags`, `Faction`, `Scale`, `stateNpcLink`) values('2196862','181075','37','-643.427','-261.861','350.903','0.596109','0','0','0.293661','0.95591','1','0','0','1','0');
    insert into `gameobject_spawns` (`id`, `Entry`, `map`, `position_x`, `position_y`, `position_z`, `Facing`, `orientation1`, `orientation2`, `orientation3`, `orientation4`, `State`, `Flags`, `Faction`, `Scale`, `stateNpcLink`) values('2196863','181075','37','-637.664','-262.887','350.921','1.98941','0','0','0.838597','0.544752','1','0','0','1','0');
    insert into `gameobject_spawns` (`id`, `Entry`, `map`, `position_x`, `position_y`, `position_z`, `Facing`, `orientation1`, `orientation2`, `orientation3`, `orientation4`, `State`, `Flags`, `Faction`, `Scale`, `stateNpcLink`) values('2196864','177224','37','-640.032','-259.288','352.581','0.724126','0','0','0.354204','0.935168','1','0','0','1','0');
    insert into `creature_spawns` (`id`, `entry`, `map`, `position_x`, `position_y`, `position_z`, `orientation`, `movetype`, `displayid`, `faction`, `flags`, `bytes`, `bytes2`, `emote_state`, `npc_respawn_link`, `channel_spell`, `channel_target_sqlid`, `channel_target_sqlid_creature`, `standstate`) values('9661462','6491','37','-613.421','-235.474','352.081','3.87304','0','5233','35','0','0','0','0','0','0','0','0','0');
    insert into `creature_spawns` (`id`, `entry`, `map`, `position_x`, `position_y`, `position_z`, `orientation`, `movetype`, `displayid`, `faction`, `flags`, `bytes`, `bytes2`, `emote_state`, `npc_respawn_link`, `channel_spell`, `channel_target_sqlid`, `channel_target_sqlid_creature`, `standstate`) values('9661461','90003','37','-640.034','-259.517','352.58','0.870478','0','16412','35','0','0','0','0','0','0','0','0','0');
    insert into `recall` (`id`, `name`, `MapId`, `positionX`, `positionY`, `positionZ`) values('9555','theone','37','-620','-242','355');
    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('90001','Balzanar','The High Lord','','0','4','0','3','0',NULL,'18718','0','0','0','1','1','0',NULL);
    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('90003','The Slave','','','0','4','0','1','0',NULL,'16412','0','0','0','1','1','0',NULL);
    insert into `creature_proto` (`entry`, `minlevel`, `maxlevel`, `faction`, `minhealth`, `maxhealth`, `mana`, `scale`, `npcflags`, `attacktime`, `attacktype`, `mindamage`, `maxdamage`, `rangedattacktime`, `rangedmindamage`, `rangedmaxdamage`, `mountdisplayid`, `equipmodel1`, `equipinfo1`, `equipslot1`, `equipmodel2`, `equipinfo2`, `equipslot2`, `equipmodel3`, `equipinfo3`, `equipslot3`, `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`) values('90001','72','72','20','100000','300000','7332','1','0','1000','0','231','452','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','1','0','0','1','0','0','0','2.5','8','14','0','0','0','0','0','0');
    insert into `creature_proto` (`entry`, `minlevel`, `maxlevel`, `faction`, `minhealth`, `maxhealth`, `mana`, `scale`, `npcflags`, `attacktime`, `attacktype`, `mindamage`, `maxdamage`, `rangedattacktime`, `rangedmindamage`, `rangedmaxdamage`, `mountdisplayid`, `equipmodel1`, `equipinfo1`, `equipslot1`, `equipmodel2`, `equipinfo2`, `equipslot2`, `equipmodel3`, `equipinfo3`, `equipslot3`, `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`) values('90003','72','72','35','100000','300000','422','1','1','1000','0','231','452','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','1','0','0','1','0','0','0','2.5','8','14','0','0','0','0','0','0');
    Delete from `graveyards` where `id` = '32'
    insert into `graveyards` (`id`, `position_x`, `position_y`, `position_z`, `orientation`, `zoneid`, `adjacentzoneid`, `mapid`, `faction`, `name`) values('32','-618','-243','355','4.0817','0','0','37','3','Azshara Crater');

    The Lua++:

    Code:
    function Medivh_OnGossipTalk(pUnit, event, player, pMisc)
    pUnit:GossipCreateMenu(100, player, 0)
    pUnit:GossipMenuAddItem(0, "I want to challenge the master of this temple.", 1, 0)
    pUnit:GossipMenuAddItem(0, "This challenge is to hard, just kill me!", 2, 0)
    pUnit:GossipMenuAddItem(0, "Make me stronger!", 3, 0)
    pUnit:GossipSendMenu(player)
    end
    function Medivh_OnGossipSelect(pUnit, event, player, id, intid, code, pMisc)
    if (intid == 1) then
    pUnit:SendChatMessage(14, 0, "Your doomed! Haha!")
    pUnit:Despawn(1, 0)
    pUnit:SpawnCreature(90001, -651, -268, 353, 0.711792, 14, 360000)
    pUnit:GossipComplete(player)
    end
    if (intid == 2) then
    pUnit:SendChatMessage(14, 0, "Die Worm!")
    pUnit:FullCastSpellOnTarget(31984, player)
    pUnit:GossipComplete(player)
    end
    if (intid == 3) then
    pUnit:SendChatMessage(14, 0, "May the Lord watch over you!")
    pUnit:FullCastSpellOnTarget(16609, player)
    pUnit:PlaySoundToSet(8818)
    pUnit:GossipComplete(player)
    end
    end
    function Stompthea(pUnit, Event)
    pUnit:SendChatMessage(14, 0, "Who dares violate the sanctiny of my domain, be warned, all who tresspass here are doomed...")
    pUnit:PlaySoundToSet(8820)
    pUnit:RemoveEvents()
    pUnit:SetCombatCapable(1)
    pUnit:SetFaction(35)
    pUnit:RegisterEvent("Stomptheaz", 8000, 0)
    end
    function Stomptheaz(pUnit, Event)
    pUnit:RemoveEvents()
    pUnit:SendChatMessage(14, 0, "There will be no escape!")
    pUnit:PlaySoundToSet(8813)
    pUnit:SetCombatCapable(0)
    pUnit:SetFaction(20)
    pUnit:RegisterEvent("Combatthe_Talk", 25000, 0)
    pUnit:RegisterEvent("Stompthe", 45000, 0)
    pUnit:RegisterEvent("Killthe", 30000, 0)
    pUnit:RegisterEvent("Sillythe", 60000, 0)
    end
    function Stompthe(pUnit, Event)
    pUnit:FullCastSpellOnTarget(36886, pUnit:GetRandomPlayer(0))
    pUnit:CastSpell(38380)
    Choice=math.random(1, 2)
    if Choice==1 then
    pUnit:FullCastSpellOnTarget(38918, pUnit:GetRandomPlayer(0))
    end 
    if Choice==2 then
    pUnit:FullCastSpellOnTarget(46043, pUnit:GetRandomPlayer(0))
    end 
    end
    function Killthe(pUnit, Event)
    pUnit:CastSpell(38627)
    end
    function Sillythe(pUnit, Event)
    pUnit:FullCastSpellOnTarget(36886, pUnit:GetRandomPlayer(0))
    end
    function Combatthe_Talk(pUnit, Event)
    Choice=math.random(1, 3)
    if Choice==1 then
    pUnit:SendChatMessage(14, 0, "This can not be, I am the master here, you mortals are nothing to my kind, do you hear? NOTHING!!!")
    pUnit:CastSpell(40845)
    pUnit:PlaySoundToSet(8292)
    end 
    if Choice==2 then
    pUnit:SendChatMessage(14, 0, "Impossible... Rise my minions, serve your master once more")
    pUnit:PlaySoundToSet(8291)
    pUnit:CastSpell(37201)
    pUnit:CastSpell(37201)
    end
    if Choice==3 then
    pUnit:SendChatMessage(14, 0, "Enough, now you vermin shall feel the force of my bearth right, the fury of the earth it's self...")
    pUnit:PlaySoundToSet(8289)
    pUnit:FullCastSpellOnTarget(11, pUnit:GetRandomPlayer(0))
    end 
    end
    function Brutthe_OnCombat(pUnit, Event)
    pUnit:SendChatMessage(14, 0, "Enough, I grow tired of these distractions...")
    pUnit:PlaySoundToSet(9090)
    pUnit:CastSpell(44120)
    pUnit:CastSpell(44868)
    pUnit:CastSpell(41989)
    pUnit:CastSpell(38771)
    pUnit:SetFaction(35)
    pUnit:SetCombatCapable(1)
    pUnit:RegisterEvent("Stompthea", 5000, 0)
    end
    function Brutthe_OnLeaveCombat(pUnit, Event)
    pUnit:RemoveEvents()
    pUnit:SpawnCreature(90003, -640, -259, 353, 0.65461, 35, 0)
    pUnit:Despawn(1, 0)
    end
    function Brutthe_OnKilledTarget (pUnit, Event)
    pUnit:SendChatMessage(14, 0, "Reckless wrech, your friend shall join you soon enough!")
    pUnit:PlaySoundToSet(8293)
    pUnit:CastSpell(40845)
    end
    function Brutthe_OnDied(pUnit, Event)
    pUnit:RemoveEvents()
    pUnit:Despawn(1, 0)
    end
    RegisterUnitEvent(90001, 1, "Brutthe_OnCombat")
    RegisterUnitEvent(90001, 2, "Brutthe_OnLeaveCombat")
    RegisterUnitEvent(90001, 3, "Brutthe_OnKilledTarget")
    RegisterUnitEvent(90001, 4, "Brutthe_OnDied")
    RegisterUnitGossipEvent(90003, 1, "Medivh_OnGossipTalk")
    RegisterUnitGossipEvent(90003, 2, "Medivh_OnGossipSelect")

    If you find any errors please report, I will make a fix for them if I am able to.
    It is highly advisable to download as my code boxes keep playing up.



    If the boss simple stands there unable to attack, your pathing is messed up and you may want to get your vmaps again.

    [Release] Temple of the Lunar (not just a boss fight) [Lua++][Event]
  2. #2
    Rec Alpam's Avatar Contributor CoreCoins Purchaser
    Reputation
    125
    Join Date
    Mar 2007
    Posts
    304
    Thanks G/R
    3/1
    Trade Feedback
    2 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    More then imba.. +Rep

  3. #3
    Ziddy1337's Avatar Contributor
    Reputation
    136
    Join Date
    Aug 2008
    Posts
    486
    Thanks G/R
    4/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Awesome Awesome Awesome!!

    +Rep+Rep for you.

    Thanks =D

    EDIT:

    Cant rep you atm, need to spread the love. I'll put you on my I.O.U list

  4. #4
    stoneharry's Avatar Moderator Harry

    Authenticator enabled
    Reputation
    1613
    Join Date
    Sep 2007
    Posts
    4,554
    Thanks G/R
    151/146
    Trade Feedback
    0 (0%)
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Thanks for feedback, I'm glad that nobody's having any problems

  5. #5
    Fireblast's Avatar Contributor
    Reputation
    195
    Join Date
    Aug 2008
    Posts
    883
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i am going to test this when i have enuff time

    AWW! wasted all my rep ill +rep tomorow!

  6. #6
    TheNlghtmare's Avatar Member
    Reputation
    12
    Join Date
    Sep 2008
    Posts
    142
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    When I try to import the sql file into my DB, it doesn't go through.

  7. #7
    stoneharry's Avatar Moderator Harry

    Authenticator enabled
    Reputation
    1613
    Join Date
    Sep 2007
    Posts
    4,554
    Thanks G/R
    151/146
    Trade Feedback
    0 (0%)
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by TheNlghtmare View Post
    When I try to import the sql file into my DB, it doesn't go through.
    prt screen when you execute them, then if theres an error file open that then prt screen.

    post the screenshots on here and i'll tell you what the error is...
    If it's compatability, i can change around to try and get it to work for you
    If it's a duplicate, i can change the id's around to get it right
    If it's something else i'll try and fix it, if i cant i will make it again for you

  8. #8
    dod's Avatar Member
    Reputation
    1
    Join Date
    Jun 2008
    Posts
    30
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    so hoq it work

  9. #9
    H3llf!re's Avatar Member
    Reputation
    122
    Join Date
    Aug 2008
    Posts
    111
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    u are using colorme
    so i need a signature?

  10. #10
    Nymphx's Avatar Active Member
    Reputation
    83
    Join Date
    Sep 2008
    Posts
    212
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    +Rep

    Not using the script but would just like to thank you for the math.random area of the code

    Not many people use this and I needed it for a new boss I am working on for his speech, if that's okay with you?

    Looks like a very nice script anyway

  11. #11
    CodeDemon's Avatar Member
    Reputation
    36
    Join Date
    Jun 2008
    Posts
    175
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Very very nice work +Rep

  12. #12
    matser's Avatar Active Member
    Reputation
    37
    Join Date
    Nov 2007
    Posts
    191
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    nice,might try this later on

  13. #13
    stoneharry's Avatar Moderator Harry

    Authenticator enabled
    Reputation
    1613
    Join Date
    Sep 2007
    Posts
    4,554
    Thanks G/R
    151/146
    Trade Feedback
    0 (0%)
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Nymphx View Post
    +Rep

    Not using the script but would just like to thank you for the math.random area of the code

    Not many people use this and I needed it for a new boss I am working on for his speech, if that's okay with you?

    Looks like a very nice script anyway
    Lua/Lua++ is a free source code. If you see somone else use a command, you have every right in the world to use it without even asking

  14. #14
    Nymphx's Avatar Active Member
    Reputation
    83
    Join Date
    Sep 2008
    Posts
    212
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by stoneharry View Post
    Lua/Lua++ is a free source code. If you see somone else use a command, you have every right in the world to use it without even asking

    Well it's always nice to ask anyway, and thanks for the reply

  15. #15
    Edude's Avatar Member
    Reputation
    98
    Join Date
    Jul 2008
    Posts
    406
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Woah nice, nice work +Rep

Page 1 of 2 12 LastLast

Similar Threads

  1. [Buying] 1x Honorbuddy Lifetime ACCOUNT! (Not just the key! Can also pay gold on EUOutland-Al)
    By cevaps in forum World of Warcraft Buy Sell Trade
    Replies: 5
    Last Post: 10-03-2013, 04:44 PM
  2. [Release] Boss Fight! Lua & Sql x2
    By svedin in forum WoW EMU General Releases
    Replies: 10
    Last Post: 01-05-2009, 08:12 AM
  3. [Release]Super Boss Fight (LUA)
    By Edude in forum WoW EMU General Releases
    Replies: 17
    Last Post: 11-09-2008, 02:32 PM
  4. [Script Release] Naxxramas - Noth the Plaguebringer
    By blukkiee in forum World of Warcraft Emulator Servers
    Replies: 1
    Last Post: 08-28-2007, 11:25 AM
  5. Explorergnome is not just exploring, but also IMBA
    By sohnemann in forum Screenshot & Video Showoff
    Replies: 0
    Last Post: 06-16-2007, 06:02 PM
All times are GMT -5. The time now is 11:27 PM. 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