DROP TABLE IF EXISTS `random_spawn_loc`;
CREATE TABLE `random_spawn_loc` (
  `groupId` tinyint(3) unsigned NOT NULL,
  `x` mediumint(6) NOT NULL,
  `y` mediumint(6) NOT NULL,
  `z` mediumint(6) NOT NULL,
  `heading` mediumint(6) NOT NULL DEFAULT '0',
  PRIMARY KEY (`groupId`,`x`,`y`,`z`,`heading`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

INSERT INTO `random_spawn_loc` VALUES
-- Black Marketeer of Mammon
(2,-12345,121695,-2984,0),
(3,81360,150016,-3528,16000),
(4,120493,76520,-2136,35500),
(5,-84745,151732,-3128,50000),
(6,113481,218450,-3624,33000),
(7,80129,56947,-1552,32500),
(8,146986,29566,-2271,32500),

-- Merchant of Mammon
(11,-52172,78884,-4741,-1), -- Necropolis of Devotion
(11,-41350,209876,-5087,-1), -- Necropolis of Sacrifice
(11,-21657,77164,-5173,-1), -- The Patriots Necropolis
(11,45029,123802,-5413,-1), -- The Pilgrims Necropolis
(11,83175,208998,-5439,-1), -- The Saints Necropolis
(11,111337,173804,-5439,-1), -- Necropolis of Worship
(11,118343,132578,-4831,-1), -- Necropolis of Martyrdom
(11,172373,-17833,-4901,-1), -- The Disciple Necropolis

-- Blacksmith of Mammon
(12,-19360,13278,-4901,-1), -- Catacomb of Dark Omens
(12,-53131,-250502,-7909,-1), -- Catacomb of the Heretic
(12,46303,170091,-4981,-1), -- Catacomb of the Branded
(12,-20485,-251008,-8165,-1), -- Catacomb of the Apostate
(12,12669,-248698,-9581,-1), -- Catacomb of Forbidden Path
(12,140519,79464,-5429,-1), -- Catacomb of the Witch

-- Orator of Revelations
(13,-84356,152742,-3204,-1),
(14,-83157,149846,-3155,-1),
(15,-79563,152726,-3204,-1),
(16,-79123,155098,-3204,-1),
(17,-16168,124129,-3143,-1),
(18,-14563,121461,-3015,-1),
(19,-14199,126128,-3171,-1),
(20,-12344,123605,-3132,-1),
(21,16901,144748,-3027,-1),
(22,17557,147084,-3150,-1),
(23,19038,142923,-3078,-1),
(24,20826,145769,-3171,-1),
(25,77830,148627,-3623,-1),
(26,81540,144204,-3559,-1),
(27,81556,152183,-3559,-1),
(28,83872,143882,-3431,-1),
(29,85328,147352,-3431,-1),
(30,114907,77916,-2662,-1),
(31,115509,74857,-2625,-1),
(32,118273,74592,-2529,-1),
(33,107251,218166,-3701,-1),
(34,115482,219266,-3689,-1),
(35,80039,54291,-1586,-1),
(36,81002,53495,-1586,-1),
(37,81527,56009,-1551,-1),
(38,143926,26468,-2338,-1),
(39,147460,20537,-2101,-1),
(40,150417,25182,-2141,-1),

-- Preacher of Doom
(41,-83107,150270,-3155,-1),
(42,-83070,152740,-3204,-1),
(43,-80752,152738,-3204,-1),
(44,-80690,149996,-3070,-1),
(45,-80037,154344,-3204,-1),
(46,-15549,124170,-3143,-1),
(47,-14480,122330,-3126,-1),
(48,-14268,124941,-3156,-1),
(49,-13252,123689,-3143,-1),
(50,-12591,122673,-3142,-1),
(51,15722,142877,-2732,-1),
(52,18172,145740,-3140,-1),
(53,19096,143980,-3096,-1),
(54,19823,145863,-3142,-1),
(55,79825,148619,-3559,-1),
(56,81535,146866,-3559,-1),
(57,81547,150347,-3559,-1),
(58,83319,148054,-3431,-1),
(59,83894,147495,-3431,-1),
(60,115893,77551,-2729,-1),
(61,115936,75382,-2625,-1),
(62,117098,77066,-2720,-1),
(63,118049,75783,-2715,-1),
(64,107256,218615,-3701,-1),
(65,109660,217339,-3775,-1),
(66,110189,221393,-3569,-1),
(67,111389,219257,-3572,-1),
(68,113479,217795,-3731,-1),
(69,114086,220214,-3568,-1),
(70,80416,55959,-1586,-1),
(71,80617,54116,-1586,-1),
(72,82048,55417,-1551,-1),
(73,82863,53290,-1522,-1),
(74,145015,25269,-2167,-1),
(75,145394,27629,-2295,-1),
(76,146616,25816,-2039,-1),
(77,147440,30047,-2487,-1),
(78,147459,21148,-2167,-1),
(79,148013,27029,-2231,-1),
(80,149515,27641,-2295,-1),
(81,149899,24719,-2167,-1),

-- Crest of Dusk / Dawn
(82,-41312,206625,-3412,-1),
(83,-41312,206625,-3412,-1),
(84,-55428,79357,-3059,-1),
(85,-55428,79357,-3059,-1),
(86,-24895,77634,-3495,-1),
(87,-24895,77634,-3495,-1),
(88,-22594,13760,-3216,-1),
(89,-22594,13760,-3216,-1),
(90,43074,170560,-3298,-1),
(91,43074,170560,-3298,-1),
(92,39872,144193,-3707,-1),
(93,39872,144193,-3707,-1),
(94,45504,127550,-3734,-1),
(95,45504,127550,-3734,-1),
(96,79946,209470,-3760,-1),
(97,79946,209470,-3760,-1),
(98,108097,174274,-3769,-1),
(99,108097,174274,-3769,-1),
(100,115136,133057,-3161,-1),
(101,115136,133057,-3161,-1),
(102,74561,78656,-3446,-1),
(103,74561,78656,-3446,-1),
(104,110784,84800,-4867,-1),
(105,110784,84800,-4867,-1),
(106,137278,79936,-3751,-1),
(107,137278,79936,-3751,-1),
(108,169152,-17344,-3228,-1),
(109,169152,-17344,-3228,-1),

 -- Lilith (80)
(110,184410,-10111,-5488,-1),

 -- Anakim (80)
(111,185000,-13000,-5488,-1),

-- Fallen Chieftain Vegus
(112,171708,43964,-4972,-1),

-- Orator of Revelations / Preacher of Doom
(113,147943,-56176,-2781,-1),
(114,148064,-56288,-2781,-1),
(115,147703,-58879,-2981,-1),
(116,147704,-58710,-2981,-1),
(117,150550,-57471,-2981,-1),
(118,150425,-57370,-2981,-1),
(119,144841,-57493,-2981,-1),
(120,144980,-57403,-2981,-1),
(121,148867,-58156,-2981,-1),
(122,149180,-58022,-2981,-1),
(123,87500,-142523,-1336,-1),
(124,87302,-140189,-1536,-1),
(125,87363,-142460,-1336,-1),
(126,87390,-140065,-1536,-1),
(127,89738,-141420,-1536,-1),
(128,89661,-141242,-1536,-1),
(129,43961,-50913,-792,-1),
(130,43859,-50954,-796,-1),
(131,38588,-48222,896,-1),
(132,38695,-48308,896,-1),

-- Runaway Youth quest
(133,118600,-161235,-1119,-1),
(133,108380,-150268,-2376,-1),
(133,123254,-148126,-3425,-1),

-- Wild Maiden quest
(134,66578,72351,-3731,-1),
(134,67994,79605,-3685,-1),
(134,72414,89582,-3068,-1),

-- Blacksmith of wind Rooney
(135,179815,-115465,-3598,-1),
(135,178091,-119661,-4087,-1),
(135,190447,-117063,-3280,-1),
(135,189472,-111287,-3280,-1),
(135,183442,-111453,-3615,-1),
(135,175916,-113220,-3471,-1),
(135,178880,-112665,-5821,-1),
(135,181809,-109360,-5830,-1),
(135,186321,-109182,-5865,-1),
(135,184699,-116825,-6102,-1),
(135,180717,-116163,-6102,-1),

-- Aged ExAdventurer quest
(136,89856,-7248,-3034,0),
(136,79232,-5904,-2864,0),
(136,77584,-1120,-3626,0),
(136,96640,-1296,-3648,0),
(136,94416,-10256,-3245,0),

-- Guards on kamael island
(137,-73271,53065,-3696,59621),
(137,-77006,45317,-2752,19656),
(137,-77375,44929,-2720,13828),
(137,-80400,40591,-2824,39386),
(137,-81005,39627,-2840,30125),
(137,-82545,55187,-2848,5047),
(137,-83304,58078,-2768,44634),
(137,-83539,45978,-2832,1972),
(137,-84169,39571,-2448,34277),
(137,-92675,56763,-2840,18707),
(137,-92931,55027,-2592,63304),
(138,-103659,50494,-2000,40765),
(138,-107335,48421,-1416,25399),
(138,-107347,47372,-1464,59666),
(138,-107788,45439,-1584,28523),
(138,-109520,47211,-1288,44919),
(138,-109520,48888,-1208,49863),
(139,-116128,50592,-696,16859),
(139,-116225,50135,-744,10002),
(139,-116556,50016,-808,5365),
(139,-116619,49487,-872,21965),
(139,-117008,50954,-728,55329),
(139,-117055,49577,-896,3880),
(139,-117080,49690,-880,63806),
(139,-117606,49650,-920,17813),
(139,-117779,50125,-920,47382),
(139,-118000,50105,-968,27540),
(139,-118097,49912,-936,11260),
(139,-120378,37949,1408,4430),
(140,-121910,61003,-2368,64230),
(140,-122440,55179,-1608,56123),
(140,-122475,54840,-1560,5826),
(140,-122928,43524,888,44634),
(140,-123215,44319,928,30481),
(140,-123401,61164,-2656,47517),
(140,-123800,60127,-2632,56043),
(140,-123943,60348,-2632,22373),
(141,-124298,74848,-2800,35875),
(141,-124355,71875,-2800,58069),
(141,-124356,77403,-3392,58154),
(141,-124608,74480,-2704,57957),
(141,-126495,61819,-2704,33561);