diff --git a/Updates/0481_eversong_fixes.sql b/Updates/0481_eversong_fixes.sql index b77975dae..ae5b77107 100644 --- a/Updates/0481_eversong_fixes.sql +++ b/Updates/0481_eversong_fixes.sql @@ -1042,6 +1042,7 @@ DELETE FROM creature_movement WHERE id IN(56043,/*56065,*/1007504,1007505,100750 -- Table `dbscripts_on_creature_movement` contain unused script, id 1565401. - despawn -- Table `dbscripts_on_creature_movement` contain unused script, id 1565501. - RUN ON DELETE FROM `dbscripts_on_creature_movement` WHERE `id` IN (1565401,1565501); +UPDATE `creature_movement` SET `ScriptId` = 5 WHERE `id` = 56065 AND `point` = 1; -- creature_movement for entry 56065, point 1 have script_id 1565501 that does not exist in `dbscripts_on_creature_movement`, ignoring INSERT INTO creature(guid, id, map, spawnMask, position_x, position_y, position_z, orientation, spawntimesecsmin, spawntimesecsmax, spawndist, MovementType) VALUES (@CGUID + 37, '0', '530', '1', 8146.6187,-6758.287,71.86238,5.957955837249755859, '300', '300', '0', '2'), diff --git a/Updates/0498_ghostlands_fixes.sql b/Updates/0498_ghostlands_fixes.sql index 46e2bb69e..8dd57407c 100644 --- a/Updates/0498_ghostlands_fixes.sql +++ b/Updates/0498_ghostlands_fixes.sql @@ -62,7 +62,7 @@ INSERT INTO creature_movement (Id, Point, PositionX, PositionY, PositionZ, Orien (@MOVID + 0, '7', '8075.725', '-7780.474', '165.52367', '100', '0', '0', NULL), (@MOVID + 0, '8', '8056.597', '-7753.424', '157.41678', '100', '0', '0', NULL), (@MOVID + 0, '9', '8021.6196', '-7727.0376', '151.41107', '100', '0', '0', NULL), -(@MOVID + 0, '0', '7997.29', '-7724.7847', '149.24797', '100', '0', '0', NULL), +(@MOVID + 0, '10', '7997.29', '-7724.7847', '149.24797', '100', '0', '0', NULL), -- `creature_movement` has invalid point 0 for id 5303043. Skipping. (@MOVID + 0, '11', '7967.397', '-7730.7065', '148.9544', '100', '0', '0', NULL); INSERT INTO creature(guid, id, map, spawnMask, position_x, position_y, position_z, orientation, spawntimesecsmin, spawntimesecsmax, spawndist, MovementType) VALUES