diff options
author | Nay <dnpd.dd@gmail.com> | 2011-08-07 14:39:40 +0100 |
---|---|---|
committer | Nay <dnpd.dd@gmail.com> | 2011-08-07 14:39:40 +0100 |
commit | 5429158b3fcb83ac6aab1a714bfb3acbcc27d54b (patch) | |
tree | a1cfd0a6e3e488630a85535618a4b04796796d13 | |
parent | 5c762a17ca6e73219607d7dc65f966fb27dd3893 (diff) |
DB/Spawns: Properly insert Shadow Vault/Icecrown spawns, with guids.
-rw-r--r-- | sql/updates/world/2011_08_06_04_world_misc.sql | 77 | ||||
-rw-r--r-- | sql/updates/world/2011_08_07_02_world_spawns.sql | 78 |
2 files changed, 79 insertions, 76 deletions
diff --git a/sql/updates/world/2011_08_06_04_world_misc.sql b/sql/updates/world/2011_08_06_04_world_misc.sql index 9960fa7e018..c1ce37fc6c7 100644 --- a/sql/updates/world/2011_08_06_04_world_misc.sql +++ b/sql/updates/world/2011_08_06_04_world_misc.sql @@ -13,9 +13,6 @@ INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type (30204,0,1,0,4,0,100,0,0,0,0,0,28,56422,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Forgotten Depths Ambusher - remove submerge'); -- ocular -DELETE FROM `creature` WHERE `id`=29747; -INSERT INTO `creature` (`id`,`map`,`spawnMask`,`phaseMask`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`spawndist`,`currentwaypoint`,`curhealth`,`curmana`,`MovementType`) values -(29747,571,1,2,0,0,8526.228,2665.085,1045.04,2.670354,120,0,0,126000,0,0); UPDATE `creature_template` SET `unit_flags`=`unit_flags`|33555200 WHERE `entry`=29790; UPDATE `creature_template` SET `dynamicflags`=`dynamicflags`|8, `unit_flags`=`unit_flags`|4, `InhabitType`=7 WHERE `entry` IN (29747,29790); UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=29747; @@ -73,73 +70,6 @@ INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry (19,0,13164,0,8,13162,0,0,'', 'The Fate of Bloodbane'), (19,0,13164,0,8,13163,0,0,'', 'The Fate of Bloodbane'); --- spawns -DELETE FROM `creature` WHERE `id` IN (29717,29719,29720,29722,29738,29740,29770,29769,29804); -INSERT INTO `creature` (`id`,`map`,`spawnMask`,`phaseMask`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`spawndist`,`currentwaypoint`,`curhealth`,`curmana`,`MovementType`) VALUES -(29717,571,1,2,0,0,8335.01,2815.44,655.279,1.91986,300,0,0,12175,3893,0), -(29717,571,1,2,0,0,8416.89,2698.95,655.278,5.4655,300,0,0,12175,3893,0), -(29717,571,1,2,0,0,8337.6,2803.88,655.317,4.75039,300,0,0,12175,3893,0), -(29717,571,1,2,0,0,8313.91,2802.63,655.294,3.49066,300,0,0,12175,3893,0), -(29717,571,1,2,0,0,8375.95,2711.55,655.283,4.58118,300,0,0,12175,3893,0), -(29717,571,1,2,0,0,8353.96,2806.34,655.317,0.488692,300,0,0,12175,3893,0), -(29717,571,1,2,0,0,8379.28,2778.25,655.28,0.471239,300,0,0,12175,3893,0), -(29717,571,1,2,0,0,8364.14,2701.92,656.568,0.0349066,300,0,0,12175,3893,0), -(29717,571,1,2,0,0,8477.41,2632.19,653.252,4.90438,300,0,0,12175,3893,0), -(29717,571,1,2,0,0,8481.43,2626.01,652.453,2.44346,300,0,0,12175,3893,0), -(29717,571,1,2,0,0,8487.49,2597.66,652.453,3.735,300,0,0,12175,3893,0), -(29717,571,1,2,0,0,8482,2594.25,653.308,5.72468,300,0,0,12175,3893,0), -(29719,571,1,2,0,0,8251.46,2788.82,642.024,3.15905,300,0,0,12175,0,0), -(29719,571,1,2,0,0,8441.54,2736.37,760.141,5.28835,300,0,0,12175,0,0), -(29719,571,1,2,0,0,8346.44,2669.66,689.96,5.49779,300,0,0,12175,0,0), -(29719,571,1,2,0,0,8481.1,2684.45,652.537,2.75762,300,0,0,12175,0,0), -(29719,571,1,2,0,0,8419.11,2731.21,656.928,3.83972,300,0,0,12175,0,0), -(29719,571,1,2,0,0,8442.5,2591.95,760.057,2.81745,300,0,0,12175,0,0), -(29719,571,1,2,0,0,8333.68,2713.6,658.645,1.27409,300,0,0,12175,0,0), -(29719,571,1,2,0,0,8353.3,2769.46,656.19,4.17134,300,0,0,12175,0,0), -(29719,571,1,2,0,0,8249.88,2766.01,642.024,2.84489,300,0,0,12175,0,0), -(29719,571,1,2,0,0,8249.3,2792.87,641.876,4.50706,300,0,0,12175,0,0), -(29719,571,1,2,0,0,8407.3,2792.75,717.842,3.32933,300,0,0,12175,0,0), -(29719,571,1,2,0,0,8441.07,2731.16,760.057,3.90197,300,0,0,12175,0,0), -(29720,571,1,2,0,0,8253.07,2778.52,641.94,5.84327,300,0,0,12175,0,0), -(29720,571,1,2,0,0,8375.25,2827.48,717.925,1.25664,300,0,0,12175,0,0), -(29720,571,1,2,0,0,8384.67,2727.19,655.276,0.523599,300,0,0,12175,0,0), -(29720,571,1,2,0,0,8262.02,2742.37,643.984,2.56197,300,0,0,12175,0,0), -(29720,571,1,2,0,0,8505.87,2684.41,654.01,4.31096,300,0,0,12175,0,0), -(29720,571,1,2,0,0,8493.93,2656.29,653.637,4.39823,300,0,0,12175,0,0), -(29720,571,1,2,0,0,8249.41,2794.36,642.251,3.02912,300,0,0,12175,0,0), -(29720,571,1,2,0,0,8238,2798.22,638.909,2.10867,300,0,0,12175,0,0), -(29720,571,1,2,0,0,8312.52,2676.2,689.168,3.89319,300,0,0,12175,0,0), -(29720,571,1,2,0,0,8357.75,2724,662.616,1.15192,300,0,0,12175,0,0), -(29720,571,1,2,0,0,8417.85,2644.77,760.057,0.294484,300,0,0,12175,0,0), -(29720,571,1,2,0,0,8323.99,2775.64,655.539,0.820305,300,0,0,12175,0,0), -(29720,571,1,2,0,0,8313.71,2730.07,666.374,1.41372,300,0,0,12175,0,0), -(29720,571,1,2,0,0,8404.08,2751.16,666.536,3.59538,300,0,0,12175,0,0), -(29720,571,1,2,0,0,8526.63,2647.68,654.274,5.81195,300,0,0,12175,0,0), -(29720,571,1,2,0,0,8510.63,2619.33,652.453,1.21255,300,0,0,12175,0,0), -(29722,571,1,2,0,0,8419.52,2697.4,760.141,4.81711,300,0,0,12175,0,0), -(29722,571,1,2,0,0,8413.14,2643.3,760.141,3.28122,300,0,0,12175,0,0), -(29722,571,1,2,0,0,8313.09,2684.89,689.96,5.93412,300,0,0,12175,0,0), -(29722,571,1,2,0,0,8407.96,2796.92,717.907,5.70723,300,0,0,12175,0,0), -(29722,571,1,2,0,0,8382.41,2828.45,717.247,5.77289,300,0,0,12175,0,0), -(29722,571,1,2,0,0,8418.25,2696.34,760.057,3.28026,300,0,0,12175,0,0), -(29722,571,1,2,0,0,8338.52,2740.88,655.542,6.19592,300,0,0,12175,0,0), -(29722,571,1,2,0,0,8284.4,2669.41,689.419,4.65308,300,0,0,12175,0,0), -(29722,571,1,2,0,0,8348.2,2813.92,655.394,2.53073,300,0,0,12175,0,0), -(29722,571,1,2,0,0,8320.35,2814.49,656.567,5.58505,300,0,0,12175,0,0), -(29722,571,1,2,0,0,8349.74,2669.86,689.877,0.32094,300,0,0,12175,0,0), -(29722,571,1,2,0,0,8367.34,2745.54,655.24,0.160263,300,0,0,12175,0,0), -(29738,571,1,2,0,0,8407.75,2712.33,655.278,0.593412,300,0,0,12175,3893,0), -(29738,571,1,2,0,0,8380.24,2751.93,655.466,2.37967,300,0,0,12175,3893,0), -(29738,571,1,2,0,0,8289.62,2759.84,656.208,2.9147,300,0,0,12175,3893,0), -(29738,571,1,2,0,0,8292.34,2783.9,656.208,3.15905,300,0,0,12175,3893,0), -(29738,571,1,2,0,0,8520.61,2728.09,652.537,4.99164,300,0,0,12175,3893,0), -(29738,571,1,2,0,0,8309.55,2775.3,655.197,4.70894,300,0,0,12175,3893,2), -(29840,571,1,2,0,0,8418.5,2620.67,759.958,4.90178,300,0,0,12600,0,2), -(29770,571,1,2,0,0,8402.52,2824.4,716.659,0.954007,300,0,0,10080,8814,0), -(29769,571,1,2,0,0,8298.21,2657.99,688.695,5.5676,300,0,0,12600,0,0), -(29804,571,1,2,0,0,8395.01,2675.19,657.913,1.32645,300,0,0,63000,19970,0); - - UPDATE `gameobject` SET `phasemask`=3 WHERE `guid`=62035; UPDATE `creature_template` SET `faction_A`=974, `faction_H`=974 WHERE `entry`=29769; UPDATE `creature_template` SET `faction_A`=21, `faction_H`=21 WHERE `entry`=29717; @@ -148,12 +78,7 @@ UPDATE `creature_template` SET `faction_A`=21, `faction_H`=21 WHERE `entry`=2972 UPDATE `creature_template` SET `faction_A`=974, `faction_H`=974 WHERE `entry`=29840; UPDATE `creature_template` SET `faction_A`=974, `faction_H`=974 WHERE `entry`=29770; -DELETE FROM `gameobject` WHERE `id` IN (191778,191779); -INSERT INTO `gameobject` (`id`,`map`,`spawnMask`,`phaseMask`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) VALUES -(191778,571,1,2,8600.93,2639.53,652.353,-3.12412,0,0,-0.999962,0.00873622,300,100,1), -(191779,571,1,2,8594.72,2627.14,652.353,1.15192,0,0,0.54464,0.83867,300,100,1); - -- lightbane from sniffs DELETE FROM `event_scripts` WHERE `id`=19423; INSERT INTO `event_scripts` VALUES -(19423,3,10,29851,300000,0,8593.944,2618.039,652.3534,3.174454);
\ No newline at end of file +(19423,3,10,29851,300000,0,8593.944,2618.039,652.3534,3.174454); diff --git a/sql/updates/world/2011_08_07_02_world_spawns.sql b/sql/updates/world/2011_08_07_02_world_spawns.sql new file mode 100644 index 00000000000..76a898b92b6 --- /dev/null +++ b/sql/updates/world/2011_08_07_02_world_spawns.sql @@ -0,0 +1,78 @@ +SET @CGUID := 209079; + +-- Insert a creature that shouldn't have been deleted +DELETE FROM `creature` WHERE `id`=29740; +INSERT INTO `creature` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`spawndist`,`currentwaypoint`,`curhealth`,`curmana`,`MovementType`,`npcflag`,`unit_flags`,`dynamicflags`) VALUES +(100065,29740,571,1,1,26471,0,3273.75,-2246.84,114.818,4.5204,300,0,0,9610,0,0,0,0,0); + +-- Icecrown spawns +DELETE FROM `creature` WHERE `id` IN (29717,29719,29720,29722,29738,29770,29769,29804,29747,29840); +INSERT INTO `creature` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`spawndist`,`currentwaypoint`,`curhealth`,`curmana`,`MovementType`) VALUES +(152138,29717,571,1,2,0,0,8335.01,2815.44,655.279,1.91986,300,0,0,12175,3893,0), +(152139,29717,571,1,2,0,0,8416.89,2698.95,655.278,5.4655,300,0,0,12175,3893,0), +(152140,29717,571,1,2,0,0,8337.6,2803.88,655.317,4.75039,300,0,0,12175,3893,0), +(152141,29717,571,1,2,0,0,8313.91,2802.63,655.294,3.49066,300,0,0,12175,3893,0), +(152142,29717,571,1,2,0,0,8375.95,2711.55,655.283,4.58118,300,0,0,12175,3893,0), +(152143,29717,571,1,2,0,0,8353.96,2806.34,655.317,0.488692,300,0,0,12175,3893,0), +(152144,29717,571,1,2,0,0,8379.28,2778.25,655.28,0.471239,300,0,0,12175,3893,0), +(152145,29717,571,1,2,0,0,8364.14,2701.92,656.568,0.0349066,300,0,0,12175,3893,0), +(152146,29717,571,1,2,0,0,8477.41,2632.19,653.252,4.90438,300,0,0,12175,3893,0), +(152147,29717,571,1,2,0,0,8481.43,2626.01,652.453,2.44346,300,0,0,12175,3893,0), +(152148,29717,571,1,2,0,0,8487.49,2597.66,652.453,3.735,300,0,0,12175,3893,0), +(152149,29717,571,1,2,0,0,8482,2594.25,653.308,5.72468,300,0,0,12175,3893,0), +(152126,29719,571,1,2,0,0,8251.46,2788.82,642.024,3.15905,300,0,0,12175,0,0), +(152127,29719,571,1,2,0,0,8441.54,2736.37,760.141,5.28835,300,0,0,12175,0,0), +(152128,29719,571,1,2,0,0,8346.44,2669.66,689.96,5.49779,300,0,0,12175,0,0), +(152129,29719,571,1,2,0,0,8481.1,2684.45,652.537,2.75762,300,0,0,12175,0,0), +(152130,29719,571,1,2,0,0,8419.11,2731.21,656.928,3.83972,300,0,0,12175,0,0), +(152131,29719,571,1,2,0,0,8442.5,2591.95,760.057,2.81745,300,0,0,12175,0,0), +(152132,29719,571,1,2,0,0,8333.68,2713.6,658.645,1.27409,300,0,0,12175,0,0), +(152133,29719,571,1,2,0,0,8353.3,2769.46,656.19,4.17134,300,0,0,12175,0,0), +(152134,29719,571,1,2,0,0,8249.88,2766.01,642.024,2.84489,300,0,0,12175,0,0), +(152135,29719,571,1,2,0,0,8249.3,2792.87,641.876,4.50706,300,0,0,12175,0,0), +(152136,29719,571,1,2,0,0,8407.3,2792.75,717.842,3.32933,300,0,0,12175,0,0), +(152137,29719,571,1,2,0,0,8441.07,2731.16,760.057,3.90197,300,0,0,12175,0,0), +(152150,29720,571,1,2,0,0,8253.07,2778.52,641.94,5.84327,300,0,0,12175,0,0), +(152151,29720,571,1,2,0,0,8375.25,2827.48,717.925,1.25664,300,0,0,12175,0,0), +(152152,29720,571,1,2,0,0,8384.67,2727.19,655.276,0.523599,300,0,0,12175,0,0), +(152153,29720,571,1,2,0,0,8262.02,2742.37,643.984,2.56197,300,0,0,12175,0,0), +(152154,29720,571,1,2,0,0,8505.87,2684.41,654.01,4.31096,300,0,0,12175,0,0), +(152155,29720,571,1,2,0,0,8493.93,2656.29,653.637,4.39823,300,0,0,12175,0,0), +(152156,29720,571,1,2,0,0,8249.41,2794.36,642.251,3.02912,300,0,0,12175,0,0), +(152157,29720,571,1,2,0,0,8238,2798.22,638.909,2.10867,300,0,0,12175,0,0), +(152158,29720,571,1,2,0,0,8312.52,2676.2,689.168,3.89319,300,0,0,12175,0,0), +(152159,29720,571,1,2,0,0,8357.75,2724,662.616,1.15192,300,0,0,12175,0,0), +(152160,29720,571,1,2,0,0,8417.85,2644.77,760.057,0.294484,300,0,0,12175,0,0), +(152161,29720,571,1,2,0,0,8323.99,2775.64,655.539,0.820305,300,0,0,12175,0,0), +(152162,29720,571,1,2,0,0,8313.71,2730.07,666.374,1.41372,300,0,0,12175,0,0), +(152163,29720,571,1,2,0,0,8404.08,2751.16,666.536,3.59538,300,0,0,12175,0,0), +(152164,29720,571,1,2,0,0,8526.63,2647.68,654.274,5.81195,300,0,0,12175,0,0), +(@CGUID+00,29720,571,1,2,0,0,8510.63,2619.33,652.453,1.21255,300,0,0,12175,0,0), +(@CGUID+01,29722,571,1,2,0,0,8419.52,2697.4,760.141,4.81711,300,0,0,12175,0,0), +(@CGUID+02,29722,571,1,2,0,0,8413.14,2643.3,760.141,3.28122,300,0,0,12175,0,0), +(@CGUID+03,29722,571,1,2,0,0,8313.09,2684.89,689.96,5.93412,300,0,0,12175,0,0), +(@CGUID+04,29722,571,1,2,0,0,8407.96,2796.92,717.907,5.70723,300,0,0,12175,0,0), +(@CGUID+05,29722,571,1,2,0,0,8382.41,2828.45,717.247,5.77289,300,0,0,12175,0,0), +(@CGUID+06,29722,571,1,2,0,0,8418.25,2696.34,760.057,3.28026,300,0,0,12175,0,0), +(@CGUID+07,29722,571,1,2,0,0,8338.52,2740.88,655.542,6.19592,300,0,0,12175,0,0), +(@CGUID+08,29722,571,1,2,0,0,8284.4,2669.41,689.419,4.65308,300,0,0,12175,0,0), +(@CGUID+09,29722,571,1,2,0,0,8348.2,2813.92,655.394,2.53073,300,0,0,12175,0,0), +(@CGUID+10,29722,571,1,2,0,0,8320.35,2814.49,656.567,5.58505,300,0,0,12175,0,0), +(@CGUID+11,29722,571,1,2,0,0,8349.74,2669.86,689.877,0.32094,300,0,0,12175,0,0), +(@CGUID+12,29722,571,1,2,0,0,8367.34,2745.54,655.24,0.160263,300,0,0,12175,0,0), +(@CGUID+13,29738,571,1,2,0,0,8407.75,2712.33,655.278,0.593412,300,0,0,12175,3893,0), +(@CGUID+14,29738,571,1,2,0,0,8380.24,2751.93,655.466,2.37967,300,0,0,12175,3893,0), +(@CGUID+15,29738,571,1,2,0,0,8289.62,2759.84,656.208,2.9147,300,0,0,12175,3893,0), +(@CGUID+16,29738,571,1,2,0,0,8292.34,2783.9,656.208,3.15905,300,0,0,12175,3893,0), +(@CGUID+17,29738,571,1,2,0,0,8520.61,2728.09,652.537,4.99164,300,0,0,12175,3893,0), +(@CGUID+18,29738,571,1,2,0,0,8309.55,2775.3,655.197,4.70894,300,0,0,12175,3893,2), +(@CGUID+19,29840,571,1,2,0,0,8418.5,2620.67,759.958,4.90178,300,0,0,12600,0,2), +(@CGUID+20,29770,571,1,2,0,0,8402.52,2824.4,716.659,0.954007,300,0,0,10080,8814,0), +(@CGUID+21,29769,571,1,2,0,0,8298.21,2657.99,688.695,5.5676,300,0,0,12600,0,0), +(@CGUID+22,29804,571,1,2,0,0,8395.01,2675.19,657.913,1.32645,300,0,0,63000,19970,0), +(152165,29747,571,1,2,0,0,8526.228,2665.085,1045.04,2.670354,120,0,0,126000,0,0); + +DELETE FROM `gameobject` WHERE `id` IN (191778,191779); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) VALUES +(152116,191778,571,1,2,8600.93,2639.53,652.353,-3.12412,0,0,-0.999962,0.00873622,300,100,1), +(152117,191779,571,1,2,8594.72,2627.14,652.353,1.15192,0,0,0.54464,0.83867,300,100,1); |