diff --git a/data/sql/updates/pending_db_world/rev_1701119263022613500.sql b/data/sql/updates/pending_db_world/rev_1701119263022613500.sql new file mode 100644 index 000000000..0c080f2d4 --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1701119263022613500.sql @@ -0,0 +1,100 @@ +-- Update Midsummer relevant gameobject spawns in "The Zoram Strand" with sniffed values +-- updated spawns +DELETE FROM `gameobject` WHERE (`id` IN (187918, 187988, 187989, 188048, 188049, 188050, 188137, 188138)) AND (`guid` IN (50561, 50562, 50563, 50569, 50570, 50980, 50982, 50983, 53591, 53608, 53609, 54031, 54032, 54033, 54034, 54944, 54945)); +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 +-- 187918 'Twilight Bonfire' +(50561, 187918, 1, 0, 0, 1, 1, 4196.36181640625, 1167.5037841796875, 6.974408149719238281, 0.471238493919372558, 0, 0, 0.233445167541503906, 0.972369968891143798, 120, 255, 1, "", 50172, NULL), +(50562, 187918, 1, 0, 0, 1, 1, 4136.65869140625, 1124.6900634765625, 2.532727003097534179, 1.48352813720703125, 0, 0, 0.675589561462402343, 0.737277925014495849, 120, 255, 1, "", 50063, NULL), +(50563, 187918, 1, 0, 0, 1, 1, 4179.24658203125, 1111.9791259765625, 29.71976661682128906, 3.9793548583984375, 0, 0, -0.9135446548461914, 0.406738430261611938, 120, 255, 1, "", 50063, NULL), +(50569, 187918, 1, 0, 0, 1, 1, 4161.912109375, 1137.8856201171875, 7.361714839935302734, 2.495818138122558593, 0, 0, 0.948323249816894531, 0.317305892705917358, 120, 255, 1, "", 50063, NULL), +(50570, 187918, 1, 0, 0, 1, 1, 4111.81591796875, 1150.443359375, 1.584146022796630859, 1.867502212524414062, 0, 0, 0.803856849670410156, 0.594822824001312255, 120, 255, 1, "", 50063, NULL), +-- 187988 'Twilight Torch' +(50980, 187988, 1, 0, 0, 1, 1, 4172.3369140625, 1165.8704833984375, 5.450425148010253906, 3.124123096466064453, 0, 0, 0.99996185302734375, 0.008734640665352344, 120, 255, 1, "", 50172, NULL), +-- 187989 'Twilight Torch' +(50982, 187989, 1, 0, 0, 1, 1, 4136.7255859375, 1076.6024169921875, 2.723501920700073242, 1.85004889965057373, 0, 0, 0.798635482788085937, 0.60181504487991333, 120, 255, 1, "", 50063, NULL), +(50983, 187989, 1, 0, 0, 1, 1, 4172.75, 1166.263916015625, 5.157358169555664062, 2.914689540863037109, 0, 0, 0.993571281433105468, 0.113208353519439697, 120, 255, 1, "", 50172, NULL), +-- 188048 'Twilight Crystal Base' +-- (49383 , 49384, 49385) - seem to be permanent and unrelated to midsummer +(53591, 188048, 1, 0, 0, 1, 1, 4231.78759765625, 1166.1597900390625, 6.088553905487060546, 1.221729278564453125, 0, 0, 0.573575973510742187, 0.819152355194091796, 120, 255, 1, "", 50063, NULL), +(53608, 188048, 1, 0, 0, 1, 1, 4204.69775390625, 1144.51220703125, 6.625833034515380859, 0.506144583225250244, 0, 0, 0.250379562377929687, 0.968147754669189453, 120, 255, 1, "", 50172, NULL), +(53609, 188048, 1, 0, 0, 1, 1, 4244.61572265625, 1142.7510986328125, 8.271986961364746093, 1.169368624687194824, 0, 0, 0.551936149597167968, 0.833886384963989257, 120, 255, 1, "", 50063, NULL), +-- 188049 'Ice Stone' +(54031, 188049, 1, 0, 0, 1, 1, 4204.720703125, 1144.217041015625, 8.760594367980957031, 0.785396754741668701, 0, 0, 0.38268280029296875, 0.923879802227020263, 120, 255, 1, "", 50172, NULL), +-- 188050 'Twilight Crystal Base' +-- (49386, 49387, 49388) - seem to be permanent and unrelated to midsummer +(54032, 188050, 1, 0, 0, 1, 1, 4232.072265625, 1165.94970703125, 8.076402664184570312, 2.303830623626708984, 0, 0, 0.913544654846191406, 0.406738430261611938, 120, 255, 1, "", 50063, NULL), +(54033, 188050, 1, 0, 0, 1, 1, 4204.7431640625, 1144.1788330078125, 8.745477676391601562, 1.605701684951782226, 0, 0, 0.719339370727539062, 0.694658815860748291, 120, 255, 1, "", 50172, NULL), +(54034, 188050, 1, 0, 0, 1, 1, 4244.6962890625, 1142.6822509765625, 10.27347183227539062, 2.268925428390502929, 0, 0, 0.906307220458984375, 0.422619491815567016, 120, 255, 1, "", 50063, NULL), +-- 188137 'Ice Stone' +(54944, 188137, 1, 0, 0, 1, 1, 4232.2392578125, 1165.947021484375, 8.135245323181152343, 0.331610709428787231, 0, 0, 0.16504669189453125, 0.986285746097564697, 120, 255, 1, "", 50063, NULL), +-- 188138 'Ice Stone' +(54945, 188138, 1, 0, 0, 1, 1, 4244.86181640625, 1142.6121826171875, 10.32787609100341796, 4.555310726165771484, 0, 0, -0.76040554046630859, 0.649448513984680175, 120, 255, 1, "", 50063, NULL); + +DELETE FROM `game_event_gameobject` WHERE (`eventEntry` = 1) AND (`guid` IN (50561, 50562, 50563, 50569, 50570, 50980, 50982, 50983, 53591, 53608, 53609, 54031, 54032, 54033, 54034, 54944, 54945)); +INSERT INTO `game_event_gameobject` (`eventEntry`,`guid`) VALUES +(1, 50561), +(1, 50562), +(1, 50563), +(1, 50569), +(1, 50570), +(1, 50980), +(1, 50982), +(1, 50983), +(1, 53591), +(1, 53608), +(1, 53609), +(1, 54031), +(1, 54032), +(1, 54033), +(1, 54034), +(1, 54944), +(1, 54945); + +-- new spawns +DELETE FROM `gameobject` WHERE (`id` IN (187918, 187988, 187989)) AND (`guid` BETWEEN 12738 AND 12754); +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 +-- 187918 'Twilight Bonfire' +(12738, 187918, 1, 0, 0, 1, 1, 3891.747314453125, 794.6854248046875, 7.701188087463378906, 0.401424884796142578, 0, 0, 0.199367523193359375, 0.979924798011779785, 120, 255, 1, "", 50063, NULL), +(12739, 187918, 1, 0, 0, 1, 1, 3923.9072265625, 759.08721923828125, 7.776963233947753906, 5.131268978118896484, 0, 0, -0.54463863372802734, 0.838670849800109863, 120, 255, 1, "", 50063, NULL), +(12740, 187918, 1, 0, 0, 1, 1, 3945.51220703125, 811.11383056640625, 9.063252449035644531, 2.879789113998413085, 0, 0, 0.991444587707519531, 0.130528271198272705, 120, 255, 1, "", 50063, NULL), +(12741, 187918, 1, 0, 0, 1, 1, 3957.24169921875, 854.06768798828125, 7.982545852661132812, 6.073746204376220703, 0, 0, -0.10452842712402343, 0.994521915912628173, 120, 255, 1, "", 50063, NULL), +(12742, 187918, 1, 0, 0, 1, 1, 3989.94873046875, 816.87750244140625, 8.005512237548828125, 1.588248729705810546, 0, 0, 0.713250160217285156, 0.700909554958343505, 120, 255, 1, "", 50063, NULL), +-- 187988 'Twilight Torch' +(12743, 187988, 1, 0, 0, 1, 1, 3881.470947265625, 794.0643310546875, 2.242860078811645507, 3.560472726821899414, 0, 0, -0.97814750671386718, 0.207912087440490722, 120, 255, 1, "", 50063, NULL), +(12744, 187988, 1, 0, 0, 1, 1, 3944.032958984375, 763.82464599609375, 5.845333099365234375, 4.031712055206298828, 0, 0, -0.90258502960205078, 0.430511653423309326, 120, 255, 1, "", 50063, NULL), +(12745, 187988, 1, 0, 0, 1, 1, 3944.486083984375, 762.88714599609375, 5.403283119201660156, 0.785396754741668701, 0, 0, 0.38268280029296875, 0.923879802227020263, 120, 255, 1, "", 50063, NULL), +(12746, 187988, 1, 0, 0, 1, 1, 3982.212158203125, 837.3192138671875, 1.548712015151977539, 2.530723094940185546, 0, 0, 0.953716278076171875, 0.300707906484603881, 120, 255, 1, "", 50063, NULL), +-- 187989 'Twilight Torch' +(12747, 187989, 1, 0, 0, 1, 1, 3881.958251953125, 794.4375, 1.96255505084991455, 2.495818138122558593, 0, 0, 0.948323249816894531, 0.317305892705917358, 120, 255, 1, "", 50063, NULL), +(12748, 187989, 1, 0, 0, 1, 1, 3944.76220703125, 763.82574462890625, 5.893557071685791015, 5.044002056121826171, 0, 0, -0.58070278167724609, 0.814115643501281738, 120, 255, 1, "", 50063, NULL), +(12749, 187989, 1, 0, 0, 1, 1, 3982.556396484375, 836.453125, 2.192981958389282226, 0.017452461645007133, 0, 0, 0.008726119995117187, 0.999961912631988525, 120, 255, 1, "", 50063, NULL), +(12750, 187989, 1, 0, 0, 1, 1, 3982.850341796875, 837.057861328125, 1.551203012466430664, 1.099556446075439453, 0, 0, 0.522498130798339843, 0.852640450000762939, 120, 255, 1, "", 50063, NULL), +(12751, 187989, 1, 0, 0, 1, 1, 4063.697021484375, 861.5069580078125, 4.70208597183227539, 6.12610626220703125, 0, 0, -0.07845878601074218, 0.996917366981506347, 120, 255, 1, "", 50063, NULL), +(12752, 187989, 1, 0, 0, 1, 1, 4102.13134765625, 915.17364501953125, 4.920464992523193359, 6.09120035171508789, 0, 0, -0.09584522247314453, 0.995396256446838378, 120, 255, 1, "", 50063, NULL), +(12753, 187989, 1, 0, 0, 1, 1, 4109.69189453125, 968.5867919921875, 2.348380088806152343, 4.572763919830322265, 0, 0, -0.75470924377441406, 0.656059443950653076, 120, 255, 1, "", 50063, NULL), +(12754, 187989, 1, 0, 0, 1, 1, 4124.84814453125, 1015.55902099609375, 2.30046391487121582, 4.1538848876953125, 0, 0, -0.8746194839477539, 0.484810054302215576, 120, 255, 1, "", 50063, NULL); + +DELETE FROM `game_event_gameobject` WHERE (`eventEntry` = 1) AND (`guid` BETWEEN 12738 AND 12754); +INSERT INTO `game_event_gameobject` (`eventEntry`,`guid`) VALUES +(1, 12738), +(1, 12739), +(1, 12740), +(1, 12741), +(1, 12742), +(1, 12743), +(1, 12744), +(1, 12745), +(1, 12746), +(1, 12747), +(1, 12748), +(1, 12749), +(1, 12750), +(1, 12751), +(1, 12752), +(1, 12753), +(1, 12754); + +-- remaining spawns with no sniffed values available +-- 187918 'Twilight Bonfire' +-- these are all located at the dark portal and therefore most likely not related to midsummer +DELETE FROM `game_event_gameobject` WHERE (`eventEntry` = 1) AND (`guid` IN (50559, 50567, 50568, 50565, 50560, 50566, 50558, 50572));