SET @CGUID := 12860;
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+30 AND `id1` IN (16241, 16255, 16285, 16359, 16490, 16493, 16494, 16495, 16786, 16787, 29441, 29442, 16241, 16281, 16285, 16361, 16478, 16484, 16786);
INSERT INTO `creature` (`guid`, `id1`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `VerifiedBuild`, `CreateObject`) VALUES
/*
Argent Recruiter          16241
Argent Scout              16255
Keeper of the Rolls       16281
Argent Emissary           16285
Argent Messenger          16359
Commander Thomas Helleran 16361
Lieutenant Orrin          16478
Lieutenant Nevell         16484
Lieutenant Rukag          16494
Lieutenant Beitha         16495
Argent Quartermaster      16786
Argent Outfitter          16787
Lieutenant Kregor         29442
*/

-- Light's Hope
(@CGUID+0, 16281, 0, 0, 0, 1, 1, 0, 2242.44091796875,  -5317.3154296875, 82.25064849853515625, 1.413716673851013183, 120, 0, 0, 5742, 0, 0, 0, 0, 49345, 1),
(@CGUID+1, 16285, 0, 0, 0, 1, 1, 0, 2247.78955078125,  -5317.314453125,  82.1934661865234375,  1.570796370506286621, 120, 0, 0, 5228, 0, 0, 0, 0, 49345, 1),
(@CGUID+2, 16361, 0, 0, 0, 1, 1, 0, 2240.872802734375, -5317.2626953125, 82.25064849853515625, 1.675516128540039062, 120, 0, 0, 5228, 0, 0, 0, 0, 49345, 1),

-- Stormwind
(@CGUID+3, 16241, 0, 0, 0, 1, 1, 0, -8832.8681640625, 642.7821044921875,  94.80999755859375,    4.450589656829833984, 120, 0, 0, 5228, 0, 0, 0, 0, 49345, 1),
(@CGUID+4, 16285, 0, 0, 0, 1, 1, 0, -8830.8251953125, 640.75823974609375, 94.52800750732421875, 4.223696708679199218, 120, 0, 0, 5228, 0, 0, 0, 0, 49345, 1),
(@CGUID+5, 16478, 0, 0, 0, 1, 1, 0, -8955.3173828125, 523.41436767578125, 96.43996429443359375, 3.787364482879638671, 120, 0, 0, 198,  0, 0, 0, 0, 49345, 1),
(@CGUID+6, 16786, 0, 0, 0, 1, 1, 0, -8835.7548828125, 644.27618408203125, 95.60742950439453125, 4.188790321350097656, 120, 0, 0, 5228, 0, 0, 0, 0, 49345, 1),

-- Ironforge
(@CGUID+7, 16241, 0, 0, 0, 1, 1, 0, -4933.83837890625, -988.72222900390625, 501.54107666015625,  2.059488534927368164, 120, 0, 0, 5228, 0, 0, 0, 0, 49345, 1),
(@CGUID+8, 16285, 0, 0, 0, 1, 1, 0, -4935.4775390625,  -990.11456298828125, 501.538818359375,    2.234021425247192382, 120, 0, 0, 5228, 0, 0, 0, 0, 49345, 1),
(@CGUID+9, 16484, 0, 0, 0, 1, 1, 0, -5027.18212890625, -806.9814453125,     496.484344482421875, 3.001966238021850585, 120, 0, 0, 198,  0, 0, 0, 0, 49345, 1),

-- Darnassus
(@CGUID+10, 16241, 1, 0, 0, 1, 1, 0, 9918.359375,     2520.5986328125,   1317.5728759765625, 3.31612563133239746,  120, 0, 0, 5228, 0, 0, 0, 0, 49345, 1),
(@CGUID+11, 16241, 1, 0, 0, 1, 1, 0, 9919.1357421875, 2510.427978515625, 1317.6175537109375, 4.398229598999023437, 120, 0, 0, 5228, 0, 0, 0, 0, 49345, 1),
(@CGUID+12, 16285, 1, 0, 0, 1, 1, 0, 9918.9423828125, 2518.56689453125,  1317.6417236328125, 3.473205089569091796, 120, 0, 0, 5228, 0, 0, 0, 0, 49345, 1),
(@CGUID+13, 16495, 1, 0, 0, 1, 1, 0, 9939.365234375,  2114.40234375,     1328.6136474609375, 6.108652114868164062, 120, 0, 0, 198,  0, 0, 0, 0, 49345, 1),
(@CGUID+14, 16786, 1, 0, 0, 1, 1, 0, 9917.6669921875, 2524.45458984375,  1317.53125,         3.874630928039550781, 120, 0, 0, 5228, 0, 0, 0, 0, 49345, 1),

-- The Exodar
(@CGUID+15, 29442, 530, 0, 0, 1, 1, 0, -4039.0625, -11923.4052734375, -1.13312458992004394, 4.86946868896484375, 120, 0, 0, 198, 0, 0, 0, 0, 49345, 1),

-- Orgrimmar
(@CGUID+16, 16255, 1, 0, 0, 1, 1, 0, 1584.5823974609375, -4416.3515625,     8.298021316528320312, 3.385938644409179687, 120, 0, 0, 5922, 0, 0, 0, 0, 49345, 1),
(@CGUID+17, 16359, 1, 0, 0, 1, 1, 0, 1585.2174072265625, -4420.50927734375, 8.329293251037597656, 3.455751895904541015, 120, 0, 0, 5228, 0, 0, 0, 0, 49345, 1),
(@CGUID+18, 16493, 1, 0, 0, 1, 1, 0, 1512.3350830078125, -4403.78662109375, 19.753875732421875,   5.777040004730224609, 120, 0, 0, 198,  0, 0, 0, 0, 46248, 1),
(@CGUID+19, 16787, 1, 0, 0, 1, 1, 0, 1586.276611328125,  -4425.21484375,    7.955701351165771484, 3.054326057434082031, 120, 0, 0, 5228, 0, 0, 0, 0, 49345, 1),

-- Thunder Bluff
(@CGUID+20, 16255, 1, 0, 0, 1, 1, 0, -1273.4107666015625, 69.5706939697265625,  128.057403564453125,  5.689773082733154296, 120, 0, 0, 5922, 0, 0, 0, 0, 49345, 1),
(@CGUID+21, 16359, 1, 0, 0, 1, 1, 0, -1272.7305908203125, 75.3866119384765625,  128.1531524658203125, 0.401425719261169433, 120, 0, 0, 5228, 0, 0, 0, 0, 49345, 1),
(@CGUID+22, 16490, 1, 0, 0, 1, 1, 0, -1346.690673828125,  192.2804107666015625, 61.57354736328125,    4.380776405334472656, 120, 0, 0, 198,  0, 0, 0, 0, 49345, 1),
(@CGUID+23, 16787, 1, 0, 0, 1, 1, 0, -1272.548583984375,  72.46506500244140625, 128.02685546875,      6.213372230529785156, 120, 0, 0, 5228, 0, 0, 0, 0, 49345, 1),

-- Undercity
(@CGUID+24, 16255, 0, 0, 0, 1, 1, 0, 1578.8802490234375, 238.5615997314453125, -61.993988037109375,  3.03687286376953125,  120, 0, 0, 5922, 0, 0, 0, 0, 49345, 1),
(@CGUID+25, 16359, 0, 0, 0, 1, 1, 0, 1578.800537109375,  241.7307891845703125, -61.9939918518066406, 2.932153224945068359, 120, 0, 0, 5228, 0, 0, 0, 0, 49345, 1),
(@CGUID+26, 16494, 0, 0, 0, 1, 1, 0, 1736.86865234375,   239.555938720703125,  62.7902679443359375,  6.2657318115234375,   120, 0, 0, 198,  0, 0, 0, 0, 46248, 1),

-- Silvermoon City
(@CGUID+27, 16255, 530, 0, 0, 1, 1, 0, 9516.109375,     -7350.31005859375, 14.41531562805175781, 1.710422635078430175, 120, 0, 0, 5922, 0, 0, 0, 0, 49345, 1),
(@CGUID+28, 16359, 530, 0, 0, 1, 1, 0, 9525.328125,     -7347.88623046875, 14.41493511199951171, 1.710422635078430175, 120, 0, 0, 5228, 0, 0, 0, 0, 49345, 1),
(@CGUID+29, 16787, 530, 0, 0, 1, 1, 0, 9522.7626953125, -7352.30126953125, 14.40223979949951171, 2.111848354339599609, 120, 0, 0, 5228, 0, 0, 0, 0, 49345, 1),
(@CGUID+30, 29441, 530, 0, 0, 1, 1, 0, 9348.6884765625, -7286.931640625,   14.66600990295410156, 4.171336650848388671, 120, 0, 0, 198,  0, 0, 0, 0, 46248, 1);

SET @OGUID := 2164;
DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+39 AND `id` IN (181254, 181255, 181256);
INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `VerifiedBuild`) VALUES
/*
Argent Dawn Buffer Tent  181254
Argent Dawn Buffer Crate 181255
Argent Dawn Banner       181256
*/

-- Light's Hope
(@OGUID+0, 181254, 0, 0, 0, 1, 1, 2243.857177734375, -5321.142578125,   82.1673126220703125,  1.48352813720703125,  0, 0, 0.675589561462402343, 0.737277925014495849, 120, 255, 1, 49345),
(@OGUID+1, 181255, 0, 0, 0, 1, 1, 2239.55859375,     -5320.30029296875, 82.1270599365234375,  4.1538848876953125,   0, 0, -0.8746194839477539,  0.484810054302215576, 120, 255, 1, 49345),
(@OGUID+2, 181255, 0, 0, 0, 1, 1, 2239.470458984375, -5320.43212890625, 82.[REDACTED], 1.274088263511657714, 0, 0, 0.594821929931640625, 0.80385744571685791,  120, 255, 1, 49345),
(@OGUID+3, 181256, 0, 0, 0, 1, 1, 2238.9111328125,   -5318.666015625,   82.15229034423828125, 1.553341388702392578, 0, 0, 0.700908660888671875, 0.713251054286956787, 120, 255, 1, 49345),
(@OGUID+4, 181256, 0, 0, 0, 1, 1, 2248.46923828125,  -5318.94287109375, 82.11429595947265625, 1.570795774459838867, 0, 0, 0.707106590270996093, 0.707106947898864746, 120, 255, 1, 49345),

-- Stormwind
(@OGUID+5, 181254, 0, 0, 0, 1, 1, -8828.5146484375, 644.6435546875,     94.47904205322265625, 3.717553615570068359, 0, 0, -0.95881938934326171, 0.284016460180282592, 120, 255, 1, 49345),
(@OGUID+6, 181255, 0, 0, 0, 1, 1, -8824.83984375,   644.90533447265625, 94.81845855712890625, 5.515241622924804687, 0, 0, -0.37460613250732421, 0.927184045314788818, 120, 255, 1, 49345),
(@OGUID+7, 181255, 0, 0, 0, 1, 1, -8824.9287109375, 644.94024658203125, 94.38431549072265625, 1.954769015312194824, 0, 0, 0.829037666320800781, 0.559192776679992675, 120, 255, 1, 49345),
(@OGUID+8, 181256, 0, 0, 0, 1, 1, -8833.5234375,    645.7451171875,     95.3211212158203125,  3.90954136848449707,  0, 0, -0.92718315124511718, 0.37460830807685852,  120, 255, 1, 49345),
(@OGUID+9, 181256, 0, 0, 0, 1, 1, -8829.498046875,  640.2664794921875,  94.3803863525390625,  3.717553615570068359, 0, 0, -0.95881938934326171, 0.284016460180282592, 120, 255, 1, 49345),

-- Ironforge
(@OGUID+10, 181254, 0, 0, 0, 1, 1, -4930.55224609375, -992.54864501953125, 501.443145751953125, 2.234017848968505859, 0, 0, 0.898793220520019531, 0.438372820615768432, 120, 255, 1, 49345),
(@OGUID+11, 181255, 0, 0, 0, 1, 1, -4930.486328125,   -988.3055419921875,  501.455291748046875, 2.094393253326416015, 0, 0, 0.866024971008300781, 0.50000077486038208,  120, 255, 1, 49345),
(@OGUID+12, 181255, 0, 0, 0, 1, 1, -4930.68408203125, -988.201416015625,   501.9072265625,      2.251473426818847656, 0, 0, 0.902585029602050781, 0.430511653423309326, 120, 255, 1, 49345),
(@OGUID+13, 181256, 0, 0, 0, 1, 1, -4935.90625,       -992.138916015625,   501.450531005859375, 2.234017848968505859, 0, 0, 0.898793220520019531, 0.438372820615768432, 120, 255, 1, 49345),
(@OGUID+14, 181256, 0, 0, 0, 1, 1, -4929.71533203125, -987.20660400390625, 501.4576416015625,   2.181660413742065429, 0, 0, 0.887010574340820312, 0.461749136447906494, 120, 255, 1, 49345),

-- Darnassus
(@OGUID+15, 181254, 1, 0, 0, 1, 1, 9921.0732421875, 2521.541259765625, 1318.099609375,     3.420850038528442382, 0, 0, -0.99026775360107421, 0.139175355434417724, 120, 255, 1, 49345),
(@OGUID+16, 181255, 1, 0, 0, 1, 1, 9920.84765625,   2526.055908203125, 1318.470947265625,  0.977383077144622802, 0, 0, 0.469470977783203125, 0.882947921752929687, 120, 255, 1, 49345),
(@OGUID+17, 181255, 1, 0, 0, 1, 1, 9920.939453125,  2525.911376953125, 1318.9603271484375, 1.239183306694030761, 0, 0, 0.580702781677246093, 0.814115643501281738, 120, 255, 1, 49345),
(@OGUID+18, 181256, 1, 0, 0, 1, 1, 9918.6259765625, 2525.05029296875,  1317.7940673828125, 2.513273954391479492, 0, 0, 0.951056480407714843, 0.309017121791839599, 120, 255, 1, 49345),
(@OGUID+19, 181256, 1, 0, 0, 1, 1, 9920.845703125,  2516.857666015625, 1317.96044921875,   4.101525306701660156, 0, 0, -0.88701057434082031, 0.461749136447906494, 120, 255, 1, 49345),

-- Orgrimmar
(@OGUID+20, 181254, 1, 0, 0, 1, 1, 1587.87158203125,   -4417.876953125,   8.158654212951660156, 3.298687219619750976, 0, 0, -0.99691677093505859, 0.078466430306434631, 120, 255, 1, 49345),
(@OGUID+21, 181255, 1, 0, 0, 1, 1, 1587.9427490234375, -4413.60400390625, 8.889185905456542968, 2.862335443496704101, 0, 0, 0.990267753601074218, 0.139175355434417724, 120, 255, 1, 49345),
(@OGUID+22, 181255, 1, 0, 0, 1, 1, 1588.2056884765625, -4413.59375,       8.402263641357421875, 6.265733242034912109, 0, 0, -0.00872611999511718, 0.999961912631988525, 120, 255, 1, 49345),
(@OGUID+23, 181256, 1, 0, 0, 1, 1, 1585.4385986328125, -4414.01025390625, 8.089628219604492187, 3.368495941162109375, 0, 0, -0.99357128143310546, 0.113208353519439697, 120, 255, 1, 49345),
(@OGUID+24, 181256, 1, 0, 0, 1, 1, 1586.84033203125,   -4422.4541015625,  8.260054588317871093, 3.22885894775390625,  0, 0, -0.99904823303222656, 0.043619260191917419, 120, 255, 1, 49345),

-- Thunder Bluff
(@OGUID+25, 181254, 1, 0, 0, 1, 1, -1277.0220947265625, 72.71939849853515625, 128.6679534912109375, 6.178466320037841796, 0, 0, -0.05233573913574218, 0.998629570007324218, 120, 255, 1, 49345),
(@OGUID+26, 181255, 1, 0, 0, 1, 1, -1277.00634765625,   77.34407806396484375, 128.3838348388671875, 6.265733242034912109, 0, 0, -0.00872611999511718, 0.999961912631988525, 120, 255, 1, 49345),
(@OGUID+27, 181255, 1, 0, 0, 1, 1, -1277.022705078125,  77.24370574951171875, 128.88458251953125,   5.969027042388916015, 0, 0, -0.1564340591430664,  0.987688362598419189, 120, 255, 1, 49345),
(@OGUID+28, 181256, 1, 0, 0, 1, 1, -1275.02099609375,   68.62082672119140625, 128.1173553466796875, 5.497788906097412109, 0, 0, -0.38268280029296875, 0.923879802227020263, 120, 255, 1, 49345),
(@OGUID+29, 181256, 1, 0, 0, 1, 1, -1273.957275390625,  76.5033111572265625,  128.1967010498046875, 0.733038187026977539, 0, 0, 0.358367919921875,    0.933580458164215087, 120, 255, 1, 49345),

-- Undercity
(@OGUID+30, 181254, 0, 0, 0, 1, 1, 1583.4111328125,    240.459747314453125,  -62.0773124694824218, 3.036838293075561523, 0, 0, 0.998628616333007812, 0.052353221923112869, 120, 255, 1, 49345),
(@OGUID+31, 181255, 0, 0, 0, 1, 1, 1582.51708984375,   236.040069580078125,  -62.0773200988769531, 3.351046562194824218, 0, 0, -0.99452114105224609, 0.104535527527332305, 120, 255, 1, 49345),
(@OGUID+32, 181255, 0, 0, 0, 1, 1, 1582.244384765625,  236.144073486328125,  -62.0773200988769531, 0.087265998125076293, 0, 0, 0.043619155883789062, 0.999048233032226562, 120, 255, 1, 49345),
(@OGUID+33, 181256, 0, 0, 0, 1, 1, 1580.111572265625,  236.9007720947265625, -62.0773200988769531, 3.665196180343627929, 0, 0, -0.96592521667480468, 0.258821308612823486, 120, 255, 1, 49345),
(@OGUID+34, 181256, 0, 0, 0, 1, 1, 1582.0145263671875, 244.990692138671875,  -62.0773200988769531, 2.199114561080932617, 0, 0, 0.8910064697265625,   0.453990638256072998, 120, 255, 1, 49345),

-- Silvermoon City
(@OGUID+35, 181254, 530, 0, 0, 1, 1, 9522.5283203125, -7353.31005859375, 14.314422607421875,   1.85004889965057373,  0, 0, 0.798635482788085937, 0.60181504487991333,  120, 255, 1, 49345),
(@OGUID+36, 181255, 530, 0, 0, 1, 1, 9521.119140625,  -7354.52978515625, 14.76799869537353515, 3.211419343948364257, 0, 0, -0.9993906021118164,  0.034906134009361267, 120, 255, 1, 49345),
(@OGUID+37, 181255, 530, 0, 0, 1, 1, 9521.236328125,  -7354.58056640625, 14.30936145782470703, 0.261798173189163208, 0, 0, 0.130525588989257812, 0.991444945335388183, 120, 255, 1, 49345),
(@OGUID+38, 181256, 530, 0, 0, 1, 1, 9516.470703125,  -7352.04248046875, 14.323822021484375,   1.832594871520996093, 0, 0, 0.793353080749511718, 0.608761727809906005, 120, 255, 1, 49345),
(@OGUID+39, 181256, 530, 0, 0, 1, 1, 9526.6220703125, -7349.025390625,   14.32355976104736328, 1.815141916275024414, 0, 0, 0.788010597229003906, 0.615661680698394775, 120, 255, 1, 49345);

SET @SCOURGEINVASION := 17;
DELETE FROM `game_event_creature` WHERE `eventEntry` = @SCOURGEINVASION AND `guid` BETWEEN @CGUID+0 AND @CGUID+30;
INSERT INTO `game_event_creature` (`eventEntry`, `guid`) VALUES
(@SCOURGEINVASION, @CGUID+0),
(@SCOURGEINVASION, @CGUID+1),
(@SCOURGEINVASION, @CGUID+2),
(@SCOURGEINVASION, @CGUID+3),
(@SCOURGEINVASION, @CGUID+4),
(@SCOURGEINVASION, @CGUID+5),
(@SCOURGEINVASION, @CGUID+6),
(@SCOURGEINVASION, @CGUID+7),
(@SCOURGEINVASION, @CGUID+8),
(@SCOURGEINVASION, @CGUID+9),
(@SCOURGEINVASION, @CGUID+10),
(@SCOURGEINVASION, @CGUID+11),
(@SCOURGEINVASION, @CGUID+12),
(@SCOURGEINVASION, @CGUID+13),
(@SCOURGEINVASION, @CGUID+14),
(@SCOURGEINVASION, @CGUID+15),
(@SCOURGEINVASION, @CGUID+16),
(@SCOURGEINVASION, @CGUID+17),
(@SCOURGEINVASION, @CGUID+18),
(@SCOURGEINVASION, @CGUID+19),
(@SCOURGEINVASION, @CGUID+20),
(@SCOURGEINVASION, @CGUID+21),
(@SCOURGEINVASION, @CGUID+22),
(@SCOURGEINVASION, @CGUID+23),
(@SCOURGEINVASION, @CGUID+24),
(@SCOURGEINVASION, @CGUID+25),
(@SCOURGEINVASION, @CGUID+26),
(@SCOURGEINVASION, @CGUID+27),
(@SCOURGEINVASION, @CGUID+28),
(@SCOURGEINVASION, @CGUID+29),
(@SCOURGEINVASION, @CGUID+30);

DELETE FROM `game_event_gameobject` WHERE `eventEntry` = @SCOURGEINVASION AND `guid` BETWEEN @OGUID+0 AND @OGUID+39;
INSERT INTO `game_event_gameobject` (`eventEntry`, `guid`) VALUES
(@SCOURGEINVASION, @OGUID+0),
(@SCOURGEINVASION, @OGUID+1),
(@SCOURGEINVASION, @OGUID+2),
(@SCOURGEINVASION, @OGUID+3),
(@SCOURGEINVASION, @OGUID+4),
(@SCOURGEINVASION, @OGUID+5),
(@SCOURGEINVASION, @OGUID+6),
(@SCOURGEINVASION, @OGUID+7),
(@SCOURGEINVASION, @OGUID+8),
(@SCOURGEINVASION, @OGUID+9),
(@SCOURGEINVASION, @OGUID+10),
(@SCOURGEINVASION, @OGUID+11),
(@SCOURGEINVASION, @OGUID+12),
(@SCOURGEINVASION, @OGUID+13),
(@SCOURGEINVASION, @OGUID+14),
(@SCOURGEINVASION, @OGUID+15),
(@SCOURGEINVASION, @OGUID+16),
(@SCOURGEINVASION, @OGUID+17),
(@SCOURGEINVASION, @OGUID+18),
(@SCOURGEINVASION, @OGUID+19),
(@SCOURGEINVASION, @OGUID+20),
(@SCOURGEINVASION, @OGUID+21),
(@SCOURGEINVASION, @OGUID+22),
(@SCOURGEINVASION, @OGUID+23),
(@SCOURGEINVASION, @OGUID+24),
(@SCOURGEINVASION, @OGUID+25),
(@SCOURGEINVASION, @OGUID+26),
(@SCOURGEINVASION, @OGUID+27),
(@SCOURGEINVASION, @OGUID+28),
(@SCOURGEINVASION, @OGUID+29),
(@SCOURGEINVASION, @OGUID+30),
(@SCOURGEINVASION, @OGUID+31),
(@SCOURGEINVASION, @OGUID+32),
(@SCOURGEINVASION, @OGUID+33),
(@SCOURGEINVASION, @OGUID+34),
(@SCOURGEINVASION, @OGUID+35),
(@SCOURGEINVASION, @OGUID+36),
(@SCOURGEINVASION, @OGUID+37),
(@SCOURGEINVASION, @OGUID+38),
(@SCOURGEINVASION, @OGUID+39);
