Skip to content

Commit

Permalink
[5631] backport fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Grz3s committed Feb 8, 2025
1 parent 73b0f2a commit 109e6f1
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Updates/5625_TDB-0498_ghostlands_fixes.sql
Original file line number Diff line number Diff line change
Expand Up @@ -1395,7 +1395,7 @@ INSERT INTO npc_text_broadcast_text(Id,Prob0,BroadcastTextId0) VALUES
UPDATE creature_template SET GossipMenuId=7287 WHERE entry IN(16528);

INSERT INTO gossip_menu(entry, text_id, script_id, condition_id) VALUES
(7171,8445,0,302); -- belf only
(7171,8445,0,844); -- belf only

SET @MOVID=5303977;
UPDATE creature SET position_x=7477.5596,position_y=-6774.3965,position_z=77.34592,MovementType=4 WHERE guid = @MOVID;
Expand Down
25 changes: 25 additions & 0 deletions Updates/5631_backport_fixes.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
-- Table `npc_text_broadcast_text` has record in `npc_text` (ID 8447) as well. Overwriting.
-- Table `npc_text_broadcast_text` has record in `npc_text` (ID 8492) as well. Overwriting.
-- Table `npc_text_broadcast_text` has record in `npc_text` (ID 9005) as well. Overwriting.
-- Table `npc_text_broadcast_text` has record in `npc_text` (ID 8617) as well. Overwriting.
DELETE FROM npc_text WHERE id IN (8447,8492,9005,8617);
-- Table `npc_vendor_template` has vendor template 512 not used by any vendors
-- Table `npc_vendor_template` has vendor template 513 not used by any vendors
UPDATE creature_template SET VendorTemplateId = 512 WHERE Entry IN (13216,13217);
UPDATE creature_template SET VendorTemplateId = 513 WHERE Entry IN (13218,13219);
-- Table creature_movement contain path for creature guid 55584, but this creature guid does not exist. Skipping.
DELETE FROM creature_movement WHERE Id = 55584;
-- Table `dbscripts_on_creature_movement` contain unused script, id 1378.
-- Table `dbscripts_on_creature_movement` contain unused script, id 1849301.
-- Table `dbscripts_on_creature_movement` contain unused script, id 1855602.
-- Table `dbscripts_on_creature_movement` contain unused script, id 1855603.
-- Table `dbscripts_on_creature_movement` contain unused script, id 1855604.
-- Table `dbscripts_on_creature_movement` contain unused script, id 1855605.
-- Table `dbscripts_on_creature_movement` contain unused script, id 1855606.
-- Table `dbscripts_on_creature_movement` contain unused script, id 1855607.
-- Table `dbscripts_on_creature_movement` contain unused script, id 1855608.
-- Table `dbscripts_on_creature_movement` contain unused script, id 1855609.
-- Table `dbscripts_on_creature_movement` contain unused script, id 1855610.
-- Table `dbscripts_on_creature_movement` contain unused script, id 1855611.
-- Table `dbscripts_on_creature_movement` contain unused script, id 1855612.
DELETE FROM dbscripts_on_creature_movement WHERE Id IN (1378,1849301,1855602,1855603,1855604,1855605,1855606,1855607,1855608,1855609,1855610,1855611,1855612);

0 comments on commit 109e6f1

Please sign in to comment.