Skip to content

Commit 0a9e5b3

Browse files
committed
[5597] backport fixes
+ some missing data added
1 parent 0e53cff commit 0a9e5b3

4 files changed

+58
-16
lines changed

Diff for: Updates/5586_TDB-0457_quest_prophecy_of_akida.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,5 +129,5 @@ INSERT INTO dbscripts_on_relay (id, delay, command, datalong, datalong2, datalon
129129
(19983,1,12,42109,0,0,0,0,0,0,0,0,0,0,0,0,0,'Stillspine Captive - Close Bristlelimb Cage'),
130130
(19984,1,12,42108,0,0,0,0,0,0,0,0,0,0,0,0,0,'Stillspine Captive - Close Bristlelimb Cage');
131131

132-
DELETE FROM creature_spawn_data_template WHERE entry BETWEEN 19984 AND 19999;
132+
-- DELETE FROM creature_spawn_data_template WHERE entry BETWEEN 19984 AND 19999;
133133
DELETE FROM creature_spawn_data WHERE guid BETWEEN 90994 AND 91008;

Diff for: Updates/5594_VDB-20210725153921_world.sql

+7-7
Original file line numberDiff line numberDiff line change
@@ -504,15 +504,15 @@ INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `position_x`, `positio
504504
(43323, 14477, 1, 1, -7638.15, 1314.82, 2.18643, 0, 28800, 36000, 50, 1),
505505
(43422, 14477, 1, 1, -7523.97, 844.59, -2.88, 0, 28800, 36000, 50, 1);
506506

507-
DELETE FROM `spawn_group` WHERE id = 19026;
507+
DELETE FROM `spawn_group` WHERE id = 19893;
508508
INSERT INTO `spawn_group` (`Id`, `Name`, `Type`, `MaxCount`, `WorldState`, `Flags`) VALUES
509-
(19026,'Silithus - Grubthor (14477)', 0, 1, 0, 0);
510-
DELETE FROM `spawn_group_spawn` WHERE id = 19026;
509+
(19893,'Silithus - Grubthor (14477)', 0, 1, 0, 0); -- Removed by mistake? also in TDB
510+
DELETE FROM `spawn_group_spawn` WHERE id = 19893;
511511
INSERT INTO `spawn_group_spawn` (`Id`, `Guid`, `SlotId`) VALUES
512-
(19026, 43124, 0),
513-
(19026, 43280, 1),
514-
(19026, 43323, 2),
515-
(19026, 43422, 3);
512+
(19893, 43124, 0),
513+
(19893, 43280, 1),
514+
(19893, 43323, 2),
515+
(19893, 43422, 3);
516516

517517
-- 14506, -- Lord Hel'nurath 62 62 2 - loot!
518518
-- UPDATE `creature_loot_template` SET `groupid` = 1 WHERE `entry` = 14506 AND `item` IN (18754,18755,18756,18757);

Diff for: Updates/5595_CDB-4617_c.2949,2950,2951.sql

+8-8
Original file line numberDiff line numberDiff line change
@@ -97,15 +97,15 @@ UPDATE `creature_template` SET `ExtraFlags` = `ExtraFlags`|1048576, `SpeedWalk`
9797
UPDATE `creature` SET `spawntimesecsmin` = 5400, `spawntimesecsmax` = 9000 WHERE `id` = 3056;
9898
UPDATE `creature_template` SET `SpeedWalk` = (2.5 / 2.5), `SpeedRun` = (8 / 7) WHERE `entry` = 3056; -- pooling
9999
DELETE FROM `pool_creature_template` WHERE `Id` = 3056;
100-
DELETE FROM `pool_template` WHERE `entry` = 1200; -- 1200 1 Ghost Howl (3056)
100+
DELETE FROM `pool_template` WHERE `entry` = 1196; -- 1196 1 Ghost Howl (3056)
101101
DELETE FROM `spawn_group` WHERE id = 19026;
102102
INSERT INTO `spawn_group` (`Id`, `Name`, `Type`, `MaxCount`, `WorldState`, `Flags`) VALUES
103103
(19026,'Mulgore - Ghost Howl (3056)', 0, 1, 0, 0);
104104
DELETE FROM `spawn_group_spawn` WHERE id = 19026;
105105
INSERT INTO `spawn_group_spawn` (`Id`, `Guid`, `SlotId`) VALUES
106-
(19026, 51845, 0),
107-
(19026, 51854, 1),
108-
(19026, 1007218, 2);
106+
(19026, 51845, -1),
107+
(19026, 51854, -1),
108+
(19026, 1007218, -1);
109109
DELETE FROM `creature_loot_template` WHERE `entry` = 3056 AND `item` = 4854; -- NPC LOOT (Rare NPC Loot) - Ghost Howl - Special Items
110110
-- Arra'chea 3058 - https://www.wowhead.com/classic/npc=3058/arrachea
111111
UPDATE `creature_template` SET `ExtraFlags` = `ExtraFlags`|1048576, `SpeedWalk` = (2.5 / 2.5), `SpeedRun` = (8 / 7) WHERE `entry` = 3058;
@@ -145,9 +145,9 @@ INSERT INTO `spawn_group` (`Id`, `Name`, `Type`, `MaxCount`, `WorldState`, `Flag
145145
(19027,'Mulgore - Sister Hatelash (5785)', 0, 1, 0, 0);
146146
DELETE FROM `spawn_group_spawn` WHERE id = 19027;
147147
INSERT INTO `spawn_group_spawn` (`Id`, `Guid`, `SlotId`) VALUES
148-
(19027, 26055, 0),
149-
(19027, 26051, 1),
150-
(19027, 26052, 2);
148+
(19027, 26055, -1),
149+
(19027, 26051, -1),
150+
(19027, 26052, -1);
151151
-- https://web.archive.org/web/20060718112010/http://wow.allakhazam.com/db/mob.html?wmob=5785
152152
DELETE FROM `reference_loot_template_names` WHERE `entry` = 65003 AND `name` LIKE '%Sister%';
153153
INSERT INTO `reference_loot_template_names` (`entry`, `name`) VALUES (65003, 'NPC LOOT (Rare NPC Loot) - Sister Hatelash - Special Items');
@@ -199,7 +199,7 @@ INSERT INTO `spawn_group` (`Id`, `Name`, `Type`, `MaxCount`, `WorldState`, `Flag
199199
(19028,'Mulgore - The Rake (5807)', 0, 1, 0, 0);
200200
DELETE FROM `spawn_group_spawn` WHERE id = 19028;
201201
INSERT INTO `spawn_group_spawn` (`Id`, `Guid`, `SlotId`) VALUES
202-
(19028, 26611, 0);
202+
(19028, 26611, -1);
203203
-- Chief Sharptusk Thornmantle 8554 - https://www.wowhead.com/classic/npc=8554/chief-sharptusk-thornmantle - https://web.archive.org/web/20060619091134/http://wow.allakhazam.com/db/mob.html?wmob=8554
204204
UPDATE `creature_template` SET `ExtraFlags` = `ExtraFlags`|1048576, `SpeedWalk` = (2.5 / 2.5), `SpeedRun` = (6 / 7) WHERE `entry` = 8554;
205205
UPDATE `creature_loot_template` SET `ChanceOrQuestChance` = 25 WHERE `entry` = 8554 AND `item` = 60000; -- NPC LOOT (Grey World Drop) - (Item Levels: 1-5) - (NPC Levels: 1-5)

Diff for: Updates/5597_backport_fix.sql

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
-- Table `dbscripts_on_creature_movement` contain unused script, id 1452701.
2+
-- Table `dbscripts_on_creature_movement` contain unused script, id 1452702.
3+
-- Table `dbscripts_on_creature_movement` contain unused script, id 1452703.
4+
DELETE FROM dbscripts_on_creature_movement WHERE id BETWEEN 1452701 AND 1452703;
5+
6+
-- LoadSpawnGroups: Invalid spawn_group_spawn guid 132811. Skipping.
7+
DELETE FROM creature WHERE guid IN(132811);
8+
INSERT INTO creature (guid, id, map, spawnMask, position_x, position_y, position_z, orientation, spawntimesecsmin, spawntimesecsmax, spawndist, MovementType) VALUES
9+
('132811', '18689', '530', '1', '-3740.60009765625', '4473.93017578125', '-8.564729690551758','1.769', '43200', '86400', '0', '2');
10+
DELETE FROM creature_movement WHERE id = 132811;
11+
INSERT INTO creature_movement (`Id`, `Point`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `WaitTime`, `ScriptId`) VALUES
12+
(132811,1,-3745.47,4496.63,-9.39174,100,0,0),
13+
(132811,2,-3740.55,4515.75,-12.6168,100,0,0),
14+
(132811,3,-3714.52,4561.42,-15.5949,100,0,0),
15+
(132811,4,-3691.07,4629.86,-18.0632,100,0,0),
16+
(132811,5,-3671.98,4668.61,-17.5237,100,0,0),
17+
(132811,6,-3659.5,4691.22,-20.1589,100,0,0),
18+
(132811,7,-3663.01,4731.42,-21.011,100,0,0),
19+
(132811,8,-3670.96,4811.81,-21.3235,100,0,0),
20+
(132811,9,-3692.4,4832.97,-21.3243,100,0,0),
21+
(132811,10,-3737.69,4842.88,-19.617,100,0,0),
22+
(132811,11,-3771.48,4845.87,-19.3476,100,0,0),
23+
(132811,12,-3784.54,4789.69,-20.5939,100,0,0),
24+
(132811,13,-3805.7,4756.83,-25.7269,100,0,0),
25+
(132811,14,-3796.46,4716.94,-24.3906,100,0,0),
26+
(132811,15,-3815.91,4670.04,-27.4691,100,0,0),
27+
(132811,16,-3821.61,4608.38,-21.6523,100,0,0),
28+
(132811,17,-3807.01,4574.98,-17.8086,100,0,0),
29+
(132811,18,-3800.57,4549.48,-18.1872,100,0,0),
30+
(132811,19,-3796.15,4512.84,-19.2235,100,0,0),
31+
(132811,20,-3801.02,4470.16,-13.1805,100,0,0),
32+
(132811,21,-3771.69,4449.77,-7.30134,100,0,0),
33+
(132811,22,-3707.55,4428.35,-7.42426,100,0,0),
34+
(132811,23,-3670.43,4428.79,-11.5316,100,0,0),
35+
(132811,24,-3630.64,4456.85,-16.9659,100,0,0),
36+
(132811,25,-3555.26,4510.33,-18.66,100,0,0),
37+
(132811,26,-3571.25,4577.81,-21.0895,100,0,0),
38+
(132811,27,-3597.28,4595.12,-20.5279,100,0,0);
39+
40+
-- LoadSpawnGroups: Invalid spawn_group_spawn guid 51854. Skipping.
41+
UPDATE creature SET guid = 51854 WHERE guid = 118 AND id = 3056;
42+
UPDATE creature_movement SET id = 51854 WHERE id = 118;

0 commit comments

Comments
 (0)