Skip to content

Commit

Permalink
[Instance][DBError] 540/553/555 Make Instance Folder reexecutable
Browse files Browse the repository at this point in the history
  • Loading branch information
AnonXS committed Jan 24, 2025
1 parent 1d4eb7f commit ad33646
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Updates/Instances/540_shattered_halls.sql
Original file line number Diff line number Diff line change
Expand Up @@ -1333,14 +1333,14 @@ INSERT INTO `waypoint_path` (`PathId`, `Point`, `PositionX`, `PositionY`, `Posit
(@SGGUID+46,16,369.20135,-20.56937,1.9118699,100,0,0),
(@SGGUID+46,17,369.4805,-35.282803,1.9122882,100,0,0);

DELETE FROM worldstate_name WHERE Id IN (@SGGUID+1, @SGGUID+4);
DELETE FROM worldstate_name WHERE Id BETWEEN @SGGUID+1 AND @SGGUID+4;
INSERT INTO `worldstate_name` (`Id`, `Name`) VALUES
(@SGGUID+1, 'Shattered Halls - Legionnaire Group 01'),
(@SGGUID+2, 'Shattered Halls - Legionnaire Group 03'),
(@SGGUID+3, 'Shattered Halls - Legionnaire Group 04 | Legionnaire Group 05'),
(@SGGUID+4, 'Shattered Halls - Gauntlet of Flame');

DELETE FROM `conditions` WHERE `condition_entry` IN (@SGGUID+1, @SGGUID+4);
DELETE FROM `conditions` WHERE `condition_entry` BETWEEN @SGGUID+1 AND @SGGUID+4;
INSERT INTO `conditions` (`condition_entry`, `type`, `value1`, `value2`, `value3`, `value4`, `flags`, `comments`) VALUES
(@SGGUID+1, 42, @SGGUID+1, 1, 1, 0, 0, 'Shattered Hall - Legionnaire Group 01'),
(@SGGUID+2, 42, @SGGUID+2, 1, 1, 0, 0, 'Shattered Hall - Legionnaire Group 03'),
Expand Down
2 changes: 1 addition & 1 deletion Updates/Instances/553_botanica.sql
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ INSERT INTO `game_event_creature_data` (`guid`, `entry_id`, `modelid`, `equipmen
-- StringIDs
-- ======

DELETE FROM string_id WHERE Id BETWEEN @STRINGID+1 AND @STRINGID+9;
DELETE FROM string_id WHERE Id BETWEEN @STRINGID+1 AND @STRINGID+19;
INSERT INTO `string_id` (Id, Name) VALUES
(@STRINGID+1, 'BLOODWARDER_PROTECTOR_GROUP_01'),
(@STRINGID+2, 'BLOODWARDER_PROTECTOR_GROUP_02'),
Expand Down
4 changes: 2 additions & 2 deletions Updates/Instances/555_shadow_labyrinth.sql
Original file line number Diff line number Diff line change
Expand Up @@ -442,11 +442,11 @@ INSERT INTO `creature_spawn_data` (`Guid`, `Id`) VALUES
(@CGUID+76, 1863401),
(@CGUID+77, 1863402);

DELETE FROM `creature_spawn_data_template` WHERE `Entry` BETWEEN 1863401 AND 1863402;
INSERT INTO `creature_spawn_data_template` (`Entry`, `StringId`, `Name`) VALUES
(1863401, @STRINGID+11, 'Shadow Labyrinth - WrathTarget 01'),
(1863402, @STRINGID+12, 'Shadow Labyrinth - WrathTarget 02');


INSERT INTO `creature_addon` (`guid`, `mount`, `stand_state`, `sheath_state`, `emote`, `moveflags`, `auras`) VALUES
(@CGUID+37, 0, 1, 1, 0, 0, ''), -- spawn_group_entry
(@CGUID+38, 0, 0, 1, 69, 0, ''), -- spawn_group_entry
Expand Down Expand Up @@ -1754,7 +1754,7 @@ INSERT INTO `worldstate_name` (`Id`, `Name`) VALUES
(@WORLDSTATEID+19, 'Shadow Labyrinth - Group 055 - Cabal Assasin'),
(@WORLDSTATEID+20, 'Shadow Labyrinth - Group 056 - Cabal Assasin');

DELETE FROM `conditions` WHERE `condition_entry` BETWEEN @CONDITIONID+1 AND @CONDITIONID+33;
DELETE FROM `conditions` WHERE `condition_entry` BETWEEN @CONDITIONID+1 AND @CONDITIONID+35;
INSERT INTO `conditions` (`condition_entry`, `type`, `value1`, `value2`, `value3`, `value4`, `flags`, `comments`) VALUES
(@CONDITIONID+1, 42, @WORLDSTATEID+1, 1, 0, 0, 0, 'Shadow Labyrinth - Group 001 - Type 1'),
(@CONDITIONID+2, 42, @WORLDSTATEID+1, 1, 1, 0, 0, 'Shadow Labyrinth - Group 001 - Type 2'),
Expand Down

0 comments on commit ad33646

Please sign in to comment.