From 319c1108123ea12bd5cc85664ff63a54cd3b3546 Mon Sep 17 00:00:00 2001 From: Aokromes Date: Wed, 2 Sep 2015 02:06:06 +0200 Subject: [PATCH] DB/Spawns: Sync some 3.3.5a spawns with 3.3.5a db --- sql/updates/world/2015_09_01_14_world.sql | 24 +++++++++++++++++++++++ sql/updates/world/2015_09_02_00_world.sql | 7 +++++++ 2 files changed, 31 insertions(+) create mode 100644 sql/updates/world/2015_09_01_14_world.sql create mode 100644 sql/updates/world/2015_09_02_00_world.sql diff --git a/sql/updates/world/2015_09_01_14_world.sql b/sql/updates/world/2015_09_01_14_world.sql new file mode 100644 index 00000000000..28127232bd7 --- /dev/null +++ b/sql/updates/world/2015_09_01_14_world.sql @@ -0,0 +1,24 @@ +-- +-- Borean Tundra visual improvement and missing spawn +SET @GOGUID :=356; -- need 1 set by TDB +SET @OLDGOGUID :=18; -- 4.x +SET @GUID :=43460; -- need 3 set by TDB +SET @OLDGUID :=125; -- 4.x + +DELETE FROM `gameobject` WHERE `guid`=@GOGUID; +DELETE FROM `gameobject` WHERE `guid`=@OLDGOGUID; +INSERT INTO `gameobject` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) VALUES +(@GOGUID,187879,571,1,1,4207.366,4056.894,91.62077,2.792518,0,0,0.984807,0.1736523,300,100,1); + +DELETE FROM `creature` WHERE `guid` in (@GUID+0,@GUID+1,@GUID+2); +DELETE FROM `creature` WHERE `guid` in (@OLDGUID+0,@OLDGUID+1,@OLDGUID+2); +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 +(@GUID+0,24021,571,1,1,21999,0,4207.475,4056.687,93.53715,2.094395,300,0,0,42,0,0,0,0,0), +(@GUID+1,23837,571,1,1,11686,0,4207.471,4056.705,93.66189,3.979351,300,0,0,42,0,0,0,0,0), +(@GUID+2,24957,571,1,1,0,0,4200.877,4056.888,92.28766,6.25263,300,0,0,7185,7196,0,0,0,0); + +DELETE FROM `creature_addon` WHERE `guid` IN (@GUID+0,@GUID+1); +DELETE FROM `creature_addon` WHERE `guid` IN (@OLDGUID+0,@OLDGUID+1); +INSERT INTO `creature_addon` (`guid`,`mount`,`bytes1`,`bytes2`,`auras`) VALUES +(@GUID+0,0,0,1,'45797'), +(@GUID+1,0,0,1,'45797'); diff --git a/sql/updates/world/2015_09_02_00_world.sql b/sql/updates/world/2015_09_02_00_world.sql new file mode 100644 index 00000000000..a46c230db83 --- /dev/null +++ b/sql/updates/world/2015_09_02_00_world.sql @@ -0,0 +1,7 @@ +-- +SET @CGUID := 40267; -- Set by TDB Team +SET @OLDCGUID := 128; -- 4.x +DELETE FROM `creature` WHERE `guid`=@CGUID; +DELETE FROM `creature` WHERE `guid`=@OLDCGUID; +INSERT INTO `creature` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`spawndist`,`MovementType`) VALUES +(@CGUID,29255,571,1,1,5900.299,505.75,641.6531,4.171337,120,0,0);