db errors

This commit is contained in:
luis
2026-11-18 18:56:01 -03:00
parent 3608ccf0c3
commit 9dcaee0b34
@@ -0,0 +1,209 @@
DELETE FROM `creature` WHERE `guid`=905286;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (905286, 239676, 0, 15969, 16079, '0', 0, 0, 0, -1, 0, 0, 8612.53, -4702.21, 19.9317, 0.423587, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0);
UPDATE `creature_template` SET `npcflag`=3 WHERE `entry`=255103;
REPLACE INTO `npc_text` (`ID`, `Probability0`, `Probability1`, `Probability2`, `Probability3`, `Probability4`, `Probability5`, `Probability6`, `Probability7`, `BroadcastTextId0`, `BroadcastTextId1`, `BroadcastTextId2`, `BroadcastTextId3`, `BroadcastTextId4`, `BroadcastTextId5`, `BroadcastTextId6`, `BroadcastTextId7`, `VerifiedBuild`) VALUES
(263707, 1, 0, 0, 0, 0, 0, 0, 0, 309877, 0, 0, 0, 0, 0, 0, 0, 70783), -- 260710 (Jelvik)
(263709, 1, 0, 0, 0, 0, 0, 0, 0, 309823, 0, 0, 0, 0, 0, 0, 0, 70783), -- 260557 (Wavemaster Mavani)
(263711, 1, 0, 0, 0, 0, 0, 0, 0, 309873, 0, 0, 0, 0, 0, 0, 0, 70783), -- 260710 (Jelvik)
(254599, 1, 0, 0, 0, 0, 0, 0, 0, 309871, 0, 0, 0, 0, 0, 0, 0, 70783), -- 260710 (Jelvik)
(263708, 1, 0, 0, 0, 0, 0, 0, 0, 309719, 0, 0, 0, 0, 0, 0, 0, 70783), -- 254635 (Maka the Trawler)
(254599, 1, 0, 0, 0, 0, 0, 0, 0, 309944, 0, 0, 0, 0, 0, 0, 0, 70783), -- 260226 (Ofi the Sly)
(263710, 1, 0, 0, 0, 0, 0, 0, 0, 309944, 0, 0, 0, 0, 0, 0, 0, 70783), -- 263327 (Ofi the Sly)
(254599, 1, 0, 0, 0, 0, 0, 0, 0, 319018, 0, 0, 0, 0, 0, 0, 0, 70783); -- 263327 (Ofi the Sly)
REPLACE INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES
(42605, 263707, 70783), -- 260710 (Jelvik)
(42569, 263709, 70783), -- 260557 (Wavemaster Mavani)
(42606, 263711, 70783), -- 260710 (Jelvik)
(42607, 254599, 70783), -- 260710 (Jelvik)
(42535, 263708, 70783), -- 254635 (Maka the Trawler)
(42615, 254599, 70783), -- 260226 (Ofi the Sly)
(43917, 263710, 70783), -- 263327 (Ofi the Sly)
(43918, 254599, 70783); -- 263327 (Ofi the Sly)
REPLACE INTO `npc_text` (`ID`, `Probability0`, `Probability1`, `Probability2`, `Probability3`, `Probability4`, `Probability5`, `Probability6`, `Probability7`, `BroadcastTextId0`, `BroadcastTextId1`, `BroadcastTextId2`, `BroadcastTextId3`, `BroadcastTextId4`, `BroadcastTextId5`, `BroadcastTextId6`, `BroadcastTextId7`, `VerifiedBuild`) VALUES
(263707, 1, 0, 0, 0, 0, 0, 0, 0, 315025, 0, 0, 0, 0, 0, 0, 0, 70961), -- 263707 (Dusk Prowler Hano'mon)
(263709, 1, 0, 0, 0, 0, 0, 0, 0, 315057, 0, 0, 0, 0, 0, 0, 0, 70961), -- 263709 (Scout Kamaina)
(263711, 1, 0, 0, 0, 0, 0, 0, 0, 315063, 0, 0, 0, 0, 0, 0, 0, 70961), -- 263711 (Scout Ko'ruku)
(254599, 1, 1, 0, 0, 0, 0, 0, 0, 309944, 318856, 0, 0, 0, 0, 0, 0, 70961), -- 254599 (Ofi the Sly)
(263708, 1, 0, 0, 0, 0, 0, 0, 0, 315072, 0, 0, 0, 0, 0, 0, 0, 70961), -- 263708 (Wartusk A'pone)
(254599, 1, 0, 0, 0, 0, 0, 0, 0, 316841, 0, 0, 0, 0, 0, 0, 0, 70961), -- 254599 (Ofi the Sly)
(263710, 1, 0, 0, 0, 0, 0, 0, 0, 315074, 0, 0, 0, 0, 0, 0, 0, 70961), -- 263710 (Scout Uha'ne)
(254599, 1, 0, 0, 0, 0, 0, 0, 0, 316845, 0, 0, 0, 0, 0, 0, 0, 70961), -- 254599 (Ofi the Sly)
(254599, 1, 0, 0, 0, 0, 0, 0, 0, 316845, 0, 0, 0, 0, 0, 0, 0, 70961), -- 254599 (Ofi the Sly)
(260165, 1, 0, 0, 0, 0, 0, 0, 0, 326257, 0, 0, 0, 0, 0, 0, 0, 70961), -- 260165 (Tak'lejo)
(254599, 1, 0, 0, 0, 0, 0, 0, 0, 316845, 0, 0, 0, 0, 0, 0, 0, 70961), -- 254599 (Ofi the Sly)
(254599, 1, 0, 0, 0, 0, 0, 0, 0, 316846, 0, 0, 0, 0, 0, 0, 0, 70961), -- 254599 (Ofi the Sly)
(254599, 1, 0, 0, 0, 0, 0, 0, 0, 316846, 0, 0, 0, 0, 0, 0, 0, 70961), -- 254599 (Ofi the Sly)
(254599, 1, 0, 0, 0, 0, 0, 0, 0, 316846, 0, 0, 0, 0, 0, 0, 0, 70961), -- 254599 (Ofi the Sly)
(260164, 1, 0, 0, 0, 0, 0, 0, 0, 326255, 0, 0, 0, 0, 0, 0, 0, 70961), -- 260164 (Zul'jarra)
(254599, 1, 0, 0, 0, 0, 0, 0, 0, 316846, 0, 0, 0, 0, 0, 0, 0, 70961), -- 254599 (Ofi the Sly)
(263103, 1, 0, 0, 0, 0, 0, 0, 0, 326289, 0, 0, 0, 0, 0, 0, 0, 70961); -- 263103 (Halduron Brightwing)
REPLACE INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES
(43253, 263707, 70961), -- 263707 (Dusk Prowler Hano'mon)
(43257, 263709, 70961), -- 263709 (Scout Kamaina)
(43258, 263711, 70961), -- 263711 (Scout Ko'ruku)
(43555, 254599, 70961), -- 254599 (Ofi the Sly)
(43259, 263708, 70961), -- 263708 (Wartusk A'pone)
(43556, 254599, 70961), -- 254599 (Ofi the Sly)
(43260, 263710, 70961), -- 263710 (Scout Uha'ne)
(43557, 254599, 70961), -- 254599 (Ofi the Sly)
(43558, 254599, 70961), -- 254599 (Ofi the Sly)
(44927, 260165, 70961), -- 260165 (Tak'lejo)
(43559, 254599, 70961), -- 254599 (Ofi the Sly)
(43560, 254599, 70961), -- 254599 (Ofi the Sly)
(43566, 254599, 70961), -- 254599 (Ofi the Sly)
(43570, 254599, 70961), -- 254599 (Ofi the Sly)
(43313, 260164, 70961), -- 260164 (Zul'jarra)
(43573, 254599, 70961), -- 254599 (Ofi the Sly)
(42765, 263103, 70961); -- 263103 (Halduron Brightwing)
UPDATE `creature_template` SET `faction`=14 WHERE `entry`=261163;
UPDATE `creature_template` SET `faction`=14 WHERE `entry`=261137;
UPDATE `creature_template` SET `unit_flags3` = 0 WHERE `unit_flags3` = 67108865;
UPDATE `creature_template` SET `unit_flags3` = 0 WHERE `unit_flags3` = 335544320;
UPDATE `creature_template` SET `unit_flags3` = 0 WHERE `unit_flags3` = 1073741825;
UPDATE `creature_template` SET `unit_flags3` = 0 WHERE `unit_flags3` = 67108864;
UPDATE `creature_template` SET `unit_flags3` = 0 WHERE `unit_flags3` = 134217728;
UPDATE `creature_template` SET `unit_flags3` = 0 WHERE `unit_flags3` = 1073741824;
UPDATE `creature_template` SET `unit_flags3` = 0 WHERE `unit_flags3` = 2147483648;
UPDATE `creature_template` SET `unit_flags3` = 0 WHERE `unit_flags3` = 1;
UPDATE `creature` SET `unit_flags3` = 0 WHERE `unit_flags3` = 67108865;
UPDATE `creature` SET `unit_flags3` = 0 WHERE `unit_flags3` = 335544320;
UPDATE `creature` SET `unit_flags3` = 0 WHERE `unit_flags3` = 1073741825;
UPDATE `creature` SET `unit_flags3` = 0 WHERE `unit_flags3` = 67108864;
UPDATE `creature` SET `unit_flags3` = 0 WHERE `unit_flags3` = 134217728;
UPDATE `creature` SET `unit_flags3` = 0 WHERE `unit_flags3` = 1073741824;
UPDATE `creature` SET `unit_flags3` = 0 WHERE `unit_flags3` = 2147483648;
UPDATE `creature` SET `unit_flags3` = 0 WHERE `unit_flags3` = 1;
UPDATE `creature_template` SET `faction`=14 WHERE `entry`=261138;
UPDATE `creature_template` SET `faction`=35 WHERE `entry`=263102;
UPDATE `creature_template` SET `faction`=14 WHERE `entry`=261169;
UPDATE `creature_template` SET `faction`=14 WHERE `entry`=262282;
UPDATE `creature_template` SET `faction`=14 WHERE `entry`=261136;
UPDATE `creature_template` SET `faction`=35 WHERE `entry`=263104;
UPDATE `creature_template` SET `faction`=35 WHERE `entry`=265180;
UPDATE `creature_template` SET `faction`=35 WHERE `entry`=263100;
UPDATE `creature_template` SET `faction`=35 WHERE `entry` IN (265468, 263107, 273832, 274777, 261215);
UPDATE `creature_template` SET `faction`=14 WHERE `entry` IN (261139, 261162, 261135, 265495, 265496);
UPDATE `creature_template` SET `faction`=35 WHERE `entry` IN (261146, 263099, 263101, 263103, 263108, 265463, 266102, 262519, 268250, 264293);
UPDATE `creature` SET `curHealthPct`=NULL WHERE `curHealthPct`=100;
DELETE FROM `areatrigger_template` WHERE (`IsCustom`=0 AND `Id` IN (44280,42836));
INSERT INTO `areatrigger_template` (`Id`, `IsCustom`, `VerifiedBuild`) VALUES
(44280, 0, 70783),
(42836, 0, 70783);
DELETE FROM `creature_template` WHERE `entry`=263098;
INSERT INTO `creature_template` (`entry`, `KillCredit1`, `KillCredit2`, `name`, `femaleName`, `subname`, `TitleAlt`, `IconName`, `RequiredExpansion`, `VignetteID`, `faction`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `Classification`, `dmgschool`, `BaseAttackTime`, `RangeAttackTime`, `BaseVariance`, `RangeVariance`, `unit_class`, `unit_flags`, `unit_flags2`, `unit_flags3`, `family`, `trainer_class`, `type`, `VehicleId`, `AIName`, `MovementType`, `ExperienceModifier`, `RacialLeader`, `movementId`, `WidgetSetID`, `WidgetSetUnitConditionID`, `RegenHealth`, `CreatureImmunitiesId`, `flags_extra`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (263098, 0, 0, '[DNT] Kill Credit', '', NULL, NULL, ' ', 0, 0, 35, 0, 1, 1.14286, 1, 1, 0, 2000, 0, 1, 1, 1, 0, 2048, 0, 0, 0, 7, 0, 'SmartAI', 0, 1, 0, 0, 0, 0, 0, 1, 0, '', '', 0);
DELETE FROM `creature_template` WHERE `entry`=276425;
INSERT INTO `creature_template` (`entry`, `KillCredit1`, `KillCredit2`, `name`, `femaleName`, `subname`, `TitleAlt`, `IconName`, `RequiredExpansion`, `VignetteID`, `faction`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `Classification`, `dmgschool`, `BaseAttackTime`, `RangeAttackTime`, `BaseVariance`, `RangeVariance`, `unit_class`, `unit_flags`, `unit_flags2`, `unit_flags3`, `family`, `trainer_class`, `type`, `VehicleId`, `AIName`, `MovementType`, `ExperienceModifier`, `RacialLeader`, `movementId`, `WidgetSetID`, `WidgetSetUnitConditionID`, `RegenHealth`, `CreatureImmunitiesId`, `flags_extra`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (276425, 0, 0, '[DNT] Kill Credit: Corpses investigated', '', NULL, NULL, ' ', 0, 0, 35, 0, 1, 1.14286, 1, 1, 0, 2000, 0, 1, 1, 1, 0, 2048, 0, 0, 0, 7, 0, 'SmartAI', 0, 1, 0, 0, 0, 0, 0, 1, 0, '', '', 0);
DELETE FROM `creature_template` WHERE `entry`=261223;
INSERT INTO `creature_template` (`entry`, `KillCredit1`, `KillCredit2`, `name`, `femaleName`, `subname`, `TitleAlt`, `IconName`, `RequiredExpansion`, `VignetteID`, `faction`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `Classification`, `dmgschool`, `BaseAttackTime`, `RangeAttackTime`, `BaseVariance`, `RangeVariance`, `unit_class`, `unit_flags`, `unit_flags2`, `unit_flags3`, `family`, `trainer_class`, `type`, `VehicleId`, `AIName`, `MovementType`, `ExperienceModifier`, `RacialLeader`, `movementId`, `WidgetSetID`, `WidgetSetUnitConditionID`, `RegenHealth`, `CreatureImmunitiesId`, `flags_extra`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (261223, 0, 0, '[DNT] Kill Credit 1', '', NULL, NULL, ' ', 0, 0, 35, 0, 1, 1.14286, 1, 1, 0, 2000, 0, 1, 1, 1, 0, 2048, 0, 0, 0, 7, 0, 'SmartAI', 0, 1, 0, 0, 0, 0, 0, 1, 0, '', '', 0);
DELETE FROM `creature_template` WHERE `entry`=265842;
INSERT INTO `creature_template` (`entry`, `KillCredit1`, `KillCredit2`, `name`, `femaleName`, `subname`, `TitleAlt`, `IconName`, `RequiredExpansion`, `VignetteID`, `faction`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `Classification`, `dmgschool`, `BaseAttackTime`, `RangeAttackTime`, `BaseVariance`, `RangeVariance`, `unit_class`, `unit_flags`, `unit_flags2`, `unit_flags3`, `family`, `trainer_class`, `type`, `VehicleId`, `AIName`, `MovementType`, `ExperienceModifier`, `RacialLeader`, `movementId`, `WidgetSetID`, `WidgetSetUnitConditionID`, `RegenHealth`, `CreatureImmunitiesId`, `flags_extra`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (265842, 0, 0, '[DNT] Kill Credit: Vignette 3', '', NULL, NULL, ' ', 0, 0, 35, 0, 1, 1.14286, 1, 1, 0, 2000, 0, 1, 1, 1, 0, 2048, 0, 0, 0, 7, 0, 'SmartAI', 0, 1, 0, 0, 0, 0, 0, 1, 0, '', '', 0);
DELETE FROM `creature_template` WHERE `entry`=261224;
INSERT INTO `creature_template` (`entry`, `KillCredit1`, `KillCredit2`, `name`, `femaleName`, `subname`, `TitleAlt`, `IconName`, `RequiredExpansion`, `VignetteID`, `faction`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `Classification`, `dmgschool`, `BaseAttackTime`, `RangeAttackTime`, `BaseVariance`, `RangeVariance`, `unit_class`, `unit_flags`, `unit_flags2`, `unit_flags3`, `family`, `trainer_class`, `type`, `VehicleId`, `AIName`, `MovementType`, `ExperienceModifier`, `RacialLeader`, `movementId`, `WidgetSetID`, `WidgetSetUnitConditionID`, `RegenHealth`, `CreatureImmunitiesId`, `flags_extra`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (261224, 0, 0, '[DNT] Kill Credit 2', '', NULL, NULL, ' ', 0, 0, 35, 0, 1, 1.14286, 1, 1, 0, 2000, 0, 1, 1, 1, 0, 2048, 0, 0, 0, 7, 0, 'SmartAI', 0, 1, 0, 0, 0, 0, 0, 1, 0, '', '', 0);
DELETE FROM `creature_template` WHERE `entry`=265843;
INSERT INTO `creature_template` (`entry`, `KillCredit1`, `KillCredit2`, `name`, `femaleName`, `subname`, `TitleAlt`, `IconName`, `RequiredExpansion`, `VignetteID`, `faction`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `Classification`, `dmgschool`, `BaseAttackTime`, `RangeAttackTime`, `BaseVariance`, `RangeVariance`, `unit_class`, `unit_flags`, `unit_flags2`, `unit_flags3`, `family`, `trainer_class`, `type`, `VehicleId`, `AIName`, `MovementType`, `ExperienceModifier`, `RacialLeader`, `movementId`, `WidgetSetID`, `WidgetSetUnitConditionID`, `RegenHealth`, `CreatureImmunitiesId`, `flags_extra`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (265843, 0, 0, '[DNT] Kill Credit: Vignette 3B', '', NULL, NULL, ' ', 0, 0, 35, 0, 1, 1.14286, 1, 1, 0, 2000, 0, 1, 1, 1, 0, 2048, 0, 0, 0, 7, 0, 'SmartAI', 0, 1, 0, 0, 0, 0, 0, 1, 0, '', '', 0);
DELETE FROM `creature_template` WHERE `entry`=261225;
INSERT INTO `creature_template` (`entry`, `KillCredit1`, `KillCredit2`, `name`, `femaleName`, `subname`, `TitleAlt`, `IconName`, `RequiredExpansion`, `VignetteID`, `faction`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `Classification`, `dmgschool`, `BaseAttackTime`, `RangeAttackTime`, `BaseVariance`, `RangeVariance`, `unit_class`, `unit_flags`, `unit_flags2`, `unit_flags3`, `family`, `trainer_class`, `type`, `VehicleId`, `AIName`, `MovementType`, `ExperienceModifier`, `RacialLeader`, `movementId`, `WidgetSetID`, `WidgetSetUnitConditionID`, `RegenHealth`, `CreatureImmunitiesId`, `flags_extra`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (261225, 0, 0, '[DNT] Kill Credit Midpoint', '', NULL, NULL, ' ', 0, 0, 35, 0, 1, 1.14286, 1, 1, 0, 2000, 0, 1, 1, 1, 0, 2048, 0, 0, 0, 7, 0, 'SmartAI', 0, 1, 0, 0, 0, 0, 0, 1, 0, '', '', 0);
DELETE FROM `creature_template` WHERE `entry`=262521;
INSERT INTO `creature_template` (`entry`, `KillCredit1`, `KillCredit2`, `name`, `femaleName`, `subname`, `TitleAlt`, `IconName`, `RequiredExpansion`, `VignetteID`, `faction`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `Classification`, `dmgschool`, `BaseAttackTime`, `RangeAttackTime`, `BaseVariance`, `RangeVariance`, `unit_class`, `unit_flags`, `unit_flags2`, `unit_flags3`, `family`, `trainer_class`, `type`, `VehicleId`, `AIName`, `MovementType`, `ExperienceModifier`, `RacialLeader`, `movementId`, `WidgetSetID`, `WidgetSetUnitConditionID`, `RegenHealth`, `CreatureImmunitiesId`, `flags_extra`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (262521, 0, 0, '[DNT] Kill Credit - Barrier Destroyed', '', NULL, NULL, ' ', 0, 0, 35, 0, 1, 1.14286, 1, 1, 0, 2000, 0, 1, 1, 1, 0, 2048, 0, 0, 0, 7, 0, 'SmartAI', 0, 1, 0, 0, 0, 0, 0, 1, 0, '', '', 0);
UPDATE `creature_template` SET `npcflag`=3 WHERE `entry`=254599;
UPDATE `creature_template` SET `npcflag`=3 WHERE `entry`=254605;
UPDATE `creature_template` SET `npcflag`=3 WHERE `entry`=260226;
UPDATE `creature_template` SET `npcflag`=3 WHERE `entry`=260710;
UPDATE `creature_template` SET `npcflag`=3 WHERE `entry`=261088;
UPDATE `creature_template` SET `npcflag`=3 WHERE `entry`=263327;
UPDATE `creature_template` SET `npcflag`=3 WHERE `entry`=263674;
UPDATE `creature_template` SET `npcflag`=3 WHERE `entry`=263675;
UPDATE `creature_template` SET `npcflag`=3 WHERE `entry`=264945;
UPDATE `creature_template` SET `npcflag`=131 WHERE `entry`=276362;
UPDATE `creature_template` SET `npcflag`=3 WHERE `entry`=254376;
UPDATE `creature_template` SET `npcflag`=3 WHERE `entry`=264070;
UPDATE `creature_template` SET `npcflag`=3 WHERE `entry`=264944;
UPDATE `creature_template` SET `npcflag`=3 WHERE `entry`=267451;
UPDATE `creature_template` SET `npcflag`=3 WHERE `entry`=274777;
UPDATE `creature_template` SET `npcflag`=1 WHERE `entry`=268250;
DELETE FROM `creature_template_model` WHERE `CreatureID`=262352 AND `Idx`=0;
INSERT INTO `creature_template_model` (`CreatureID`, `Idx`, `CreatureDisplayID`, `DisplayScale`, `Probability`, `VerifiedBuild`) VALUES (262352, 0, 52318, 1, 1, 0);
DELETE FROM `creature_template_model` WHERE `CreatureID`=262963 AND `Idx`=0;
INSERT INTO `creature_template_model` (`CreatureID`, `Idx`, `CreatureDisplayID`, `DisplayScale`, `Probability`, `VerifiedBuild`) VALUES (262963, 0, 76224, 1, 1, 0);
DELETE FROM `creature_template_model` WHERE `CreatureID`=262509 AND `Idx`=0;
INSERT INTO `creature_template_model` (`CreatureID`, `Idx`, `CreatureDisplayID`, `DisplayScale`, `Probability`, `VerifiedBuild`) VALUES (262509, 0, 52318, 1, 1, 0);
DELETE FROM `creature_template_model` WHERE `CreatureID`=262517 AND `Idx`=0;
INSERT INTO `creature_template_model` (`CreatureID`, `Idx`, `CreatureDisplayID`, `DisplayScale`, `Probability`, `VerifiedBuild`) VALUES (262517, 0, 52318, 1, 1, 0);
DELETE FROM `creature_template_model` WHERE `CreatureID`=262349 AND `Idx`=0;
INSERT INTO `creature_template_model` (`CreatureID`, `Idx`, `CreatureDisplayID`, `DisplayScale`, `Probability`, `VerifiedBuild`) VALUES (262349, 0, 52318, 1, 1, 0);
DELETE FROM `creature_template_model` WHERE `CreatureID`=262350 AND `Idx`=0;
INSERT INTO `creature_template_model` (`CreatureID`, `Idx`, `CreatureDisplayID`, `DisplayScale`, `Probability`, `VerifiedBuild`) VALUES (262350, 0, 52318, 1, 1, 0);
UPDATE `gameobject_template` SET `Data30`='0' WHERE `entry`=676645;
-- Creature 165189 has a non-existing spell (id 2) in spell slot 1 of creature_template_spell.
DELETE FROM `creature_template_spell` WHERE `CreatureID`=165189 AND `Index`=0;
-- SPELL_AURA_CONTROL_VEHICLE (46598) must not be stored in creature_template_addon: the ride aura is
-- applied through npc_spellclick_spells. The three vehicle templates also need a spellclick row,
-- otherwise their vehicle_template_accessory entry is rejected at load time.
UPDATE `creature_template_addon` SET `auras`='' WHERE `entry` IN (268250,264293,257863);
DELETE FROM `npc_spellclick_spells` WHERE `npc_entry` IN (268249,264294,257864) AND `spell_id`=46598;
INSERT INTO `npc_spellclick_spells` (`npc_entry`, `spell_id`, `cast_flags`, `user_type`) VALUES
(268249, 46598, 1, 0), -- Soup Pot
(264294, 46598, 1, 0), -- Abducted Tortollan
(257864, 46598, 1, 0); -- Exalted Skyfiend
-- Disallowed UNIT_FLAG (0x8000) on these spawns; the server strips it at load time anyway.
UPDATE `creature` SET `unit_flags`=`unit_flags` & ~0x8000 WHERE `guid` IN (905163,905189);
UPDATE `creature` SET `unit_flags2`=`unit_flags2` & ~0x8000 WHERE `guid`=905103;
-- Serverside PlayerCondition 150584 does not exist, the display spell needs no condition.
UPDATE `quest_reward_display_spell` SET `PlayerConditionID`=0 WHERE `QuestID`=91206 AND `SpellID`=1276570;
-- Choice rewards point at items that are not present in this build's ItemSparse
-- (96936 -> 275436; 86636 -> 248034, 248035, 248036, 248037).
UPDATE `quest_template` SET `RewardChoiceItemID1`=0, `RewardChoiceItemQuantity1`=0 WHERE `ID`=96936;
UPDATE `quest_template` SET `RewardChoiceItemID1`=0, `RewardChoiceItemQuantity1`=0,
`RewardChoiceItemID2`=0, `RewardChoiceItemQuantity2`=0,
`RewardChoiceItemID3`=0, `RewardChoiceItemQuantity3`=0,
`RewardChoiceItemID4`=0, `RewardChoiceItemQuantity4`=0 WHERE `ID`=86636;
-- All-zero target positions are unusable placeholders (Play Scene, Return to Camp, Send Taxi).
DELETE FROM `spell_target_position` WHERE `ID` IN (450046,312372,383937) AND `PositionX`=0 AND `PositionY`=0 AND `PositionZ`=0;
-- Conversation actors flagged as world objects but with no spawn guid (GUID 0 never resolves).
DELETE FROM `conversation_actors` WHERE `ConversationActorGuid`=0 AND `CreatureId`=0 AND `NoActorObject`=0 AND `ActivePlayerObject`=0;
-- Conversation 25752 has no first line: there is no line data for it in this build.
DELETE FROM `conversation_template` WHERE `Id`=25752 AND `FirstLineId`=0;
-- Orphaned ruRU player choice response translations (choices 781-784 do not exist).
DELETE FROM `playerchoice_response_locale` WHERE `ChoiceID` IN (781,782,783,784);
-- Quest loot rows with zero min/max counts.
UPDATE `creature_loot_template` SET `MinCount`=1, `MaxCount`=1 WHERE `Entry` IN (235561,235563,238369) AND `Item`=254665 AND `MinCount`=0 AND `MaxCount`=0;