diff --git a/data/sql/updates/pending_db_world/rev_1771443569952388000.sql b/data/sql/updates/pending_db_world/rev_1771443569952388000.sql new file mode 100644 index 000000000..33a5e5678 --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1771443569952388000.sql @@ -0,0 +1,40 @@ +-- Update gameobject 'InnTableTiny' with sniffed values +-- updated spawns +DELETE FROM `gameobject` WHERE (`id` IN (180885)) AND (`guid` IN (240279, 240280, 240281, 240282, 240283, 240284)); +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 +(240279, 180885, 0, 0, 0, 1, 1, 1805.888916015625, 217.1336822509765625, 60.60018539428710937, 1.518436193466186523, 0, 0, 0.6883544921875, 0.725374460220336914, 120, 255, 1, "", 51943, NULL), +(240280, 180885, 1, 0, 0, 1, 1, 10050.326171875, 2118.060791015625, 1329.939697265625, 0.750490784645080566, 0, 0, 0.3665008544921875, 0.93041771650314331, 120, 255, 1, "", 51943, NULL), +(240281, 180885, 0, 0, 0, 1, 1, -5149.5244140625, -854.9305419921875, 508.43206787109375, 0.750490784645080566, 0, 0, 0.3665008544921875, 0.93041771650314331, 120, 255, 1, "", 51943, NULL), +(240282, 180885, 0, 0, 0, 1, 1, -9331.4423828125, 181.9913177490234375, 61.6300048828125, 0.750490784645080566, 0, 0, 0.3665008544921875, 0.93041771650314331, 120, 255, 1, "", 51943, NULL), +(240283, 180885, 1, 0, 0, 1, 1, 1176.8541259765625, -4464.08837890625, 21.34675025939941406, 0.750490784645080566, 0, 0, 0.3665008544921875, 0.93041771650314331, 120, 255, 1, "", 51943, NULL), +(240284, 180885, 1, 0, 0, 1, 1, -980.32989501953125, -71.845489501953125, 19.58780288696289062, 0.750490784645080566, 0, 0, 0.3665008544921875, 0.93041771650314331, 120, 255, 1, "", 46368, NULL); + +-- Day of the Dead +DELETE FROM `game_event_gameobject` WHERE (`eventEntry` = 51) AND (`guid` IN (240279, 240280, 240281, 240282, 240283, 240284)); +INSERT INTO `game_event_gameobject` (`eventEntry`,`guid`) VALUES +(51, 240279), +(51, 240280), +(51, 240281), +(51, 240282), +(51, 240283), +(51, 240284); + +-- new spawns +DELETE FROM `gameobject` WHERE (`id` IN (180885)) AND (`guid` IN (184, 185, 186, 187)); +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 +(184, 180885, 0, 0, 0, 1, 1, 1647.7454833984375, 233.8232421875, 62.59157180786132812, 2.321286916732788085, 0, 0, 0.917059898376464843, 0.398749500513076782, 120, 255, 1, "", 47612, NULL), +(185, 180885, 530, 0, 0, 1, 1, -4318.9775390625, -12442.326171875, 17.2803955078125, 0.750490784645080566, 0, 0, 0.3665008544921875, 0.93041771650314331, 120, 255, 1, "", 51943, NULL), +(186, 180885, 530, 0, 0, 1, 1, 9411.2724609375, -6838.46533203125, 16.24826431274414062, 1.518436193466186523, 0, 0, 0.6883544921875, 0.725374460220336914, 120, 255, 1, "", 51943, NULL), +(187, 180885, 571, 0, 0, 1, 1, 5848.79345703125, 767.888916015625, 640.4781494140625, 0.750490784645080566, 0, 0, 0.3665008544921875, 0.93041771650314331, 120, 255, 1, "", 46248, NULL); + +-- Lunar Festival +DELETE FROM `game_event_gameobject` WHERE (`eventEntry` = 7) AND (`guid` IN (184)); +INSERT INTO `game_event_gameobject` (`eventEntry`,`guid`) VALUES +(7, 184); + +-- Day of the Dead +DELETE FROM `game_event_gameobject` WHERE (`eventEntry` = 51) AND (`guid` IN (185, 186, 187)); +INSERT INTO `game_event_gameobject` (`eventEntry`,`guid`) VALUES +(51, 185), +(51, 186), +(51, 187);