Code:
-- ----------------------------
-- [494] Ulduar Raid Instance Teleporter for YTDB 494 by PryDevServer
-- ----------------------------
INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `DeathState`, `MovementType`) VALUES
(NULL,909010,603,1,1,0,0,'916.787','-11.8069','418.582','3.20834','25','0',0,'5000','0',0,0),
(NULL,909011,603,1,1,0,0,'1459.08','118.99','423.641','6.26311','25','0',0,'5000','0',0,0),
(NULL,909012,603,1,1,0,0,'1987.11','-27.642','324.89','3.13591','25','0',0,'5000','0',0,0);
REPLACE INTO `creature_template` (`entry`, `heroic_entry`, `unk1`, `unk2`, `modelid_A`, `modelid_A2`, `modelid_H`, `modelid_H2`, `name`, `subname`, `IconName`, `minlevel`, `maxlevel`, `minhealth`, `maxhealth`, `minmana`, `maxmana`, `armor`, `faction_A`, `faction_H`, `npcflag`, `speed`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `PetSpellDataId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `unk16`, `unk17`, `RacialLeader`, `questItem1`, `questItem2`, `questItem3`, `questItem4`, `movementId`, `RegenHealth`, `equipment_id`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`) VALUES
(909010,0,'0','0','26770',0,'26770',0,'Pryds Ulduar Helper1','PryDevServer Teleport Master','','80','80','5000','5000','0','0','2865','35','35','2','1','1',0,'60','165',0,'97','1','1500','1500',0,'0','0',0,0,0,0,0,'50','100',0,7,'0',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,1,'3','0',1,'0','0','0','0','0',0,0,'2','0','');
REPLACE INTO `creature_template` (`entry`, `heroic_entry`, `unk1`, `unk2`, `modelid_A`, `modelid_A2`, `modelid_H`, `modelid_H2`, `name`, `subname`, `IconName`, `minlevel`, `maxlevel`, `minhealth`, `maxhealth`, `minmana`, `maxmana`, `armor`, `faction_A`, `faction_H`, `npcflag`, `speed`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `PetSpellDataId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `unk16`, `unk17`, `RacialLeader`, `questItem1`, `questItem2`, `questItem3`, `questItem4`, `movementId`, `RegenHealth`, `equipment_id`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`) VALUES
(909011,0,'0','0','26770',0,'26770',0,'Pryds Ulduar Helper2','PryDevServer Teleport Master','','80','80','5000','5000','0','0','2865','35','35','2','1','1',0,'60','165',0,'97','1','1500','1500',0,'0','0',0,0,0,0,0,'50','100',0,7,'0',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,1,'3','0',1,'0','0','0','0','0',0,0,'2','0','');
REPLACE INTO `creature_template` (`entry`, `heroic_entry`, `unk1`, `unk2`, `modelid_A`, `modelid_A2`, `modelid_H`, `modelid_H2`, `name`, `subname`, `IconName`, `minlevel`, `maxlevel`, `minhealth`, `maxhealth`, `minmana`, `maxmana`, `armor`, `faction_A`, `faction_H`, `npcflag`, `speed`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `PetSpellDataId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `unk16`, `unk17`, `RacialLeader`, `questItem1`, `questItem2`, `questItem3`, `questItem4`, `movementId`, `RegenHealth`, `equipment_id`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`) VALUES
(909012,0,'0','0','26770',0,'26770',0,'Pryds Ulduar Helper3','PryDevServer Teleport Master','','80','80','5000','5000','0','0','2865','35','35','2','1','1',0,'60','165',0,'97','1','1500','1500',0,'0','0',0,0,0,0,0,'50','100',0,7,'0',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,1,'3','0',1,'0','0','0','0','0',0,0,'2','0','');
REPLACE INTO `creature_involvedrelation` (`id`, `quest`) VALUES (909010,912500),(909011,912501),(909012,912500),(909012,912501),(909012,912502);
REPLACE INTO `creature_questrelation` (`id`, `quest`) VALUES (909010,912500),(909011,912501),(909012,912500),(909012,912501),(909012,912502);
REPLACE INTO `quest_end_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `dataint`, `x`, `y`, `z`, `o`) VALUES
('912500', '3', '6', '603', 0, 0, '1497.54', '-24.267', '420.967', '0.027053'), -- Ulduar Area 1
('912501', '3', '6', '603', 0, 0, '2271.14', '292.793', '419.545', '3.13198'), -- Ulduar Area 2
('912502', '3', '6', '603', 0, 0, '2342.83', '2571.02', '419.523', '6.27095'); -- Ulduar Area 4
REPLACE INTO `quest_template` (`entry`, `Method`, `ZoneOrSort`, `SkillOrClass`, `MinLevel`, `QuestLevel`, `Type`, `RequiredRaces`, `RequiredSkillValue`, `RepObjectiveFaction`, `RepObjectiveValue`, `RequiredMinRepFaction`, `RequiredMinRepValue`, `RequiredMaxRepFaction`, `RequiredMaxRepValue`, `SuggestedPlayers`, `LimitTime`, `QuestFlags`, `SpecialFlags`, `CharTitleId`, `PlayersSlain`, `BonusTalents`, `PrevQuestId`, `NextQuestId`, `ExclusiveGroup`, `NextQuestInChain`, `SrcItemId`, `SrcItemCount`, `SrcSpell`, `Title`, `Details`, `Objectives`, `OfferRewardText`, `RequestItemsText`, `EndText`, `ObjectiveText1`, `ObjectiveText2`, `ObjectiveText3`, `ObjectiveText4`, `ReqItemId1`, `ReqItemId2`, `ReqItemId3`, `ReqItemId4`, `ReqItemCount1`, `ReqItemCount2`, `ReqItemCount3`, `ReqItemCount4`, `ReqSourceId1`, `ReqSourceId2`, `ReqSourceId3`, `ReqSourceId4`, `ReqSourceCount1`, `ReqSourceCount2`, `ReqSourceCount3`, `ReqSourceCount4`, `ReqCreatureOrGOId1`, `ReqCreatureOrGOId2`, `ReqCreatureOrGOId3`, `ReqCreatureOrGOId4`, `ReqCreatureOrGOCount1`, `ReqCreatureOrGOCount2`, `ReqCreatureOrGOCount3`, `ReqCreatureOrGOCount4`, `ReqSpellCast1`, `ReqSpellCast2`, `ReqSpellCast3`, `ReqSpellCast4`, `RewChoiceItemId1`, `RewChoiceItemId2`, `RewChoiceItemId3`, `RewChoiceItemId4`, `RewChoiceItemId5`, `RewChoiceItemId6`, `RewChoiceItemCount1`, `RewChoiceItemCount2`, `RewChoiceItemCount3`, `RewChoiceItemCount4`, `RewChoiceItemCount5`, `RewChoiceItemCount6`, `RewItemId1`, `RewItemId2`, `RewItemId3`, `RewItemId4`, `RewItemCount1`, `RewItemCount2`, `RewItemCount3`, `RewItemCount4`, `RewRepFaction1`, `RewRepFaction2`, `RewRepFaction3`, `RewRepFaction4`, `RewRepFaction5`, `RewRepValue1`, `RewRepValue2`, `RewRepValue3`, `RewRepValue4`, `RewRepValue5`, `RewHonorableKills`, `RewOrReqMoney`, `RewMoneyMaxLevel`, `RewSpell`, `RewSpellCast`, `RewMailTemplateId`, `RewMailDelaySecs`, `PointMapId`, `PointX`, `PointY`, `PointOpt`, `DetailsEmote1`, `DetailsEmote2`, `DetailsEmote3`, `DetailsEmote4`, `DetailsEmoteDelay1`, `DetailsEmoteDelay2`, `DetailsEmoteDelay3`, `DetailsEmoteDelay4`, `IncompleteEmote`, `CompleteEmote`, `OfferRewardEmote1`, `OfferRewardEmote2`, `OfferRewardEmote3`, `OfferRewardEmote4`, `OfferRewardEmoteDelay1`, `OfferRewardEmoteDelay2`, `OfferRewardEmoteDelay3`, `OfferRewardEmoteDelay4`, `StartScript`, `CompleteScript`) VALUES
(912500,0,876,0,80,80,0,0,0,0,0,0,0,0,0,0,'0',0,1,0,0,0,0,0,0,0,0,0,0,'Teleport to The Antechamber','So you want to teleport?','Speak with the Teleport Master again.','Are you sure, you\'re ready to teleport?',NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'0',0,'0',0,0,0,'0',0,'0','0',0,0,0,0,0,'0','0','0','0',0,0,0,1,0,0,'0','0','0','0',0,912500),
(912501,0,876,0,80,80,0,0,0,0,0,0,0,0,0,0,'0',0,1,0,0,0,0,0,0,0,0,0,0,'Teleport to The Corridors of Ingenuity','So you want to teleport?','Speak with the Teleport Master again.','Are you sure, you\'re ready to teleport?',NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'0',0,'0',0,0,0,'0',0,'0','0',0,0,0,0,0,'0','0','0','0',0,0,0,1,0,0,'0','0','0','0',0,912501),
(912502,0,876,0,80,80,0,0,0,0,0,0,0,0,0,0,'0',0,1,0,0,0,0,0,0,0,0,0,0,'Teleport to The Spark of Imagination','So you want to teleport?','Speak with the Teleport Master again.','Are you sure, you\'re ready to teleport?',NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'0',0,'0',0,0,0,'0',0,'0','0',0,0,0,0,0,'0','0','0','0',0,0,0,1,0,0,'0','0','0','0',0,912502);