Skip to content

Commit

Permalink
[DBErrors] Update 0481 and 0498
Browse files Browse the repository at this point in the history
  • Loading branch information
AnonXS committed Nov 25, 2024
1 parent 594b2fd commit 93efe73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Updates/0481_eversong_fixes.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
Expand Down
2 changes: 1 addition & 1 deletion Updates/0498_ghostlands_fixes.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 93efe73

Please sign in to comment.