diff --git a/data/sql/updates/pending_db_world/rev_1701117458563420800.sql b/data/sql/updates/pending_db_world/rev_1701117458563420800.sql new file mode 100644 index 000000000..82031610d --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1701117458563420800.sql @@ -0,0 +1,65 @@ +-- Update Midsummer relevant gameobject spawns in "The Slave Pens" with sniffed values +-- updated spawns +DELETE FROM `gameobject` WHERE (`id` IN (187882, 188142, 188067)) AND (`guid` IN (220100, 220101, 220102, 220103, 220104, 220105, 220106, 220111, 220112)); +INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`, `Comment`) VALUES +-- 187882 'Ice Stone' +(220100, 187882, 547, 0, 0, 3, 1, -69.9045486450195312, -162.244949340820312, -2.366563081741333, 2.426007747650146484, 0, 0, 0.936672210693359375, 0.350207358598709106, 7200, 255, 1, "", 50172, NULL), +-- 188142 'Ice Block, Big' +(220101, 188142, 547, 0, 0, 3, 1, -74.6595916748046875, -243.812469482421875, -2.73599910736083984, 2.216565132141113281, 0, 0, 0.894933700561523437, 0.44619917869567871, 7200, 255, 1, "", 50172, NULL), +(220102, 188142, 547, 0, 0, 3, 1, -103.713432312011718, -245.504074096679687, -1.37788105010986328, 4.991643905639648437, 0, 0, -0.60181427001953125, 0.798636078834533691, 7200, 255, 1, "", 50172, NULL), +(220103, 188142, 547, 0, 0, 3, 1, -75.4278411865234375, -221.159988403320312, -2.88294100761413574, 0.488691210746765136, 0, 0, 0.241921424865722656, 0.970295846462249755, 7200, 255, 1, "", 50172, NULL), +(220104, 188142, 547, 0, 0, 3, 1, -118.919563293457031, -204.802276611328125, -1.50416100025177001, 1.919861555099487304, 0, 0, 0.819151878356933593, 0.573576688766479492, 7200, 255, 1, "", 50172, NULL), +(220105, 188142, 547, 0, 0, 3, 1, -72.753143310546875, -185.154693603515625, -4.93059301376342773, 0.15707901120185852, 0, 0, 0.078458786010742187, 0.996917366981506347, 7200, 255, 1, "", 50172, NULL), +(220106, 188142, 547, 0, 0, 3, 1, -117.385650634765625, -165.964920043945312, -2.01864600181579589, 0.558503925800323486, 0, 0, 0.275636672973632812, 0.961261868476867675, 7200, 255, 1, "", 50172, NULL), +-- 188067 'Ice Block' +(220111, 188067, 547, 0, 0, 3, 1, -49.2725067138671875, -168.985946655273437, -1.89881098270416259, 2.007128477096557617, 0, 0, 0.84339141845703125, 0.537299633026123046, 7200, 255, 1, "", 50172, NULL), +(220112, 188067, 547, 0, 0, 3, 1, -83.5252761840820312, -172.18060302734375, -3.81652188301086425, 0.017452461645007133, 0, 0, 0.008726119995117187, 0.999961912631988525, 7200, 255, 1, "", 50172, NULL); + +DELETE FROM `game_event_gameobject` WHERE (`eventEntry` = 1) AND (`guid` IN (220100, 220111, 220112, 220101, 220102, 220103, 220104, 220105, 220106)); +INSERT INTO `game_event_gameobject` (`eventEntry`,`guid`) VALUES +(1, 220100), +(1, 220111), +(1, 220112), +(1, 220101), +(1, 220102), +(1, 220103), +(1, 220104), +(1, 220105), +(1, 220106); + +-- new spawns +DELETE FROM `gameobject` WHERE (`id` IN (188067, 195000, 188072, 188073)) AND (`guid` BETWEEN 11207 AND 11217); +INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`, `Comment`) VALUES +-- 188067 'Ice Block' +(11207, 188067, 547, 0, 0, 3, 1, -115.598533630371093, -162.772384643554687, -1.92402505874633789, 5.724681377410888671, 0, 0, -0.27563667297363281, 0.961261868476867675, 7200, 255, 1, "", 50172, NULL), +(11208, 188067, 547, 0, 0, 3, 1, -71.8962478637695312, -145.49737548828125, -1.55181300640106201, 4.328419685363769531, 0, 0, -0.82903671264648437, 0.559194147586822509, 7200, 255, 1, "", 50172, NULL), +(11209, 188067, 547, 0, 0, 3, 1, -75.2318267822265625, -217.329315185546875, -3.0727999210357666, 5.794494152069091796, 0, 0, -0.24192142486572265, 0.970295846462249755, 7200, 255, 1, "", 50172, NULL), +(11210, 188067, 547, 0, 0, 3, 1, -79.397003173828125, -219.702499389648437, -4.04289197921752929, 4.084071159362792968, 0, 0, -0.8910064697265625, 0.453990638256072998, 7200, 255, 1, "", 50172, NULL), +-- 195000 '[DND] Ice Block, X-TRA Big' +(11211, 195000, 547, 0, 0, 3, 1, -98.0260238647460937, -230.428787231445312, -7.61181306838989257, 0, 0, 0, 0, 1, 7200, 255, 1, "", 50172, NULL), +-- 188072 'Ice Stone Mount' +(11212, 188072, 547, 0, 0, 3, 1, -69.2083663940429687, -160.345046997070312, -4.25643014907836914, 1.85004889965057373, 0, 0, 0.798635482788085937, 0.60181504487991333, 7200, 255, 1, "", 50172, NULL), +(11213, 188072, 547, 0, 0, 3, 1, -69.2177276611328125, -163.490951538085937, -2.04477310180664062, 2.967041015625, 0, 0, 0.996193885803222656, 0.087165042757987976, 7200, 255, 1, "", 50172, NULL), +(11214, 188072, 547, 0, 0, 3, 1, -71.4891510009765625, -160.731643676757812, -4.18568992614746093, 5.864306926727294921, 0, 0, -0.20791149139404296, 0.978147625923156738, 7200, 255, 1, "", 50172, NULL), +(11215, 188072, 547, 0, 0, 3, 1, -71.824859619140625, -164.474990844726562, -3.96298193931579589, 5.35816192626953125, 0, 0, -0.446197509765625, 0.894934535026550292, 7200, 255, 1, "", 50172, NULL), +-- 188073 'Ahune Bonfire' +(11216, 188073, 547, 0, 0, 3, 1, -114.957443237304687, -117.301666259765625, -2.71000003814697265, 2.007128477096557617, 0, 0, 0.84339141845703125, 0.537299633026123046, 7200, 255, 1, "", 50172, NULL), +(11217, 188073, 547, 0, 0, 3, 1, -89.7520523071289062, -113.500236511230468, -2.70944190025329589, 0.453785061836242675, 0, 0, 0.224950790405273437, 0.974370121955871582, 7200, 255, 1, "", 50172, NULL); + +DELETE FROM `game_event_gameobject` WHERE (`eventEntry` = 1) AND (`guid` BETWEEN 11207 AND 11217); +INSERT INTO `game_event_gameobject` (`eventEntry`,`guid`) VALUES +(1, 11207), +(1, 11208), +(1, 11209), +(1, 11210), +(1, 11211), +(1, 11212), +(1, 11213), +(1, 11214), +(1, 11215), +(1, 11216), +(1, 11217); + +-- remove duplicate spawns +DELETE FROM `gameobject` WHERE (`id` = 188142) AND (`guid` IN (220107)); +DELETE FROM `game_event_gameobject` WHERE (`guid` IN (220107));